From: Erik Hetzner <erik.hetzner@ucop.edu>
To: emacs-orgmode@gnu.org
Subject: Fix for org-agenda-cleanup-fancy-diary
Date: Tue, 31 Mar 2009 13:28:41 -0700 [thread overview]
Message-ID: <49d27cda.1f538c0a.3e43.0351@mx.google.com> (raw)
[-- 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
next reply other threads:[~2009-03-31 20:28 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-31 20:28 Erik Hetzner [this message]
2009-04-01 10:11 ` Fix for org-agenda-cleanup-fancy-diary 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49d27cda.1f538c0a.3e43.0351@mx.google.com \
--to=erik.hetzner@ucop.edu \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).