From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: Readings for an emacs package maintainer ? Date: Mon, 1 Jun 2009 09:15:06 -0700 Message-ID: References: <87k53wh16c.wl%xma@gnu.org> <20090601144320.69e6b4cb@homer.maillard.im> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1243872931 18189 80.91.229.12 (1 Jun 2009 16:15:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 1 Jun 2009 16:15:31 +0000 (UTC) To: "'Xavier MAILLARD'" , Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 01 18:15:27 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 1MBAAY-0008Ic-QB for ged-emacs-devel@m.gmane.org; Mon, 01 Jun 2009 18:15:27 +0200 Original-Received: from localhost ([127.0.0.1]:38506 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MBAAY-0007jl-4Q for ged-emacs-devel@m.gmane.org; Mon, 01 Jun 2009 12:15:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MBAAM-0007aj-IH for emacs-devel@gnu.org; Mon, 01 Jun 2009 12:15:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MBAAH-0007Um-QG for emacs-devel@gnu.org; Mon, 01 Jun 2009 12:15:13 -0400 Original-Received: from [199.232.76.173] (port=54799 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MBAAH-0007UW-2C for emacs-devel@gnu.org; Mon, 01 Jun 2009 12:15:09 -0400 Original-Received: from rcsinet12.oracle.com ([148.87.113.124]:60821 helo=rgminet12.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MBAA9-0006ag-Sa; Mon, 01 Jun 2009 12:15:02 -0400 Original-Received: from rgminet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by rgminet12.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n51GElbu004223 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 1 Jun 2009 16:14:48 GMT Original-Received: from abhmt003.oracle.com (abhmt003.oracle.com [141.146.116.12]) by rgminet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n51GEwl1018239; Mon, 1 Jun 2009 16:15:01 GMT Original-Received: from dradamslap1 (/141.144.88.177) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 01 Jun 2009 09:14:52 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <20090601144320.69e6b4cb@homer.maillard.im> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Thread-Index: Acnitmtd1DuYc03pQiGu1i9HcHMZWAAG5/dg X-Source-IP: abhmt003.oracle.com [141.146.116.12] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090202.4A23FE81.0148:SCFSTAT5015188,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) 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:111252 Archived-At: > > 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. ;-)