From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xavier MAILLARD Newsgroups: gmane.emacs.devel Subject: Re: Readings for an emacs package maintainer ? Date: Mon, 1 Jun 2009 14:43:20 +0200 Message-ID: <20090601144320.69e6b4cb@homer.maillard.im> References: <87k53wh16c.wl%xma@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1243860120 6121 80.91.229.12 (1 Jun 2009 12:42:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 1 Jun 2009 12:42:00 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 01 14:41:56 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MB6pw-0005UX-0o for ged-emacs-devel@m.gmane.org; Mon, 01 Jun 2009 14:41:56 +0200 Original-Received: from localhost ([127.0.0.1]:50737 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MB6pv-0001Oi-Ft for ged-emacs-devel@m.gmane.org; Mon, 01 Jun 2009 08:41:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MB6pq-0001OV-98 for emacs-devel@gnu.org; Mon, 01 Jun 2009 08:41:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MB6pl-0001Np-Ey for emacs-devel@gnu.org; Mon, 01 Jun 2009 08:41:49 -0400 Original-Received: from [199.232.76.173] (port=42843 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MB6pl-0001Nm-9m for emacs-devel@gnu.org; Mon, 01 Jun 2009 08:41:45 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:63408) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MB6pk-0003PP-Vd for emacs-devel@gnu.org; Mon, 01 Jun 2009 08:41:45 -0400 Original-Received: from cha51-2-82-244-211-40.fbx.proxad.net ([82.244.211.40] helo=mail.maillard.mobi) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MB6pk-00016a-7K for emacs-devel@gnu.org; Mon, 01 Jun 2009 08:41:44 -0400 Original-Received: from homer.maillard.im (unknown [192.168.0.2]) by mail.maillard.mobi (Postfix) with ESMTPSA id 8D75BAAEF for ; Mon, 1 Jun 2009 14:45:07 +0200 (CEST) In-Reply-To: <87k53wh16c.wl%xma@gnu.org> X-Mailer: Claws Mail 3.7.1 (GTK+ 2.16.1; x86_64-pc-linux-gnu) X-Detected-Operating-System: by mx20.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:111244 Archived-At: Hi again, Le Mon, 01 Jun 2009 09:18:35 +0200, Xavier Maillard a =C3=A9crit : > Hi, >=20 > I am looking for a good documentation on best practices for an > emacs package maintainer. >=20 > 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 ? Regards