emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Fix for org-agenda-cleanup-fancy-diary
@ 2009-03-31 20:28 Erik Hetzner
  2009-04-01 10:11 ` Manish
  2009-04-01 11:18 ` Carsten Dominik
  0 siblings, 2 replies; 9+ messages in thread
From: Erik Hetzner @ 2009-03-31 20:28 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1.1: Type: text/plain, Size: 446 bytes --]

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


[-- Attachment #1.1.2: Type: text/plain, Size: 547 bytes --]

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)

[-- Attachment #1.1.3: Type: text/plain, Size: 76 bytes --]

;; Erik Hetzner, California Digital Library
;; gnupg key id: 1024D/01DB07E3

[-- Attachment #1.2: Type: application/pgp-signature, Size: 197 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
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

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-04-02 17:18 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-31 20:28 Fix for org-agenda-cleanup-fancy-diary Erik Hetzner
2009-04-01 10:11 ` Manish
2009-04-01 17:32   ` Erik Hetzner
2009-04-01 11:18 ` Carsten Dominik
2009-04-01 17:26   ` Erik Hetzner
2009-04-02  7:29     ` Carsten Dominik
2009-04-02 15:31       ` Erik Hetzner
2009-04-02 16:23         ` Carsten Dominik
2009-04-02 17:19           ` Erik Hetzner

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).