Gnus development mailing list
 help / color / mirror / Atom feed
From: David Engster <deng@randomsample.de>
To: Jan Tatarik <jan.tatarik@gmail.com>
Cc: ding@gnus.org
Subject: Re: iCalendar support: reply to invitations, sync to org
Date: Thu, 04 Apr 2013 00:01:50 +0200	[thread overview]
Message-ID: <87zjxf46k1.fsf@randomsample.de> (raw)
In-Reply-To: <5n5x2rppyb5mom.fsf@nb-jtatarik2.xing.hh> (Jan Tatarik's message of "Wed, 03 Apr 2013 23:28:09 +0200")

Jan Tatarik writes:
> On Wed, Apr 03 2013, David Engster wrote:
>> Jan, would you be interested in that? As you probably know, this would
>> require that you assign copyright of your code to the FSF and to sign
>> papers. Also, your code would need some changes to be compatible with
>> older Emacsen.
>
> My papers for emacs and gnus are already on file.

That's great.

> As far as making the code compatible, I would appreciate some guidance
> there. Not just wrt older Emacsen, but also regarding coding
> conventions, namespace, etc.

A good first read is the Appendix D.1 (Emacs Lisp Coding Conventions) in
the Emacs Lisp reference manual.

I haven't looked at your code in detail yet. But a first few comments:

The first and for you probably most frustrating problem is the
dependence on cl-lib, which is only available since 24.3. On older
Emacsen you only have 'cl', from which you're only allowed to use
macros, though (see the mentioned coding conventions for further
details). So I'm afraid you have to forgo the functions (but not macros)
you use from cl-lib. EIEIO is OK, though; Gnus provides a fallback
library for that on older Emacsen.

Your package is a bit complicated since it involves three things:
icalendar, Gnus and Org. Still, I think it would be preferable to have
everything in a single file with a single namespace 'gnus-calendar'.
Everything should be prefixed with that; this includes methods and
macros (like your currently used `with-decoded-handle'). If you think
that some of your stuff would better fit in the icalendar package, Org,
or somewhere else in Gnus, then we should try to get this in there.

Also, M-x checkdoc is very helpful. :-)

-David



  reply	other threads:[~2013-04-03 22:01 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-02 22:21 Jan Tatarik
2013-04-03  8:23 ` Adam Sjøgren
2013-04-03 12:38   ` Jan Tatarik
2013-04-03 15:27 ` David Engster
2013-04-03 21:28   ` Jan Tatarik
2013-04-03 22:01     ` David Engster [this message]
2013-04-03 22:52       ` Jan Tatarik
2013-06-06 15:15   ` Ted Zlatanov
2013-06-06 17:08     ` David Engster
2013-06-06 17:49       ` Ted Zlatanov
2013-06-06 18:12         ` David Engster
2013-06-06 18:17           ` Ted Zlatanov
2013-06-06 20:57             ` Jan Tatarik
2013-06-07 11:43               ` Steinar Bang
2013-06-07 12:13                 ` Jan Tatarik
2013-06-07 12:41                   ` Ted Zlatanov
2013-06-07 13:37                     ` Steinar Bang
2013-06-21  6:56               ` David Engster
2013-08-01 15:40               ` Lars Magne Ingebrigtsen
2013-08-01 18:47                 ` Jan Tatarik
2013-08-01 21:07                   ` Lars Magne Ingebrigtsen
2013-08-01 21:28                     ` Lars Magne Ingebrigtsen
2013-08-06 20:45                       ` Jan Tatarik
2013-08-06 20:54                         ` Lars Magne Ingebrigtsen
2013-08-09 22:07                       ` Mats Lidell
2013-08-01 21:51                     ` Jan Tatarik
2013-08-01 22:08                     ` Jan Tatarik
2013-08-01 23:10                       ` Lars Magne Ingebrigtsen
2013-08-01 23:26                         ` Jan Tatarik
2013-08-06 20:32                         ` Jan Tatarik
2013-08-06 20:36                           ` Lars Magne Ingebrigtsen
2013-08-06 20:52                           ` Lars Magne Ingebrigtsen
2013-08-06 21:24                             ` Jan Tatarik
2013-08-12 17:32                               ` Lars Magne Ingebrigtsen
2013-08-12 19:09                                 ` Jan Tatarik
2013-08-12 19:20                                   ` Lars Magne Ingebrigtsen
2013-08-02  6:20                     ` Steinar Bang
2013-08-02 12:40                       ` Lars Magne Ingebrigtsen
2013-08-02 13:25                         ` Steinar Bang
2013-04-12 16:25 ` Eric S Fraga
2013-04-15  1:34   ` Jan Tatarik
2013-04-16  9:05     ` Eric S Fraga

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=87zjxf46k1.fsf@randomsample.de \
    --to=deng@randomsample.de \
    --cc=ding@gnus.org \
    --cc=jan.tatarik@gmail.com \
    /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.
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 NNTP newsgroup(s).