emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* erroneously extracting a timestamps from a TODO subject
@ 2017-11-13 12:12 Rainer Stengele
  2017-11-13 14:07 ` Eric S Fraga
  0 siblings, 1 reply; 3+ messages in thread
From: Rainer Stengele @ 2017-11-13 12:12 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

I have this TODO in my Org file:

*** TODO Chapter 7:21-23 - text                                                                                                     :@HOME:
     SCHEDULED: <2017-11-13 Mo>

my related agenda shows this:

Montag     13 November 2017 W46
   Privat:           7:21......        Scheduled:  TODO     Chapter -23 - text

It seems that the agenda in a strange way extracts the timestamp "7:21" from "7:21-23 - text" but leaves "-23 - test" as the TODO subject.
Could this be a bug?

The agenda I use is this one as an excerpt from my org-agenda-custom-commands:

..
	("p1" "PRIVATE agenda -  7 days - prio A,B todos - sorted prio up" ;;
	 (
	  (agenda "prio ABC agenda"
		  (
		   (org-agenda-start-with-log-mode t)
		   (org-agenda-skip-scheduled-if-done nil)
		   (org-agenda-skip-deadline-if-done nil)
		   (org-agenda-overriding-header "Today's Agenda  + Prio A+B todos ")))

	  (alltodo "todos Prio A"
		   ((org-agenda-skip-function
		     (lambda nil
		       (or (org-agenda-skip-entry-if (quote notregexp) "\\=.*\\[#A\\]")
			   (org-agenda-skip-entry-if 'scheduled 'deadline ))))
		    (org-agenda-overriding-header "!!! TODOs Prio A: !!!")))

	  (alltodo "rest of todos"
		   ((org-agenda-skip-function
		     (lambda nil
		       (or (org-agenda-skip-entry-if (quote regexp) "\\=.*\\[#A\\]")
			   (org-agenda-skip-entry-if 'scheduled 'deadline ))))
		    (org-agenda-overriding-header "TODOs ohne Prio A: ")
		    )))
	 ((org-agenda-files privat-org-agenda-files)
	  (org-agenda-include-inactive-timestamps nil)
	  (org-agenda-span 7)
	  (org-agenda-start-on-weekday nil)
	  (org-agenda-sorting-strategy '(time-up priority-down todo-state-up))))
..

Thank you.
Regards, Rainer

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-11-13 14:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-13 12:12 erroneously extracting a timestamps from a TODO subject Rainer Stengele
2017-11-13 14:07 ` Eric S Fraga
2017-11-13 14:44   ` erroneously extracting a timestamps from a TODO subject - SOLVED Rainer Stengele

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).