aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/textmodes
diff options
context:
space:
mode:
authorMiles Bader2007-12-16 05:08:49 +0000
committerMiles Bader2007-12-16 05:08:49 +0000
commitd29ee6b1a110cf5d170a10317a96acbbd4a1c68b (patch)
tree58f3c40766d8d56de7d2b026c29e198764d910aa /lisp/textmodes
parent7e095e45a3f790e4608c88db9648d248e24901dc (diff)
parent47854a55680b5809811caf72f66ecbe8289c2855 (diff)
downloademacs-d29ee6b1a110cf5d170a10317a96acbbd4a1c68b.tar.gz
emacs-d29ee6b1a110cf5d170a10317a96acbbd4a1c68b.zip
Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-300
Diffstat (limited to 'lisp/textmodes')
-rw-r--r--lisp/textmodes/artist.el4
-rw-r--r--lisp/textmodes/org-publish.el4
-rw-r--r--lisp/textmodes/org.el29
-rw-r--r--lisp/textmodes/reftex-index.el2
-rw-r--r--lisp/textmodes/reftex-toc.el6
-rw-r--r--lisp/textmodes/reftex.el8
-rw-r--r--lisp/textmodes/texinfmt.el5
7 files changed, 29 insertions, 29 deletions
diff --git a/lisp/textmodes/artist.el b/lisp/textmodes/artist.el
index f0442904185..63a9e8f615a 100644
--- a/lisp/textmodes/artist.el
+++ b/lisp/textmodes/artist.el
@@ -1151,14 +1151,14 @@ PREV-OP-ARG are used when invoked recursively during the build-up."
1151 (interactive) 1151 (interactive)
1152 (let ((next-op (cdr (cdr (assoc artist-curr-go artist-prev-next-op-alist))))) 1152 (let ((next-op (cdr (cdr (assoc artist-curr-go artist-prev-next-op-alist)))))
1153 (artist-select-operation next-op) 1153 (artist-select-operation next-op)
1154 (message next-op))) 1154 (message "%s" next-op)))
1155 1155
1156(defun artist-select-prev-op-in-list () 1156(defun artist-select-prev-op-in-list ()
1157 "Cyclically select previous drawing mode operation." 1157 "Cyclically select previous drawing mode operation."
1158 (interactive) 1158 (interactive)
1159 (let ((prev-op (car (cdr (assoc artist-curr-go artist-prev-next-op-alist))))) 1159 (let ((prev-op (car (cdr (assoc artist-curr-go artist-prev-next-op-alist)))))
1160 (artist-select-operation prev-op) 1160 (artist-select-operation prev-op)
1161 (message prev-op))) 1161 (message "%s" prev-op)))
1162 1162
1163;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 1163;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1164 1164
diff --git a/lisp/textmodes/org-publish.el b/lisp/textmodes/org-publish.el
index e98afaf4a6b..807a844c425 100644
--- a/lisp/textmodes/org-publish.el
+++ b/lisp/textmodes/org-publish.el
@@ -481,7 +481,7 @@ FILENAME is the filename of the file to be published."
481 (plist (org-publish-get-plist-from-filename filename)) 481 (plist (org-publish-get-plist-from-filename filename))
482 (publishing-function (or (plist-get plist :publishing-function) 'org-publish-org-to-html))) 482 (publishing-function (or (plist-get plist :publishing-function) 'org-publish-org-to-html)))
483 (if (not project-name) 483 (if (not project-name)
484 (error (format "File %s is not part of any known project." filename))) 484 (error "File %s is not part of any known project." filename))
485 (when (org-publish-needed-p filename) 485 (when (org-publish-needed-p filename)
486 (if (listp publishing-function) 486 (if (listp publishing-function)
487 ;; allow chain of publishing functions 487 ;; allow chain of publishing functions
@@ -575,7 +575,7 @@ With prefix argument, force publishing all files in project."
575 (let* ((project-name (org-publish-get-project-from-filename (buffer-file-name))) 575 (let* ((project-name (org-publish-get-project-from-filename (buffer-file-name)))
576 (org-publish-use-timestamps-flag (if force nil t))) 576 (org-publish-use-timestamps-flag (if force nil t)))
577 (if (not project-name) 577 (if (not project-name)
578 (error (format "File %s is not part of any known project." (buffer-file-name)))) 578 (error "File %s is not part of any known project." (buffer-file-name)))
579 (org-publish project-name)))) 579 (org-publish project-name))))
580 580
581 581
diff --git a/lisp/textmodes/org.el b/lisp/textmodes/org.el
index 0535f679c40..ebcf060be65 100644
--- a/lisp/textmodes/org.el
+++ b/lisp/textmodes/org.el
@@ -6076,7 +6076,7 @@ If you want to insert the tree as is, just use \\[yank].
6076If optional TREE is given, use this text instead of the kill ring." 6076If optional TREE is given, use this text instead of the kill ring."
6077 (interactive "P") 6077 (interactive "P")
6078 (unless (org-kill-is-subtree-p tree) 6078 (unless (org-kill-is-subtree-p tree)
6079 (error 6079 (error "%s"
6080 (substitute-command-keys 6080 (substitute-command-keys
6081 "The kill is not a (set of) tree(s) - please use \\[yank] to yank anyway"))) 6081 "The kill is not a (set of) tree(s) - please use \\[yank] to yank anyway")))
6082 (let* ((txt (or tree (and kill-ring (current-kill 0)))) 6082 (let* ((txt (or tree (and kill-ring (current-kill 0))))
@@ -7487,7 +7487,7 @@ When TAG is non-nil, don't move trees, but mark them with the ARCHIVE tag."
7487 (org-hide-archived-subtrees beg end) 7487 (org-hide-archived-subtrees beg end)
7488 (goto-char beg) 7488 (goto-char beg)
7489 (if (looking-at (concat ".*:" org-archive-tag ":")) 7489 (if (looking-at (concat ".*:" org-archive-tag ":"))
7490 (message (substitute-command-keys 7490 (message "%s" (substitute-command-keys
7491 "Subtree is archived and stays closed. Use \\[org-force-cycle-archived] to cycle it anyway."))))))) 7491 "Subtree is archived and stays closed. Use \\[org-force-cycle-archived] to cycle it anyway.")))))))
7492 7492
7493(defun org-force-cycle-archived () 7493(defun org-force-cycle-archived ()
@@ -9366,7 +9366,8 @@ of the new mark."
9366 (goto-line l1))) 9366 (goto-line l1)))
9367 (if (not (= epos (point-at-eol))) (org-table-align)) 9367 (if (not (= epos (point-at-eol))) (org-table-align))
9368 (goto-line l) 9368 (goto-line l)
9369 (and (interactive-p) (message (cdr (assoc new org-recalc-marks)))))) 9369 (and (interactive-p)
9370 (message "%s" (or (cdr (assoc new org-recalc-marks)) "")))))
9370 9371
9371(defun org-table-maybe-recalculate-line () 9372(defun org-table-maybe-recalculate-line ()
9372 "Recompute the current line if marked for it, and if we haven't just done it." 9373 "Recompute the current line if marked for it, and if we haven't just done it."
@@ -12347,7 +12348,7 @@ to read."
12347 (move-marker (car org-mark-ring) 12348 (move-marker (car org-mark-ring)
12348 (or pos (point)) 12349 (or pos (point))
12349 (or buffer (current-buffer))) 12350 (or buffer (current-buffer)))
12350 (message 12351 (message "%s"
12351 (substitute-command-keys 12352 (substitute-command-keys
12352 "Position saved to mark ring, go back with \\[org-mark-ring-goto]."))) 12353 "Position saved to mark ring, go back with \\[org-mark-ring-goto].")))
12353 12354
@@ -12429,7 +12430,7 @@ onto the ring."
12429 (if (match-string 2 name) ; If there isn't a node, choose "Top" 12430 (if (match-string 2 name) ; If there isn't a node, choose "Top"
12430 (Info-find-node (match-string 1 name) (match-string 2 name)) 12431 (Info-find-node (match-string 1 name) (match-string 2 name))
12431 (Info-find-node (match-string 1 name) "Top"))) 12432 (Info-find-node (match-string 1 name) "Top")))
12432 (message (concat "Could not open: " name)))) 12433 (message "Could not open: %s" name)))
12433 12434
12434(defun org-follow-gnus-link (&optional group article) 12435(defun org-follow-gnus-link (&optional group article)
12435 "Follow a Gnus link to GROUP and ARTICLE." 12436 "Follow a Gnus link to GROUP and ARTICLE."
@@ -12553,7 +12554,7 @@ sequences, it will now work."
12553 (save-excursion 12554 (save-excursion
12554 (mh-index-previous-folder) 12555 (mh-index-previous-folder)
12555 (re-search-forward "^\\(+.*\\)$" nil t) 12556 (re-search-forward "^\\(+.*\\)$" nil t)
12556 (message (match-string 1)))) 12557 (message "%s" (match-string 1))))
12557 12558
12558(defun org-mhe-get-message-folder () 12559(defun org-mhe-get-message-folder ()
12559 "Return the name of the current message folder. Be careful if you 12560 "Return the name of the current message folder. Be careful if you
@@ -13759,7 +13760,7 @@ This function should be run in the `org-after-todo-state-change-hook'."
13759 (org-timestamp-change n (cdr (assoc what whata)))) 13760 (org-timestamp-change n (cdr (assoc what whata))))
13760 (setq msg (concat msg type org-last-changed-timestamp " "))) 13761 (setq msg (concat msg type org-last-changed-timestamp " ")))
13761 (setq org-log-post-message msg) 13762 (setq org-log-post-message msg)
13762 (message msg)))) 13763 (message "%s" msg))))
13763 13764
13764(defun org-show-todo-tree (arg) 13765(defun org-show-todo-tree (arg)
13765 "Make a compact tree which shows all headlines marked with TODO. 13766 "Make a compact tree which shows all headlines marked with TODO.
@@ -13978,7 +13979,7 @@ The auto-repeater uses this.")
13978 (with-current-buffer (marker-buffer org-log-note-return-to) 13979 (with-current-buffer (marker-buffer org-log-note-return-to)
13979 (goto-char org-log-note-return-to)) 13980 (goto-char org-log-note-return-to))
13980 (move-marker org-log-note-return-to nil) 13981 (move-marker org-log-note-return-to nil)
13981 (and org-log-post-message (message org-log-post-message))) 13982 (and org-log-post-message (message "%s" org-log-post-message)))
13982 13983
13983;; FIXME: what else would be useful? 13984;; FIXME: what else would be useful?
13984;; - priority 13985;; - priority
@@ -15216,10 +15217,10 @@ in the current file."
15216 (let* ((prop (completing-read 15217 (let* ((prop (completing-read
15217 "Property: " (org-entry-properties nil 'standard)))) 15218 "Property: " (org-entry-properties nil 'standard))))
15218 (list prop))) 15219 (list prop)))
15219 (message (concat "Property " property 15220 (message "Property %s %s" property
15220 (if (org-entry-delete nil property) 15221 (if (org-entry-delete nil property)
15221 " deleted" 15222 "deleted"
15222 " was not present in the entry")))) 15223 "was not present in the entry")))
15223 15224
15224(defun org-delete-property-globally (property) 15225(defun org-delete-property-globally (property)
15225 "Remove PROPERTY globally, from all entries." 15226 "Remove PROPERTY globally, from all entries."
@@ -16863,7 +16864,7 @@ days in order to avoid rounding problems."
16863 d (floor (+ (/ diff ds) 0.5)) 16864 d (floor (+ (/ diff ds) 0.5))
16864 h 0 m 0)) 16865 h 0 m 0))
16865 (if (not to-buffer) 16866 (if (not to-buffer)
16866 (message (org-make-tdiff-string y d h m)) 16867 (message "%s" (org-make-tdiff-string y d h m))
16867 (when (org-at-table-p) 16868 (when (org-at-table-p)
16868 (goto-char match-end) 16869 (goto-char match-end)
16869 (setq align t) 16870 (setq align t)
@@ -18806,7 +18807,7 @@ the buffer and restores the previous window configuration."
18806 (org-install-agenda-files-menu) 18807 (org-install-agenda-files-menu)
18807 (message "New agenda file list installed")) 18808 (message "New agenda file list installed"))
18808 nil 'local) 18809 nil 'local)
18809 (message (substitute-command-keys 18810 (message "%s" (substitute-command-keys
18810 "Edit list and finish with \\[save-buffer]"))) 18811 "Edit list and finish with \\[save-buffer]")))
18811 (customize-variable 'org-agenda-files))) 18812 (customize-variable 'org-agenda-files)))
18812 18813
diff --git a/lisp/textmodes/reftex-index.el b/lisp/textmodes/reftex-index.el
index 73bcf6d6a74..5b2d62c56f6 100644
--- a/lisp/textmodes/reftex-index.el
+++ b/lisp/textmodes/reftex-index.el
@@ -367,7 +367,7 @@ _ ^ Add/Remove parent key (to make this item a subitem).
367 (goto-char (or pos (point-min))) 367 (goto-char (or pos (point-min)))
368 (or (looking-at re) 368 (or (looking-at re)
369 (reftex-nearest-match re (length literal)))) 369 (reftex-nearest-match re (length literal))))
370 (t (message reftex-no-follow-message) nil)))) 370 (t (message "%s" reftex-no-follow-message) nil))))
371 (when match 371 (when match
372 (goto-char (match-beginning 0)) 372 (goto-char (match-beginning 0))
373 (recenter '(4)) 373 (recenter '(4))
diff --git a/lisp/textmodes/reftex-toc.el b/lisp/textmodes/reftex-toc.el
index d1d979b3fc0..e3d8b3e4793 100644
--- a/lisp/textmodes/reftex-toc.el
+++ b/lisp/textmodes/reftex-toc.el
@@ -626,7 +626,7 @@ point."
626 (message "%d section%s %smoted" 626 (message "%d section%s %smoted"
627 nsec (if (= 1 nsec) "" "s") pro-or-de) 627 nsec (if (= 1 nsec) "" "s") pro-or-de)
628 nil)) 628 nil))
629 (if msg (progn (ding) (message msg))))) 629 (if msg (progn (ding) (message "%s" msg)))))
630 630
631 631
632(defun reftex-toc-restore-region (point-line &optional mark-line) 632(defun reftex-toc-restore-region (point-line &optional mark-line)
@@ -833,7 +833,7 @@ label prefix determines the wording of a reference."
833 (switch-to-buffer-other-window 833 (switch-to-buffer-other-window
834 (reftex-get-file-buffer-force file nil)) 834 (reftex-get-file-buffer-force file nil))
835 (goto-char (if (eq where 'bof) (point-min) (point-max)))) 835 (goto-char (if (eq where 'bof) (point-min) (point-max))))
836 (message reftex-no-follow-message) nil)))) 836 (message "%s" reftex-no-follow-message) nil))))
837 837
838 ((stringp (car toc)) 838 ((stringp (car toc))
839 ;; a label 839 ;; a label
@@ -900,7 +900,7 @@ label prefix determines the wording of a reference."
900 (reftex-make-regexp-allow-for-ctrl-m literal) len) 900 (reftex-make-regexp-allow-for-ctrl-m literal) len)
901 (reftex-nearest-match 901 (reftex-nearest-match
902 (reftex-make-desperate-section-regexp literal) len))))) 902 (reftex-make-desperate-section-regexp literal) len)))))
903 (t (message reftex-no-follow-message) nil)))) 903 (t (message "%s" reftex-no-follow-message) nil))))
904 (when match 904 (when match
905 (goto-char (match-beginning 0)) 905 (goto-char (match-beginning 0))
906 (if (not (= (point) (point-max))) (recenter 1)) 906 (if (not (= (point) (point-max))) (recenter 1))
diff --git a/lisp/textmodes/reftex.el b/lisp/textmodes/reftex.el
index 5383d88c386..d6ec29434d1 100644
--- a/lisp/textmodes/reftex.el
+++ b/lisp/textmodes/reftex.el
@@ -1978,7 +1978,7 @@ Works on both Emacs and XEmacs."
1978 (let ((char ?\?)) 1978 (let ((char ?\?))
1979 (save-window-excursion 1979 (save-window-excursion
1980 (catch 'exit 1980 (catch 'exit
1981 (message (concat prompt " (?=Help)")) 1981 (message "%s (?=Help)" prompt)
1982 (when (or (sit-for (or delay-time 0)) 1982 (when (or (sit-for (or delay-time 0))
1983 (= ?\? (setq char (read-char-exclusive)))) 1983 (= ?\? (setq char (read-char-exclusive))))
1984 (reftex-kill-buffer "*RefTeX Select*") 1984 (reftex-kill-buffer "*RefTeX Select*")
@@ -1994,17 +1994,17 @@ Works on both Emacs and XEmacs."
1994 (pos-visible-in-window-p (point-max))) 1994 (pos-visible-in-window-p (point-max)))
1995 nil 1995 nil
1996 (setq prompt (concat prompt (if scroll " (SPC/DEL=Scroll)" "")))) 1996 (setq prompt (concat prompt (if scroll " (SPC/DEL=Scroll)" ""))))
1997 (message prompt) 1997 (message "%s" prompt)
1998 (and (equal char ?\?) (setq char (read-char-exclusive))) 1998 (and (equal char ?\?) (setq char (read-char-exclusive)))
1999 (while t 1999 (while t
2000 (cond ((equal char ?\C-g) (keyboard-quit)) 2000 (cond ((equal char ?\C-g) (keyboard-quit))
2001 ((equal char ?\?)) 2001 ((equal char ?\?))
2002 ((and scroll (equal char ?\ )) 2002 ((and scroll (equal char ?\ ))
2003 (condition-case nil (scroll-up) (error nil)) 2003 (condition-case nil (scroll-up) (error nil))
2004 (message prompt)) 2004 (message "%s" prompt))
2005 ((and scroll (equal char ?\C-? )) 2005 ((and scroll (equal char ?\C-? ))
2006 (condition-case nil (scroll-down) (error nil)) 2006 (condition-case nil (scroll-down) (error nil))
2007 (message prompt)) 2007 (message "%s" prompt))
2008 (t (message "") 2008 (t (message "")
2009 (throw 'exit char))) 2009 (throw 'exit char)))
2010 (setq char (read-char-exclusive))))))) 2010 (setq char (read-char-exclusive)))))))
diff --git a/lisp/textmodes/texinfmt.el b/lisp/textmodes/texinfmt.el
index 55e7134f87e..812fcca06d6 100644
--- a/lisp/textmodes/texinfmt.el
+++ b/lisp/textmodes/texinfmt.el
@@ -2061,9 +2061,8 @@ commands that are defined in texinfo.tex for printed output.
2061 (apply '+ texinfo-multitable-width-list)))) 2061 (apply '+ texinfo-multitable-width-list))))
2062 (if (> desired-columns fill-column) 2062 (if (> desired-columns fill-column)
2063 (error 2063 (error
2064 (format 2064 "Multi-column table width, %d chars, is greater than page width, %d chars."
2065 "Multi-column table width, %d chars, is greater than page width, %d chars." 2065 desired-columns fill-column)))
2066 desired-columns fill-column))))
2067 texinfo-multitable-width-list)) 2066 texinfo-multitable-width-list))
2068 2067
2069;; @item A1 @tab A2 @tab A3 2068;; @item A1 @tab A2 @tab A3