aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorKenichi Handa2011-01-12 15:11:40 +0900
committerKenichi Handa2011-01-12 15:11:40 +0900
commit07ee9351461ff93feabd66f36ccfdc0ff7b5dcfc (patch)
treec5c619a64600c6d76b3c3134037baeabf73d191b /lisp
parente7ca0062a4899a2cc5f8b0793eb0bca58efea855 (diff)
parentae01d7ca64c60e98e2a37231c4b33271c5f78f31 (diff)
downloademacs-07ee9351461ff93feabd66f36ccfdc0ff7b5dcfc.tar.gz
emacs-07ee9351461ff93feabd66f36ccfdc0ff7b5dcfc.zip
merge emacs-23
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog45
-rw-r--r--lisp/buff-menu.el11
-rw-r--r--lisp/dired.el4
-rw-r--r--lisp/emacs-lisp/cl-loaddefs.el6
-rw-r--r--lisp/emulation/tpu-edt.el2
-rw-r--r--lisp/files.el5
-rw-r--r--lisp/gnus/ChangeLog6
-rw-r--r--lisp/gnus/message.el9
-rw-r--r--lisp/ibuffer.el2
-rw-r--r--lisp/jka-compr.el5
-rw-r--r--lisp/mail/rmail.el14
-rw-r--r--lisp/net/ldap.el3
-rw-r--r--lisp/net/tramp.el53
-rw-r--r--lisp/progmodes/grep.el11
-rw-r--r--lisp/ps-print.el2
-rw-r--r--lisp/tmm.el66
-rw-r--r--lisp/vc-bzr.el4
-rw-r--r--lisp/whitespace.el3
18 files changed, 174 insertions, 77 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index b870299fc78..4fc3a1fb49e 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -37,6 +37,51 @@
37 (rmail-mime-previous-item): Skip the body of a non-multipart 37 (rmail-mime-previous-item): Skip the body of a non-multipart
38 entity if a tagline is shown. 38 entity if a tagline is shown.
39 39
402011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
41
42 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
43 (tmm-prompt): Simplify.
44 (tmm-add-prompt): Remove unused var `win'.
45
46 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
47 to minor mode which used nil accidentally to mean "turn off".
48
492011-01-10 Michael Albinus <michael.albinus@gmx.de>
50
51 * net/tramp.el (tramp-find-inline-compress)
52 (tramp-get-inline-coding): Quote command after pipe symbol for
53 local calls under W32. (Bug#6784)
54
552011-01-10 Michael Albinus <michael.albinus@gmx.de>
56
57 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
58 only when running under W32.
59
602011-01-09 Eli Zaretskii <eliz@gnu.org>
61
62 * progmodes/grep.el (grep-compute-defaults): Quote the program
63 file name after the pipe symbol in Grep templates. (Bug#6784)
64 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
65
662011-01-08 Lennart Borgman <lennart.borgman@gmail.com>
67
68 * buff-menu.el (Buffer-menu-buffer-list): New var.
69 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
70 restricted buffer list is not lost on revert (Bug#7749).
71
722011-01-08 Eric Hanchrow <eric.hanchrow@gmail.com>
73
74 * net/ldap.el (ldap-search-internal): Discard stderr output.
75
762011-01-07 Eli Zaretskii <eliz@gnu.org>
77
78 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
79
802011-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
81
82 * vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time):
83 Author names can have spaces (bug#7792).
84
402011-01-04 Kenichi Handa <handa@m17n.org> 852011-01-04 Kenichi Handa <handa@m17n.org>
41 86
42 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown 87 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
diff --git a/lisp/buff-menu.el b/lisp/buff-menu.el
index 44e494e98a6..19cc01c5144 100644
--- a/lisp/buff-menu.el
+++ b/lisp/buff-menu.el
@@ -111,9 +111,15 @@ A nil value means sort by visited order (the default).")
111This variable determines whether reverting the buffer lists only 111This variable determines whether reverting the buffer lists only
112file buffers. It affects both manual reverting and reverting by 112file buffers. It affects both manual reverting and reverting by
113Auto Revert Mode.") 113Auto Revert Mode.")
114
115(make-variable-buffer-local 'Buffer-menu-files-only) 114(make-variable-buffer-local 'Buffer-menu-files-only)
116 115
116(defvar Buffer-menu--buffers nil
117 "If non-nil, list of buffers shown in the current buffer-menu.
118This variable determines whether reverting the buffer lists only
119this buffers. It affects both manual reverting and reverting by
120Auto Revert Mode.")
121(make-variable-buffer-local 'Buffer-menu--buffers)
122
117(defvar Info-current-file) ;; from info.el 123(defvar Info-current-file) ;; from info.el
118(defvar Info-current-node) ;; from info.el 124(defvar Info-current-node) ;; from info.el
119 125
@@ -281,7 +287,7 @@ Letters do not insert themselves; instead, they are commands.
281 ;; interactively current buffer is correctly identified with a `.' 287 ;; interactively current buffer is correctly identified with a `.'
282 ;; by `list-buffers-noselect'. 288 ;; by `list-buffers-noselect'.
283 (with-current-buffer (window-buffer) 289 (with-current-buffer (window-buffer)
284 (list-buffers-noselect Buffer-menu-files-only)) 290 (list-buffers-noselect Buffer-menu-files-only Buffer-menu--buffers))
285 (if oline 291 (if oline
286 (while (setq prop (next-single-property-change prop 'buffer)) 292 (while (setq prop (next-single-property-change prop 'buffer))
287 (when (eq (get-text-property prop 'buffer) oline) 293 (when (eq (get-text-property prop 'buffer) oline)
@@ -920,6 +926,7 @@ For more information, see the function `buffer-menu'."
920 (and desired-point 926 (and desired-point
921 (goto-char desired-point)) 927 (goto-char desired-point))
922 (setq Buffer-menu-files-only files-only) 928 (setq Buffer-menu-files-only files-only)
929 (setq Buffer-menu--buffers buffer-list)
923 (set-buffer-modified-p nil) 930 (set-buffer-modified-p nil)
924 (current-buffer)))) 931 (current-buffer))))
925 932
diff --git a/lisp/dired.el b/lisp/dired.el
index 0812e2e61a1..306bd8f779a 100644
--- a/lisp/dired.el
+++ b/lisp/dired.el
@@ -3532,7 +3532,7 @@ Ask means pop up a menu for the user to select one of copy, move or link."
3532;;;;;; dired-run-shell-command dired-do-shell-command dired-do-async-shell-command 3532;;;;;; dired-run-shell-command dired-do-shell-command dired-do-async-shell-command
3533;;;;;; dired-clean-directory dired-do-print dired-do-touch dired-do-chown 3533;;;;;; dired-clean-directory dired-do-print dired-do-touch dired-do-chown
3534;;;;;; dired-do-chgrp dired-do-chmod dired-compare-directories dired-backup-diff 3534;;;;;; dired-do-chgrp dired-do-chmod dired-compare-directories dired-backup-diff
3535;;;;;; dired-diff) "dired-aux" "dired-aux.el" "03cf081d2aac54764123d2407c3196a2") 3535;;;;;; dired-diff) "dired-aux" "dired-aux.el" "255ac82c318ef43da2e47b931c0f8581")
3536;;; Generated autoloads from dired-aux.el 3536;;; Generated autoloads from dired-aux.el
3537 3537
3538(autoload 'dired-diff "dired-aux" "\ 3538(autoload 'dired-diff "dired-aux" "\
@@ -3985,7 +3985,7 @@ true then the type of the file linked to by FILE is printed instead.
3985;;;*** 3985;;;***
3986 3986
3987;;;### (autoloads (dired-do-relsymlink dired-jump) "dired-x" "dired-x.el" 3987;;;### (autoloads (dired-do-relsymlink dired-jump) "dired-x" "dired-x.el"
3988;;;;;; "bb37ec379c0a523368794491b691fd8d") 3988;;;;;; "48197b7ca054193643e01957196dd491")
3989;;; Generated autoloads from dired-x.el 3989;;; Generated autoloads from dired-x.el
3990 3990
3991(autoload 'dired-jump "dired-x" "\ 3991(autoload 'dired-jump "dired-x" "\
diff --git a/lisp/emacs-lisp/cl-loaddefs.el b/lisp/emacs-lisp/cl-loaddefs.el
index 7640a0b1575..e6ede1ed6d4 100644
--- a/lisp/emacs-lisp/cl-loaddefs.el
+++ b/lisp/emacs-lisp/cl-loaddefs.el
@@ -10,7 +10,7 @@
10;;;;;; ceiling* floor* isqrt lcm gcd cl-progv-before cl-set-frame-visible-p 10;;;;;; ceiling* floor* isqrt lcm gcd cl-progv-before cl-set-frame-visible-p
11;;;;;; cl-map-overlays cl-map-intervals cl-map-keymap-recursively 11;;;;;; cl-map-overlays cl-map-intervals cl-map-keymap-recursively
12;;;;;; notevery notany every some mapcon mapcan mapl maplist map 12;;;;;; notevery notany every some mapcon mapcan mapl maplist map
13;;;;;; cl-mapcar-many equalp coerce) "cl-extra" "cl-extra.el" "d93072a26c59f663a92b10df8bc28187") 13;;;;;; cl-mapcar-many equalp coerce) "cl-extra" "cl-extra.el" "de874ef326082f133b0324505ad37330")
14;;; Generated autoloads from cl-extra.el 14;;; Generated autoloads from cl-extra.el
15 15
16(autoload 'coerce "cl-extra" "\ 16(autoload 'coerce "cl-extra" "\
@@ -282,7 +282,7 @@ Not documented
282;;;;;; flet progv psetq do-all-symbols do-symbols dotimes dolist 282;;;;;; flet progv psetq do-all-symbols do-symbols dotimes dolist
283;;;;;; do* do loop return-from return block etypecase typecase ecase 283;;;;;; do* do loop return-from return block etypecase typecase ecase
284;;;;;; case load-time-value eval-when destructuring-bind function* 284;;;;;; case load-time-value eval-when destructuring-bind function*
285;;;;;; defmacro* defun* gentemp gensym) "cl-macs" "cl-macs.el" "49b7d96626dd8ba5d39551909edbd4c7") 285;;;;;; defmacro* defun* gentemp gensym) "cl-macs" "cl-macs.el" "fd4df570f1dcbf83cde740819ae3734a")
286;;; Generated autoloads from cl-macs.el 286;;; Generated autoloads from cl-macs.el
287 287
288(autoload 'gensym "cl-macs" "\ 288(autoload 'gensym "cl-macs" "\
@@ -759,7 +759,7 @@ surrounded by (block NAME ...).
759;;;;;; find nsubstitute-if-not nsubstitute-if nsubstitute substitute-if-not 759;;;;;; find nsubstitute-if-not nsubstitute-if nsubstitute substitute-if-not
760;;;;;; substitute-if substitute delete-duplicates remove-duplicates 760;;;;;; substitute-if substitute delete-duplicates remove-duplicates
761;;;;;; delete-if-not delete-if delete* remove-if-not remove-if remove* 761;;;;;; delete-if-not delete-if delete* remove-if-not remove-if remove*
762;;;;;; replace fill reduce) "cl-seq" "cl-seq.el" "ec3ea1c77742734db8496272fe5721be") 762;;;;;; replace fill reduce) "cl-seq" "cl-seq.el" "ac5c427e92a38c5a2149acaa013caad9")
763;;; Generated autoloads from cl-seq.el 763;;; Generated autoloads from cl-seq.el
764 764
765(autoload 'reduce "cl-seq" "\ 765(autoload 'reduce "cl-seq" "\
diff --git a/lisp/emulation/tpu-edt.el b/lisp/emulation/tpu-edt.el
index 80c62e1fdf8..f3a0c43eb96 100644
--- a/lisp/emulation/tpu-edt.el
+++ b/lisp/emulation/tpu-edt.el
@@ -2438,7 +2438,7 @@ If FILE is nil, try to load a default file. The default file names are
2438 2438
2439 2439
2440;;;### (autoloads (tpu-set-cursor-bound tpu-set-cursor-free tpu-set-scroll-margins 2440;;;### (autoloads (tpu-set-cursor-bound tpu-set-cursor-free tpu-set-scroll-margins
2441;;;;;; tpu-cursor-free-mode) "tpu-extras" "tpu-extras.el" "d003e4c2f1291eccc629926bb0f88e17") 2441;;;;;; tpu-cursor-free-mode) "tpu-extras" "tpu-extras.el" "a564a0c82b232d8c113549f6fd0ce8e5")
2442;;; Generated autoloads from tpu-extras.el 2442;;; Generated autoloads from tpu-extras.el
2443 2443
2444(autoload 'tpu-cursor-free-mode "tpu-extras" "\ 2444(autoload 'tpu-cursor-free-mode "tpu-extras" "\
diff --git a/lisp/files.el b/lisp/files.el
index 690caf13960..ab027b507f6 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -56,7 +56,10 @@ when it has unsaved changes."
56A list of elements of the form (FROM . TO), each meaning to replace 56A list of elements of the form (FROM . TO), each meaning to replace
57FROM with TO when it appears in a directory name. This replacement is 57FROM with TO when it appears in a directory name. This replacement is
58done when setting up the default directory of a newly visited file. 58done when setting up the default directory of a newly visited file.
59*Every* FROM string should start with \"\\\\`\". 59
60FROM is matched against directory names anchored at the first
61character, so it should start with a \"\\\\`\", or, if directory
62names cannot have embedded newlines, with a \"^\".
60 63
61FROM and TO should be equivalent names, which refer to the 64FROM and TO should be equivalent names, which refer to the
62same directory. Do not use `~' in the TO strings; 65same directory. Do not use `~' in the TO strings;
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index f8d0a1cb902..6a363c0b4f1 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,8 @@
12011-01-12 Glenn Morris <rgm@gnu.org>
2
3 * message.el (message-mail): A compose-mail function should
4 accept headers as strings.
5
12010-11-19 Yuri Karaban <tech@askold.net> (tiny change) 62010-11-19 Yuri Karaban <tech@askold.net> (tiny change)
2 7
3 * pop3.el (pop3-open-server): Read server greeting before starting TLS 8 * pop3.el (pop3-open-server): Read server greeting before starting TLS
@@ -13920,4 +13925,3 @@ See ChangeLog.2 for earlier changes.
13920;; add-log-time-zone-rule: t 13925;; add-log-time-zone-rule: t
13921;; End: 13926;; End:
13922 13927
13923;;; arch-tag: 3f33a3e7-090d-492b-bedd-02a1417d32b4
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el
index 867798f9dcb..0ea0df46060 100644
--- a/lisp/gnus/message.el
+++ b/lisp/gnus/message.el
@@ -6493,7 +6493,13 @@ is a function used to switch to and display the mail buffer."
6493 (message-setup 6493 (message-setup
6494 (nconc 6494 (nconc
6495 `((To . ,(or to "")) (Subject . ,(or subject ""))) 6495 `((To . ,(or to "")) (Subject . ,(or subject "")))
6496 (when other-headers other-headers)) 6496 ;; C-h f compose-mail says that headers should be specified as
6497 ;; (string . value); however all the rest of message expects
6498 ;; headers to be symbols, not strings (eg message-header-format-alist).
6499 ;; http://lists.gnu.org/archive/html/emacs-devel/2011-01/msg00337.html
6500 ;; We need to convert any string input, eg from rmail-start-mail.
6501 (dolist (h other-headers other-headers)
6502 (if (stringp (car h)) (setcar h (intern (capitalize (car h)))))))
6497 yank-action send-actions continue switch-function) 6503 yank-action send-actions continue switch-function)
6498 ;; FIXME: Should return nil if failure. 6504 ;; FIXME: Should return nil if failure.
6499 t)) 6505 t))
@@ -8195,5 +8201,4 @@ Used in `message-simplify-recipients'."
8195;; coding: iso-8859-1 8201;; coding: iso-8859-1
8196;; End: 8202;; End:
8197 8203
8198;; arch-tag: 94b32cac-4504-4b6c-8181-030ebf380ee0
8199;;; message.el ends here 8204;;; message.el ends here
diff --git a/lisp/ibuffer.el b/lisp/ibuffer.el
index 6328d99291a..5113a34e268 100644
--- a/lisp/ibuffer.el
+++ b/lisp/ibuffer.el
@@ -2641,7 +2641,7 @@ will be inserted before the group at point."
2641;;;;;; ibuffer-backward-filter-group ibuffer-forward-filter-group 2641;;;;;; ibuffer-backward-filter-group ibuffer-forward-filter-group
2642;;;;;; ibuffer-toggle-filter-group ibuffer-mouse-toggle-filter-group 2642;;;;;; ibuffer-toggle-filter-group ibuffer-mouse-toggle-filter-group
2643;;;;;; ibuffer-interactive-filter-by-mode ibuffer-mouse-filter-by-mode 2643;;;;;; ibuffer-interactive-filter-by-mode ibuffer-mouse-filter-by-mode
2644;;;;;; ibuffer-auto-mode) "ibuf-ext" "ibuf-ext.el" "4fb4f1a32cf4ecf4669a133a866f4a14") 2644;;;;;; ibuffer-auto-mode) "ibuf-ext" "ibuf-ext.el" "d98d015a69b22236de3cb1f7e456218b")
2645;;; Generated autoloads from ibuf-ext.el 2645;;; Generated autoloads from ibuf-ext.el
2646 2646
2647(autoload 'ibuffer-auto-mode "ibuf-ext" "\ 2647(autoload 'ibuffer-auto-mode "ibuf-ext" "\
diff --git a/lisp/jka-compr.el b/lisp/jka-compr.el
index 635f3ce8468..32f3d6d1f58 100644
--- a/lisp/jka-compr.el
+++ b/lisp/jka-compr.el
@@ -166,8 +166,11 @@ to keep: LEN chars starting BEG chars from the beginning."
166 (unwind-protect 166 (unwind-protect
167 (or (memq (call-process 167 (or (memq (call-process
168 jka-compr-shell infile t nil "-c" 168 jka-compr-shell infile t nil "-c"
169 ;; Windows shells need the program file name
170 ;; after the pipe symbol be quoted if they use
171 ;; forward slashes as directory separators.
169 (format 172 (format
170 "%s %s 2> %s | %s bs=%d skip=%d %s 2> %s" 173 "%s %s 2> %s | \"%s\" bs=%d skip=%d %s 2> %s"
171 prog 174 prog
172 (mapconcat 'identity args " ") 175 (mapconcat 'identity args " ")
173 err-file 176 err-file
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el
index 919c75604bc..1ca2e4b8dd1 100644
--- a/lisp/mail/rmail.el
+++ b/lisp/mail/rmail.el
@@ -4232,7 +4232,7 @@ encoded string (and the same mask) will decode the string."
4232;;; Start of automatically extracted autoloads. 4232;;; Start of automatically extracted autoloads.
4233 4233
4234;;;### (autoloads (rmail-edit-current-message) "rmailedit" "rmailedit.el" 4234;;;### (autoloads (rmail-edit-current-message) "rmailedit" "rmailedit.el"
4235;;;;;; "60db8013bf16d7999914a16cda435287") 4235;;;;;; "ecd28d8d92983488673388eced6fbf50")
4236;;; Generated autoloads from rmailedit.el 4236;;; Generated autoloads from rmailedit.el
4237 4237
4238(autoload 'rmail-edit-current-message "rmailedit" "\ 4238(autoload 'rmail-edit-current-message "rmailedit" "\
@@ -4244,7 +4244,7 @@ Edit the contents of this message.
4244 4244
4245;;;### (autoloads (rmail-next-labeled-message rmail-previous-labeled-message 4245;;;### (autoloads (rmail-next-labeled-message rmail-previous-labeled-message
4246;;;;;; rmail-read-label rmail-kill-label rmail-add-label) "rmailkwd" 4246;;;;;; rmail-read-label rmail-kill-label rmail-add-label) "rmailkwd"
4247;;;;;; "rmailkwd.el" "7027ce1ac922c0dd51262b641e4d42c1") 4247;;;;;; "rmailkwd.el" "bc72ffe3652be6f4c72048ae8f226fce")
4248;;; Generated autoloads from rmailkwd.el 4248;;; Generated autoloads from rmailkwd.el
4249 4249
4250(autoload 'rmail-add-label "rmailkwd" "\ 4250(autoload 'rmail-add-label "rmailkwd" "\
@@ -4287,7 +4287,7 @@ With prefix argument N moves forward N messages with these labels.
4287 4287
4288;;;*** 4288;;;***
4289 4289
4290;;;### (autoloads (rmail-mime) "rmailmm" "rmailmm.el" "6c12c2d0563ae855f1069d7a80b8244a") 4290;;;### (autoloads (rmail-mime) "rmailmm" "rmailmm.el" "420a9c4619672f1f60f675126fbc9c08")
4291;;; Generated autoloads from rmailmm.el 4291;;; Generated autoloads from rmailmm.el
4292 4292
4293(autoload 'rmail-mime "rmailmm" "\ 4293(autoload 'rmail-mime "rmailmm" "\
@@ -4313,7 +4313,7 @@ attachments as specfied by `rmail-mime-attachment-dirs-alist'.
4313;;;*** 4313;;;***
4314 4314
4315;;;### (autoloads (set-rmail-inbox-list) "rmailmsc" "rmailmsc.el" 4315;;;### (autoloads (set-rmail-inbox-list) "rmailmsc" "rmailmsc.el"
4316;;;;;; "b2a72d4e370f2d2b31b6f8f0794820e4") 4316;;;;;; "9319e5b606ad5786c0c5994a307a38e8")
4317;;; Generated autoloads from rmailmsc.el 4317;;; Generated autoloads from rmailmsc.el
4318 4318
4319(autoload 'set-rmail-inbox-list "rmailmsc" "\ 4319(autoload 'set-rmail-inbox-list "rmailmsc" "\
@@ -4329,7 +4329,7 @@ This applies only to the current session.
4329 4329
4330;;;### (autoloads (rmail-sort-by-labels rmail-sort-by-lines rmail-sort-by-correspondent 4330;;;### (autoloads (rmail-sort-by-labels rmail-sort-by-lines rmail-sort-by-correspondent
4331;;;;;; rmail-sort-by-recipient rmail-sort-by-author rmail-sort-by-subject 4331;;;;;; rmail-sort-by-recipient rmail-sort-by-author rmail-sort-by-subject
4332;;;;;; rmail-sort-by-date) "rmailsort" "rmailsort.el" "5a3b5ee477d2fbf79d0c566d776a7fd4") 4332;;;;;; rmail-sort-by-date) "rmailsort" "rmailsort.el" "16144a77fdc880034875fd624e4d73e6")
4333;;; Generated autoloads from rmailsort.el 4333;;; Generated autoloads from rmailsort.el
4334 4334
4335(autoload 'rmail-sort-by-date "rmailsort" "\ 4335(autoload 'rmail-sort-by-date "rmailsort" "\
@@ -4388,7 +4388,7 @@ If prefix argument REVERSE is non-nil, sorts in reverse order.
4388 4388
4389;;;### (autoloads (rmail-summary-by-senders rmail-summary-by-topic 4389;;;### (autoloads (rmail-summary-by-senders rmail-summary-by-topic
4390;;;;;; rmail-summary-by-regexp rmail-summary-by-recipients rmail-summary-by-labels 4390;;;;;; rmail-summary-by-regexp rmail-summary-by-recipients rmail-summary-by-labels
4391;;;;;; rmail-summary) "rmailsum" "rmailsum.el" "d855683972baef7111d4508dffbb54b6") 4391;;;;;; rmail-summary) "rmailsum" "rmailsum.el" "6bcfd5937a56902944a929b89b33adaa")
4392;;; Generated autoloads from rmailsum.el 4392;;; Generated autoloads from rmailsum.el
4393 4393
4394(autoload 'rmail-summary "rmailsum" "\ 4394(autoload 'rmail-summary "rmailsum" "\
@@ -4436,7 +4436,7 @@ SENDERS is a string of regexps separated by commas.
4436;;;*** 4436;;;***
4437 4437
4438;;;### (autoloads (unforward-rmail-message undigestify-rmail-message) 4438;;;### (autoloads (unforward-rmail-message undigestify-rmail-message)
4439;;;;;; "undigest" "undigest.el" "8cf8a8ffa48eeddf0bde388fa8de1783") 4439;;;;;; "undigest" "undigest.el" "2869c38a0051d0acab1a5968627fa57d")
4440;;; Generated autoloads from undigest.el 4440;;; Generated autoloads from undigest.el
4441 4441
4442(autoload 'undigestify-rmail-message "undigest" "\ 4442(autoload 'undigestify-rmail-message "undigest" "\
diff --git a/lisp/net/ldap.el b/lisp/net/ldap.el
index afdb0fe3e13..f1cc534ae85 100644
--- a/lisp/net/ldap.el
+++ b/lisp/net/ldap.el
@@ -558,7 +558,8 @@ an alist of attribute/value pairs."
558 (setq arglist (nconc arglist (list (format "-z%s" sizelimit))))) 558 (setq arglist (nconc arglist (list (format "-z%s" sizelimit)))))
559 (eval `(call-process ldap-ldapsearch-prog 559 (eval `(call-process ldap-ldapsearch-prog
560 nil 560 nil
561 buf 561 ;; Ignore stderr, which can corrupt results
562 (list buf nil)
562 nil 563 nil
563 ,@arglist 564 ,@arglist
564 ,@ldap-ldapsearch-args 565 ,@ldap-ldapsearch-args
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el
index 0ac5048ef3b..c40d65ca913 100644
--- a/lisp/net/tramp.el
+++ b/lisp/net/tramp.el
@@ -1,7 +1,7 @@
1;;; tramp.el --- Transparent Remote Access, Multiple Protocol 1;;; tramp.el --- Transparent Remote Access, Multiple Protocol
2 2
3;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
4;; 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. 4;; 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
5 5
6;; (copyright statements below in code to be updated with the above notice) 6;; (copyright statements below in code to be updated with the above notice)
7 7
@@ -780,8 +780,11 @@ shouldn't return t when it isn't."
780 ;; password caching. "scpc" is chosen if we detect that the user is 780 ;; password caching. "scpc" is chosen if we detect that the user is
781 ;; running OpenSSH 4.0 or newer. 781 ;; running OpenSSH 4.0 or newer.
782 (cond 782 (cond
783 ;; PuTTY is installed. 783 ;; PuTTY is installed. We don't take it, if it is installed on a
784 ((executable-find "pscp") 784 ;; non-windows system, or pscp from the pssh (parallel ssh) package
785 ;; is found.
786 ((and (eq system-type 'windows-nt)
787 (executable-find "pscp"))
785 (if (or (fboundp 'password-read) 788 (if (or (fboundp 'password-read)
786 (fboundp 'auth-source-user-or-password) 789 (fboundp 'auth-source-user-or-password)
787 ;; Pageant is running. 790 ;; Pageant is running.
@@ -1904,8 +1907,8 @@ on the remote host.")
1904(defconst tramp-perl-encode 1907(defconst tramp-perl-encode
1905 "%s -e ' 1908 "%s -e '
1906# This script contributed by Juanma Barranquero <lektu@terra.es>. 1909# This script contributed by Juanma Barranquero <lektu@terra.es>.
1907# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 1910# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
1908# Free Software Foundation, Inc. 1911# 2011 Free Software Foundation, Inc.
1909use strict; 1912use strict;
1910 1913
1911my %%trans = do { 1914my %%trans = do {
@@ -1946,8 +1949,8 @@ This string is passed to `format', so percent characters need to be doubled.")
1946(defconst tramp-perl-decode 1949(defconst tramp-perl-decode
1947 "%s -e ' 1950 "%s -e '
1948# This script contributed by Juanma Barranquero <lektu@terra.es>. 1951# This script contributed by Juanma Barranquero <lektu@terra.es>.
1949# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 1952# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
1950# Free Software Foundation, Inc. 1953# 2011 Free Software Foundation, Inc.
1951use strict; 1954use strict;
1952 1955
1953my %%trans = do { 1956my %%trans = do {
@@ -7359,9 +7362,17 @@ Goes through the list `tramp-inline-compress-commands'."
7359 vec 5 7362 vec 5
7360 "Checking local compress command `%s', `%s' for sanity" 7363 "Checking local compress command `%s', `%s' for sanity"
7361 compress decompress) 7364 compress decompress)
7362 (unless (zerop (tramp-call-local-coding-command 7365 (unless
7363 (format "echo %s | %s | %s" 7366 (zerop
7364 magic compress decompress) nil nil)) 7367 (tramp-call-local-coding-command
7368 (format
7369 ;; Windows shells need the program file name after
7370 ;; the pipe symbol be quoted if they use forward
7371 ;; slashes as directory separators.
7372 (if (memq system-type '(windows-nt))
7373 "echo %s | \"%s\" | \"%s\""
7374 "echo %s | %s | %s")
7375 magic compress decompress) nil nil))
7365 (throw 'next nil)) 7376 (throw 'next nil))
7366 (tramp-message 7377 (tramp-message
7367 vec 5 7378 vec 5
@@ -8642,9 +8653,25 @@ function cell is returned to be applied on a buffer."
8642 ((symbolp coding) 8653 ((symbolp coding)
8643 coding) 8654 coding)
8644 ((and compress (string-match "decoding" prop)) 8655 ((and compress (string-match "decoding" prop))
8645 (format "(%s | %s >%%s)" coding compress)) 8656 (format
8657 ;; Windows shells need the program file name after
8658 ;; the pipe symbol be quoted if they use forward
8659 ;; slashes as directory separators.
8660 (if (and (string-match "local" prop)
8661 (memq system-type '(windows-nt)))
8662 "(%s | \"%s\" >%%s)"
8663 "(%s | %s >%%s)")
8664 coding compress))
8646 (compress 8665 (compress
8647 (format "(%s <%%s | %s)" compress coding)) 8666 (format
8667 ;; Windows shells need the program file name after
8668 ;; the pipe symbol be quoted if they use forward
8669 ;; slashes as directory separators.
8670 (if (and (string-match "local" prop)
8671 (memq system-type '(windows-nt)))
8672 "(%s <%%s | \"%s\")"
8673 "(%s <%%s | %s)")
8674 compress coding))
8648 ((string-match "decoding" prop) 8675 ((string-match "decoding" prop)
8649 (format "%s >%%s" coding)) 8676 (format "%s >%%s" coding))
8650 (t 8677 (t
diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el
index dac14d07ef8..dd6dc025d5b 100644
--- a/lisp/progmodes/grep.el
+++ b/lisp/progmodes/grep.el
@@ -561,7 +561,10 @@ Set up `compilation-exit-message-function' and run `grep-setup-hook'."
561 (unless grep-find-command 561 (unless grep-find-command
562 (setq grep-find-command 562 (setq grep-find-command
563 (cond ((eq grep-find-use-xargs 'gnu) 563 (cond ((eq grep-find-use-xargs 'gnu)
564 (format "%s . -type f -print0 | %s -0 -e %s" 564 ;; Windows shells need the program file name
565 ;; after the pipe symbol be quoted if they use
566 ;; forward slashes as directory separators.
567 (format "%s . -type f -print0 | \"%s\" -0 -e %s"
565 find-program xargs-program grep-command)) 568 find-program xargs-program grep-command))
566 ((eq grep-find-use-xargs 'exec) 569 ((eq grep-find-use-xargs 'exec)
567 (let ((cmd0 (format "%s . -type f -exec %s" 570 (let ((cmd0 (format "%s . -type f -exec %s"
@@ -572,21 +575,21 @@ Set up `compilation-exit-message-function' and run `grep-setup-hook'."
572 (shell-quote-argument ";")) 575 (shell-quote-argument ";"))
573 (1+ (length cmd0))))) 576 (1+ (length cmd0)))))
574 (t 577 (t
575 (format "%s . -type f -print | %s %s" 578 (format "%s . -type f -print | \"%s\" %s"
576 find-program xargs-program grep-command))))) 579 find-program xargs-program grep-command)))))
577 (unless grep-find-template 580 (unless grep-find-template
578 (setq grep-find-template 581 (setq grep-find-template
579 (let ((gcmd (format "%s <C> %s <R>" 582 (let ((gcmd (format "%s <C> %s <R>"
580 grep-program grep-options))) 583 grep-program grep-options)))
581 (cond ((eq grep-find-use-xargs 'gnu) 584 (cond ((eq grep-find-use-xargs 'gnu)
582 (format "%s . <X> -type f <F> -print0 | %s -0 -e %s" 585 (format "%s . <X> -type f <F> -print0 | \"%s\" -0 -e %s"
583 find-program xargs-program gcmd)) 586 find-program xargs-program gcmd))
584 ((eq grep-find-use-xargs 'exec) 587 ((eq grep-find-use-xargs 'exec)
585 (format "%s . <X> -type f <F> -exec %s {} %s %s" 588 (format "%s . <X> -type f <F> -exec %s {} %s %s"
586 find-program gcmd null-device 589 find-program gcmd null-device
587 (shell-quote-argument ";"))) 590 (shell-quote-argument ";")))
588 (t 591 (t
589 (format "%s . <X> -type f <F> -print | %s %s" 592 (format "%s . <X> -type f <F> -print | \"%s\" %s"
590 find-program xargs-program gcmd)))))))) 593 find-program xargs-program gcmd))))))))
591 (when (eq grep-highlight-matches 'auto-detect) 594 (when (eq grep-highlight-matches 'auto-detect)
592 (setq grep-highlight-matches 595 (setq grep-highlight-matches
diff --git a/lisp/ps-print.el b/lisp/ps-print.el
index 52c0ab2b9c5..25cb9cac2df 100644
--- a/lisp/ps-print.el
+++ b/lisp/ps-print.el
@@ -6662,7 +6662,7 @@ If FACE is not a valid face name, use default face."
6662;; But autoload them here to make the separation invisible. 6662;; But autoload them here to make the separation invisible.
6663 6663
6664;;;### (autoloads (ps-mule-end-job ps-mule-begin-job ps-mule-initialize 6664;;;### (autoloads (ps-mule-end-job ps-mule-begin-job ps-mule-initialize
6665;;;;;; ps-multibyte-buffer) "ps-mule" "ps-mule.el" "18a8bc30e8755ff27de7267f4bce3d99") 6665;;;;;; ps-multibyte-buffer) "ps-mule" "ps-mule.el" "7fadcd6c4b18087e900bd21e6da5e854")
6666;;; Generated autoloads from ps-mule.el 6666;;; Generated autoloads from ps-mule.el
6667 6667
6668(defvar ps-multibyte-buffer nil "\ 6668(defvar ps-multibyte-buffer nil "\
diff --git a/lisp/tmm.el b/lisp/tmm.el
index 3d8433e281f..0341b5384f0 100644
--- a/lisp/tmm.el
+++ b/lisp/tmm.el
@@ -168,14 +168,13 @@ Its value should be an event that has a binding in MENU."
168 ;; It has no other elements. 168 ;; It has no other elements.
169 ;; The order of elements in tmm-km-list is the order of the menu bar. 169 ;; The order of elements in tmm-km-list is the order of the menu bar.
170 (mapc (lambda (elt) 170 (mapc (lambda (elt)
171 (if (stringp elt) 171 (cond
172 (setq gl-str elt) 172 ((stringp elt) (setq gl-str elt))
173 (cond 173 ((listp elt) (tmm-get-keymap elt not-menu))
174 ((listp elt) (tmm-get-keymap elt not-menu)) 174 ((vectorp elt)
175 ((vectorp elt) 175 (dotimes (i (length elt))
176 (dotimes (i (length elt)) 176 (tmm-get-keymap (cons i (aref elt i)) not-menu)))))
177 (tmm-get-keymap (cons i (aref elt i)) not-menu)))))) 177 menu)
178 menu)
179 ;; Choose an element of tmm-km-list; put it in choice. 178 ;; Choose an element of tmm-km-list; put it in choice.
180 (if (and not-menu (= 1 (length tmm-km-list))) 179 (if (and not-menu (= 1 (length tmm-km-list)))
181 ;; If this is the top-level of an x-popup-menu menu, 180 ;; If this is the top-level of an x-popup-menu menu,
@@ -368,32 +367,31 @@ Stores a list of all the shortcuts in the free variable `tmm-short-cuts'."
368 (add-hook 'minibuffer-exit-hook 'tmm-delete-map nil t) 367 (add-hook 'minibuffer-exit-hook 'tmm-delete-map nil t)
369 (unless tmm-c-prompt 368 (unless tmm-c-prompt
370 (error "No active menu entries")) 369 (error "No active menu entries"))
371 (let ((win (selected-window))) 370 (setq tmm-old-mb-map (tmm-define-keys t))
372 (setq tmm-old-mb-map (tmm-define-keys t)) 371 ;; Get window and hide it for electric mode to get correct size
373 ;; Get window and hide it for electric mode to get correct size 372 (save-window-excursion
374 (save-window-excursion 373 (let ((completions
375 (let ((completions 374 (mapcar 'car minibuffer-completion-table)))
376 (mapcar 'car minibuffer-completion-table))) 375 (or tmm-completion-prompt
377 (or tmm-completion-prompt 376 (add-hook 'completion-setup-hook
378 (add-hook 'completion-setup-hook 377 'tmm-completion-delete-prompt 'append))
379 'tmm-completion-delete-prompt 'append)) 378 (unwind-protect
380 (unwind-protect 379 (with-output-to-temp-buffer "*Completions*"
381 (with-output-to-temp-buffer "*Completions*" 380 (display-completion-list completions))
382 (display-completion-list completions)) 381 (remove-hook 'completion-setup-hook 'tmm-completion-delete-prompt)))
383 (remove-hook 'completion-setup-hook 'tmm-completion-delete-prompt))) 382 (set-buffer "*Completions*")
384 (set-buffer "*Completions*") 383 (tmm-remove-inactive-mouse-face)
385 (tmm-remove-inactive-mouse-face) 384 (when tmm-completion-prompt
386 (when tmm-completion-prompt 385 (let ((buffer-read-only nil))
387 (let ((buffer-read-only nil)) 386 (goto-char (point-min))
388 (goto-char (point-min)) 387 (insert tmm-completion-prompt))))
389 (insert tmm-completion-prompt)))) 388 (save-selected-window
390 (save-selected-window 389 (other-window 1) ; Electric-pop-up-window does
391 (other-window 1) ; Electric-pop-up-window does
392 ; not work in minibuffer 390 ; not work in minibuffer
393 (Electric-pop-up-window "*Completions*") 391 (Electric-pop-up-window "*Completions*")
394 (with-current-buffer "*Completions*" 392 (with-current-buffer "*Completions*"
395 (setq tmm-old-comp-map (tmm-define-keys nil)))) 393 (setq tmm-old-comp-map (tmm-define-keys nil))))
396 (insert tmm-c-prompt))) 394 (insert tmm-c-prompt))
397 395
398(defun tmm-delete-map () 396(defun tmm-delete-map ()
399 (remove-hook 'minibuffer-exit-hook 'tmm-delete-map t) 397 (remove-hook 'minibuffer-exit-hook 'tmm-delete-map t)
@@ -497,7 +495,7 @@ It uses the free variable `tmm-table-undef' to keep undefined keys."
497 (if (or in-x-menu (stringp (car-safe elt))) 495 (if (or in-x-menu (stringp (car-safe elt)))
498 (setq str event event nil km elt) 496 (setq str event event nil km elt)
499 (setq str event event nil km (cons 'keymap elt))))) 497 (setq str event event nil km (cons 'keymap elt)))))
500 (unless (eq km 'ignore) 498 (unless (or (eq km 'ignore) (null str))
501 (let ((binding (where-is-internal km nil t))) 499 (let ((binding (where-is-internal km nil t)))
502 (when binding 500 (when binding
503 (setq binding (key-description binding)) 501 (setq binding (key-description binding))
diff --git a/lisp/vc-bzr.el b/lisp/vc-bzr.el
index a4b7d28cf87..41c9663fc77 100644
--- a/lisp/vc-bzr.el
+++ b/lisp/vc-bzr.el
@@ -605,7 +605,7 @@ property containing author and date information."
605 (when (process-buffer proc) 605 (when (process-buffer proc)
606 (with-current-buffer (process-buffer proc) 606 (with-current-buffer (process-buffer proc)
607 (setq string (concat (process-get proc :vc-left-over) string)) 607 (setq string (concat (process-get proc :vc-left-over) string))
608 (while (string-match "^\\( *[0-9.]+ *\\) \\([^\n ]+\\) +\\([0-9]\\{8\\}\\)\\( |.*\n\\)" string) 608 (while (string-match "^\\( *[0-9.]+ *\\) \\(.+?\\) +\\([0-9]\\{8\\}\\)\\( |.*\n\\)" string)
609 (let* ((rev (match-string 1 string)) 609 (let* ((rev (match-string 1 string))
610 (author (match-string 2 string)) 610 (author (match-string 2 string))
611 (date (match-string 3 string)) 611 (date (match-string 3 string))
@@ -632,7 +632,7 @@ property containing author and date information."
632(declare-function vc-annotate-convert-time "vc-annotate" (time)) 632(declare-function vc-annotate-convert-time "vc-annotate" (time))
633 633
634(defun vc-bzr-annotate-time () 634(defun vc-bzr-annotate-time ()
635 (when (re-search-forward "^ *[0-9.]+ +[^\n ]* +|" nil t) 635 (when (re-search-forward "^ *[0-9.]+ +.+? +|" nil t)
636 (let ((prop (get-text-property (line-beginning-position) 'help-echo))) 636 (let ((prop (get-text-property (line-beginning-position) 'help-echo)))
637 (string-match "[0-9]+\\'" prop) 637 (string-match "[0-9]+\\'" prop)
638 (let ((str (match-string-no-properties 0 prop))) 638 (let ((str (match-string-no-properties 0 prop)))
diff --git a/lisp/whitespace.el b/lisp/whitespace.el
index 353d7fef189..6608c0c2c50 100644
--- a/lisp/whitespace.el
+++ b/lisp/whitespace.el
@@ -1188,7 +1188,8 @@ See also `whitespace-newline' and `whitespace-display-mappings'."
1188 :global t 1188 :global t
1189 :group 'whitespace 1189 :group 'whitespace
1190 (let ((whitespace-style '(newline-mark newline))) 1190 (let ((whitespace-style '(newline-mark newline)))
1191 (global-whitespace-mode global-whitespace-newline-mode) 1191 (global-whitespace-mode (if global-whitespace-newline-mode
1192 1 -1))
1192 ;; sync states (running a batch job) 1193 ;; sync states (running a batch job)
1193 (setq global-whitespace-newline-mode global-whitespace-mode))) 1194 (setq global-whitespace-newline-mode global-whitespace-mode)))
1194 1195