From mboxrd@z Thu Jan 1 00:00:00 1970 From: Erik Hetzner Subject: Fix for org-agenda-cleanup-fancy-diary Date: Tue, 31 Mar 2009 13:28:41 -0700 Message-ID: <49d27cda.1f538c0a.3e43.0351@mx.google.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="===============1329832035==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LokZF-0001Vm-SY for emacs-orgmode@gnu.org; Tue, 31 Mar 2009 16:28:17 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LokZB-0001TZ-5w for emacs-orgmode@gnu.org; Tue, 31 Mar 2009 16:28:17 -0400 Received: from [199.232.76.173] (port=50012 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LokZA-0001TG-SS for emacs-orgmode@gnu.org; Tue, 31 Mar 2009 16:28:12 -0400 Received: from rv-out-0708.google.com ([209.85.198.244]:59561) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LokZA-0000uW-09 for emacs-orgmode@gnu.org; Tue, 31 Mar 2009 16:28:12 -0400 Received: by rv-out-0708.google.com with SMTP id f25so3798556rvb.6 for ; Tue, 31 Mar 2009 13:28:10 -0700 (PDT) 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: emacs-orgmode@gnu.org --===============1329832035== Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Tue_Mar_31_13:28:41_2009-1"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit --pgp-sign-Multipart_Tue_Mar_31_13:28:41_2009-1 Content-Type: multipart/mixed; boundary="Multipart_Tue_Mar_31_13:28:41_2009-1" --Multipart_Tue_Mar_31_13:28:41_2009-1 Content-Type: text/plain; charset=US-ASCII 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 --Multipart_Tue_Mar_31_13:28:41_2009-1 Content-Type: text/plain; charset=US-ASCII 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) --Multipart_Tue_Mar_31_13:28:41_2009-1 Content-Type: text/plain; charset=US-ASCII ;; Erik Hetzner, California Digital Library ;; gnupg key id: 1024D/01DB07E3 --Multipart_Tue_Mar_31_13:28:41_2009-1-- --pgp-sign-Multipart_Tue_Mar_31_13:28:41_2009-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAknSfPkACgkQCBgB/wHbB+MMEACgkSOL4BU8KeQ4PRofQ+pSrO8q JdoAnA06mZHC2HMWrKjVB3oKb0/VZiJz =BYj4 -----END PGP SIGNATURE----- --pgp-sign-Multipart_Tue_Mar_31_13:28:41_2009-1-- --===============1329832035== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============1329832035==--