emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rainer Stengele <rainer.stengele@online.de>
To: emacs-orgmode@gnu.org
Subject: erroneously extracting a timestamps from a TODO subject
Date: Mon, 13 Nov 2017 13:12:42 +0100	[thread overview]
Message-ID: <ouc27i$b9$1@blaine.gmane.org> (raw)

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

             reply	other threads:[~2017-11-13 12:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-13 12:12 Rainer Stengele [this message]
2017-11-13 14:07 ` erroneously extracting a timestamps from a TODO subject Eric S Fraga
2017-11-13 14:44   ` erroneously extracting a timestamps from a TODO subject - SOLVED Rainer Stengele

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='ouc27i$b9$1@blaine.gmane.org' \
    --to=rainer.stengele@online.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).