emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Erik Hetzner <ehetzner@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Fix for org-agenda-cleanup-fancy-diary
Date: Thu, 2 Apr 2009 18:23:08 +0200	[thread overview]
Message-ID: <ABB6D0FC-F3C1-4ADA-9C3D-DEBCACF4A76B@gmail.com> (raw)
In-Reply-To: <49d4da47.18038e0a.3a2a.ffffe74a@mx.google.com>


On Apr 2, 2009, at 5:31 PM, Erik Hetzner wrote:

> At Thu, 2 Apr 2009 09:29:46 +0200,
> Carsten Dominik wrote:
>>
>> Hi Erik,
>>
>> I see your point.  The trouble is that it is a traditional syntax
>> to write things in the diary like this:
>>
>> 1/4/2009 some event
>>     8:30 another event
>>    10:00 meet with Sam for coffee
>>
>>
>> etc etc.
>>
>> You patch will remove all those secondary lines.
>>
>> I think the right solution fr your case is that I will give you
>> a hook in the cleanup routine, so that you can do your own
>> cleanup.
>>
>> Or a variable, OK, we could do that too.
>
> I see. Thanks, I didn’t know that.
>
> A hook would be perfect for me.

There is now org-agenda-cleanup-fancy-diary-hook

>
> Another nice feature if possible would be to keep lines that do not
> match “^ +[0-9].*$” together with the first line in the fancy diary
> display? This would mean that diary entries:
>
> 1/4/2009 09:00 Some event
> Event description.
>
> Would not be mangled by sorting the agenda. I have no idea if this is
> possible.

It is mangled because the first line contains a time, the second does  
not.
Since I am assuming one event per line, the sorting according to time
will separate these.

You could turn off sorting by time, or use the hook
to add the time to each line.

- Carsten

>
> Thanks again!
>
> best,
> Erik

  reply	other threads:[~2009-04-02 16:23 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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=ABB6D0FC-F3C1-4ADA-9C3D-DEBCACF4A76B@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=ehetzner@gmail.com \
    --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).