emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: Release 6.30


From: Rainer Stengele
Subject: [Orgmode] Re: Release 6.30
Date: Sun, 06 Sep 2009 19:21:39 +0200
User-agent: Thunderbird 2.0.0.23 (Windows/20090812)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]