summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXu Chunyang <mail@xuchunyang.me>2018-01-13 12:20:35 +0800
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2018-01-15 16:34:25 +0100
commit9f181d44043e16488455b809f7b7044e3a86c9bc (patch)
tree59b737b29f218a6b036edc859c7f0fa0dba86967
parent57a1ece335ff417dba4d9c6e8c8cf3d05cc94655 (diff)
downloadorg-mode-9f181d44043e16488455b809f7b7044e3a86c9bc.tar.gz
org-agenda: Disable message logging for some messages
* lisp/org-agenda.el (org-agenda-filter-by-tag): (org-agenda-view-mode-dispatch): (org-agenda-diary-entry): (org-agenda-bulk-action): Disable message logging for some messages. TINYCHANGE
-rw-r--r--lisp/org-agenda.el17
1 files changed, 9 insertions, 8 deletions
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index 7ea9847..606346f 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -7535,7 +7535,7 @@ also press `-' or `+' to switch between filtering and excluding."
a n tag)
(unless char
(while (not (memq char valid-char-list))
- (message
+ (org-unlogged-message
"%s by tag [%s ]:tag-char, [TAB]:tag, %s[/]:off, [+/-]:filter/exclude%s, [q]:quit"
(if exclude "Exclude" "Filter")
tag-chars
@@ -7976,9 +7976,10 @@ With prefix ARG, go backward that many times the current span."
(defun org-agenda-view-mode-dispatch ()
"Call one of the view mode commands."
(interactive)
- (message "View: [d]ay [w]eek for[t]night [m]onth [y]ear [SPC]reset [q]uit/abort
- time[G]rid [[]inactive [f]ollow [l]og [L]og-all [c]lockcheck
- [a]rch-trees [A]rch-files clock[R]eport include[D]iary [E]ntryText")
+ (org-unlogged-message
+ "View: [d]ay [w]eek for[t]night [m]onth [y]ear [SPC]reset [q]uit/abort
+ time[G]rid [[]inactive [f]ollow [l]og [L]og-all [c]lockcheck
+ [a]rch-trees [A]rch-files clock[R]eport include[D]iary [E]ntryText")
(pcase (read-char-exclusive)
(?\ (call-interactively 'org-agenda-reset-view))
(?d (call-interactively 'org-agenda-day-view))
@@ -9576,9 +9577,9 @@ entries in that Org file."
(if (not (eq org-agenda-diary-file 'diary-file))
(org-agenda-diary-entry-in-org-file)
(require 'diary-lib)
- (let* ((char (progn
- (message "Diary entry: [d]ay [w]eekly [m]onthly [y]early [a]nniversary [b]lock [c]yclic")
- (read-char-exclusive)))
+ (let* ((char (read-char-exclusive
+ "Diary entry: [d]ay [w]eekly [m]onthly [y]early\
+ [a]nniversary [b]lock [c]yclic"))
(cmd (cdr (assoc char
'((?d . diary-insert-entry)
(?w . diary-insert-weekly-entry)
@@ -9861,7 +9862,7 @@ The prefix arg is passed through to the command if possible."
(user-error "Marker %s for bulk command is invalid" m)))
;; Prompt for the bulk command.
- (message
+ (org-unlogged-message
(concat (if org-agenda-persistent-marks "Bulk (persistent): " "Bulk: ")
"[$]arch [A]rch->sib [t]odo [+/-]tag [s]chd [d]eadline [r]efile "
"[S]catter [f]unction "