Browse Source

Clock: Improve messages

Carsten Dominik 16 years ago
parent
commit
90c38a0045
1 changed files with 5 additions and 5 deletions
  1. 5 5
      lisp/org-clock.el

+ 5 - 5
lisp/org-clock.el

@@ -527,7 +527,7 @@ the clocking selection, associated with the letter `d'."
 	    (org-clock-update-mode-line)
 	    (org-clock-update-mode-line)
 	    (setq org-clock-mode-line-timer
 	    (setq org-clock-mode-line-timer
 		  (run-with-timer 60 60 'org-clock-update-mode-line))
 		  (run-with-timer 60 60 'org-clock-update-mode-line))
-	    (message "Clock started at %s. %s" ts msg-extra)))))))
+	    (message "Clock starts at %s - %s" ts msg-extra)))))))
 
 
 (defvar msg-extra)
 (defvar msg-extra)
 (defun org-clock-get-sum-start ()
 (defun org-clock-get-sum-start ()
@@ -542,10 +542,10 @@ decides which time to use."
 	(lr (org-entry-get nil "LAST_REPEAT")))
 	(lr (org-entry-get nil "LAST_REPEAT")))
     (cond
     (cond
      ((equal cmt "current")
      ((equal cmt "current")
-      (setq msg-extra "Showing instance task time.")
+      (setq msg-extra "showing time in current clock instance")
       (current-time))
       (current-time))
      ((equal cmt "today")
      ((equal cmt "today")
-      (setq msg-extra "Showing today's task time.")
+      (setq msg-extra "showing today's task time.")
       (let* ((dt (decode-time (current-time))))
       (let* ((dt (decode-time (current-time))))
 	(setq dt (append (list 0 0 0) (nthcdr 3 dt)))
 	(setq dt (append (list 0 0 0) (nthcdr 3 dt)))
 	(if org-extend-today-until
 	(if org-extend-today-until
@@ -554,12 +554,12 @@ decides which time to use."
      ((or (equal cmt "all")
      ((or (equal cmt "all")
 	  (and (or (not cmt) (equal cmt "auto"))
 	  (and (or (not cmt) (equal cmt "auto"))
 	       (not lr)))
 	       (not lr)))
-      (setq msg-extra "Showing entire task time.")
+      (setq msg-extra "showing entire task time.")
       nil)
       nil)
      ((or (equal cmt "repeat")
      ((or (equal cmt "repeat")
 	  (and (or (not cmt) (equal cmt "auto"))
 	  (and (or (not cmt) (equal cmt "auto"))
 	       lr))
 	       lr))
-      (setq msg-extra "Showing task time since last repeat.")
+      (setq msg-extra "showing task time since last repeat.")
       (if (not lr)
       (if (not lr)
 	  nil
 	  nil
 	(org-time-string-to-time lr)))
 	(org-time-string-to-time lr)))