1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-29 07:58:28 +00:00
Commit Graph

358 Commits

Author SHA1 Message Date
Stefan Monnier
0235128c15 Merge from emacs-23 2010-05-08 14:47:07 -04:00
Chong Yidong
61a808e819 Bump version to 23.2. 2010-05-07 23:28:26 -04:00
Stefan Monnier
56eb09046e Use define-minor-mode where applicable.
* mh-show.el (mh-showing-mode): Move function to mh-e.el.
* mh-e.el (mh-showing-mode):
* url-dired.el (url-dired-minor-mode):
* org-table.el (orgtbl-mode):
* view.el (view-mode):
* type-break.el (type-break-query-mode)
(type-break-mode-line-message-mode):
* textmodes/reftex.el (reftex-mode):
* term/vt100.el (vt100-wide-mode):
* tar-mode.el (tar-subfile-mode):
* savehist.el (savehist-mode):
* ibuf-ext.el (ibuffer-auto-mode):
* composite.el (auto-composition-mode):
* progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
Use define-minor-mode.
(vhdl-mode): Use static mode-line format.
(vhdl-mode-line-update): Delete.
(vhdl-create-mode-menu, vhdl-activate-customizations)
(vhdl-hs-minor-mode): Don't bother calling it.
2010-05-02 22:29:46 -04:00
Ted Zlatanov
89734fb6f6 Fix wrong variable name.
(url-http-parse-headers): Fix wrong variable name.
2010-03-24 20:14:42 -05:00
Ted Zlatanov
1e9d758c2f Add a list of HTTP status code symbols and their text, mapped by number.
* url-http.el (url-http-codes): New variable to hold a mapping of
HTTP status codes' numbers, their symbolic name, and their text.
(url-http-parse-headers): Use it, leaving the original numeric
code in a comment.
2010-03-24 04:30:28 -05:00
Glenn Morris
aa8f82773f Stop message.el from loading about 40 libraries it doesn't always need.
The general approach is to autoload rather than require, and to
require in the specific functions rather than the file.  (Bug#5642)

* url/url.el: Move mailcap require earlier in the file.

* gnus/gmm-utils.el: Don't require wid-edit.
(widget-create-child-value, widget-convert, widget-default-get):
Autoload.

* gnus/gnus-util.el: Don't require time-date, netrc.
(message-fetch-field, gnus-group-name-decode): Declare rather than
autoloading.
(gnus-fetch-field): Require message.
(gnus-decode-newsgroups): Require gnus-group.

* gnus/ietf-drums.el: Don't require time-date.

* gnus/message.el: Don't require hashcash, canlock, ecomplete.
Do require mail-utils.  Require nnheader only when compiling.
(smtpmail-default-smtp-server): Remove declaration.
(message-send-mail-function): Check smtpmail-default-smtp-server
is bound rather than requiring smtpmail.
(message-auto-save-directory, message-insert-signature): Use
expand-file-name rather than nnheader-concat.
(nnheader-insert-file-contents): Autoload.
(hashcash-wait-async): Declare.
(message-send-mail): Only call gnus-setup-posting-charset if
gnus-group-posting-charset-alist is bound.  Require hashcash if needed.
(message-send-mail-with-sendmail): Require sendmail.
(canlock-password, canlock-password-for-verify): Declare.
(message-canlock-password): Require canlock.
(nnheader-get-report): Autoload.
(gnus-setup-posting-charset): Declare.
(message-send-news): Require gnus-msg.
(message-make-references, message-make-in-reply-to): Use mail-header-id
rather than the alias mail-header-message-id.
(ecomplete-add-item, ecomplete-save): Declare.
(message-put-addresses-in-ecomplete): Require ecomplete.
(ecomplete-display-matches): Autoload.

* gnus/mm-decode.el: Don't require mailcap, gnus-util.
(gnus-map-function, gnus-replace-in-string, gnus-read-shell-command)
(message-fetch-field, mailcap-parse-mailcaps, mailcap-mime-info):
Autoload.
(mailcap-mime-extensions): Declare.

* gnus/mm-encode.el: Don't require mailcap.
(mailcap-extension-to-mime): Autoload.

* gnus/mml-sec.el: Don't require password-cache.

* gnus/mml.el (gnus-setup-posting-charset): Declare rather than autoload.
(mailcap-parse-mimetypes, mailcap-mime-types): Declare.
(mml-minibuffer-read-type): Require mailcap.
(mml-preview): Require gnus-msg.

* gnus/mml1991.el: Require password-cache.
(password-cache-expiry): Remove declaration.

* gnus/mml2015.el: Require password-cache.
(password-cache-expiry): Remove declaration.

* gnus/nneething.el (mailcap): Require mailcap.

* gnus/nnheader.el: (declare-function): Add compatibility stub.
(message-remove-header): Declare rather than autoload.
(nnheader-replace-header): Require message.

* gnus/nnimap.el (declare-function): Add compatibility stub.
(netrc-parse, netrc-machine-user-or-password): Declare.
(nnimap-open-connection): Require netrc.

* gnus/nntp.el (declare-function): Add compatibility stub.
(netrc-parse, netrc-machine, netrc-get): Declare.
(nntp-send-authinfo): Require netrc.

* gnus/rfc2047.el: Don't require qp.
(quoted-printable-encode-region, quoted-printable-decode-string):
Autoload.

* gnus/sieve-mode.el: Don't require easymenu.
(easy-menu-add-item): Autoload it.

* gnus/spam-stat.el (time-to-number-of-days): Autoload it.

* password-cache.el (password-cache, password-cache-expiry):
Autoload.
2010-03-18 19:55:37 -07:00
Chong Yidong
26f4b8abb8 Fix last change to use existing comm Custom group instead of `net'.
* cus-edit.el (net): Remove group.
(comm): Promote to top-level group.

* url/url-vars.el (url):
* net/browse-url.el (browse-url):
* net/xesam.el (xesam):
* net/tramp.el (tramp):
* net/goto-addr.el (goto-address):
* net/ange-ftp.el (ange-ftp): Put in comm group.
2010-03-12 14:13:38 -05:00
Chong Yidong
eba5b4dd16 Reorganize Custom groups.
* cus-edit.el (processes): Remove from development group.
(oop, hypermedia): Delete group.
(net): New group.

* url/url-vars.el (url):
* net/browse-url.el (browse-url):
* net/xesam.el (xesam):
* net/tramp.el (tramp):
* net/goto-addr.el (goto-address):
* net/ange-ftp.el (ange-ftp): Put in net group.

* view.el (view): Remove from editing group.

* uniquify.el (uniquify): Put in files group.

* net/browse-url.el (browse-url):
* ps-print.el (postscript): Put in external group.

* cus-edit.el (outlines):
* textmodes/text-mode.el (text-mode-hook):
* textmodes/table.el (table):
* textmodes/picture.el (picture):
* outline.el (outlines): Put in wp group.

* nxml/nxml-mode.el (nxml): Remove from wp group.

* net/tramp-imap.el (tramp-imap): Put in tramp group.

* mail/metamail.el (metamail): Remove from hypermedia group.

* cus-edit.el (abbrev):
* whitespace.el (whitespace):
* vcursor.el (vcursor):
* reveal.el (reveal):
* hl-line.el (hl-line): Put in convenience group.

* epg-config.el (epg): Put in data group.

* emulation/pc-select.el (pc-select): Put in emulations group.

* calculator.el (calculator): Put in applications group.

* org/org.el (org): Remove from hypermedia group.
2010-03-12 12:47:22 -05:00
Chong Yidong
288f9fc069 Bump version to 24.0.50. 2010-03-10 10:17:13 -05:00
Chong Yidong
e17d428f7a * url-util.el: Require url-vars (Bug#5459). 2010-01-23 17:50:13 -05:00
Glenn Morris
114f9c9679 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
Juanma Barranquero
5ce6e4f452 Fix typos in ChangeLogs. 2009-12-29 02:57:40 +01:00
Stefan Monnier
c074ba4a56 (url-generic-parse-url): Bind deactivate-mark. 2009-11-27 01:27:04 +00:00
Chong Yidong
c98f55cad9 * url-http.el (url-http-handle-authentication): Use proxy server,
if any, for authentication (Bug#4883).
2009-11-08 05:32:48 +00:00
Stefan Monnier
937e6a5612 * url-util.el (url-insert-entities-in-string):
* url-nfs.el (url-nfs-unescape):
* url-ldap.el (url-ldap):
* url-imap.el (url-imap):
* url-cid.el (url-cid-gnus, url-cid): Use with-current-buffer.
* erc.el (erc-display-line-1, erc-process-away):
* erc-truncate.el (erc-truncate-buffer-to-size):
Use with-current-buffer.
* term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
* play/mpuz.el (mpuz-create-buffer):
* play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
(lm-print-y,s,noise, lm-print-w0, lm-init):
* play/gomoku.el (gomoku-prompt-for-move):
* play/fortune.el (fortune-in-buffer):
* play/dissociate.el (dissociated-press):
* play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
(decipher-analyze-buffer, decipher-stats-buffer,decipher-stats-buffer):
* mail/supercite.el (sc-eref-show):
* mail/smtpmail.el (smtpmail-send-it):
* mail/rmailsum.el (rmail-summary-next-labeled-message)
(rmail-summary-previous-labeled-message, rmail-summary-wipe)
(rmail-summary-undelete-many, rmail-summary-rmail-update)
(rmail-summary-goto-msg, rmail-summary-expunge)
(rmail-summary-get-new-mail, rmail-summary-search-backward)
(rmail-summary-add-label, rmail-summary-output-menu)
(rmail-summary-output-body):
* mail/rfc822.el (rfc822-addresses):
* mail/reporter.el (reporter-dump-variable, reporter-dump-state):
* mail/mailpost.el (post-mail-send-it):
* mail/hashcash.el (hashcash-generate-payment):
* mail/feedmail.el (feedmail-run-the-queue)
(feedmail-queue-send-edit-prompt-help-first)
(feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
(feedmail-deduce-address-list):
* eshell/esh-ext.el (eshell-remote-command):
* eshell/em-unix.el (eshell-occur-mode-mouse-goto):
* emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
(viper-wildcard-to-regexp, viper-glob-mswindows-files)
(viper-save-string-in-file, viper-valid-marker):
* emulation/viper-keym.el (viper-toggle-key):
* emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
(ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
(ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
* emulation/viper-cmd.el (viper-exec-form-in-vi)
(viper-exec-form-in-emacs, viper-brac-function):
* emulation/viper.el (viper-delocalize-var):
* emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
(vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
(vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
(ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
* emulation/vi.el (vi-switch-mode, vi-ex-cmd):
* emulation/edt.el (edt-electric-helpify):
* emulation/cua-rect.el (cua--rectangle-aux-replace):
* emulation/cua-gmrk.el (cua--insert-at-global-mark)
(cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
(cua-indent-to-global-mark-column):
* calendar/diary-lib.el (calendar-mark-1):
* calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
Use with-current-buffer.
* emulation/viper.el (viper-delocalize-var): Use dolist.
2009-11-03 02:04:29 +00:00
Glenn Morris
f9c9a2395c (url-dav-file-attributes): Fix declaration. 2009-10-01 02:06:55 +00:00
Chong Yidong
120812a0ba * url-handlers.el (url-copy-file): Add fifth arg for compatibility
with 2005-06-25 change to copy-file (Bug#4410).
2009-09-13 21:21:40 +00:00
Glenn Morris
4f0f48dfc1 (url-file): Avoid assignment to free variable `filename'. 2009-09-13 02:09:12 +00:00
Chong Yidong
63255710c1 * url-methods.el (url-scheme--registering-proxy): New variable.
(url-scheme-register-proxy, url-scheme-get-property): Avoid
calling url-scheme-register-proxy in an infloop (Bug#4191).
2009-09-12 00:47:13 +00:00
Glenn Morris
3f12e3f4bf Remove code for defunct system-types Apple-Macintosh, emx, ms-windows,
next-mach.
2009-08-22 21:53:34 +00:00
Chong Yidong
7024347875 Add "Branch for 23.1" ChangeLog entry. 2009-06-21 14:35:26 +00:00
Stefan Monnier
d696b0d53f (url-file-handler): Save match data. 2009-03-27 15:58:16 +00:00
Jason Rumney
db922cc0e5 Prev commit in wrong ChangeLog 2009-02-23 11:50:08 +00:00
Jason Rumney
5ca454075e (url-default-expander): Use concat to combine parts. (Bug #1020) 2009-02-21 07:53:54 +00:00
Glenn Morris
f0cfa8f0c2 (url-generate-unique-filename): Silence compiler. 2009-02-10 03:27:29 +00:00
Chong Yidong
092f7594cd (url-file): Use make-temp-file. 2009-02-07 21:22:55 +00:00
Chong Yidong
5d3c5503d7 (url-generate-unique-filename): Mark as obsolete. 2009-02-07 21:22:34 +00:00
Chong Yidong
1a39939843 (url-temporary-directory): Mark as obsolete. 2009-02-07 21:22:03 +00:00
Chong Yidong
64594ef931 * url-vars.el (url-temporary-directory): Mark as obsolete. 2009-02-07 21:21:38 +00:00
Chong Yidong
7feadb909b (url-cookie-retrieve): Fix last change. 2009-01-15 13:59:50 +00:00
Chong Yidong
68fe704b63 * url-cookie.el (url-cookie-retrieve): Fix last change. 2009-01-15 13:59:43 +00:00
Chong Yidong
200c042450 * url-cookie.el (url-cookie-retrieve): If localpart is not a
string, use it literally.
2009-01-15 13:56:05 +00:00
Chong Yidong
033535ded7 (url-cookie-retrieve): Handle null localpart. 2009-01-14 20:47:02 +00:00
Chong Yidong
26343c7f0e * url-cookie.el (url-cookie-retrieve): Handle null localpart. 2009-01-14 20:46:23 +00:00
Juanma Barranquero
d9e52e92aa * url-util.el (url-truncate-url-for-viewing): Doc fix. 2009-01-13 01:53:45 +00:00
Glenn Morris
78892d1be9 (url-cid-gnus): Fix typo in header name. 2009-01-09 03:19:39 +00:00
Glenn Morris
ae940284fa Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
Chong Yidong
08299ea7e3 (url-basepath): Add url-basepath as an alias for url-file-directory. 2008-11-04 17:11:58 +00:00
Chong Yidong
92066e8365 * url-util.el (url-basepath): Add url-basepath as an alias for
url-file-directory.
2008-11-04 17:11:52 +00:00
Juanma Barranquero
091b0137bf Fix braino in previous change. 2008-10-24 09:44:46 +00:00
Juanma Barranquero
d6c180c46b New function `locate-user-emacs-file'.
* subr.el (locate-user-emacs-file): New function.
  (user-emacs-directory): Mention it in docstring.

* completion.el (save-completions-file-name):
* filesets.el (filesets-menu-cache-file):
* image-dired.el (image-dired-dir, image-dired-db-file)
  (image-dired-temp-image-file, image-dired-gallery-dir)
  (image-dired-temp-rotate-image-file):
* savehist.el (savehist-file):
* server.el (server-auth-dir):
* startup.el (auto-save-list-file-prefix):
* thumbs.el (thumbs-thumbsdir):
* tutorial.el (tutorial--saved-dir):
* play/gamegrid.el (gamegrid-user-score-file-directory): Use it.

* url.el (url-configuration-directory): Use `locate-user-emacs-file'.

* NEWS: New function `locate-user-emacs-file'.
2008-10-24 09:39:27 +00:00
Chong Yidong
ab8dad365f (url-basic-auth): Encode password string. 2008-10-20 16:06:03 +00:00
Chong Yidong
3b4df55029 * url-auth.el (url-basic-auth): Encode password string. 2008-10-20 16:05:53 +00:00
Juanma Barranquero
183080b610 Fix typos. 2008-10-01 09:12:37 +00:00
Glenn Morris
4968291f3f Comment. 2008-09-25 07:41:32 +00:00
Juanma Barranquero
10d1d0af5f Fix typos. 2008-09-24 01:16:16 +00:00
Glenn Morris
b7270504e4 Comment. 2008-08-30 20:07:58 +00:00
Glenn Morris
e77e9cf409 (url-https-expand-file-name): Resolve directly to url-default-expander
rather than via another alias.
(url-default-expander): Autoload an autoload.  (Bug#825).
2008-08-30 02:22:47 +00:00
Juanma Barranquero
ba60bd44c7 Fix typos. 2008-07-18 15:42:14 +00:00
Juanma Barranquero
d1ce47b068 Typo and docstring fixes.
* url.el (url-do-setup):
* url-dired.el (url-dired-minor-mode):
* url-file.el (url-file-find-possibly-compressed-file):
* url-gw.el (url-gateway-broken-resolution):
* url-handlers.el (url-handler-regexp):
* url-imap.el (url-imap-default-port):
* url-methods.el (url-scheme-get-property): Fix typos in docstrings.

* url-auth.el (url-basic-auth-storage, url-digest-auth):
  Fix typos in docstrings.
  (url-digest-auth-storage, url-register-auth-scheme): Reflow docstrings.

* url-cache.el (url-cache-prepare): Doc fix.
  (url-cache-create-filename-human-readable, url-cache-extract):
  Fix typos in docstrings.

* url-dav.el (url-intersection, url-dav-iso8601-regexp)
  (url-dav-delete-something): Fix typos in docstrings.
  (url-dav-http-success-p, url-dav-file-name-all-completions)
  (url-dav-directory-files, url-dav-file-name-completion): Doc fixes.

* url-http.el (url-http-idle-sentinel): Doc fix.

* url-irc.el (url-irc-default-port): Fix typo in docstring.
  (url-irc-function): Doc fix.

* url-util.el (url-get-url-filename-chars, url-unhex-string):
  Fix typos in docstrings.
  (url-file-extension): Doc fix.

* url-vars.el (url-current-object, url-current-mime-headers)
  (url-privacy-level, url-mail-command, url-mime-language-string):
  Fix typos in docstrings.
  (url-honor-refresh-requests): Reflow docstring.
  (url-using-proxy): Doc fix.
2008-07-02 11:14:38 +00:00