From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Fix for org-agenda-cleanup-fancy-diary Date: Wed, 1 Apr 2009 13:18:09 +0200 Message-ID: <1ACBF12E-6592-4A9C-A487-330DDA9FFB6F@gmail.com> References: <49d27cda.1f538c0a.3e43.0351@mx.google.com> Mime-Version: 1.0 (Apple Message framework v930.3) 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 1LoySZ-0007Qr-DS for emacs-orgmode@gnu.org; Wed, 01 Apr 2009 07:18:19 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LoyST-0007QW-Pg for emacs-orgmode@gnu.org; Wed, 01 Apr 2009 07:18:18 -0400 Received: from [199.232.76.173] (port=40176 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LoyST-0007QT-Lx for emacs-orgmode@gnu.org; Wed, 01 Apr 2009 07:18:13 -0400 Received: from mail-ew0-f160.google.com ([209.85.219.160]:54729) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LoyST-0001Kr-8Y for emacs-orgmode@gnu.org; Wed, 01 Apr 2009 07:18:13 -0400 Received: by ewy4 with SMTP id 4so3157241ewy.42 for ; Wed, 01 Apr 2009 04:18:11 -0700 (PDT) In-Reply-To: <49d27cda.1f538c0a.3e43.0351@mx.google.com> 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: Erik Hetzner Cc: emacs-orgmode@gnu.org Hi Erik, can you show - an example entry - how it shows up in the agenda without your patch - how it shows up with your patch so that I am better able to understand what you are trying to achieve with this patch? - Carsten On Mar 31, 2009, at 10:28 PM, Erik Hetzner wrote: > Hi all - > > Thanks for the software. I am finally sending in this patch, as I have > gotten tired of patching with each release! > > This fixes a problem I have with diary entries displaying very long > information in my schedule. I have diary entries imported from ical > format which have multiple paragraphs of descriptive information. > > Of course, perhaps there are people who want the long display, so > maybe it should be an option? > > best, > Erik Hetzner > > diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el > index 79434bd..60805cf 100644 > --- a/lisp/org-agenda.el > +++ b/lisp/org-agenda.el > @@ -3385,7 +3385,7 @@ date. It also removes lines that contain only > whitespace." > (re-search-forward "\n=+$" nil t) > (delete-region (point-min) (min (point-max) (1+ (match-end 0))))) > (goto-char (point-min)) > - (while (re-search-forward "^ +\n" nil t) > + (while (re-search-forward "^ .*\n" nil t) > (replace-match "")) > (goto-char (point-min)) > (if (re-search-forward "^Org-mode dummy\n?" nil t) > ;; Erik Hetzner, California Digital Library > ;; gnupg key id: 1024D/01DB07E3 > _______________________________________________ > 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