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
Rainer
Carsten Dominik schrieb:
Hi Rainer,
On Sep 4, 2009, at 12:03 PM, Rainer Stengele wrote:
Hi Carsten,
Thanks for releasing all the new features!
It is amazing to see new features - which mostly make a lot of
sense for me - coming up all the time.
Carsten Dominik schrieb:
Hi,
I am releasing Org-mode version 6.30.
Enjoy!
- Carsten
Changes in Version 6.30
=======================
...
New mode to show some entry body text in the agenda
----------------------------------------------------
There is now a new agenda sub-mode called
`org-agenda-entry-text-mode'. It is toggled with the `E' key.
When active, all entries in the agenda will be accompanied by a
few lines from the outline entry. The amount of text can be
customized with the variable `org-agenda-entry-text-maxlines'.
this already avoids displaying drawer lines.
I also see lines like:
- State "DONE" from "WARTEN" [2009-08-04 Di 16:19]
- State "DONE" from "WARTEN" [2009-07-02 Do 09:43]
...
and in my remeber templates I always create lines like:
created: [2009-08-03 Mo 11:46]
with the creation date of the entry.
Would it be possible and make sense to set up a variable for a
regexp to exclude lines like the ones above from showing?
Yes, I agree this would make sense.
There is now a variable and a hook for this purpose:
org-agenda-entry-text-exclude-regexps
org-agenda-entry-text-cleanup-hook
HTH
- Carsten
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
_______________________________________________
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