From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Release 6.30 Date: Sun, 6 Sep 2009 13:41:12 +0200 Message-ID: <82F9CF07-EA77-46C2-90F3-368ACCD26A41@gmail.com> References: <6EB1B1C1-9DD4-434B-9D48-1027CD60F4A7@gmail.com> <4AA0E606.6020001@online.de> <78125963-E636-4D71-B87D-5F2FBEFCEBD8@gmail.com> <4AA270F4.1060709@online.de> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MkG7W-0000Ox-SF for emacs-orgmode@gnu.org; Sun, 06 Sep 2009 07:41:22 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MkG7S-0000In-VE for emacs-orgmode@gnu.org; Sun, 06 Sep 2009 07:41:22 -0400 Received: from [199.232.76.173] (port=37809 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MkG7S-0000Ic-Mi for emacs-orgmode@gnu.org; Sun, 06 Sep 2009 07:41:18 -0400 Received: from mail-ew0-f211.google.com ([209.85.219.211]:61283) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MkG7S-0003W4-65 for emacs-orgmode@gnu.org; Sun, 06 Sep 2009 07:41:18 -0400 Received: by ewy7 with SMTP id 7so190919ewy.31 for ; Sun, 06 Sep 2009 04:41:16 -0700 (PDT) In-Reply-To: <4AA270F4.1060709@online.de> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Rainer Stengele Cc: org-mode Mailinglist 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 >