From: Carsten Dominik <carsten.dominik@gmail.com>
To: Rainer Stengele <rainer.stengele@online.de>
Cc: org-mode Mailinglist <emacs-orgmode@gnu.org>
Subject: Re: Release 6.30
Date: Sun, 6 Sep 2009 13:41:12 +0200 [thread overview]
Message-ID: <82F9CF07-EA77-46C2-90F3-368ACCD26A41@gmail.com> (raw)
In-Reply-To: <4AA270F4.1060709@online.de>
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
>
next prev parent reply other threads:[~2009-09-06 11:41 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-01 4:20 Release 6.30 Carsten Dominik
2009-09-01 11:19 ` Sebastian Rose
2009-09-01 13:55 ` Bernt Hansen
2009-09-01 13:56 ` [PATCH] Fix typo in org-submit-bug-report mail text Bernt Hansen
2009-09-01 19:00 ` Release 6.30 Andrew Hyatt
2009-09-02 7:01 ` Carsten Dominik
2009-09-02 8:11 ` Tassilo Horn
2009-09-02 9:30 ` Carsten Dominik
2009-09-02 11:28 ` Andrew Hyatt
2009-09-04 10:03 ` Rainer Stengele
2009-09-05 5:55 ` Carsten Dominik
2009-09-05 14:08 ` Rainer Stengele
2009-09-06 11:41 ` Carsten Dominik [this message]
2009-09-06 17:21 ` Rainer Stengele
2009-09-06 18:58 ` Rainer Stengele
2009-09-06 20:53 ` Carsten Dominik
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=82F9CF07-EA77-46C2-90F3-368ACCD26A41@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=rainer.stengele@online.de \
/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).