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
pgpg3V854mK9G.pgp
Description: PGP signature
_______________________________________________ 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