aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorKaroly Lorentey2007-01-13 22:59:28 +0000
committerKaroly Lorentey2007-01-13 22:59:28 +0000
commit38db5c8d522cc1faa8190e77dbc932a5560e6aad (patch)
treeefe4c81d7210843bb208282461ebce12c5bd3daf /lisp
parent191ae1cf7cd2571277635b3b8e488e773ca5c9b9 (diff)
parentb4ec8cb4e66f94547e8215a1c1eb6cda3b83ca63 (diff)
downloademacs-38db5c8d522cc1faa8190e77dbc932a5560e6aad.tar.gz
emacs-38db5c8d522cc1faa8190e77dbc932a5560e6aad.zip
Merged from emacs@sv.gnu.org
Patches applied: * emacs@sv.gnu.org/emacs--devo--0--patch-592 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-593 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-594 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-595 Merge from gnus--rel--5.10 * emacs@sv.gnu.org/emacs--devo--0--patch-596 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-597 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-598 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-186 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-187 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-188 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-189 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-190 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-191 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-593
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog89
-rw-r--r--lisp/battery.el12
-rw-r--r--lisp/bindings.el2
-rw-r--r--lisp/calendar/icalendar.el10
-rw-r--r--lisp/ediff-init.el7
-rw-r--r--lisp/emacs-lisp/pp.el17
-rw-r--r--lisp/faces.el11
-rw-r--r--lisp/files.el5
-rw-r--r--lisp/gnus/ChangeLog30
-rw-r--r--lisp/gnus/gmm-utils.el4
-rw-r--r--lisp/gnus/gnus-soup.el24
-rw-r--r--lisp/gnus/mm-decode.el22
-rw-r--r--lisp/gnus/nnweb.el9
-rw-r--r--lisp/info.el4
-rw-r--r--lisp/international/mule-cmds.el6
-rw-r--r--lisp/ldefs-boot.el105
-rw-r--r--lisp/net/tramp.el48
-rw-r--r--lisp/progmodes/cc-langs.el40
-rw-r--r--lisp/progmodes/compile.el6
-rw-r--r--lisp/progmodes/vhdl-mode.el2
-rw-r--r--lisp/replace.el7
-rw-r--r--lisp/server.el4
-rw-r--r--lisp/subr.el10
-rw-r--r--lisp/term/mac-win.el2
-rw-r--r--lisp/textmodes/fill.el42
-rw-r--r--lisp/tumme.el2
-rw-r--r--lisp/tutorial.el5
-rw-r--r--lisp/wdired.el7
-rw-r--r--lisp/x-dnd.el2
29 files changed, 350 insertions, 184 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index d1825190c1a..f24de58fbb7 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,87 @@
12007-01-10 Juanma Barranquero <lekktu@gmail.com>
2
3 * ediff-init.el (ediff-autostore-merges):
4 * textmodes/fill.el (fill-region): Doc fix.
5
62007-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
7
8 * server.el (server-ensure-safe-dir): UIDs may be floats.
9
102007-01-10 Richard Stallman <rms@gnu.org>
11
12 * battery.el (battery-linux-proc-acpi): Use ignore-errors
13 around calls to directory-files.
14
15 * subr.el (momentary-string-display): Use save-excursion.
16
17 * emacs-lisp/pp.el (pp-eval-expression): Once again eval the
18 argument, but read it as `X' does.
19
202007-01-09 Juri Linkov <juri@jurta.org>
21
22 * info.el (Info-fontify-node): Don't hide node names of index entries.
23
24 * faces.el (momentary): Change :group to basic-faces where all
25 basic faces belong to. Add :version.
26
272007-01-09 Lennart Borgman <lennart.borgman.073@student.lu.se>
28
29 * tutorial.el (tutorial--display-changes): Show M-x sequence if no
30 keybinding is found.
31 (tutorial--find-changed-keys): Never treat null keybinding as a
32 remapping.
33
342007-01-09 Martin Rudalics <rudalics@gmx.at>
35
36 * wdired.el (wdired-xcase-word): Skip non-word read-only characters.
37
382007-01-09 Kenichi Handa <handa@m17n.org>
39
40 * international/mule-cmds.el
41 (select-safe-coding-system-interactively): Fix message.
42
432007-01-09 Michael Albinus <michael.albinus@gmx.de>
44
45 * net/tramp.el (tramp-process-one-action): Remove `with-timeout'.
46 (tramp-process-actions): Add optional parameter TIMEOUT.
47 (tramp-open-connection-telnet, tramp-open-connection-rsh)
48 (tramp-open-connection-su): Add timeout of 60".
49
502007-01-09 Richard Stallman <rms@gnu.org>
51
52 * progmodes/compile.el (compile): Doc fix.
53
542007-01-09 Markus Triska <markus.triska@gmx.at>
55
56 * tumme.el (tumme-display-thumb): Doc fix.
57
582007-01-08 Juanma Barranquero <lekktu@gmail.com>
59
60 * battery.el (battery-search-for-one-match-in-files):
61 * bindings.el (mode-line-minor-mode-help):
62 * x-dnd.el (x-dnd-types-alist):
63 * calendar/icalendar.el (icalendar-import-buffer):
64 * term/mac-win.el (mac-dnd-types-alist): Fix typo in docstring.
65
66 * progmodes/vhdl-mode.el (vhdl-save-caches): Fix typo in error message.
67
682007-01-07 Chris Moore <christopher.ian.moore@gmail.com> (tiny change)
69
70 * replace.el (replace-regexp): Fix typo in docstring.
71
722007-01-07 Alan Mackenzie <acm@muc.de>
73
74 * progmodes/cc-langs.el (c-operators, c-filter-ops):
75 Amend doc-string and comments.
76
772007-01-06 Eli Zaretskii <eliz@gnu.org>
78
79 * files.el (abbreviate-file-name): Doc fix.
80
812007-01-06 Markus Triska <triska@gmx.at>
82
83 * subr.el (split-string): Remove spurious ")" from doc string.
84
12007-01-05 Takaaki Ota <Takaaki.Ota@am.sony.com> 852007-01-05 Takaaki Ota <Takaaki.Ota@am.sony.com>
2 86
3 * textmodes/table.el (table--warn-incompatibility): 87 * textmodes/table.el (table--warn-incompatibility):
@@ -275,6 +359,11 @@
2752006-12-27 Kenichi Handa <handa@m17n.org> 3592006-12-27 Kenichi Handa <handa@m17n.org>
276 360
277 * international/mule-cmds.el (select-safe-coding-system-interactively): 361 * international/mule-cmds.el (select-safe-coding-system-interactively):
362 Use face `link' for problematic chars.
363
3642006-12-27 Kenichi Handa <handa@m17n.org>
365
366 * international/mule-cmds.el (select-safe-coding-system-interactively):
278 Improve the message in *Warning* buffer. 367 Improve the message in *Warning* buffer.
279 368
2802006-12-27 Kim F. Storm <storm@cua.dk> 3692006-12-27 Kim F. Storm <storm@cua.dk>
diff --git a/lisp/battery.el b/lisp/battery.el
index a4c72df0bbb..aec6865dc06 100644
--- a/lisp/battery.el
+++ b/lisp/battery.el
@@ -357,15 +357,17 @@ The following %-sequences are provided:
357 (list (cons ?c (or (and capacity (number-to-string capacity)) "N/A")) 357 (list (cons ?c (or (and capacity (number-to-string capacity)) "N/A"))
358 (cons ?L (or (battery-search-for-one-match-in-files 358 (cons ?L (or (battery-search-for-one-match-in-files
359 (mapcar (lambda (e) (concat e "/state")) 359 (mapcar (lambda (e) (concat e "/state"))
360 (directory-files "/proc/acpi/ac_adapter/" 360 (ignore-errors
361 t "\\`[^.]")) 361 (directory-files "/proc/acpi/ac_adapter/"
362 t "\\`[^.]")))
362 "state: +\\(.*\\)$" 1) 363 "state: +\\(.*\\)$" 1)
363 364
364 "N/A")) 365 "N/A"))
365 (cons ?d (or (battery-search-for-one-match-in-files 366 (cons ?d (or (battery-search-for-one-match-in-files
366 (mapcar (lambda (e) (concat e "/temperature")) 367 (mapcar (lambda (e) (concat e "/temperature"))
367 (directory-files "/proc/acpi/thermal_zone/" 368 (ignore-errors
368 t "\\`[^.]")) 369 (directory-files "/proc/acpi/thermal_zone/"
370 t "\\`[^.]")))
369 "temperature: +\\([0-9]+\\) C$" 1) 371 "temperature: +\\([0-9]+\\) C$" 1)
370 372
371 "N/A")) 373 "N/A"))
@@ -455,7 +457,7 @@ The following %-sequences are provided:
455 457
456(defun battery-search-for-one-match-in-files (files regexp match-num) 458(defun battery-search-for-one-match-in-files (files regexp match-num)
457 "Search REGEXP in the content of the files listed in FILES. 459 "Search REGEXP in the content of the files listed in FILES.
458If a match occured, return the parenthesized expression numbered by 460If a match occurred, return the parenthesized expression numbered by
459MATCH-NUM in the match. Otherwise, return nil." 461MATCH-NUM in the match. Otherwise, return nil."
460 (with-temp-buffer 462 (with-temp-buffer
461 (catch 'found 463 (catch 'found
diff --git a/lisp/bindings.el b/lisp/bindings.el
index 1d64612d8ca..690431a99e6 100644
--- a/lisp/bindings.el
+++ b/lisp/bindings.el
@@ -476,7 +476,7 @@ Menu of mode operations in the mode line.")
476 (x-popup-menu event mode-line-mode-menu)) 476 (x-popup-menu event mode-line-mode-menu))
477 477
478(defun mode-line-minor-mode-help (event) 478(defun mode-line-minor-mode-help (event)
479 "Describe minor mode for EVENT occured on minor modes area of the mode line." 479 "Describe minor mode for EVENT occurred on minor modes area of the mode line."
480 (interactive "@e") 480 (interactive "@e")
481 (let ((indicator (car (nth 4 (car (cdr event)))))) 481 (let ((indicator (car (nth 4 (car (cdr event))))))
482 (describe-minor-mode-from-indicator indicator))) 482 (describe-minor-mode-from-indicator indicator)))
diff --git a/lisp/calendar/icalendar.el b/lisp/calendar/icalendar.el
index 6fecc86bf34..9de4d1f3954 100644
--- a/lisp/calendar/icalendar.el
+++ b/lisp/calendar/icalendar.el
@@ -709,7 +709,7 @@ would be \"pm\"."
709 "Export diary file to iCalendar format. 709 "Export diary file to iCalendar format.
710All diary entries in the file DIARY-FILENAME are converted to iCalendar 710All diary entries in the file DIARY-FILENAME are converted to iCalendar
711format. The result is appended to the file ICAL-FILENAME." 711format. The result is appended to the file ICAL-FILENAME."
712 (interactive "FExport diary data from file: 712 (interactive "FExport diary data from file:
713Finto iCalendar file: ") 713Finto iCalendar file: ")
714 (save-current-buffer 714 (save-current-buffer
715 (set-buffer (find-file diary-filename)) 715 (set-buffer (find-file diary-filename))
@@ -1453,8 +1453,8 @@ Argument ICAL-FILENAME output iCalendar file.
1453Argument DIARY-FILENAME input `diary-file'. 1453Argument DIARY-FILENAME input `diary-file'.
1454Optional argument NON-MARKING determines whether events are created as 1454Optional argument NON-MARKING determines whether events are created as
1455non-marking or not." 1455non-marking or not."
1456 (interactive "fImport iCalendar data from file: 1456 (interactive "fImport iCalendar data from file:
1457Finto diary file: 1457Finto diary file:
1458p") 1458p")
1459 ;; clean up the diary file 1459 ;; clean up the diary file
1460 (save-current-buffer 1460 (save-current-buffer
@@ -1479,7 +1479,7 @@ NON-MARKING determines whether diary events are created as
1479non-marking. 1479non-marking.
1480 1480
1481Return code t means that importing worked well, return code nil 1481Return code t means that importing worked well, return code nil
1482means that an error has occured. Error messages will be in the 1482means that an error has occurred. Error messages will be in the
1483buffer `*icalendar-errors*'." 1483buffer `*icalendar-errors*'."
1484 (interactive) 1484 (interactive)
1485 (save-current-buffer 1485 (save-current-buffer
@@ -1508,7 +1508,7 @@ buffer `*icalendar-errors*'."
1508 (set-buffer b) 1508 (set-buffer b)
1509 (save-buffer))))) 1509 (save-buffer)))))
1510 (message "Converting icalendar...done") 1510 (message "Converting icalendar...done")
1511 ;; return t if no error occured 1511 ;; return t if no error occurred
1512 (not ical-errors)) 1512 (not ical-errors))
1513 (message 1513 (message
1514 "Current buffer does not contain icalendar contents!") 1514 "Current buffer does not contain icalendar contents!")
diff --git a/lisp/ediff-init.el b/lisp/ediff-init.el
index 2fc0ceefe4d..75b2fdc6fc5 100644
--- a/lisp/ediff-init.el
+++ b/lisp/ediff-init.el
@@ -1410,9 +1410,10 @@ This property can be toggled interactively."
1410 1410
1411(defcustom ediff-autostore-merges 'group-jobs-only 1411(defcustom ediff-autostore-merges 'group-jobs-only
1412 "*Save the results of merge jobs automatically. 1412 "*Save the results of merge jobs automatically.
1413nil means don't save automatically. t means always save. Anything else 1413With value nil, don't save automatically. With value t, always
1414means save automatically only if the merge job is part of a group of jobs, such 1414save. Anything else means save automatically only if the merge
1415as `ediff-merge-directory' or `ediff-merge-directory-revisions'." 1415job is part of a group of jobs, such as `ediff-merge-directory'
1416or `ediff-merge-directory-revisions'."
1416 :type '(choice (const nil) (const t) (const group-jobs-only)) 1417 :type '(choice (const nil) (const t) (const group-jobs-only))
1417 :group 'ediff-merge) 1418 :group 'ediff-merge)
1418(make-variable-buffer-local 'ediff-autostore-merges) 1419(make-variable-buffer-local 'ediff-autostore-merges)
diff --git a/lisp/emacs-lisp/pp.el b/lisp/emacs-lisp/pp.el
index 77f8854e022..27cb936c598 100644
--- a/lisp/emacs-lisp/pp.el
+++ b/lisp/emacs-lisp/pp.el
@@ -97,16 +97,13 @@ Output stream is STREAM, or value of `standard-output' (which see)."
97 (princ (pp-to-string object) (or stream standard-output))) 97 (princ (pp-to-string object) (or stream standard-output)))
98 98
99;;;###autoload 99;;;###autoload
100(defun pp-eval-expression (expval) 100(defun pp-eval-expression (expression)
101 "Evaluate an expression, then pretty-print value EXPVAL into a new buffer. 101 "Evaluate EXPRESSION and pretty-print its value.
102If pretty-printed EXPVAL fits on one line, display it in the echo 102Also add the value to the front of the list in the variable `values'."
103area instead. Also add EXPVAL to the front of the list 103 (interactive
104in the variable `values'. 104 (list (read-from-minibuffer "Eval: " nil read-expression-map t
105 105 'read-expression-history)))
106Non-interactively, the argument is the value, EXPVAL, not the expression 106 (setq values (cons (eval expression) values))
107to evaluate."
108 (interactive "XPp-eval: ")
109 (setq values (cons expval values))
110 (let* ((old-show-function temp-buffer-show-function) 107 (let* ((old-show-function temp-buffer-show-function)
111 ;; Use this function to display the buffer. 108 ;; Use this function to display the buffer.
112 ;; This function either decides not to display it at all 109 ;; This function either decides not to display it at all
diff --git a/lisp/faces.el b/lisp/faces.el
index a3d0e8b6de6..0736cda2993 100644
--- a/lisp/faces.el
+++ b/lisp/faces.el
@@ -2179,17 +2179,18 @@ terminal type to a different value."
2179 :version "21.1" 2179 :version "21.1"
2180 :group 'basic-faces) 2180 :group 'basic-faces)
2181 2181
2182(defface momentary
2183 '((t (:inherit mode-line)))
2184 "Face for momentarily displaying text in the current buffer."
2185 :group 'display)
2186
2187(defface vertical-border 2182(defface vertical-border
2188 '((((type tty)) :inherit mode-line-inactive)) 2183 '((((type tty)) :inherit mode-line-inactive))
2189 "Face used for vertical window dividers on ttys." 2184 "Face used for vertical window dividers on ttys."
2190 :version "22.1" 2185 :version "22.1"
2191 :group 'basic-faces) 2186 :group 'basic-faces)
2192 2187
2188(defface momentary
2189 '((t (:inherit mode-line)))
2190 "Face for momentarily displaying text in the current buffer."
2191 :version "22.1"
2192 :group 'basic-faces)
2193
2193(defface minibuffer-prompt 2194(defface minibuffer-prompt
2194 '((((background dark)) :foreground "cyan") 2195 '((((background dark)) :foreground "cyan")
2195 ;; Don't use blue because many users of the MS-DOS port customize 2196 ;; Don't use blue because many users of the MS-DOS port customize
diff --git a/lisp/files.el b/lisp/files.el
index 3834424ed4e..3b28f28b59b 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -1289,8 +1289,9 @@ Choose the buffer's name using `generate-new-buffer-name'."
1289 1289
1290(defun abbreviate-file-name (filename) 1290(defun abbreviate-file-name (filename)
1291 "Return a version of FILENAME shortened using `directory-abbrev-alist'. 1291 "Return a version of FILENAME shortened using `directory-abbrev-alist'.
1292This also substitutes \"~\" for the user's home directory and 1292This also substitutes \"~\" for the user's home directory (unless the
1293removes automounter prefixes (see the variable `automount-dir-prefix')." 1293home directory is a root directory) and removes automounter prefixes
1294\(see the variable `automount-dir-prefix')."
1294 ;; Get rid of the prefixes added by the automounter. 1295 ;; Get rid of the prefixes added by the automounter.
1295 (save-match-data 1296 (save-match-data
1296 (if (and automount-dir-prefix 1297 (if (and automount-dir-prefix
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index ec7476b8758..a56f9ff1536 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,8 +1,38 @@
12007-01-07 Reiner Steib <Reiner.Steib@gmx.de>
2
3 * gnus-soup.el: Add missing :group in previous change.
4
12007-01-05 Reiner Steib <Reiner.Steib@gmx.de> 52007-01-05 Reiner Steib <Reiner.Steib@gmx.de>
2 6
3 * gnus-soup.el (gnus-soup): New custom group. Make user variables 7 * gnus-soup.el (gnus-soup): New custom group. Make user variables
4 customizable. 8 customizable.
5 9
102007-01-03 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
11
12 * nnweb.el (nnweb-gmane-create-mapping): Put back code to merge the
13 headers read from disk with the ones newly found in the current search.
14 This should no longer cause problems, because the article numbers in
15 Gmane's `nov.php' output are ignored since the previous change.
16
172006-01-03 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
18
19 * nnweb.el (nnweb-gmane-create-mapping): Keep the mapping stable for
20 solid groups.
21
222006-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23
24 * nnweb.el (nnweb-gmane-create-mapping): Use the article number from
25 the headers when creating the mapping to avoid mismappings.
26 (nnweb-gmane-create-mapping): Always nix out old mapping.
27
282007-01-02 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
29
30 * gmm-utils.el (gmm-tool-bar-style): Fix custom type.
31
322007-01-01 Katsumi Yamaoka <yamaoka@jpl.org>
33
34 * mm-decode.el (mm-display-external): Use itimer function for XEmacs.
35
62006-12-30 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de> 362006-12-30 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
7 37
8 * gnus-sum.el (gnus-summary-insert-dormant-articles): Fix typo in 38 * gnus-sum.el (gnus-summary-insert-dormant-articles): Fix typo in
diff --git a/lisp/gnus/gmm-utils.el b/lisp/gnus/gmm-utils.el
index 59d02927008..18b1a528c29 100644
--- a/lisp/gnus/gmm-utils.el
+++ b/lisp/gnus/gmm-utils.el
@@ -203,8 +203,8 @@ This is copy of the `lazy' widget in Emacs 22.1 provided for compatibility."
203 'gnome 203 'gnome
204 'retro) 204 'retro)
205 "Prefered tool bar style." 205 "Prefered tool bar style."
206 :type '(choice (const :tag "GNOME style" 'gnome) 206 :type '(choice (const :tag "GNOME style" gnome)
207 (const :tag "Retro look" 'retro)) 207 (const :tag "Retro look" retro))
208 :group 'gmm) 208 :group 'gmm)
209 209
210(defvar tool-bar-map) 210(defvar tool-bar-map)
diff --git a/lisp/gnus/gnus-soup.el b/lisp/gnus/gnus-soup.el
index 31074cb8c77..d5b1a9fad88 100644
--- a/lisp/gnus/gnus-soup.el
+++ b/lisp/gnus/gnus-soup.el
@@ -45,18 +45,21 @@
45(defcustom gnus-soup-directory (nnheader-concat gnus-home-directory "SoupBrew/") 45(defcustom gnus-soup-directory (nnheader-concat gnus-home-directory "SoupBrew/")
46 "Directory containing an unpacked SOUP packet." 46 "Directory containing an unpacked SOUP packet."
47 :version "22.1" ;; Gnus 5.10.9 47 :version "22.1" ;; Gnus 5.10.9
48 :type 'directory) 48 :type 'directory
49 :group 'gnus-soup)
49 50
50(defcustom gnus-soup-replies-directory 51(defcustom gnus-soup-replies-directory
51 (nnheader-concat gnus-soup-directory "SoupReplies/") 52 (nnheader-concat gnus-soup-directory "SoupReplies/")
52 "Directory where Gnus will do processing of replies." 53 "Directory where Gnus will do processing of replies."
53 :version "22.1" ;; Gnus 5.10.9 54 :version "22.1" ;; Gnus 5.10.9
54 :type 'directory) 55 :type 'directory
56 :group 'gnus-soup)
55 57
56(defcustom gnus-soup-prefix-file "gnus-prefix" 58(defcustom gnus-soup-prefix-file "gnus-prefix"
57 "Name of the file where Gnus stores the last used prefix." 59 "Name of the file where Gnus stores the last used prefix."
58 :version "22.1" ;; Gnus 5.10.9 60 :version "22.1" ;; Gnus 5.10.9
59 :type 'file) 61 :type 'file
62 :group 'gnus-soup)
60 63
61(defcustom gnus-soup-packer "tar cf - %s | gzip > $HOME/Soupout%d.tgz" 64(defcustom gnus-soup-packer "tar cf - %s | gzip > $HOME/Soupout%d.tgz"
62 "Format string command for packing a SOUP packet. 65 "Format string command for packing a SOUP packet.
@@ -64,28 +67,33 @@ The SOUP files will be inserted where the %s is in the string.
64This string MUST contain both %s and %d. The file number will be 67This string MUST contain both %s and %d. The file number will be
65inserted where %d appears." 68inserted where %d appears."
66 :version "22.1" ;; Gnus 5.10.9 69 :version "22.1" ;; Gnus 5.10.9
67 :type 'string) 70 :type 'string
71 :group 'gnus-soup)
68 72
69(defcustom gnus-soup-unpacker "gunzip -c %s | tar xvf -" 73(defcustom gnus-soup-unpacker "gunzip -c %s | tar xvf -"
70 "Format string command for unpacking a SOUP packet. 74 "Format string command for unpacking a SOUP packet.
71The SOUP packet file name will be inserted at the %s." 75The SOUP packet file name will be inserted at the %s."
72 :version "22.1" ;; Gnus 5.10.9 76 :version "22.1" ;; Gnus 5.10.9
73 :type 'string) 77 :type 'string
78 :group 'gnus-soup)
74 79
75(defcustom gnus-soup-packet-directory gnus-home-directory 80(defcustom gnus-soup-packet-directory gnus-home-directory
76 "Where gnus-soup will look for REPLIES packets." 81 "Where gnus-soup will look for REPLIES packets."
77 :version "22.1" ;; Gnus 5.10.9 82 :version "22.1" ;; Gnus 5.10.9
78 :type 'directory) 83 :type 'directory
84 :group 'gnus-soup)
79 85
80(defcustom gnus-soup-packet-regexp "Soupin" 86(defcustom gnus-soup-packet-regexp "Soupin"
81 "Regular expression matching SOUP REPLIES packets in `gnus-soup-packet-directory'." 87 "Regular expression matching SOUP REPLIES packets in `gnus-soup-packet-directory'."
82 :version "22.1" ;; Gnus 5.10.9 88 :version "22.1" ;; Gnus 5.10.9
83 :type 'regexp) 89 :type 'regexp
90 :group 'gnus-soup)
84 91
85(defcustom gnus-soup-ignored-headers "^Xref:" 92(defcustom gnus-soup-ignored-headers "^Xref:"
86 "Regexp to match headers to be removed when brewing SOUP packets." 93 "Regexp to match headers to be removed when brewing SOUP packets."
87 :version "22.1" ;; Gnus 5.10.9 94 :version "22.1" ;; Gnus 5.10.9
88 :type 'regexp) 95 :type 'regexp
96 :group 'gnus-soup)
89 97
90;;; Internal Variables: 98;;; Internal Variables:
91 99
diff --git a/lisp/gnus/mm-decode.el b/lisp/gnus/mm-decode.el
index 7e6f93be1f1..361c83cfa7c 100644
--- a/lisp/gnus/mm-decode.el
+++ b/lisp/gnus/mm-decode.el
@@ -883,13 +883,21 @@ external if displayed external."
883 ;; a vector in Emacs but is a list in XEmacs) 883 ;; a vector in Emacs but is a list in XEmacs)
884 ;; requires that it is lexically scoped. 884 ;; requires that it is lexically scoped.
885 (timer (run-at-time 2.0 nil 'ignore))) 885 (timer (run-at-time 2.0 nil 'ignore)))
886 (lambda (process state) 886 (if (boundp 'itimer-list)
887 (when (eq 'exit (process-status process)) 887 (lambda (process state)
888 (if (memq timer timer-list) 888 (when (eq 'exit (process-status process))
889 (timer-set-function timer fn) 889 (if (memq timer itimer-list)
890 (funcall fn)) 890 (set-itimer-function timer fn)
891 (ignore-errors (eval fm)) 891 (funcall fn))
892 (message "%s" done)))))) 892 (ignore-errors (eval fm))
893 (message "%s" done)))
894 (lambda (process state)
895 (when (eq 'exit (process-status process))
896 (if (memq timer timer-list)
897 (timer-set-function timer fn)
898 (funcall fn))
899 (ignore-errors (eval fm))
900 (message "%s" done)))))))
893 (mm-handle-set-external-undisplayer 901 (mm-handle-set-external-undisplayer
894 handle (cons file buffer))) 902 handle (cons file buffer)))
895 (message "Displaying %s..." command)) 903 (message "Displaying %s..." command))
diff --git a/lisp/gnus/nnweb.el b/lisp/gnus/nnweb.el
index d020d533aea..54c57879d5b 100644
--- a/lisp/gnus/nnweb.el
+++ b/lisp/gnus/nnweb.el
@@ -480,7 +480,7 @@ Valid types include `google', `dejanews', and `gmane'.")
480 (from (mail-header-from header)) 480 (from (mail-header-from header))
481 (subject (mail-header-subject header)) 481 (subject (mail-header-subject header))
482 (rfc2047-encoding-type 'mime)) 482 (rfc2047-encoding-type 'mime))
483 (when (string-match " \\([^:]+\\):\\([0-9]+\\)" xref) 483 (when (string-match " \\([^:]+\\)[:/]\\([0-9]+\\)" xref)
484 (mail-header-set-xref 484 (mail-header-set-xref
485 header 485 header
486 (format "http://article.gmane.org/%s/%s/raw" 486 (format "http://article.gmane.org/%s/%s/raw"
@@ -496,11 +496,8 @@ Valid types include `google', `dejanews', and `gmane'.")
496 (rfc2047-encode-string subject)) 496 (rfc2047-encode-string subject))
497 497
498 (unless (nnweb-get-hashtb (mail-header-xref header)) 498 (unless (nnweb-get-hashtb (mail-header-xref header))
499 (push 499 (mail-header-set-number header (incf (cdr active)))
500 (list 500 (push (list (mail-header-number header) header) map)
501 (incf (cdr active))
502 header)
503 map)
504 (nnweb-set-hashtb (cadar map) (car map)))))) 501 (nnweb-set-hashtb (cadar map) (car map))))))
505 (forward-line 1))) 502 (forward-line 1)))
506 (nnheader-message 7 "Searching Gmane...done") 503 (nnheader-message 7 "Searching Gmane...done")
diff --git a/lisp/info.el b/lisp/info.el
index 6d966da3317..880b659faa6 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -3996,7 +3996,9 @@ the variable `Info-file-list-for-emacs'."
3996 (setq res (car hl) hl nil) 3996 (setq res (car hl) hl nil)
3997 (setq hl (cdr hl)))) 3997 (setq hl (cdr hl))))
3998 res))) 'info-xref-visited 'info-xref))) 3998 res))) 'info-xref-visited 'info-xref)))
3999 (when (and not-fontified-p (memq Info-hide-note-references '(t hide))) 3999 (when (and not-fontified-p
4000 (memq Info-hide-note-references '(t hide))
4001 (not (Info-index-node)))
4000 (put-text-property (match-beginning 2) (1- (match-end 6)) 4002 (put-text-property (match-beginning 2) (1- (match-end 6))
4001 'invisible t) 4003 'invisible t)
4002 ;; Unhide the file name in parens 4004 ;; Unhide the file name in parens
diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el
index 65c3f6fe5ff..41f6b376995 100644
--- a/lisp/international/mule-cmds.el
+++ b/lisp/international/mule-cmds.el
@@ -788,10 +788,10 @@ e.g., for sending an email message.\n ")
788 (car coding))))) 788 (car coding)))))
789 (setq i (1+ i)))) 789 (setq i (1+ i))))
790 (insert "\n")) 790 (insert "\n"))
791 (insert "\ 791 (insert (substitute-command-keys "\
792 792
793Click on a character to jump to the place it appears,\n" 793Click on a character (or switch to this window by `\\[other-window]'\n\
794 (substitute-command-keys "\ 794and select the characters by RET) to jump to the place it appears,\n\
795where `\\[universal-argument] \\[what-cursor-position]' will give information about it.\n")))) 795where `\\[universal-argument] \\[what-cursor-position]' will give information about it.\n"))))
796 (insert (substitute-command-keys "\nSelect \ 796 (insert (substitute-command-keys "\nSelect \
797one of the safe coding systems listed below,\n\ 797one of the safe coding systems listed below,\n\
diff --git a/lisp/ldefs-boot.el b/lisp/ldefs-boot.el
index 18248771da0..80e2f978f58 100644
--- a/lisp/ldefs-boot.el
+++ b/lisp/ldefs-boot.el
@@ -5782,8 +5782,8 @@ suggest to customize that face, if it's customizable.
5782 5782
5783\(fn &optional FACE)" t nil) 5783\(fn &optional FACE)" t nil)
5784 5784
5785(autoload (quote customize-customized) "cus-edit" "\ 5785(autoload (quote customize-unsaved) "cus-edit" "\
5786Customize all user options set since the last save in this session. 5786Customize all user options set in this session but not saved.
5787 5787
5788\(fn)" t nil) 5788\(fn)" t nil)
5789 5789
@@ -6029,11 +6029,10 @@ This function is designed to be added to hooks, for example:
6029Non-nil if Global-Cwarn mode is enabled. 6029Non-nil if Global-Cwarn mode is enabled.
6030See the command `global-cwarn-mode' for a description of this minor-mode. 6030See the command `global-cwarn-mode' for a description of this minor-mode.
6031Setting this variable directly does not take effect; 6031Setting this variable directly does not take effect;
6032use either \\[customize] or the function `global-cwarn-mode'.") 6032either customize it (see the info node `Easy Customization')
6033 6033or call the function `global-cwarn-mode'.")
6034(custom-autoload (quote global-cwarn-mode) "cwarn")
6035 6034
6036(put (quote global-cwarn-mode) (quote custom-set) (quote custom-set-minor-mode)) 6035(custom-autoload (quote global-cwarn-mode) "cwarn" nil)
6037 6036
6038(autoload (quote global-cwarn-mode) "cwarn" "\ 6037(autoload (quote global-cwarn-mode) "cwarn" "\
6039Toggle Cwarn mode in every buffer. 6038Toggle Cwarn mode in every buffer.
@@ -6407,11 +6406,10 @@ no args, if that value is non-nil.
6407Non-nil if Delete-Selection mode is enabled. 6406Non-nil if Delete-Selection mode is enabled.
6408See the command `delete-selection-mode' for a description of this minor-mode. 6407See the command `delete-selection-mode' for a description of this minor-mode.
6409Setting this variable directly does not take effect; 6408Setting this variable directly does not take effect;
6410use either \\[customize] or the function `delete-selection-mode'.") 6409either customize it (see the info node `Easy Customization')
6411 6410or call the function `delete-selection-mode'.")
6412(custom-autoload (quote delete-selection-mode) "delsel")
6413 6411
6414(put (quote delete-selection-mode) (quote custom-set) (quote custom-set-minor-mode)) 6412(custom-autoload (quote delete-selection-mode) "delsel" nil)
6415 6413
6416(autoload (quote delete-selection-mode) "delsel" "\ 6414(autoload (quote delete-selection-mode) "delsel" "\
6417Toggle Delete Selection mode. 6415Toggle Delete Selection mode.
@@ -7973,6 +7971,10 @@ If MAP is specified, it should normally be a keymap; nil stands for the local
7973menu-bar keymap. It can also be a symbol, which has earlier been used as the 7971menu-bar keymap. It can also be a symbol, which has earlier been used as the
7974first argument in a call to `easy-menu-define', or the value of such a symbol. 7972first argument in a call to `easy-menu-define', or the value of such a symbol.
7975 7973
7974If MAP is specified, it should normally be a keymap; nil stands for the local
7975menu-bar keymap. It can also be a symbol, which has earlier been used as the
7976first argument in a call to `easy-menu-define', or the value of such a symbol.
7977
7976If the menu located by PATH has no submenu named NAME, add one. 7978If the menu located by PATH has no submenu named NAME, add one.
7977If the optional argument BEFORE is present, add it just before 7979If the optional argument BEFORE is present, add it just before
7978the submenu named BEFORE, otherwise add it at the end of the menu. 7980the submenu named BEFORE, otherwise add it at the end of the menu.
@@ -9690,7 +9692,7 @@ Use the `etags' program to make a tags table file.")
9690A value of t means case-insensitive, a value of nil means case-sensitive. 9692A value of t means case-insensitive, a value of nil means case-sensitive.
9691Any other value means use the setting of `case-fold-search'.") 9693Any other value means use the setting of `case-fold-search'.")
9692 9694
9693(custom-autoload (quote tags-case-fold-search) "etags") 9695(custom-autoload (quote tags-case-fold-search) "etags" t)
9694 9696
9695(defvar tags-table-list nil "\ 9697(defvar tags-table-list nil "\
9696*List of file names of tags tables to search. 9698*List of file names of tags tables to search.
@@ -9699,7 +9701,7 @@ To switch to a new list of tags tables, setting this variable is sufficient.
9699If you set this variable, do not also set `tags-file-name'. 9701If you set this variable, do not also set `tags-file-name'.
9700Use the `etags' program to make a tags table file.") 9702Use the `etags' program to make a tags table file.")
9701 9703
9702(custom-autoload (quote tags-table-list) "etags") 9704(custom-autoload (quote tags-table-list) "etags" t)
9703 9705
9704(defvar tags-compression-info-list (quote ("" ".Z" ".bz2" ".gz" ".tgz")) "\ 9706(defvar tags-compression-info-list (quote ("" ".Z" ".bz2" ".gz" ".tgz")) "\
9705*List of extensions tried by etags when jka-compr is used. 9707*List of extensions tried by etags when jka-compr is used.
@@ -9708,7 +9710,7 @@ These extensions will be tried only if jka-compr was activated
9708\(i.e. via customize of `auto-compression-mode' or by calling the function 9710\(i.e. via customize of `auto-compression-mode' or by calling the function
9709`auto-compression-mode').") 9711`auto-compression-mode').")
9710 9712
9711(custom-autoload (quote tags-compression-info-list) "etags") 9713(custom-autoload (quote tags-compression-info-list) "etags" t)
9712 9714
9713(defvar tags-add-tables (quote ask-user) "\ 9715(defvar tags-add-tables (quote ask-user) "\
9714*Control whether to add a new tags table to the current list. 9716*Control whether to add a new tags table to the current list.
@@ -9716,14 +9718,14 @@ t means do; nil means don't (always start a new list).
9716Any other value means ask the user whether to add a new tags table 9718Any other value means ask the user whether to add a new tags table
9717to the current list (as opposed to starting a new list).") 9719to the current list (as opposed to starting a new list).")
9718 9720
9719(custom-autoload (quote tags-add-tables) "etags") 9721(custom-autoload (quote tags-add-tables) "etags" t)
9720 9722
9721(defvar find-tag-hook nil "\ 9723(defvar find-tag-hook nil "\
9722*Hook to be run by \\[find-tag] after finding a tag. See `run-hooks'. 9724*Hook to be run by \\[find-tag] after finding a tag. See `run-hooks'.
9723The value in the buffer in which \\[find-tag] is done is used, 9725The value in the buffer in which \\[find-tag] is done is used,
9724not the value in the buffer \\[find-tag] goes to.") 9726not the value in the buffer \\[find-tag] goes to.")
9725 9727
9726(custom-autoload (quote find-tag-hook) "etags") 9728(custom-autoload (quote find-tag-hook) "etags" t)
9727 9729
9728(defvar find-tag-default-function nil "\ 9730(defvar find-tag-default-function nil "\
9729*A function of no arguments used by \\[find-tag] to pick a default tag. 9731*A function of no arguments used by \\[find-tag] to pick a default tag.
@@ -9731,7 +9733,7 @@ If nil, and the symbol that is the value of `major-mode'
9731has a `find-tag-default-function' property (see `put'), that is used. 9733has a `find-tag-default-function' property (see `put'), that is used.
9732Otherwise, `find-tag-default' is used.") 9734Otherwise, `find-tag-default' is used.")
9733 9735
9734(custom-autoload (quote find-tag-default-function) "etags") 9736(custom-autoload (quote find-tag-default-function) "etags" t)
9735 9737
9736(autoload (quote tags-table-mode) "etags" "\ 9738(autoload (quote tags-table-mode) "etags" "\
9737Major mode for tags table file buffers. 9739Major mode for tags table file buffers.
@@ -13360,11 +13362,10 @@ is found. A mode is excluded if it's in the list `hi-lock-exclude-modes'.
13360Non-nil if Global-Hi-Lock mode is enabled. 13362Non-nil if Global-Hi-Lock mode is enabled.
13361See the command `global-hi-lock-mode' for a description of this minor-mode. 13363See the command `global-hi-lock-mode' for a description of this minor-mode.
13362Setting this variable directly does not take effect; 13364Setting this variable directly does not take effect;
13363use either \\[customize] or the function `global-hi-lock-mode'.") 13365either customize it (see the info node `Easy Customization')
13364 13366or call the function `global-hi-lock-mode'.")
13365(custom-autoload (quote global-hi-lock-mode) "hi-lock")
13366 13367
13367(put (quote global-hi-lock-mode) (quote custom-set) (quote custom-set-minor-mode)) 13368(custom-autoload (quote global-hi-lock-mode) "hi-lock" nil)
13368 13369
13369(autoload (quote global-hi-lock-mode) "hi-lock" "\ 13370(autoload (quote global-hi-lock-mode) "hi-lock" "\
13370Toggle Hi-Lock mode in every buffer. 13371Toggle Hi-Lock mode in every buffer.
@@ -15009,6 +15010,15 @@ This function is intended to be used from `magic-mode-alist' (which see).
15009 15010
15010\(fn)" nil nil) 15011\(fn)" nil nil)
15011 15012
15013(autoload (quote image-type-auto-detected-p) "image" "\
15014Return t iff the current buffer contains an auto-detectable image.
15015Whether image types are auto-detectable or not depends on the setting
15016of the variable `image-type-auto-detectable'.
15017
15018This function is intended to be used from `magic-mode-alist' (which see).
15019
15020\(fn)" nil nil)
15021
15012(autoload (quote create-image) "image" "\ 15022(autoload (quote create-image) "image" "\
15013Create an image. 15023Create an image.
15014FILE-OR-DATA is an image file name or image data. 15024FILE-OR-DATA is an image file name or image data.
@@ -15136,7 +15146,7 @@ setting this variable directly does not take effect unless
15136`auto-image-file-mode' is re-enabled; this happens automatically when 15146`auto-image-file-mode' is re-enabled; this happens automatically when
15137the variable is set using \\[customize].") 15147the variable is set using \\[customize].")
15138 15148
15139(custom-autoload (quote image-file-name-extensions) "image-file") 15149(custom-autoload (quote image-file-name-extensions) "image-file" nil)
15140 15150
15141(defvar image-file-name-regexps nil "\ 15151(defvar image-file-name-regexps nil "\
15142*List of regexps matching image-file filenames. 15152*List of regexps matching image-file filenames.
@@ -15148,7 +15158,7 @@ enabled, setting this variable directly does not take effect unless
15148`auto-image-file-mode' is re-enabled; this happens automatically when 15158`auto-image-file-mode' is re-enabled; this happens automatically when
15149the variable is set using \\[customize].") 15159the variable is set using \\[customize].")
15150 15160
15151(custom-autoload (quote image-file-name-regexps) "image-file") 15161(custom-autoload (quote image-file-name-regexps) "image-file" nil)
15152 15162
15153(autoload (quote image-file-name-regexp) "image-file" "\ 15163(autoload (quote image-file-name-regexp) "image-file" "\
15154Return a regular expression matching image-file filenames. 15164Return a regular expression matching image-file filenames.
@@ -15166,11 +15176,10 @@ the command `insert-file-contents'.
15166Non-nil if Auto-Image-File mode is enabled. 15176Non-nil if Auto-Image-File mode is enabled.
15167See the command `auto-image-file-mode' for a description of this minor-mode. 15177See the command `auto-image-file-mode' for a description of this minor-mode.
15168Setting this variable directly does not take effect; 15178Setting this variable directly does not take effect;
15169use either \\[customize] or the function `auto-image-file-mode'.") 15179either customize it (see the info node `Easy Customization')
15170 15180or call the function `auto-image-file-mode'.")
15171(custom-autoload (quote auto-image-file-mode) "image-file")
15172 15181
15173(put (quote auto-image-file-mode) (quote custom-set) (quote custom-set-minor-mode)) 15182(custom-autoload (quote auto-image-file-mode) "image-file" nil)
15174 15183
15175(autoload (quote auto-image-file-mode) "image-file" "\ 15184(autoload (quote auto-image-file-mode) "image-file" "\
15176Toggle visiting of image files as images. 15185Toggle visiting of image files as images.
@@ -15391,12 +15400,12 @@ Input matching this regexp is not saved on the input history in Inferior Lisp
15391mode. Default is whitespace followed by 0 or 1 single-letter colon-keyword 15400mode. Default is whitespace followed by 0 or 1 single-letter colon-keyword
15392\(as in :a, :c, etc.)") 15401\(as in :a, :c, etc.)")
15393 15402
15394(custom-autoload (quote inferior-lisp-filter-regexp) "inf-lisp") 15403(custom-autoload (quote inferior-lisp-filter-regexp) "inf-lisp" t)
15395 15404
15396(defvar inferior-lisp-program "lisp" "\ 15405(defvar inferior-lisp-program "lisp" "\
15397*Program name for invoking an inferior Lisp in Inferior Lisp mode.") 15406*Program name for invoking an inferior Lisp in Inferior Lisp mode.")
15398 15407
15399(custom-autoload (quote inferior-lisp-program) "inf-lisp") 15408(custom-autoload (quote inferior-lisp-program) "inf-lisp" t)
15400 15409
15401(defvar inferior-lisp-load-command "(load \"%s\")\n" "\ 15410(defvar inferior-lisp-load-command "(load \"%s\")\n" "\
15402*Format-string for building a Lisp expression to load a file. 15411*Format-string for building a Lisp expression to load a file.
@@ -15407,7 +15416,7 @@ The string \"(progn (load \\\"%s\\\" :verbose nil :print t) (values))\\n\"
15407produces cosmetically superior output for this application, 15416produces cosmetically superior output for this application,
15408but it works only in Common Lisp.") 15417but it works only in Common Lisp.")
15409 15418
15410(custom-autoload (quote inferior-lisp-load-command) "inf-lisp") 15419(custom-autoload (quote inferior-lisp-load-command) "inf-lisp" t)
15411 15420
15412(defvar inferior-lisp-prompt "^[^> \n]*>+:? *" "\ 15421(defvar inferior-lisp-prompt "^[^> \n]*>+:? *" "\
15413Regexp to recognize prompts in the Inferior Lisp mode. 15422Regexp to recognize prompts in the Inferior Lisp mode.
@@ -15425,7 +15434,7 @@ kcl: \"^>+ *\"
15425 15434
15426This is a fine thing to set in your .emacs file or through Custom.") 15435This is a fine thing to set in your .emacs file or through Custom.")
15427 15436
15428(custom-autoload (quote inferior-lisp-prompt) "inf-lisp") 15437(custom-autoload (quote inferior-lisp-prompt) "inf-lisp" t)
15429 15438
15430(defvar inferior-lisp-mode-hook (quote nil) "\ 15439(defvar inferior-lisp-mode-hook (quote nil) "\
15431*Hook for customising Inferior Lisp mode.") 15440*Hook for customising Inferior Lisp mode.")
@@ -16322,28 +16331,28 @@ Specifies the keypad setup for unshifted keypad keys when NumLock is off.
16322When selecting the plain numeric keypad setup, the character returned by the 16331When selecting the plain numeric keypad setup, the character returned by the
16323decimal key must be specified.") 16332decimal key must be specified.")
16324 16333
16325(custom-autoload (quote keypad-setup) "keypad") 16334(custom-autoload (quote keypad-setup) "keypad" nil)
16326 16335
16327(defvar keypad-numlock-setup nil "\ 16336(defvar keypad-numlock-setup nil "\
16328Specifies the keypad setup for unshifted keypad keys when NumLock is on. 16337Specifies the keypad setup for unshifted keypad keys when NumLock is on.
16329When selecting the plain numeric keypad setup, the character returned by the 16338When selecting the plain numeric keypad setup, the character returned by the
16330decimal key must be specified.") 16339decimal key must be specified.")
16331 16340
16332(custom-autoload (quote keypad-numlock-setup) "keypad") 16341(custom-autoload (quote keypad-numlock-setup) "keypad" nil)
16333 16342
16334(defvar keypad-shifted-setup nil "\ 16343(defvar keypad-shifted-setup nil "\
16335Specifies the keypad setup for shifted keypad keys when NumLock is off. 16344Specifies the keypad setup for shifted keypad keys when NumLock is off.
16336When selecting the plain numeric keypad setup, the character returned by the 16345When selecting the plain numeric keypad setup, the character returned by the
16337decimal key must be specified.") 16346decimal key must be specified.")
16338 16347
16339(custom-autoload (quote keypad-shifted-setup) "keypad") 16348(custom-autoload (quote keypad-shifted-setup) "keypad" nil)
16340 16349
16341(defvar keypad-numlock-shifted-setup nil "\ 16350(defvar keypad-numlock-shifted-setup nil "\
16342Specifies the keypad setup for shifted keypad keys when NumLock is off. 16351Specifies the keypad setup for shifted keypad keys when NumLock is off.
16343When selecting the plain numeric keypad setup, the character returned by the 16352When selecting the plain numeric keypad setup, the character returned by the
16344decimal key must be specified.") 16353decimal key must be specified.")
16345 16354
16346(custom-autoload (quote keypad-numlock-shifted-setup) "keypad") 16355(custom-autoload (quote keypad-numlock-shifted-setup) "keypad" nil)
16347 16356
16348(autoload (quote keypad-setup) "keypad" "\ 16357(autoload (quote keypad-setup) "keypad" "\
16349Set keypad bindings in function-key-map according to SETUP. 16358Set keypad bindings in function-key-map according to SETUP.
@@ -17286,7 +17295,7 @@ This function normally would be called when the message is sent.
17286Otherwise, (the default) use a smaller, somewhat faster, and 17295Otherwise, (the default) use a smaller, somewhat faster, and
17287often correct parser.") 17296often correct parser.")
17288 17297
17289(custom-autoload (quote mail-use-rfc822) "mail-utils") 17298(custom-autoload (quote mail-use-rfc822) "mail-utils" t)
17290 17299
17291(autoload (quote mail-file-babyl-p) "mail-utils" "\ 17300(autoload (quote mail-file-babyl-p) "mail-utils" "\
17292Not documented 17301Not documented
@@ -23124,7 +23133,7 @@ SENDERS is a string of names separated by commas.
23124 23133
23125By default, `identity' is set.") 23134By default, `identity' is set.")
23126 23135
23127(custom-autoload (quote rmail-summary-line-decoder) "rmailsum") 23136(custom-autoload (quote rmail-summary-line-decoder) "rmailsum" t)
23128 23137
23129(defvar rmail-user-mail-address-regexp nil "\ 23138(defvar rmail-user-mail-address-regexp nil "\
23130*Regexp matching user mail addresses. 23139*Regexp matching user mail addresses.
@@ -23567,7 +23576,7 @@ Mode for automatic saving of minibuffer history.
23567Set this by calling the `savehist-mode' function or using the customize 23576Set this by calling the `savehist-mode' function or using the customize
23568interface.") 23577interface.")
23569 23578
23570(custom-autoload (quote savehist-mode) "savehist") 23579(custom-autoload (quote savehist-mode) "savehist" nil)
23571 23580
23572(autoload (quote savehist-mode) "savehist" "\ 23581(autoload (quote savehist-mode) "savehist" "\
23573Toggle savehist-mode. 23582Toggle savehist-mode.
@@ -24682,7 +24691,7 @@ For example, the form
24682 24691
24683would give military-style times like `21:07 (UTC)'.") 24692would give military-style times like `21:07 (UTC)'.")
24684 24693
24685(custom-autoload (quote calendar-time-display-form) "solar") 24694(custom-autoload (quote calendar-time-display-form) "solar" t)
24686 24695
24687(defvar calendar-latitude nil "\ 24696(defvar calendar-latitude nil "\
24688*Latitude of `calendar-location-name' in degrees. 24697*Latitude of `calendar-location-name' in degrees.
@@ -24694,7 +24703,7 @@ York City.
24694 24703
24695This variable should be set in `site-start'.el.") 24704This variable should be set in `site-start'.el.")
24696 24705
24697(custom-autoload (quote calendar-latitude) "solar") 24706(custom-autoload (quote calendar-latitude) "solar" t)
24698 24707
24699(defvar calendar-longitude nil "\ 24708(defvar calendar-longitude nil "\
24700*Longitude of `calendar-location-name' in degrees. 24709*Longitude of `calendar-location-name' in degrees.
@@ -24706,7 +24715,7 @@ York City.
24706 24715
24707This variable should be set in `site-start'.el.") 24716This variable should be set in `site-start'.el.")
24708 24717
24709(custom-autoload (quote calendar-longitude) "solar") 24718(custom-autoload (quote calendar-longitude) "solar" t)
24710 24719
24711(defvar calendar-location-name (quote (let ((float-output-format "%.1f")) (format "%s%s, %s%s" (if (numberp calendar-latitude) (abs calendar-latitude) (+ (aref calendar-latitude 0) (/ (aref calendar-latitude 1) 60.0))) (if (numberp calendar-latitude) (if (> calendar-latitude 0) "N" "S") (if (equal (aref calendar-latitude 2) (quote north)) "N" "S")) (if (numberp calendar-longitude) (abs calendar-longitude) (+ (aref calendar-longitude 0) (/ (aref calendar-longitude 1) 60.0))) (if (numberp calendar-longitude) (if (> calendar-longitude 0) "E" "W") (if (equal (aref calendar-longitude 2) (quote east)) "E" "W"))))) "\ 24720(defvar calendar-location-name (quote (let ((float-output-format "%.1f")) (format "%s%s, %s%s" (if (numberp calendar-latitude) (abs calendar-latitude) (+ (aref calendar-latitude 0) (/ (aref calendar-latitude 1) 60.0))) (if (numberp calendar-latitude) (if (> calendar-latitude 0) "N" "S") (if (equal (aref calendar-latitude 2) (quote north)) "N" "S")) (if (numberp calendar-longitude) (abs calendar-longitude) (+ (aref calendar-longitude 0) (/ (aref calendar-longitude 1) 60.0))) (if (numberp calendar-longitude) (if (> calendar-longitude 0) "E" "W") (if (equal (aref calendar-longitude 2) (quote east)) "E" "W"))))) "\
24712*Expression evaluating to name of `calendar-longitude', `calendar-latitude'. 24721*Expression evaluating to name of `calendar-longitude', `calendar-latitude'.
@@ -24715,7 +24724,7 @@ pair.
24715 24724
24716This variable should be set in `site-start'.el.") 24725This variable should be set in `site-start'.el.")
24717 24726
24718(custom-autoload (quote calendar-location-name) "solar") 24727(custom-autoload (quote calendar-location-name) "solar" t)
24719 24728
24720(autoload (quote sunrise-sunset) "solar" "\ 24729(autoload (quote sunrise-sunset) "solar" "\
24721Local time of sunrise and sunset for today. Accurate to a few seconds. 24730Local time of sunrise and sunset for today. Accurate to a few seconds.
@@ -28017,7 +28026,7 @@ Not documented
28017(autoload (quote tramp-completion-handle-file-name-all-completions) "tramp" "\ 28026(autoload (quote tramp-completion-handle-file-name-all-completions) "tramp" "\
28018Like `file-name-all-completions' for partial tramp files. 28027Like `file-name-all-completions' for partial tramp files.
28019 28028
28020\(fn FILENAME DIRECTORY)" nil nil) 28029\(fn FILENAME DIRECTORY &optional PREDICATE)" nil nil)
28021 28030
28022(autoload (quote tramp-completion-handle-file-name-completion) "tramp" "\ 28031(autoload (quote tramp-completion-handle-file-name-completion) "tramp" "\
28023Like `file-name-completion' for tramp files. 28032Like `file-name-completion' for tramp files.
@@ -30532,7 +30541,8 @@ Please submit bug reports and other feedback to the author, Neil W. Van Dyke
30532Non-nil if Which-Function mode is enabled. 30541Non-nil if Which-Function mode is enabled.
30533See the command `which-function-mode' for a description of this minor-mode. 30542See the command `which-function-mode' for a description of this minor-mode.
30534Setting this variable directly does not take effect; 30543Setting this variable directly does not take effect;
30535use either \\[customize] or the function `which-function-mode'.") 30544either customize it (see the info node `Easy Customization')
30545or call the function `which-function-mode'.")
30536 30546
30537(custom-autoload (quote which-function-mode) "which-func" nil) 30547(custom-autoload (quote which-function-mode) "which-func" nil)
30538 30548
@@ -30778,7 +30788,7 @@ Toggle Winner mode.
30778Setting this variable directly does not take effect; 30788Setting this variable directly does not take effect;
30779use either \\[customize] or the function `winner-mode'.") 30789use either \\[customize] or the function `winner-mode'.")
30780 30790
30781(custom-autoload (quote winner-mode) "winner") 30791(custom-autoload (quote winner-mode) "winner" nil)
30782 30792
30783(autoload (quote winner-mode) "winner" "\ 30793(autoload (quote winner-mode) "winner" "\
30784Toggle Winner mode. 30794Toggle Winner mode.
@@ -31150,10 +31160,9 @@ Zone out, completely.
31150;;;;;; "net/eudcb-bbdb.el" "net/eudcb-ldap.el" "net/eudcb-mab.el" 31160;;;;;; "net/eudcb-bbdb.el" "net/eudcb-ldap.el" "net/eudcb-mab.el"
31151;;;;;; "net/eudcb-ph.el" "net/ldap.el" "net/netrc.el" "net/tls.el" 31161;;;;;; "net/eudcb-ph.el" "net/ldap.el" "net/netrc.el" "net/tls.el"
31152;;;;;; "net/tramp-smb.el" "net/tramp-util.el" "net/tramp-uu.el" 31162;;;;;; "net/tramp-smb.el" "net/tramp-util.el" "net/tramp-uu.el"
31153;;;;;; "net/tramp-vc.el" "net/trampver.el" "obsolete/bg-mouse.el" 31163;;;;;; "net/tramp-vc.el" "net/trampver.el" "patcomp.el" "paths.el"
31154;;;;;; "obsolete/hilit19.el" "obsolete/sc.el" "obsolete/uncompress.el" 31164;;;;;; "pcvs-info.el" "pcvs-parse.el" "pcvs-util.el" "pgg-def.el"
31155;;;;;; "patcomp.el" "paths.el" "pcvs-info.el" "pcvs-parse.el" "pcvs-util.el" 31165;;;;;; "pgg-parse.el" "pgg-pgp.el" "pgg-pgp5.el" "play/gamegrid.el"
31156;;;;;; "pgg-def.el" "pgg-parse.el" "pgg-pgp.el" "pgg-pgp5.el" "play/gamegrid.el"
31157;;;;;; "play/gametree.el" "play/meese.el" "progmodes/ada-prj.el" 31166;;;;;; "play/gametree.el" "play/meese.el" "progmodes/ada-prj.el"
31158;;;;;; "progmodes/cc-align.el" "progmodes/cc-awk.el" "progmodes/cc-bytecomp.el" 31167;;;;;; "progmodes/cc-align.el" "progmodes/cc-awk.el" "progmodes/cc-bytecomp.el"
31159;;;;;; "progmodes/cc-cmds.el" "progmodes/cc-defs.el" "progmodes/cc-fonts.el" 31168;;;;;; "progmodes/cc-cmds.el" "progmodes/cc-defs.el" "progmodes/cc-fonts.el"
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el
index 822a995230e..4d3ee29c4d6 100644
--- a/lisp/net/tramp.el
+++ b/lisp/net/tramp.el
@@ -2,7 +2,7 @@
2;;; tramp.el --- Transparent Remote Access, Multiple Protocol 2;;; tramp.el --- Transparent Remote Access, Multiple Protocol
3 3
4;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 4;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004,
5;; 2005, 2006 Free Software Foundation, Inc. 5;; 2005, 2006, 2007 Free Software Foundation, Inc.
6 6
7;; Author: Kai Gro,A_(Bjohann <kai.grossjohann@gmx.net> 7;; Author: Kai Gro,A_(Bjohann <kai.grossjohann@gmx.net>
8;; Michael Albinus <michael.albinus@gmx.de> 8;; Michael Albinus <michael.albinus@gmx.de>
@@ -5540,32 +5540,36 @@ The terminal type can be configured with `tramp-terminal-type'."
5540 (let (found item pattern action todo) 5540 (let (found item pattern action todo)
5541 (erase-buffer) 5541 (erase-buffer)
5542 (tramp-message 9 "Waiting 60s for prompt from remote shell") 5542 (tramp-message 9 "Waiting 60s for prompt from remote shell")
5543 (with-timeout (60 (throw 'tramp-action 'timeout)) 5543 (while (not found)
5544 (while (not found) 5544 (tramp-accept-process-output p 1)
5545 (tramp-accept-process-output p 1) 5545 (goto-char (point-min))
5546 (setq todo actions)
5547 (while todo
5546 (goto-char (point-min)) 5548 (goto-char (point-min))
5547 (setq todo actions) 5549 (setq item (pop todo))
5548 (while todo 5550 (setq pattern (symbol-value (nth 0 item)))
5549 (goto-char (point-min)) 5551 (setq action (nth 1 item))
5550 (setq item (pop todo)) 5552 (tramp-message 10 "Looking for regexp \"%s\" from remote shell"
5551 (setq pattern (symbol-value (nth 0 item))) 5553 pattern)
5552 (setq action (nth 1 item)) 5554 (when (re-search-forward (concat pattern "\\'") nil t)
5553 (tramp-message 10 "Looking for regexp \"%s\" from remote shell" 5555 (setq found (funcall action p multi-method method user host)))))
5554 pattern) 5556 found))
5555 (when (re-search-forward (concat pattern "\\'") nil t)
5556 (setq found (funcall action p multi-method method user host)))))
5557 found)))
5558 5557
5559(defun tramp-process-actions (p multi-method method user host actions) 5558(defun tramp-process-actions
5560 "Perform actions until success." 5559 (p multi-method method user host actions &optional timeout)
5560 "Perform actions until success or TIMEOUT."
5561 (tramp-message 10 "%s" (mapconcat 'identity (process-command p) " ")) 5561 (tramp-message 10 "%s" (mapconcat 'identity (process-command p) " "))
5562 (let (exit) 5562 (let (exit)
5563 (while (not exit) 5563 (while (not exit)
5564 (tramp-message 9 "Waiting for prompts from remote shell") 5564 (tramp-message 9 "Waiting for prompts from remote shell")
5565 (setq exit 5565 (setq exit
5566 (catch 'tramp-action 5566 (catch 'tramp-action
5567 (tramp-process-one-action 5567 (if timeout
5568 p multi-method method user host actions) 5568 (with-timeout (timeout)
5569 (tramp-process-one-action
5570 p multi-method method user host actions))
5571 (tramp-process-one-action
5572 p multi-method method user host actions))
5569 nil))) 5573 nil)))
5570 (unless (eq exit 'ok) 5574 (unless (eq exit 'ok)
5571 (tramp-clear-passwd user host) 5575 (tramp-clear-passwd user host)
@@ -5689,7 +5693,7 @@ Maybe the different regular expressions need to be tuned.
5689 (set-buffer (tramp-get-buffer multi-method method user host)) 5693 (set-buffer (tramp-get-buffer multi-method method user host))
5690 (erase-buffer) 5694 (erase-buffer)
5691 (tramp-process-actions p multi-method method user host 5695 (tramp-process-actions p multi-method method user host
5692 tramp-actions-before-shell) 5696 tramp-actions-before-shell 60)
5693 (tramp-open-connection-setup-interactive-shell 5697 (tramp-open-connection-setup-interactive-shell
5694 p multi-method method user host) 5698 p multi-method method user host)
5695 (tramp-post-connection multi-method method user host))))) 5699 (tramp-post-connection multi-method method user host)))))
@@ -5762,7 +5766,7 @@ arguments, and xx will be used as the host name to connect to.
5762 5766
5763 (set-buffer buf) 5767 (set-buffer buf)
5764 (tramp-process-actions p multi-method method user host 5768 (tramp-process-actions p multi-method method user host
5765 tramp-actions-before-shell) 5769 tramp-actions-before-shell 60)
5766 (tramp-message 7 "Initializing remote shell") 5770 (tramp-message 7 "Initializing remote shell")
5767 (tramp-open-connection-setup-interactive-shell 5771 (tramp-open-connection-setup-interactive-shell
5768 p multi-method method user host) 5772 p multi-method method user host)
@@ -5823,7 +5827,7 @@ prompt than you do, so it is not at all unlikely that the variable
5823 (tramp-set-process-query-on-exit-flag p nil) 5827 (tramp-set-process-query-on-exit-flag p nil)
5824 (set-buffer (tramp-get-buffer multi-method method user host)) 5828 (set-buffer (tramp-get-buffer multi-method method user host))
5825 (tramp-process-actions p multi-method method user host 5829 (tramp-process-actions p multi-method method user host
5826 tramp-actions-before-shell) 5830 tramp-actions-before-shell 60)
5827 (tramp-open-connection-setup-interactive-shell 5831 (tramp-open-connection-setup-interactive-shell
5828 p multi-method method user host) 5832 p multi-method method user host)
5829 (tramp-post-connection multi-method method 5833 (tramp-post-connection multi-method method
diff --git a/lisp/progmodes/cc-langs.el b/lisp/progmodes/cc-langs.el
index b3c0a578649..6907b56d6c6 100644
--- a/lisp/progmodes/cc-langs.el
+++ b/lisp/progmodes/cc-langs.el
@@ -208,23 +208,31 @@ the evaluated constant value at compile time."
208 ;; Some helper functions used when building the language constants. 208 ;; Some helper functions used when building the language constants.
209 209
210 (defun c-filter-ops (ops opgroup-filter op-filter &optional xlate) 210 (defun c-filter-ops (ops opgroup-filter op-filter &optional xlate)
211 ;; Used to filter operators from the list OPS in a DWIM:ey way: 211 ;; Extract a subset of the operators in the list OPS in a DWIM:ey
212 ;; OPS either has the structure of `c-operators', as a single 212 ;; way. The return value is a plain list of operators:
213 ;;
214 ;; OPS either has the structure of `c-operators', is a single
213 ;; group in `c-operators', or is a plain list of operators. 215 ;; group in `c-operators', or is a plain list of operators.
214 ;; OPGROUP-FILTER is used filter out the operator groups. It can 216 ;;
215 ;; be t to choose all groups, a list of the group type symbols to 217 ;; OPGROUP-FILTER specifies how to select the operator groups. It
216 ;; accept, or a function which will be called with the group 218 ;; can be t to choose all groups, a list of group type symbols
217 ;; symbol for each group and should return non-nil for those to 219 ;; (such as 'prefix) to accept, or a function which will be called
218 ;; include. OP-FILTER filters the individual operators in each 220 ;; with the group symbol for each group and should return non-nil
219 ;; group. It can be t to choose all operators, a regexp to test 221 ;; if that group is to be included.
220 ;; against each operator, or a function which will be called for 222 ;;
221 ;; each operator and should return non-nil for those to include. 223 ;; OP-FILTER filters the individual operators in each group. It
224 ;; can be t to choose all operators, a regexp to test against each
225 ;; operator, or a function which will be called for each operator
226 ;; and should return non-nil for those to include.
227 ;;
222 ;; If XLATE is given, it's a function which is called for each 228 ;; If XLATE is given, it's a function which is called for each
223 ;; matching operator and its return value is collected instead. 229 ;; matching operator and its return value is collected instead.
224 ;; If it returns a list, the elements are spliced directly into 230 ;; If it returns a list, the elements are spliced directly into
225 ;; the final result, which is returned as a list with duplicates 231 ;; the final result, which is returned as a list with duplicates
226 ;; removed using `equal'. `c-mode-syntax-table' for the current 232 ;; removed using `equal'.
227 ;; mode is in effect during the whole procedure. 233 ;;
234 ;; `c-mode-syntax-table' for the current mode is in effect during
235 ;; the whole procedure.
228 (unless (listp (car-safe ops)) 236 (unless (listp (car-safe ops))
229 (setq ops (list ops))) 237 (setq ops (list ops)))
230 (cond ((eq opgroup-filter t) 238 (cond ((eq opgroup-filter t)
@@ -719,11 +727,11 @@ expression."
719(c-lang-defconst c-operators 727(c-lang-defconst c-operators
720 "List describing all operators, along with their precedence and 728 "List describing all operators, along with their precedence and
721associativity. The order in the list corresponds to the precedence of 729associativity. The order in the list corresponds to the precedence of
722the operators: The operators in each element is a group with the same 730the operators: The operators in each element are a group with the same
723precedence, and the group has higher precedence than the groups in all 731precedence, and the group has higher precedence than the groups in all
724following elements. The car of each element describes the type of of 732following elements. The car of each element describes the type of the
725the operator group, and the cdr is a list of the operator tokens in 733operator group, and the cdr is a list of the operator tokens in it.
726it. The operator group types are: 734The operator group types are:
727 735
728'prefix Unary prefix operators. 736'prefix Unary prefix operators.
729'postfix Unary postfix operators. 737'postfix Unary postfix operators.
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index 04a5cf9cad7..c6876fb5d79 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -876,12 +876,12 @@ FMTS is a list of format specs for transforming the file name.
876Runs COMMAND, a shell command, in a separate process asynchronously 876Runs COMMAND, a shell command, in a separate process asynchronously
877with output going to the buffer `*compilation*'. 877with output going to the buffer `*compilation*'.
878 878
879If optional second arg COMINT is t the buffer will be in Comint mode with
880`compilation-shell-minor-mode'.
881
882You can then use the command \\[next-error] to find the next error message 879You can then use the command \\[next-error] to find the next error message
883and move to the source code that caused it. 880and move to the source code that caused it.
884 881
882If optional second arg COMINT is t the buffer will be in Comint mode with
883`compilation-shell-minor-mode'.
884
885Interactively, prompts for the command if `compilation-read-command' is 885Interactively, prompts for the command if `compilation-read-command' is
886non-nil; otherwise uses `compile-command'. With prefix arg, always prompts. 886non-nil; otherwise uses `compile-command'. With prefix arg, always prompts.
887Additionally, with universal prefix arg, compilation buffer will be in 887Additionally, with universal prefix arg, compilation buffer will be in
diff --git a/lisp/progmodes/vhdl-mode.el b/lisp/progmodes/vhdl-mode.el
index 3bf4227a82f..cc58a09ec59 100644
--- a/lisp/progmodes/vhdl-mode.el
+++ b/lisp/progmodes/vhdl-mode.el
@@ -13851,7 +13851,7 @@ entity ENT-KEY."
13851 (vhdl-save-cache (car project-list)) 13851 (vhdl-save-cache (car project-list))
13852 (setq project-list (cdr project-list))) 13852 (setq project-list (cdr project-list)))
13853 (message "Saving hierarchy caches...done"))) 13853 (message "Saving hierarchy caches...done")))
13854 (error (progn (vhdl-warning "ERROR: An error occured while saving the hierarchy caches") 13854 (error (progn (vhdl-warning "ERROR: An error occurred while saving the hierarchy caches")
13855 (sit-for 2))))) 13855 (sit-for 2)))))
13856 13856
13857(defun vhdl-save-cache (key) 13857(defun vhdl-save-cache (key)
diff --git a/lisp/replace.el b/lisp/replace.el
index 610fd9d2e9f..c51985c3e4a 100644
--- a/lisp/replace.el
+++ b/lisp/replace.el
@@ -467,10 +467,9 @@ at the given position for each replacement.
467In interactive calls, the replacement text may contain `\\,' 467In interactive calls, the replacement text may contain `\\,'
468followed by a Lisp expression used as part of the replacement 468followed by a Lisp expression used as part of the replacement
469text. Inside of that expression, `\\&' is a string denoting the 469text. Inside of that expression, `\\&' is a string denoting the
470whole match, `\\N' a partial matches, `\\#&' and `\\#N' the 470whole match, `\\N' a partial match, `\\#&' and `\\#N' the respective
471respective numeric values from `string-to-number', and `\\#' 471numeric values from `string-to-number', and `\\#' itself for
472itself for `replace-count', the number of replacements occured so 472`replace-count', the number of replacements occurred so far.
473far.
474 473
475If your Lisp expression is an identifier and the next letter in 474If your Lisp expression is an identifier and the next letter in
476the replacement string would be interpreted as part of it, you 475the replacement string would be interpreted as part of it, you
diff --git a/lisp/server.el b/lisp/server.el
index 7a4179e85f6..dd64bb6cf89 100644
--- a/lisp/server.el
+++ b/lisp/server.el
@@ -1,7 +1,7 @@
1;;; server.el --- Lisp code for GNU Emacs running as server process 1;;; server.el --- Lisp code for GNU Emacs running as server process
2 2
3;; Copyright (C) 1986, 1987, 1992, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 3;; Copyright (C) 1986, 1987, 1992, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
4;; 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 4;; 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
5 5
6;; Author: William Sommerfeld <wesommer@athena.mit.edu> 6;; Author: William Sommerfeld <wesommer@athena.mit.edu>
7;; Maintainer: FSF 7;; Maintainer: FSF
@@ -435,7 +435,7 @@ Creates the directory if necessary and makes sure:
435 (letf (((default-file-modes) ?\700)) (make-directory dir t)) 435 (letf (((default-file-modes) ?\700)) (make-directory dir t))
436 (setq attrs (file-attributes dir))) 436 (setq attrs (file-attributes dir)))
437 ;; Check that it's safe for use. 437 ;; Check that it's safe for use.
438 (unless (and (eq t (car attrs)) (eq (nth 2 attrs) (user-uid)) 438 (unless (and (eq t (car attrs)) (eql (nth 2 attrs) (user-uid))
439 (or (eq system-type 'windows-nt) 439 (or (eq system-type 'windows-nt)
440 (zerop (logand ?\077 (file-modes dir))))) 440 (zerop (logand ?\077 (file-modes dir)))))
441 (error "The directory %s is unsafe" dir)))) 441 (error "The directory %s is unsafe" dir))))
diff --git a/lisp/subr.el b/lisp/subr.el
index b48fa1a9f35..18f4ad65686 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -1905,11 +1905,11 @@ If MESSAGE is nil, instructions to type EXIT-CHAR are displayed there."
1905 (recenter (/ (window-height) 2))) 1905 (recenter (/ (window-height) 2)))
1906 ;; If that pushed message start off the screen, 1906 ;; If that pushed message start off the screen,
1907 ;; scroll to start it at the top of the screen. 1907 ;; scroll to start it at the top of the screen.
1908 (move-to-window-line 0) 1908 (save-excursion
1909 (if (> (point) pos) 1909 (move-to-window-line 0)
1910 (progn 1910 (if (> (point) pos)
1911 (goto-char pos) 1911 (goto-char pos)
1912 (recenter 0))) 1912 (recenter 0)))
1913 (message (or message "Type %s to continue editing.") 1913 (message (or message "Type %s to continue editing.")
1914 (single-key-description exit-char)) 1914 (single-key-description exit-char))
1915 (let (char) 1915 (let (char)
@@ -2695,7 +2695,7 @@ are effectively trimmed). If nil, all zero-length substrings are retained,
2695which correctly parses CSV format, for example. 2695which correctly parses CSV format, for example.
2696 2696
2697Note that the effect of `(split-string STRING)' is the same as 2697Note that the effect of `(split-string STRING)' is the same as
2698`(split-string STRING split-string-default-separators t)'). In the rare 2698`(split-string STRING split-string-default-separators t)'. In the rare
2699case that you wish to retain zero-length substrings when splitting on 2699case that you wish to retain zero-length substrings when splitting on
2700whitespace, use `(split-string STRING split-string-default-separators)'. 2700whitespace, use `(split-string STRING split-string-default-separators)'.
2701 2701
diff --git a/lisp/term/mac-win.el b/lisp/term/mac-win.el
index f35bf080bbb..700ad57029b 100644
--- a/lisp/term/mac-win.el
+++ b/lisp/term/mac-win.el
@@ -2177,7 +2177,7 @@ either in the current buffer or in the echo area."
2177 ("TIFF" . mac-dnd-insert-TIFF)) 2177 ("TIFF" . mac-dnd-insert-TIFF))
2178 "Which function to call to handle a drop of that type. 2178 "Which function to call to handle a drop of that type.
2179The function takes three arguments, WINDOW, ACTION and DATA. 2179The function takes three arguments, WINDOW, ACTION and DATA.
2180WINDOW is where the drop occured, ACTION is always `private' on 2180WINDOW is where the drop occurred, ACTION is always `private' on
2181Mac. DATA is the drop data. Unlike the x-dnd counterpart, the 2181Mac. DATA is the drop data. Unlike the x-dnd counterpart, the
2182return value of the function is not significant. 2182return value of the function is not significant.
2183 2183
diff --git a/lisp/textmodes/fill.el b/lisp/textmodes/fill.el
index 21ee585ec11..65c8067d48a 100644
--- a/lisp/textmodes/fill.el
+++ b/lisp/textmodes/fill.el
@@ -743,7 +743,7 @@ space does not end a sentence, so don't break a line there."
743 743
744(defun fill-minibuffer-function (arg) 744(defun fill-minibuffer-function (arg)
745 "Fill a paragraph in the minibuffer, ignoring the prompt." 745 "Fill a paragraph in the minibuffer, ignoring the prompt."
746 (save-restriction 746 (save-restriction
747 (narrow-to-region (minibuffer-prompt-end) (point-max)) 747 (narrow-to-region (minibuffer-prompt-end) (point-max))
748 (fill-paragraph arg))) 748 (fill-paragraph arg)))
749 749
@@ -838,18 +838,22 @@ can take care of filling. JUSTIFY is used as in `fill-paragraph'."
838 (commark 838 (commark
839 (comment-string-strip (buffer-substring comstart comin) nil t)) 839 (comment-string-strip (buffer-substring comstart comin) nil t))
840 (comment-re 840 (comment-re
841 ;; `commark' is surrounded with arbitrary text (`\0' and `a') 841 ;; A regexp more specialized than comment-start-skip, that only
842 ;; to make sure it can be used as an optimization of 842 ;; matches the current commark rather than any valid commark.
843 ;; `comment-start-skip' in the middle of a line. For example, 843 ;;
844 ;; `commark' can't be used with the "@c" in TeXinfo (hence 844 ;; The specialized regexp only works for "normal" comment
845 ;; the `a') or with the "C" at BOL in Fortran (hence the `\0'). 845 ;; syntax, not for Texinfo's "@c" (which can't be immediately
846 (if (string-match comment-start-skip (concat "\0" commark "a")) 846 ;; followed by word-chars) or Fortran's "C" (which needs to be
847 (concat "[ \t]*" (regexp-quote commark) 847 ;; at bol), so check that comment-start-skip indeed allows the
848 ;; Make sure we only match comments that use 848 ;; commark to appear in the middle of the line and followed by
849 ;; the exact same comment marker. 849 ;; word chars. The choice of "\0" and "a" is mostly arbitrary.
850 "[^" (substring commark -1) "]") 850 (if (string-match comment-start-skip (concat "\0" commark "a"))
851 (concat "[ \t]*\\(?:" comment-start-skip "\\)"))) 851 (concat "[ \t]*" (regexp-quote commark)
852 (comment-fill-prefix ; Compute a fill prefix. 852 ;; Make sure we only match comments that
853 ;; use the exact same comment marker.
854 "[^" (substring commark -1) "]")
855 (concat "[ \t]*\\(?:" comment-start-skip "\\)")))
856 (comment-fill-prefix ; Compute a fill prefix.
853 (save-excursion 857 (save-excursion
854 (goto-char comstart) 858 (goto-char comstart)
855 (if has-code-and-comment 859 (if has-code-and-comment
@@ -944,13 +948,13 @@ Ordinarily the variable `fill-column' controls the width.
944 948
945Noninteractively, the third argument JUSTIFY specifies which 949Noninteractively, the third argument JUSTIFY specifies which
946kind of justification to do: `full', `left', `right', `center', 950kind of justification to do: `full', `left', `right', `center',
947or `none' (equivalent to nil). t means handle each paragraph 951or `none' (equivalent to nil). A value of t means handle each
948as specified by its text properties. 952paragraph as specified by its text properties.
949 953
950The fourth arg NOSQUEEZE non-nil means to leave 954The fourth arg NOSQUEEZE non-nil means to leave whitespace other
951whitespace other than line breaks untouched, and fifth arg TO-EOP 955than line breaks untouched, and fifth arg TO-EOP non-nil means
952non-nil means to keep filling to the end of the paragraph (or next 956to keep filling to the end of the paragraph (or next hard newline,
953hard newline, if variable `use-hard-newlines' is on). 957if variable `use-hard-newlines' is on).
954 958
955Return the fill-prefix used for filling the last paragraph. 959Return the fill-prefix used for filling the last paragraph.
956 960
diff --git a/lisp/tumme.el b/lisp/tumme.el
index 788a29958a8..2fc6eff2458 100644
--- a/lisp/tumme.el
+++ b/lisp/tumme.el
@@ -1646,7 +1646,7 @@ Ask user for number of images to show and the delay in between."
1646 1646
1647;;;###autoload 1647;;;###autoload
1648(defun tumme-display-thumb () 1648(defun tumme-display-thumb ()
1649 "Shorthard for `tumme-display-thumbs' with prefix argument." 1649 "Shorthand for `tumme-display-thumbs' with prefix argument."
1650 (interactive) 1650 (interactive)
1651 (tumme-display-thumbs t nil t)) 1651 (tumme-display-thumbs t nil t))
1652 1652
diff --git a/lisp/tutorial.el b/lisp/tutorial.el
index cf9a391e5a6..53f41c95646 100644
--- a/lisp/tutorial.el
+++ b/lisp/tutorial.el
@@ -446,7 +446,8 @@ where
446 (cond ((eq key-fun def-fun) 446 (cond ((eq key-fun def-fun)
447 ;; No rebinding, return t 447 ;; No rebinding, return t
448 t) 448 t)
449 ((eq key-fun (command-remapping def-fun)) 449 ((and key-fun
450 (eq key-fun (command-remapping def-fun)))
450 ;; Just a remapping, return t 451 ;; Just a remapping, return t
451 t) 452 t)
452 ;; cua-mode specials: 453 ;; cua-mode specials:
@@ -571,6 +572,8 @@ with some explanatory links."
571 (where (nth 3 ck)) 572 (where (nth 3 ck))
572 s1 s2 help-string) 573 s1 s2 help-string)
573 (unless (string= where "Same key") 574 (unless (string= where "Same key")
575 (when (string= where "")
576 (setq where (format "M-x %s" def-fun)))
574 (setq tutorial--point-after-chkeys (point-marker) 577 (setq tutorial--point-after-chkeys (point-marker)
575 s1 (get-lang-string tutorial--lang 'tut-chgdkey) 578 s1 (get-lang-string tutorial--lang 'tut-chgdkey)
576 s2 (get-lang-string tutorial--lang 'tut-chgdkey2) 579 s2 (get-lang-string tutorial--lang 'tut-chgdkey2)
diff --git a/lisp/wdired.el b/lisp/wdired.el
index 5a925e5d031..2c43b6f1552 100644
--- a/lisp/wdired.el
+++ b/lisp/wdired.el
@@ -576,8 +576,11 @@ If OLD, return the old target. If MOVE, move point before it."
576 (funcall command 1) 576 (funcall command 1)
577 (setq arg (1- arg))) 577 (setq arg (1- arg)))
578 (error 578 (error
579 (if (not (forward-word 1)) 579 (if (forward-word)
580 (setq arg 0))))))) 580 ;; Skip any non-word characters to avoid triggering a read-only
581 ;; error which would cause skipping the next word characters too.
582 (skip-syntax-forward "^w")
583 (setq arg 0)))))))
581 584
582(defun wdired-downcase-word (arg) 585(defun wdired-downcase-word (arg)
583 "WDired version of `downcase-word'. 586 "WDired version of `downcase-word'.
diff --git a/lisp/x-dnd.el b/lisp/x-dnd.el
index 717fcf207da..1c72d0a65fe 100644
--- a/lisp/x-dnd.el
+++ b/lisp/x-dnd.el
@@ -70,7 +70,7 @@ The default value for this variable is `x-dnd-default-test-function'."
70 "Which function to call to handle a drop of that type. 70 "Which function to call to handle a drop of that type.
71If the type for the drop is not present, or the function is nil, 71If the type for the drop is not present, or the function is nil,
72the drop is rejected. The function takes three arguments, WINDOW, ACTION 72the drop is rejected. The function takes three arguments, WINDOW, ACTION
73and DATA. WINDOW is where the drop occured, ACTION is the action for 73and DATA. WINDOW is where the drop occurred, ACTION is the action for
74this drop (copy, move, link, private or ask) as determined by a previous 74this drop (copy, move, link, private or ask) as determined by a previous
75call to `x-dnd-test-function'. DATA is the drop data. 75call to `x-dnd-test-function'. DATA is the drop data.
76The function shall return the action used (copy, move, link or private) if drop 76The function shall return the action used (copy, move, link or private) if drop