emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [bug] Commented DEADLINE line still referenced
@ 2014-05-20 13:51 Sebastien Vauban
  2014-05-20 14:44 ` Bastien
  0 siblings, 1 reply; 3+ messages in thread
From: Sebastien Vauban @ 2014-05-20 13:51 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Hello,

Having such lines in one Org file (where the DEADLINE line is
commented):

--8<---------------cut here---------------start------------->8---
** TODO Aspirer les filtres de ventilation D350
   # DEADLINE: <2014-04-09 Wed .+1m -0d>

Les filtres peuvent être nettoyés avec un aspirateur, pas avec de
l'eau. En général, nous conseillons de les nettoyer chaque mois.
--8<---------------cut here---------------end--------------->8---

still makes that task be referenced in my agenda.

Current workaround: to add a space between DEAD and LINE for example.

Best regards,
  Seb

-- 
Sebastien Vauban

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

* Re: [bug] Commented DEADLINE line still referenced
  2014-05-20 13:51 [bug] Commented DEADLINE line still referenced Sebastien Vauban
@ 2014-05-20 14:44 ` Bastien
       [not found]   ` <87vbt0tspg.fsf-E3UqQZAQFPqWIDz0JBNUog@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Bastien @ 2014-05-20 14:44 UTC (permalink / raw)
  To: Sebastien Vauban; +Cc: public-emacs-orgmode-mXXj517/zsQ



Hi Sébastien,

Sebastien Vauban <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
writes:

> Having such lines in one Org file (where the DEADLINE line is
> commented):
>
> ** TODO Aspirer les filtres de ventilation D350
>    # DEADLINE: <2014-04-09 Wed .+1m -0d>
>
> Les filtres peuvent être nettoyés avec un aspirateur, pas avec de
> l'eau. En général, nous conseillons de les nettoyer chaque mois.
>
> still makes that task be referenced in my agenda.

Which agenda?

I cannot reproduce this with a simple week agenda view.

-- 
 Bastien

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

* Re: [bug] Commented DEADLINE line still referenced
       [not found]   ` <87vbt0tspg.fsf-E3UqQZAQFPqWIDz0JBNUog@public.gmane.org>
@ 2014-05-21 17:46     ` Sebastien Vauban
  0 siblings, 0 replies; 3+ messages in thread
From: Sebastien Vauban @ 2014-05-21 17:46 UTC (permalink / raw)
  To: Bastien; +Cc: public-emacs-orgmode-mXXj517/zsQ-wOFGN7rlS/M9smdsby/KFg



Hi Bastien,

Bastien wrote:
> Sebastien Vauban writes:
>
>> Having such lines in one Org file (where the DEADLINE line is
>> commented):
>>
>> ** TODO Aspirer les filtres de ventilation D350
>>    # DEADLINE: <2014-04-09 Wed .+1m -0d>
>>
>> still makes that task be referenced in my agenda.
>
> Which agenda?

This custom view:

#+begin_src emacs-lisp
    (add-to-list 'org-agenda-custom-commands
                 '("f" "Today"

                   ;; list of all TODO entries with deadline today
                   ((tags-todo "DEADLINE=\"<+0d>\""
                               ((org-agenda-overriding-header "DUE TODAY")
                                (org-agenda-skip-function
                                 '(org-agenda-skip-entry-if 'notdeadline))
                                (org-agenda-sorting-strategy '(priority-down))))

                    ;; list of all TODO entries with deadline before today
                    (tags-todo "DEADLINE<\"<+0d>\""
                               ((org-agenda-overriding-header "OVERDUE")
                                (org-agenda-skip-function
                                 '(org-agenda-skip-entry-if 'notdeadline))
                                (org-agenda-sorting-strategy '(priority-down)))))) t)
#+end_src

> I cannot reproduce this with a simple week agenda view.

Here is an ECM file:

--8<---------------cut here---------------start------------->8---
#+TITLE:     Example of Tasks
#+LANGUAGE:  en

* Marketing
  :PROPERTIES:
  :CATEGORY: Marketing
  :END:

** TODO Check payment of rent
   # DEADLINE: <2014-05-15 Thu ++1m -0d>
   :PROPERTIES:
   :LAST_REPEAT: [2014-05-02 Fri 17:45]
   :Effort:   0:10
   :END:
--8<---------------cut here---------------end--------------->8---

See how it behaves on http://screencast.com/t/Yoj5uSA8Wb: I really need
to "break" the DEADLINE keyword for it to become inactive. Putting it in
a comment is not enough.

Best regards,
  Seb

-- 
Sebastien Vauban

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

end of thread, other threads:[~2014-05-21 17:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-20 13:51 [bug] Commented DEADLINE line still referenced Sebastien Vauban
2014-05-20 14:44 ` Bastien
     [not found]   ` <87vbt0tspg.fsf-E3UqQZAQFPqWIDz0JBNUog@public.gmane.org>
2014-05-21 17:46     ` Sebastien Vauban

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).