Commit graph

51225 commits

Author SHA1 Message Date
Agustín Martín
73b4d51a0a textmodes/ispell.el (ispell-valid-dictionary-list): Simplify logic. 2010-09-08 16:54:00 +02:00
Michael Albinus
0f34aa7719 Migrate to Tramp 2.2. Rearrange load dependencies.
(Bug#1529, Bug#5448, Bug#5705)

* Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
($(TRAMP_DIR)/tramp-loaddefs.el): New target.
(LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.

* net/tramp.el (top): Remove all other tramp-* loads except
tramp-compat.el.  Remove all changes to tramp-unload-hook for
other tramp-* packages.  Rearrange defun order.  Change calls of
`tramp-compat-call-process', `tramp-compat-decimal-to-octal',
`tramp-compat-octal-to-decimal' to new function names.
(tramp-terminal-type, tramp-initial-end-of-output)
(tramp-methods, tramp-foreign-file-name-handler-alist)
(tramp-tramp-file-p, tramp-completion-mode-p)
(tramp-send-command-and-check, tramp-get-remote-path)
(tramp-get-remote-tmpdir, tramp-get-remote-ln)
(tramp-shell-quote-argument): Set tramp-autoload cookie.
(with-file-property, with-connection-property): Move to
tramp-cache.el.
(tramp-local-call-process, tramp-decimal-to-octal)
(tramp-octal-to-decimal): Move to tramp-compat.el.
(tramp-handle-shell-command): Do not require 'shell.
(tramp-compute-multi-hops): No special handling for tramp-gw-*
symbols.
(tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.

* net/tramp-cache.el (top): Require 'tramp.  Add to
`tramp-unload-hook'.
(tramp-cache-data, tramp-get-file-property)
(tramp-set-file-property, tramp-flush-file-property)
(tramp-flush-directory-property, tramp-get-connection-property)
(tramp-set-connection-property, tramp-flush-connection-property)
(tramp-cache-print, tramp-list-connections): Set tramp-autoload
cookie.
(with-file-property, with-connection-property): New defuns, moved
from tramp.el.
(tramp-flush-file-function): Use `with-parsed-tramp-file-name'
macro.

* net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
(tramp-version): Set tramp-autoload cookie.

* net/tramp-compat.el (top): Require 'tramp-loaddefs.  Remove all
changes to tramp-unload-hook for other tramp-* packages.  Add to
`tramp-unload-hook'.
(tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
(tramp-compat-call-process): New defuns, moved from tramp.el.

* net/tramp-fish.el (top) Require just 'tramp.  Add objects to
`tramp-methods' and `tramp-foreign-file-name-handler-alist'.  Add
to `tramp-unload-hook'.  Change call of
`tramp-compat-decimal-to-octal' to new function name.
(tramp-fish-method): Make it a defconst.
(tramp-fish-file-name-p): Make it a defsubst.
(tramp-fish-method, tramp-fish-file-name-handler)
(tramp-fish-file-name-p): Set tramp-autoload cookie.

* net/tramp-ftp.el (top) Add objects to `tramp-methods' and
`tramp-foreign-file-name-handler-alist'.  Add to
`tramp-unload-hook'.
(tramp-ftp-method): Make it a defconst.
(tramp-ftp-file-name-p): Make it a defsubst.
(tramp-ftp-method, tramp-ftp-file-name-handler)
(tramp-ftp-file-name-p): Set tramp-autoload cookie.

* net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
`tramp-foreign-file-name-handler-alist'.  Add to
`tramp-unload-hook'.  Change checks, whether package can be
loaded.
(tramp-gvfs-file-name-p): Make it a defsubst.
(tramp-gvfs-methods, tramp-gvfs-file-name-handler)
(tramp-gvfs-file-name-p): Set tramp-autoload cookie.
(tramp-gvfs-handle-file-directory-p): New defun.
(tramp-gvfs-file-name-handler-alist): Use it.

* net/tramp-gw.el (top) Add objects to `tramp-methods' and
`tramp-foreign-file-name-handler-alist'.  Add to
`tramp-unload-hook'.
(tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
(tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
defconst.
(tramp-gw-tunnel-method, tramp-gw-socks-method)
(tramp-gw-open-connection): Set tramp-autoload cookie.

* net/tramp-imap.el (top) Require just 'tramp.  Add objects to
`tramp-methods' and `tramp-foreign-file-name-handler-alist'.  Add
to `tramp-unload-hook'.  Change checks, whether package can be
loaded.
(tramp-imap-file-name-p): Make it a defsubst.
(tramp-imap-method, tramp-imaps-method)
(tramp-imap-file-name-handler)
(tramp-imap-file-name-p): Set tramp-autoload cookie.

* net/tramp-smb.el (top) Require just 'tramp.  Add objects to
`tramp-methods' and `tramp-foreign-file-name-handler-alist'.  Add
to `tramp-unload-hook'.  Change checks, whether package can be
loaded.  Change call of `tramp-compat-decimal-to-octal' to new
function name.
(tramp-smb-tunnel-method): Make it a defconst.
(tramp-smb-file-name-p): Make it a defsubst.
(tramp-smb-method, tramp-smb-file-name-handler)
(tramp-smb-file-name-p): Set tramp-autoload cookie.

* net/tramp-uu.el (top) Add to `tramp-unload-hook'.
(tramp-uuencode-region): Set tramp-autoload cookie.

* net/trampver.el (top) Add to `tramp-unload-hook'.
(tramp-version, tramp-bug-report-address): Set tramp-autoload
cookie.  Update release number.
2010-09-08 16:42:54 +02:00
Agustín Martín
308e764f26 Make sure original ispell arg list is initialized in (ispell-start-process).
* textmodes/ispell.el (ispell-start-process): Make sure original
  arg list is properly initialized (Bug#6993, Bug#6994).
2010-09-07 20:01:23 +02:00
Katsumi Yamaoka
ecc74b38f3 gnus-html.el (gnus-html-wash-tags, gnus-html-put-image): Mark cid and internal images as deletable by `W D D'. 2010-09-07 06:23:16 +00:00
Katsumi Yamaoka
16ec6ca434 gnus-async.el (gnus-html-prefetch-images): Autoload it when compiling; (gnus-async-article-callback): Fix typo. 2010-09-07 01:20:19 +00:00
Lars Magne Ingebrigtsen
f9e506776a gnus-html.el (gnus-html-wash-tags): Limit end-tag matching to the current line to work around bugs in the output from w3m. 2010-09-07 00:08:33 +00:00
Lars Magne Ingebrigtsen
8d40858522 gnus-async.el (gnus-async-article-callback): Always prefetch images for groups that want that. 2010-09-07 00:05:59 +00:00
Lars Magne Ingebrigtsen
d832b43712 nntp.el (nntp-wait-for-string): Supply a timeout for accept-process-output to ensure progress. 2010-09-07 00:04:11 +00:00
Lars Magne Ingebrigtsen
cdad7ab25b gnus-start.el (gnus-get-unread-articles): If being given an explicit level to get unread articles from, then use that for foreign groups, too. 2010-09-07 00:00:56 +00:00
Lars Magne Ingebrigtsen
f39ccb2edd gnus-html.el (gnus-html-wash-tags): Remove <a name...> tags, which confuses the rest of the function. 2010-09-06 23:58:34 +00:00
Lars Magne Ingebrigtsen
26f96aa084 gnus-start.el (gnus-read-active-for-groups): Do a `gnus-request-scan' for the methods that support -retrieve-groups, too. 2010-09-06 23:56:27 +00:00
Lars Magne Ingebrigtsen
5edc8186ce nnml.el (nnml-save-nov): Remove some debugging-related messages. 2010-09-06 23:54:07 +00:00
Chong Yidong
1099930585 Merge changes from emacs-23 branch. 2010-09-06 12:38:03 -04:00
Chong Yidong
9c405a86c6 Merge whitespace.el from trunk 2010-09-06 12:24:32 -04:00
Katsumi Yamaoka
ed96ace928 pop3.el (pop3-number-of-responses): Search for "+OK", not "+OK ". 2010-09-06 02:09:42 +00:00
Lars Magne Ingebrigtsen
f87f756b17 gnus-start.el (gnus-get-unread-articles): Fix up the last commit. 2010-09-06 00:48:40 +00:00
Lars Magne Ingebrigtsen
a83e5f1933 gnus-start.el (gnus-get-unread-articles): Don't bother with groups that aren't going to be activated. 2010-09-06 00:44:55 +00:00
Lars Magne Ingebrigtsen
29cd986b8b gnus-html.el (gnus-article-html): Allow calling without specifying the handle. In that case, dissect the buffer first. 2010-09-06 00:41:06 +00:00
Lars Magne Ingebrigtsen
29d31b5515 gnus-sum.el (gnus-set-mode-line): Don\t pad the mode line string. 2010-09-06 00:37:02 +00:00
Lars Magne Ingebrigtsen
d32fac6994 nnimap.el (nnimap-open-connection): Revert the change that would look into authinfo for imaps instead of imap. 2010-09-06 00:33:15 +00:00
Lars Magne Ingebrigtsen
cc4244d36d gnus-start.el (gnus-get-unread-articles): Count the archive groups as secondary, so that they're activated the same way as before. 2010-09-06 00:20:42 +00:00
Lars Magne Ingebrigtsen
c15c8017fd gnus-start.el (gnus-activate-group): Take an optional parameter to say that you don't want to call gnus-request-group with don-check, but do check the reponse. This is for virtual groups only. 2010-09-06 00:15:13 +00:00
Lars Magne Ingebrigtsen
a131b9b876 imap.el (imap-mailbox-get): Revert last change for this function. 2010-09-06 00:10:55 +00:00
Lars Magne Ingebrigtsen
f292afe545 nnimap.el (nnimap-debug): Removed; imap.el: Remove an optional buffer parameter from many functions. 2010-09-06 00:06:55 +00:00
Lars Magne Ingebrigtsen
3733ba53bb nnimap.el (nnimap-request-list): Servers may return \NoSelect case-insensitively. 2010-09-05 23:56:42 +00:00
Lars Magne Ingebrigtsen
31b5f29230 imap.el (imap-debug): Removed -- doesn't seem very useful. 2010-09-05 23:49:02 +00:00
Lars Magne Ingebrigtsen
dfe1285d2c imap.el (imap-fetch-safe, imap-enable-exchange-bug-workaround): Removed. 2010-09-05 23:45:14 +00:00
Lars Magne Ingebrigtsen
8695c9a712 mail-source.el (mail-source-fetch): Don't message if we're fetching mail from a file, and the file doesn't exist. 2010-09-05 23:38:33 +00:00
Lars Magne Ingebrigtsen
3ff31c90ab pop3.el (pop3-streaming-movemail): Return t for success; imap.el (imap-log): New convenience function used throughout instead of repeating the same code all over the place. 2010-09-05 23:34:30 +00:00
Lars Magne Ingebrigtsen
b1a069e688 nnimap.el (nnimap-open-connection): Look for the "imaps" entry in the .authinfo if we're using ssl connection. 2010-09-05 23:27:15 +00:00
Lars Magne Ingebrigtsen
0c6dfaf849 nnvirtual.el (nnvirtual-create-mapping): Use the active info we already have if we're in a main Gnus `g' run. 2010-09-05 23:20:25 +00:00
Lars Magne Ingebrigtsen
d65835d93b gnus-start.el (gnus-method-rank): Get info for virtual groups last. 2010-09-05 23:13:43 +00:00
David De La Harpe Golden
93d68d4f02 Respect mouse-drag-copy-region upon mouse-3 region adjustment.
* mouse.el (mouse-save-then-kill): Save region to kill-ring when
mouse-drag-copy-region is non-nil (Bug#6956).
2010-09-05 23:40:57 +01:00
Alexander Klimov
3fa0dc8f4d * doc/lispref/files.texi (Directory Names): Use \` rather than ^.
* lisp/files.el (directory-abbrev-alist): Use \` as default regexp.
2010-09-06 00:03:56 +02:00
Chong Yidong
8d76af4ad0 Improve ls date switch parsing in Dired (Bug#6987).
* dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
Improve regexps (Bug#6987).
(dired-sort-toggle): Search more robustly for -t flag.
2010-09-05 17:28:50 -04:00
Chong Yidong
93a596e11b * files.el (get-free-disk-space): Search more robustly for "available" column.
Suggested by Ehud Karni <ehud@unix.mvs.co.il>:
http://lists.gnu.org/archive/html/emacs-devel/2010-09/msg00163.html
2010-09-05 15:03:20 -04:00
Katsumi Yamaoka
3cf628e8ec gnus-start.el (gnus-method-rank): Replace equalp with equal. 2010-09-05 11:53:59 +00:00
Stefan Monnier
19fe13dfd1 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in - or ].
(rx-any-condense-range): Explode 2-char ranges.

Fixes: debbugs:6984
2010-09-05 11:44:55 +02:00
Katsumi Yamaoka
8737ef699d (nnmh-request-list-1): Bind `file'. 2010-09-05 04:09:07 +00:00
Katsumi Yamaoka
c6faacb4d7 pop3-set-process-query-on-exit-flag: New function that's an alias to set-process-query-on-exit-flag, or process-kill-without-query for XEmacs and old Emacsen. 2010-09-05 04:01:41 +00:00
Juanma Barranquero
733946e777 Update to latest Unicode 6.0 beta data files.
* admin/unidata/BidiMirroring.txt: Update from
  http://www.unicode.org/Public/6.0.0/ucd/BidiMirroring-6.0.0d2.txt

* admin/unidata/UnicodeData.txt: Update from
  http://www.unicode.org/Public/6.0.0/ucd/UnicodeData-6.0.0d7.txt

* lisp/international/uni-bidi.el:
* lisp/international/uni-category.el:
* lisp/international/uni-combining.el:
* lisp/international/uni-decimal.el:
* lisp/international/uni-mirrored.el:
* lisp/international/uni-name.el: Regenerate.

* src/biditype.h: Regenerate.
2010-09-05 04:06:39 +02:00
Lars Magne Ingebrigtsen
988818b8dd gnus-int.el (gnus-request-group): Indent. 2010-09-05 01:31:15 +00:00
Lars Magne Ingebrigtsen
85816ac1c5 mail-source.el (mail-source-delete-crash-box): Always move the crash box to the Incoming file. Fixes mistake in previous checkin; Do incremental NOV updates when scanning new male. (nnml-save-incremental-nov, nnml-open-incremental-nov, nnml-add-incremental-nov): New functions to do "incremental" nov updates, where we just append to the end of the existing nov files without reading/writing them in full. 2010-09-05 01:27:15 +00:00
Lars Magne Ingebrigtsen
530b8957da pop3.el (pop3-write-to-file): Don't output messages when saving; mail-source.el (mail-source-delete-crash-box): Really only check the incoming files once in a while; nnml.el (nnml-save-nov): Message around nnml-save-nov so that the culprit is more visible; pop3.el (pop3-send-streaming-command): Off-by-one error on the request loop (for debugging purposes) removed. 2010-09-05 01:18:05 +00:00
Lars Magne Ingebrigtsen
ff3eb82e0e pop3.el (pop3-streaming-movemail): Always close the pop3 connection. 2010-09-05 01:12:51 +00:00
Lars Magne Ingebrigtsen
a2bb410e58 gnus-start.el: White space clean up; mail-source.el (mail-source-fetch-pop): Use streaming pop3 retrieval; pop3.el (pop3-streaming-movemail): Respect pop3-leave-mail-on-server; pop3.el (pop3-logon): Fix up unbound variable typo; mail-source.el (mail-source-delete-crash-box): Only check the incoming files for deletion once per day to save a lot of file accesses. 2010-09-05 01:08:22 +00:00
Lars Magne Ingebrigtsen
fb994703be gnus-start.el (gnus-make-hashtable-from-newsrc-alist): Remove duplicates from .newsrc list. 2010-09-05 00:56:31 +00:00
Lars Magne Ingebrigtsen
ef45ee6fc8 pop3.el (pop3-movemail): Use erase-buffer instead of looping and deleting regions, which seems rather odd; gnus-start.el (gnus-get-unread-articles): Protect against groups that come from no known methods. 2010-09-05 00:52:55 +00:00
Lars Magne Ingebrigtsen
34e03853f0 (pop3-display-message-size-flag): Removed -- everybody wants message sizes. 2010-09-05 00:49:07 +00:00
Lars Magne Ingebrigtsen
4469385cdc gnus-agent.el (gnus-agent-load-local): Only read the agent.lib/local file once per `g' run. 2010-09-05 00:44:53 +00:00