Carsten Dominik schrieb:
Hi Rainer,

On Sep 5, 2009, at 4:08 PM, Rainer Stengele wrote:

Hi Carsten,

excellent, thanks a lot!

I now have have started with this regexp:

...
'(org-agenda-entry-text-exclude-regexps (quote ("^.*- State \"DONE\".*\n" "^.*erzeugt:.*\n")))
...


which works except in cases like these:

...
    - State "DONE"       [2008-02-24 So 20:52]
    - State "DONE"       [2008-02-24 So 20:52]
    erzeugt: [2008-01-12 Sa 21:40]
...

or

...
    - State "DONE"       [2008-02-24 So 20:51]
    - State "DONE"       [2008-02-24 So 20:51]
    - State "DONE"       [2008-02-24 So 20:51]
    - State "DONE"       [2008-02-24 So 20:51]
    - State "DONE"       [2008-02-24 So 20:50]
    - State "DONE"       [2008-02-24 So 20:50]
    erzeugt: [2008-01-12 Sa 21:40]
...


The agenda weeds out alle lines except the last line "erzeugt ...".

The reason for this was that the last line did not have a newline after it,
because that is being removed before the regular expressions are
applied.  I have changed this now, so that the \n is still present.
Another fix would have been to make the final newline optional by
adding "?" to the regexp.

- Carsten


Carsten, it works now!
Thanx for being the fastest maintainer I know at all!
It's plain fun to continue to see org getting "better" all the time.


- Rainer



_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to