aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorDeepak Goel2005-09-18 12:25:02 +0000
committerDeepak Goel2005-09-18 12:25:02 +0000
commit8a26c16552f49f7a61e1e338952110b59e5b2664 (patch)
tree573b8698befa710db88672563a1714bbed3e0f0a /lisp
parentbe9bb408d2f2e063cc4606cbaa04912a45719efe (diff)
downloademacs-8a26c16552f49f7a61e1e338952110b59e5b2664.tar.gz
emacs-8a26c16552f49f7a61e1e338952110b59e5b2664.zip
Message format spec fixes (1)
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog157
-rw-r--r--lisp/apropos.el2
-rw-r--r--lisp/bookmark.el2
-rw-r--r--lisp/desktop.el4
-rw-r--r--lisp/dired-aux.el2
-rw-r--r--lisp/dnd.el2
-rw-r--r--lisp/echistory.el2
-rw-r--r--lisp/ediff-util.el6
-rw-r--r--lisp/files.el2
-rw-r--r--lisp/hi-lock.el2
-rw-r--r--lisp/ibuf-macs.el2
-rw-r--r--lisp/image-mode.el4
-rw-r--r--lisp/isearch.el2
-rw-r--r--lisp/iswitchb.el2
-rw-r--r--lisp/log-edit.el4
-rw-r--r--lisp/pcomplete.el2
-rw-r--r--lisp/pcvs.el2
-rw-r--r--lisp/printing.el8
-rw-r--r--lisp/server.el2
-rw-r--r--lisp/ses.el4
-rw-r--r--lisp/simple.el15
-rw-r--r--lisp/startup.el2
-rw-r--r--lisp/strokes.el6
-rw-r--r--lisp/vc.el4
-rw-r--r--lisp/wdired.el2
-rw-r--r--lisp/woman.el2
26 files changed, 205 insertions, 39 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 4b8e7d9d9ab..2fc94311b00 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,160 @@
12005-09-18 D Goel <deego@gnufans.org>
2
3 * apropos.el (apropos-command): Fix `message' call: first arg
4 should be a format spec. In this and all other cases that appear
5 below and elsewhere in the source code, I made a change only when
6 two conditions were satisfied: [1] I can think of a possibility
7 that the arguments would cause an error, for example, the code is
8 question relies on extarnal variables such as filenames. [2] I was
9 sure that the arg to `message' could not have been nil in the
10 code.
11
12 * textmodes/tildify.el (tildify-region): Ditto.
13
14 * textmodes/reftex-index.el (reftex-index-change-entry)
15 (reftex-index-phrase-selection-or-word)
16 (reftex-query-index-phrase): Ditto.
17
18 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite): Ditto.
19
20 * textmodes/org.el (org-complete, org-deadline, org-schedule)
21 (org-priority, org-table-sum): Ditto.
22
23 * textmodes/ispell.el (ispell-check-version)
24 (ispell-parse-output): Ditto.
25
26 * textmodes/flyspell.el (flyspell-mode-on)
27 (flyspell-notify-misspell, flyspell-word)
28 (flyspell-display-next-corrections): Ditto.
29
30 * textmodes/bibtex.el (bibtex-print-help-message): Ditto.
31
32 * textmodes/artist.el (artist-key-set-point-poly): Ditto.
33
34 * term/mac-win.el (mac-services-insert-text): Ditto.
35
36 * progmodes/vhdl-mode.el (vhdl-warning, vhdl-print-warnings)
37 (vhdl-hooked-abbrev, vhdl-template-insert-fun)
38 (vhdl-port-paste-testbench, vhdl-compose-new-component)
39 (vhdl-compose-configuration): Ditto.
40
41 * progmodes/sh-script.el (sh-blink, sh-show-indent)
42 (sh-set-indent, sh-learn-line-indent): Ditto.
43
44 * progmodes/ps-mode.el (ps-mode-target-column): Ditto.
45
46 * progmodes/idlwave.el (idlwave-make-tags)
47 (idlwave-scan-library-catalogs): Ditto.
48
49 * progmodes/idlw-shell.el (idlwave-shell-parse-stack-and-display): Ditto.
50
51 * progmodes/gud.el (gud-jdb-analyze-source): Ditto.
52
53 * progmodes/flymake.el (flymake-log): Ditto.
54
55 * progmodes/ebnf2ps.el (ebnf-generate-region): Ditto.
56
57 * progmodes/cmacexp.el (c-macro-expansion): Ditto.
58
59 * progmodes/ada-xref.el (ada-treat-cmd-string): Ditto.
60
61 * progmodes/ada-mode.el (ada-create-case-exception-substring)
62 (ada-justified-indent-current, ada-batch-reformat): Ditto.
63
64 * play/zone.el (zone): Ditto.
65
66 * play/landmark.el (lm-move): Ditto.
67
68 * play/decipher.el (decipher-show-alphabet): Ditto.
69
70 * net/newsticker.el (newsticker--display-jump)
71 (newsticker--display-scroll): Ditto.
72
73 * mail/rmail-spam-filter.el (rsf-add-subject-to-spam-list)
74 (rsf-add-sender-to-spam-list, rsf-add-region-to-spam-list): Ditto.
75
76 * mail/feedmail.el (feedmail-dump-message-to-queue): Ditto.
77
78 * eshell/esh-proc.el (eshell-remove-process-entry): Ditto.
79
80 * emulation/ws-mode.el (ws-last-error): Ditto.
81
82 * emulation/viper-macs.el (ex-map-read-args, ex-unmap-read-args)
83 (viper-record-kbd-macro): Ditto.
84
85 * emulation/viper-ex.el (ex-pwd, viper-info-on-file): Ditto.
86
87 * emacs-lisp/lisp-mnt.el (lm-report-bug): Ditto.
88
89 * emacs-lisp/find-func.el (find-function-noselect): Ditto.
90
91 * calendar/timeclock.el (timeclock-status-string)
92 (timeclock-workday-remaining-string)
93 (timeclock-workday-elapsed-string)
94 (timeclock-when-to-leave-string): Ditto.
95
96 * calendar/icalendar.el (icalendar--convert-ical-to-diary): Ditto.
97
98 * calc/calc-units.el (calc-enter-units-table): Ditto.
99
100 * calc/calc-mode.el (calc-mode-record-mode): Ditto.
101
102 * woman.el (woman-mini-help): Ditto.
103
104 * wdired.el (wdired-change-to-wdired-mode): Ditto.
105
106 * vc.el (vc-retrieve-snapshot): Ditto.
107
108 * strokes.el (strokes-read-stroke, strokes-read-complex-stroke): Ditto.
109
110 * startup.el (display-startup-echo-area-message): Ditto.
111
112 * simple.el (set-goal-column): Ditto.
113
114 * ses.el (ses-command-hook, ses-recalculate-cell): Ditto.
115
116 * server.el (server-process-filter): Ditto.
117
118 * printing.el (pr-interface-txt-print, pr-interface-printify)
119 (pr-interface-ps): Ditto.
120
121 * pcvs.el (cvs-help): Ditto.
122
123 * log-edit.el (log-edit, log-edit-mode-help): Ditto.
124
125 * iswitchb.el (iswitchb-possible-new-buffer): Ditto.
126
127 * isearch.el (isearch-edit-string): Ditto.
128
129 * image-mode.el (image-mode, image-minor-mode): Ditto.
130
131 * ibuf-macs.el (define-ibuffer-filter): Ditto.
132
133 * hi-lock.el (hi-lock-find-patterns): Ditto.
134
135 * files.el (toggle-read-only): Ditto.
136
137 * ediff-util.el (ediff-copy-diff)
138 (ediff-write-merge-buffer-and-maybe-kill): Ditto.
139
140 * echistory.el (Electric-history-undefined): Ditto.
141
142 * dnd.el (dnd-insert-text): Ditto.
143
144 * dired-aux.el (dired-query): Ditto.
145
146 * desktop.el (desktop-restore-file-buffer)
147 (desktop-lazy-create-buffer): Ditto.
148
149 * bookmark.el (bookmark-bmenu-locate): Ditto.
150
151 * obsolete/fast-lock.el (@top-level): Ditto in the macro definition of `with-temp-message'.
152
153 * pcomplete.el (pcomplete--help): Fix `message' format spec. Not
154 having a %s would be weird, though not technically wrong.
155
156
157
12005-09-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 1582005-09-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2 159
3 * term/mac-win.el (mac-add-charset-info): Doc fix. 160 * term/mac-win.el (mac-add-charset-info): Doc fix.
diff --git a/lisp/apropos.el b/lisp/apropos.el
index fcad5cac0dc..990ad68e5ec 100644
--- a/lisp/apropos.el
+++ b/lisp/apropos.el
@@ -443,7 +443,7 @@ satisfy the predicate VAR-PREDICATE."
443 (setq p (cdr p)))) 443 (setq p (cdr p))))
444 (and (apropos-print t nil) 444 (and (apropos-print t nil)
445 message 445 message
446 (message message)))) 446 (message "%s" message))))
447 447
448 448
449;;;###autoload 449;;;###autoload
diff --git a/lisp/bookmark.el b/lisp/bookmark.el
index 23e1ce11277..8014915a72e 100644
--- a/lisp/bookmark.el
+++ b/lisp/bookmark.el
@@ -2058,7 +2058,7 @@ To carry out the deletions that you've marked, use \\<bookmark-bmenu-mode-map>\\
2058 (interactive) 2058 (interactive)
2059 (if (bookmark-bmenu-check-position) 2059 (if (bookmark-bmenu-check-position)
2060 (let ((bmrk (bookmark-bmenu-bookmark))) 2060 (let ((bmrk (bookmark-bmenu-bookmark)))
2061 (message (bookmark-location bmrk))))) 2061 (message "%s" (bookmark-location bmrk)))))
2062 2062
2063(defun bookmark-bmenu-relocate () 2063(defun bookmark-bmenu-relocate ()
2064 "Change the file path of the bookmark on the current line, 2064 "Change the file path of the bookmark on the current line,
diff --git a/lisp/desktop.el b/lisp/desktop.el
index 3dbd581aef4..cf4d387c7b1 100644
--- a/lisp/desktop.el
+++ b/lisp/desktop.el
@@ -944,7 +944,7 @@ directory DIRNAME."
944 desktop-buffer-file-name))) 944 desktop-buffer-file-name)))
945 (if desktop-missing-file-warning 945 (if desktop-missing-file-warning
946 (y-or-n-p (concat msg " Re-create? ")) 946 (y-or-n-p (concat msg " Re-create? "))
947 (message msg) 947 (message "%s" msg)
948 nil))) 948 nil)))
949 (let* ((auto-insert nil) ; Disable auto insertion 949 (let* ((auto-insert nil) ; Disable auto insertion
950 (coding-system-for-read 950 (coding-system-for-read
@@ -1101,7 +1101,7 @@ ARGS must be an argument list for `desktop-create-buffer'."
1101 (msg (format "Desktop lazily opening %s (%s remaining)..." 1101 (msg (format "Desktop lazily opening %s (%s remaining)..."
1102 buffer-name remaining))) 1102 buffer-name remaining)))
1103 (when desktop-lazy-verbose 1103 (when desktop-lazy-verbose
1104 (message msg)) 1104 (message "%s" msg))
1105 (let ((desktop-first-buffer nil) 1105 (let ((desktop-first-buffer nil)
1106 (desktop-buffer-ok-count 0) 1106 (desktop-buffer-ok-count 0)
1107 (desktop-buffer-fail-count 0)) 1107 (desktop-buffer-fail-count 0))
diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el
index 0d3f6fe125b..17e61792d33 100644
--- a/lisp/dired-aux.el
+++ b/lisp/dired-aux.el
@@ -845,7 +845,7 @@ Otherwise, the rule is a compression rule, and compression is done with gzip.")
845 (apply 'message qprompt qs-args) 845 (apply 'message qprompt qs-args)
846 (setq char (set qs-var (read-char)))) 846 (setq char (set qs-var (read-char))))
847 ;; Display the question with the answer. 847 ;; Display the question with the answer.
848 (message (concat (apply 'format qprompt qs-args) 848 (message "%s" (concat (apply 'format qprompt qs-args)
849 (char-to-string char))) 849 (char-to-string char)))
850 (memq (cdr elt) '(t y yes))))))) 850 (memq (cdr elt) '(t y yes)))))))
851 851
diff --git a/lisp/dnd.el b/lisp/dnd.el
index 1092f4d087f..f85984fb7d8 100644
--- a/lisp/dnd.el
+++ b/lisp/dnd.el
@@ -179,7 +179,7 @@ TEXT is the text as a string, WINDOW is the window where the drop happened."
179 (not (windowp window))) 179 (not (windowp window)))
180 (progn 180 (progn
181 (kill-new text) 181 (kill-new text)
182 (message 182 (message "%s"
183 (substitute-command-keys 183 (substitute-command-keys
184 "The dropped text can be accessed with \\[yank]"))) 184 "The dropped text can be accessed with \\[yank]")))
185 (insert text)) 185 (insert text))
diff --git a/lisp/echistory.el b/lisp/echistory.el
index 3b4b8419bd0..6556680f5ca 100644
--- a/lisp/echistory.el
+++ b/lisp/echistory.el
@@ -140,7 +140,7 @@ The Command History listing is recomputed each time this mode is invoked."
140(defun Electric-history-undefined () 140(defun Electric-history-undefined ()
141 (interactive) 141 (interactive)
142 (ding) 142 (ding)
143 (message (substitute-command-keys "Type \\[Helper-help] for help, ? for commands, C-c C-c to quit, Space to execute")) 143 (message "%s" (substitute-command-keys "Type \\[Helper-help] for help, ? for commands, C-c C-c to quit, Space to execute"))
144 (sit-for 4)) 144 (sit-for 4))
145 145
146(defun Electric-history-quit () 146(defun Electric-history-quit ()
diff --git a/lisp/ediff-util.el b/lisp/ediff-util.el
index 2e24548dbbe..a28f9d459ff 100644
--- a/lisp/ediff-util.el
+++ b/lisp/ediff-util.el
@@ -2075,7 +2075,7 @@ ARG is a prefix argument. If nil, copy the current difference region."
2075 (ediff-clear-fine-differences n)) 2075 (ediff-clear-fine-differences n))
2076 ;; Make sure that the message about saving and how to restore is seen 2076 ;; Make sure that the message about saving and how to restore is seen
2077 ;; by the user 2077 ;; by the user
2078 (message messg)) 2078 (message "%s" messg))
2079 )) 2079 ))
2080 2080
2081;; Save Nth diff of buffer BUF-TYPE \(A, B, or C\). 2081;; Save Nth diff of buffer BUF-TYPE \(A, B, or C\).
@@ -2720,7 +2720,7 @@ only if this merge job is part of a group, i.e., was invoked from within
2720 (format "Another buffer is visiting file %s. Too dangerous to save the merge buffer" 2720 (format "Another buffer is visiting file %s. Too dangerous to save the merge buffer"
2721 file))) 2721 file)))
2722 (beep) 2722 (beep)
2723 (message warn-message) 2723 (message "%s" warn-message)
2724 (with-output-to-temp-buffer ediff-msg-buffer 2724 (with-output-to-temp-buffer ediff-msg-buffer
2725 (princ "\n\n") 2725 (princ "\n\n")
2726 (princ warn-message) 2726 (princ warn-message)
@@ -3286,7 +3286,7 @@ Hit \\[ediff-recenter] to reset the windows afterward."
3286 (princ warn-message) 3286 (princ warn-message)
3287 (princ "\n\n")) 3287 (princ "\n\n"))
3288 (if (y-or-n-p 3288 (if (y-or-n-p
3289 (message warn-message)) 3289 (message "%s" warn-message))
3290 (with-current-buffer buff 3290 (with-current-buffer buff
3291 (save-buffer) 3291 (save-buffer)
3292 (kill-buffer (current-buffer))) 3292 (kill-buffer (current-buffer)))
diff --git a/lisp/files.el b/lisp/files.el
index 6356fcb8c2c..3706ad54edf 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -3580,7 +3580,7 @@ If visiting file read-only and `view-read-only' is non-nil, enter view mode."
3580 (t (setq buffer-read-only (not buffer-read-only)) 3580 (t (setq buffer-read-only (not buffer-read-only))
3581 (force-mode-line-update))) 3581 (force-mode-line-update)))
3582 (if (vc-backend buffer-file-name) 3582 (if (vc-backend buffer-file-name)
3583 (message (substitute-command-keys 3583 (message "%s" (substitute-command-keys
3584 (concat "File is under version-control; " 3584 (concat "File is under version-control; "
3585 "use \\[vc-next-action] to check in/out")))))) 3585 "use \\[vc-next-action] to check in/out"))))))
3586 3586
diff --git a/lisp/hi-lock.el b/lisp/hi-lock.el
index 14920cf93c2..84a8cd6284e 100644
--- a/lisp/hi-lock.el
+++ b/lisp/hi-lock.el
@@ -564,7 +564,7 @@ Optional argument END is maximum excursion."
564 (hi-lock-current-line))))))) 564 (hi-lock-current-line)))))))
565 (when hi-lock-mode (hi-lock-set-file-patterns all-patterns)) 565 (when hi-lock-mode (hi-lock-set-file-patterns all-patterns))
566 (if (interactive-p) 566 (if (interactive-p)
567 (message (format "Hi-lock added %d patterns." (length all-patterns))))))) 567 (message "Hi-lock added %d patterns." (length all-patterns))))))
568 568
569(defun hi-lock-font-lock-hook () 569(defun hi-lock-font-lock-hook ()
570 "Add hi lock patterns to font-lock's." 570 "Add hi lock patterns to font-lock's."
diff --git a/lisp/ibuf-macs.el b/lisp/ibuf-macs.el
index 5274e3173ef..3e814d4770f 100644
--- a/lisp/ibuf-macs.el
+++ b/lisp/ibuf-macs.el
@@ -281,7 +281,7 @@ bound to the current value of the filter.
281 ,(concat (or documentation "This filter is not documented.")) 281 ,(concat (or documentation "This filter is not documented."))
282 (interactive (list ,reader)) 282 (interactive (list ,reader))
283 (ibuffer-push-filter (cons ',name qualifier)) 283 (ibuffer-push-filter (cons ',name qualifier))
284 (message 284 (message "%s"
285 (format ,(concat (format "Filter by %s added: " description) 285 (format ,(concat (format "Filter by %s added: " description)
286 " %s") 286 " %s")
287 qualifier)) 287 qualifier))
diff --git a/lisp/image-mode.el b/lisp/image-mode.el
index 4999a880dfc..67d1bcee995 100644
--- a/lisp/image-mode.el
+++ b/lisp/image-mode.el
@@ -66,7 +66,7 @@ to toggle between display as an image and display as text."
66 ;; variables were cleared by kill-all-local-variables 66 ;; variables were cleared by kill-all-local-variables
67 (setq cursor-type nil truncate-lines t)) 67 (setq cursor-type nil truncate-lines t))
68 (run-mode-hooks 'image-mode-hook) 68 (run-mode-hooks 'image-mode-hook)
69 (message (concat (substitute-command-keys 69 (message "%s" (concat (substitute-command-keys
70 "Type \\[image-toggle-display] to view the image as ") 70 "Type \\[image-toggle-display] to view the image as ")
71 (if (get-text-property (point-min) 'display) 71 (if (get-text-property (point-min) 'display)
72 "text" "an image") "."))) 72 "text" "an image") ".")))
@@ -84,7 +84,7 @@ See the command `image-mode' for more information on this mode."
84 (if (get-text-property (point-min) 'display) 84 (if (get-text-property (point-min) 'display)
85 (setq cursor-type nil truncate-lines t)) 85 (setq cursor-type nil truncate-lines t))
86 (add-hook 'change-major-mode-hook (lambda () (image-minor-mode -1)) nil t) 86 (add-hook 'change-major-mode-hook (lambda () (image-minor-mode -1)) nil t)
87 (message (concat (substitute-command-keys 87 (message "%s" (concat (substitute-command-keys
88 "Type \\[image-toggle-display] to view the image as ") 88 "Type \\[image-toggle-display] to view the image as ")
89 (if (get-text-property (point-min) 'display) 89 (if (get-text-property (point-min) 'display)
90 "text" "an image") ".")))) 90 "text" "an image") "."))))
diff --git a/lisp/isearch.el b/lisp/isearch.el
index 9e396f27545..5d0c24280b8 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -1016,7 +1016,7 @@ If first char entered is \\[isearch-yank-word-or-char], then do word search inst
1016 ;; read a key the normal way. 1016 ;; read a key the normal way.
1017 ;; Word search does not apply (yet) to regexp searches, 1017 ;; Word search does not apply (yet) to regexp searches,
1018 ;; no check is made here. 1018 ;; no check is made here.
1019 (message (isearch-message-prefix nil nil t)) 1019 (message "%s" (isearch-message-prefix nil nil t))
1020 (if (memq (lookup-key isearch-mode-map (vector e)) 1020 (if (memq (lookup-key isearch-mode-map (vector e))
1021 '(isearch-yank-word 1021 '(isearch-yank-word
1022 isearch-yank-word-or-char)) 1022 isearch-yank-word-or-char))
diff --git a/lisp/iswitchb.el b/lisp/iswitchb.el
index c2e08d3a466..b13f2d0bb5a 100644
--- a/lisp/iswitchb.el
+++ b/lisp/iswitchb.el
@@ -1122,7 +1122,7 @@ Return the modified list with the last element prepended to it."
1122 (set-buffer-major-mode newbufcreated)) 1122 (set-buffer-major-mode newbufcreated))
1123 (iswitchb-visit-buffer newbufcreated)) 1123 (iswitchb-visit-buffer newbufcreated))
1124 ;; else wont create new buffer 1124 ;; else wont create new buffer
1125 (message (format "no buffer matching `%s'" buf))))) 1125 (message "no buffer matching `%s'" buf))))
1126 1126
1127(defun iswitchb-window-buffer-p (buffer) 1127(defun iswitchb-window-buffer-p (buffer)
1128 "Return window pointer if BUFFER is visible in another frame. 1128 "Return window pointer if BUFFER is visible in another frame.
diff --git a/lisp/log-edit.el b/lisp/log-edit.el
index 2b38dcadf52..4e179ef8bad 100644
--- a/lisp/log-edit.el
+++ b/lisp/log-edit.el
@@ -331,7 +331,7 @@ If BUFFER is non-nil `log-edit' will jump to that buffer, use it to edit the
331 (set (make-local-variable 'log-edit-initial-files) (log-edit-files)) 331 (set (make-local-variable 'log-edit-initial-files) (log-edit-files))
332 (when setup (run-hooks 'log-edit-hook)) 332 (when setup (run-hooks 'log-edit-hook))
333 (goto-char (point-min)) (push-mark (point-max)) 333 (goto-char (point-min)) (push-mark (point-max))
334 (message (substitute-command-keys 334 (message "%s" (substitute-command-keys
335 "Press \\[log-edit-done] when you are done editing.")))) 335 "Press \\[log-edit-done] when you are done editing."))))
336 336
337(define-derived-mode log-edit-mode text-mode "Log-Edit" 337(define-derived-mode log-edit-mode text-mode "Log-Edit"
@@ -426,7 +426,7 @@ To select default log text, we:
426 (interactive) 426 (interactive)
427 (if (eq last-command 'log-edit-mode-help) 427 (if (eq last-command 'log-edit-mode-help)
428 (describe-function major-mode) 428 (describe-function major-mode)
429 (message 429 (message "%s"
430 (substitute-command-keys 430 (substitute-command-keys
431 "Type `\\[log-edit-done]' to finish commit. Try `\\[describe-function] log-edit-done' for more help.")))) 431 "Type `\\[log-edit-done]' to finish commit. Try `\\[describe-function] log-edit-done' for more help."))))
432 432
diff --git a/lisp/pcomplete.el b/lisp/pcomplete.el
index 785c62290c4..c8d0ac19bd6 100644
--- a/lisp/pcomplete.el
+++ b/lisp/pcomplete.el
@@ -1138,7 +1138,7 @@ If specific documentation can't be given, be generic."
1138 (fboundp 'Info-goto-node)) 1138 (fboundp 'Info-goto-node))
1139 (listp pcomplete-help))) 1139 (listp pcomplete-help)))
1140 (if (listp pcomplete-help) 1140 (if (listp pcomplete-help)
1141 (message (eval pcomplete-help)) 1141 (message "%s" (eval pcomplete-help))
1142 (save-window-excursion (info)) 1142 (save-window-excursion (info))
1143 (switch-to-buffer-other-window "*info*") 1143 (switch-to-buffer-other-window "*info*")
1144 (funcall (symbol-function 'Info-goto-node) pcomplete-help)) 1144 (funcall (symbol-function 'Info-goto-node) pcomplete-help))
diff --git a/lisp/pcvs.el b/lisp/pcvs.el
index f5564155ff7..c402192c05a 100644
--- a/lisp/pcvs.el
+++ b/lisp/pcvs.el
@@ -1171,7 +1171,7 @@ Full documentation is in the Texinfo file."
1171 (interactive) 1171 (interactive)
1172 (if (eq last-command 'cvs-help) 1172 (if (eq last-command 'cvs-help)
1173 (describe-function 'cvs-mode) ; would need minor-mode for log-edit-mode 1173 (describe-function 'cvs-mode) ; would need minor-mode for log-edit-mode
1174 (message 1174 (message "%s"
1175 (substitute-command-keys 1175 (substitute-command-keys
1176 "`\\[cvs-help]':help `\\[cvs-mode-add]':add `\\[cvs-mode-commit]':commit \ 1176 "`\\[cvs-help]':help `\\[cvs-mode-add]':add `\\[cvs-mode-commit]':commit \
1177`\\[cvs-mode-diff-map]':diff* `\\[cvs-mode-log]':log \ 1177`\\[cvs-mode-diff-map]':diff* `\\[cvs-mode-log]':log \
diff --git a/lisp/printing.el b/lisp/printing.el
index eabca64f085..ec2c8a3cfda 100644
--- a/lisp/printing.el
+++ b/lisp/printing.el
@@ -4,7 +4,7 @@
4 4
5;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br> 5;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br>
6;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br> 6;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br>
7;; Time-stamp: <2005/06/11 19:51:32 vinicius> 7;; Time-stamp: <2005-09-18 05:57:14 deego>
8;; Keywords: wp, print, PostScript 8;; Keywords: wp, print, PostScript
9;; Version: 6.8.4 9;; Version: 6.8.4
10;; X-URL: http://www.cpqd.com.br/~vinicius/emacs/ 10;; X-URL: http://www.cpqd.com.br/~vinicius/emacs/
@@ -6424,7 +6424,7 @@ COMMAND.exe, COMMAND.bat and COMMAND.com in this order."
6424 ;; handlers 6424 ;; handlers
6425 ((quit error) 6425 ((quit error)
6426 (ding) 6426 (ding)
6427 (message (error-message-string data))))) 6427 (message "%s" (error-message-string data)))))
6428 6428
6429 6429
6430(defun pr-interface-printify (&rest ignore) 6430(defun pr-interface-printify (&rest ignore)
@@ -6449,7 +6449,7 @@ COMMAND.exe, COMMAND.bat and COMMAND.com in this order."
6449 ;; handlers 6449 ;; handlers
6450 ((quit error) 6450 ((quit error)
6451 (ding) 6451 (ding)
6452 (message (error-message-string data))))) 6452 (message "%s" (error-message-string data)))))
6453 6453
6454 6454
6455(defun pr-interface-ps-print (&rest ignore) 6455(defun pr-interface-ps-print (&rest ignore)
@@ -6515,7 +6515,7 @@ COMMAND.exe, COMMAND.bat and COMMAND.com in this order."
6515 ;; handlers 6515 ;; handlers
6516 ((quit error) 6516 ((quit error)
6517 (ding) 6517 (ding)
6518 (message (error-message-string data))))) 6518 (message "%s" (error-message-string data)))))
6519 6519
6520 6520
6521(defun pr-i-ps-send () 6521(defun pr-i-ps-send ()
diff --git a/lisp/server.el b/lisp/server.el
index 7256a729de3..3e70b78e782 100644
--- a/lisp/server.el
+++ b/lisp/server.el
@@ -371,7 +371,7 @@ PROC is the server process. Format of STRING is \"PATH PATH PATH... \\n\"."
371 (server-switch-buffer (nth 1 client)) 371 (server-switch-buffer (nth 1 client))
372 (run-hooks 'server-switch-hook) 372 (run-hooks 'server-switch-hook)
373 (unless nowait 373 (unless nowait
374 (message (substitute-command-keys 374 (message "%s" (substitute-command-keys
375 "When done with a buffer, type \\[server-edit]"))))) 375 "When done with a buffer, type \\[server-edit]")))))
376 ;; Avoid preserving the connection after the last real frame is deleted. 376 ;; Avoid preserving the connection after the last real frame is deleted.
377 (if tmp-frame (delete-frame tmp-frame)))) 377 (if tmp-frame (delete-frame tmp-frame))))
diff --git a/lisp/ses.el b/lisp/ses.el
index e4124de9fb5..75562edddb9 100644
--- a/lisp/ses.el
+++ b/lisp/ses.el
@@ -1612,7 +1612,7 @@ narrows the buffer now."
1612 (error 1612 (error
1613 (unless executing-kbd-macro 1613 (unless executing-kbd-macro
1614 (ding)) 1614 (ding))
1615 (message (error-message-string err)))) 1615 (message "%s" (error-message-string err))))
1616 nil) ;Make coverage-tester happy 1616 nil) ;Make coverage-tester happy
1617 1617
1618(defun ses-create-header-string () 1618(defun ses-create-header-string ()
@@ -1739,7 +1739,7 @@ to are recalculated first."
1739 (error (setq sig hold)))) 1739 (error (setq sig hold))))
1740 (cond 1740 (cond
1741 (sig 1741 (sig
1742 (message (error-message-string sig))) 1742 (message "%s" (error-message-string sig)))
1743 ((consp ses--curcell) 1743 ((consp ses--curcell)
1744 (message " ")) 1744 (message " "))
1745 (t 1745 (t
diff --git a/lisp/simple.el b/lisp/simple.el
index fe58a47610e..f06a279c9c2 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -3668,9 +3668,18 @@ The goal column is stored in the variable `goal-column'."
3668 (setq goal-column nil) 3668 (setq goal-column nil)
3669 (message "No goal column")) 3669 (message "No goal column"))
3670 (setq goal-column (current-column)) 3670 (setq goal-column (current-column))
3671 (message (substitute-command-keys 3671 ;; The older method below can be erroneous if `set-goal-column' is bound
3672 "Goal column %d (use \\[set-goal-column] with an arg to unset it)") 3672 ;; to a sequence containing %
3673 goal-column)) 3673 ;;(message (substitute-command-keys
3674 ;;"Goal column %d (use \\[set-goal-column] with an arg to unset it)")
3675 ;;goal-column)
3676 (message "%s"
3677 (concat
3678 (format "Goal column %d " goal-column)
3679 (substitute-command-keys
3680 "(use \\[set-goal-column] with an arg to unset it)")))
3681
3682 )
3674 nil) 3683 nil)
3675 3684
3676 3685
diff --git a/lisp/startup.el b/lisp/startup.el
index d5cf91d622b..450159b36f2 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -1477,7 +1477,7 @@ Type \\[describe-distribution] for information on getting the latest version."))
1477 1477
1478(defun display-startup-echo-area-message () 1478(defun display-startup-echo-area-message ()
1479 (let ((resize-mini-windows t)) 1479 (let ((resize-mini-windows t))
1480 (message (startup-echo-area-message)))) 1480 (message "%s" (startup-echo-area-message))))
1481 1481
1482 1482
1483(defun display-splash-screen () 1483(defun display-splash-screen ()
diff --git a/lisp/strokes.el b/lisp/strokes.el
index a432191b18a..84bff1b6ba0 100644
--- a/lisp/strokes.el
+++ b/lisp/strokes.el
@@ -738,7 +738,7 @@ Optional EVENT is acceptable as the starting event of the stroke."
738 (save-window-excursion 738 (save-window-excursion
739 (set-window-configuration strokes-window-configuration) 739 (set-window-configuration strokes-window-configuration)
740 (when prompt 740 (when prompt
741 (message prompt) 741 (message "%s" prompt)
742 (setq event (read-event)) 742 (setq event (read-event))
743 (or (strokes-button-press-event-p event) 743 (or (strokes-button-press-event-p event)
744 (error "You must draw with the mouse"))) 744 (error "You must draw with the mouse")))
@@ -769,7 +769,7 @@ Optional EVENT is acceptable as the starting event of the stroke."
769 (bury-buffer)))) 769 (bury-buffer))))
770 ;; Otherwise, don't use strokes buffer and read stroke silently 770 ;; Otherwise, don't use strokes buffer and read stroke silently
771 (when prompt 771 (when prompt
772 (message prompt) 772 (message "%s" prompt)
773 (setq event (read-event)) 773 (setq event (read-event))
774 (or (strokes-button-press-event-p event) 774 (or (strokes-button-press-event-p event)
775 (error "You must draw with the mouse"))) 775 (error "You must draw with the mouse")))
@@ -799,7 +799,7 @@ Optional EVENT is acceptable as the starting event of the stroke."
799 (grid-locs nil)) 799 (grid-locs nil))
800 (if prompt 800 (if prompt
801 (while (not (strokes-button-press-event-p event)) 801 (while (not (strokes-button-press-event-p event))
802 (message prompt) 802 (message "%s" prompt)
803 (setq event (read-event)))) 803 (setq event (read-event))))
804 (unwind-protect 804 (unwind-protect
805 (track-mouse 805 (track-mouse
diff --git a/lisp/vc.el b/lisp/vc.el
index 8e87cb50eb4..665bb3d31e7 100644
--- a/lisp/vc.el
+++ b/lisp/vc.el
@@ -2333,10 +2333,10 @@ allowed and simply skipped)."
2333 (format "Updating %s... " (abbreviate-file-name dir)) 2333 (format "Updating %s... " (abbreviate-file-name dir))
2334 (format "Retrieving snapshot into %s... " 2334 (format "Retrieving snapshot into %s... "
2335 (abbreviate-file-name dir))))) 2335 (abbreviate-file-name dir)))))
2336 (message msg) 2336 (message "%s" msg)
2337 (vc-call-backend (vc-responsible-backend dir) 2337 (vc-call-backend (vc-responsible-backend dir)
2338 'retrieve-snapshot dir name update) 2338 'retrieve-snapshot dir name update)
2339 (message (concat msg "done")))) 2339 (message "%s" (concat msg "done"))))
2340 2340
2341(defun vc-default-retrieve-snapshot (backend dir name update) 2341(defun vc-default-retrieve-snapshot (backend dir name update)
2342 (if (string= name "") 2342 (if (string= name "")
diff --git a/lisp/wdired.el b/lisp/wdired.el
index ef20ea6f9a2..55df66a70e6 100644
--- a/lisp/wdired.el
+++ b/lisp/wdired.el
@@ -264,7 +264,7 @@ See `wdired-mode'."
264 (set-buffer-modified-p nil) 264 (set-buffer-modified-p nil)
265 (setq buffer-undo-list nil) 265 (setq buffer-undo-list nil)
266 (run-mode-hooks 'wdired-mode-hook) 266 (run-mode-hooks 'wdired-mode-hook)
267 (message (substitute-command-keys "Press \\[wdired-finish-edit] when finished \ 267 (message "%s" (substitute-command-keys "Press \\[wdired-finish-edit] when finished \
268or \\[wdired-abort-changes] to abort changes"))) 268or \\[wdired-abort-changes] to abort changes")))
269 269
270 270
diff --git a/lisp/woman.el b/lisp/woman.el
index 9b7bce889b3..315a0a3bbe5 100644
--- a/lisp/woman.el
+++ b/lisp/woman.el
@@ -1926,7 +1926,7 @@ Optional argument REDRAW, if non-nil, forces mode line to be updated."
1926 ;; Output the result: 1926 ;; Output the result:
1927 (and (apropos-print t nil) 1927 (and (apropos-print t nil)
1928 message 1928 message
1929 (message message)))) 1929 (message "%s" message))))
1930 1930
1931 1931
1932(defun WoMan-getpage-in-background (topic) 1932(defun WoMan-getpage-in-background (topic)