unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Xavier MAILLARD'" <xma@gnu.org>, <emacs-devel@gnu.org>
Subject: RE: Readings for an emacs package maintainer ?
Date: Mon, 1 Jun 2009 09:15:06 -0700	[thread overview]
Message-ID: <A1382E29B81947FEBF23892603596541@us.oracle.com> (raw)
In-Reply-To: <20090601144320.69e6b4cb@homer.maillard.im>

> > I am looking for a good documentation on best practices for an
> > emacs package maintainer.
> > 
> > I want packages I am maintaining to be still supported for old
> > emacsen from, say, 19.x to latest possible (including xemacs).
> 
> A totally fresh example hitted me earlier today: old-style backquotes.
> My package contains lots of them, I can easily rewrite them using the
> new style but I have to (I want to) be sure it could work with emacs <
> 19.29 (or so).
> 
> Wrapping something like:
> (if (and (> emacs-major-version 19)
> 	 (> emacs-minor-version 29))
>    (defmacro my-modern-macro...)
>   (defmacro my-old-style-macro))
> 
> Is that the best way ?

Dunno what the best way is.

But aren't old-style backquotes still supported? I thought the problem was the
other way around, that new-style backquotes are not supported in older releases.
(That's just what I would have expected - haven't checked anything.)

If I'm right about this, then just keep your old-style backquotes. It just means
a few additional parentheses. ;-)





  parent reply	other threads:[~2009-06-01 16:15 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-01  7:18 Readings for an emacs package maintainer ? Xavier Maillard
2009-06-01  9:13 ` Lennart Borgman
2009-06-01 16:14   ` Drew Adams
2009-06-01 18:56     ` Reiner Steib
2009-06-01 19:04       ` Lennart Borgman
2009-06-01 19:11       ` Drew Adams
2009-06-01 12:43 ` Xavier MAILLARD
2009-06-01 14:15   ` Miles Bader
2009-06-02  2:17     ` Stephen J. Turnbull
2009-06-02  2:36       ` Miles Bader
2009-06-02 12:02       ` Deniz Dogan
2009-06-02 14:07         ` Stephen J. Turnbull
2009-06-01 16:15   ` Drew Adams [this message]
2009-06-01 16:21 ` Bastien
2009-06-01 17:05   ` Drew Adams
2009-06-01 20:35 ` Stefan Monnier
2009-06-01 22:01   ` Leo

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.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=A1382E29B81947FEBF23892603596541@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=xma@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.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).