From: Nic Ferrier <nferrier@ferrier.me.uk>
To: Glenn Morris <rgm@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: outlook message/diary handling
Date: Sun, 05 May 2013 02:00:40 +0100 [thread overview]
Message-ID: <87y5bu6y13.fsf@ferrier.me.uk> (raw)
In-Reply-To: <uhip2y8fhj.fsf@fencepost.gnu.org> (Glenn Morris's message of "Sat, 04 May 2013 19:58:16 -0400")
Glenn Morris <rgm@gnu.org> writes:
> More entries for diary-outlook-formats are welcome.
> (The one time I got Outlook appointment messages, this feature was no
> use, as I explain in the comments before that variable.)
Ok... well, I'll do that if I can get a useable dev tree going so I can
submit up to date patches.
[insert bzr rant here]
> I think code for mailers that don't come with Emacs doesn't belong in
> Emacs. I added diary-from-outlook-function that those mail clients can
> set to whatever.
Why would you think that? we allow things to be packaged. We should
encourage good APIs for separations sake.
Encouraging cohesive code is just a quick way to build spagehetti. Which
is what this looks like.
diary-from-outlook-function is kind of what I was thinking of doing. I
was going to suggest a buffer-local variable for something like that so
modes could set it up if they wanted to.
>> 2. diary-from-outlook ends with diary-from-outlook-internal which only
>> handles diary entries in Emacs' diary format. But many people like to
>> keep their diary in org mode. So being able to add entries in either
>> format would be good.
>
> If Org mode needs something different for some reason, I think that's
> code that belongs in Org mode. So try emacs-orgmode@gnu.
Well, it's the Emacs code that's doing this. I would add a further layer
of indirection to the entry handling code that allowed the user to
choose a type of diary entry which then selected an appropriate
function.
I'll send patches I guess, again, when I have a working emacs repo.
prev parent reply other threads:[~2013-05-05 1:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-04 20:23 outlook message/diary handling Nic Ferrier
2013-05-04 23:58 ` Glenn Morris
2013-05-05 1:00 ` Nic Ferrier [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y5bu6y13.fsf@ferrier.me.uk \
--to=nferrier@ferrier.me.uk \
--cc=emacs-devel@gnu.org \
--cc=rgm@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.