From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: S Boucher Newsgroups: gmane.emacs.help Subject: Re: Upgrading suggestions Date: Tue, 4 Oct 2011 13:32:16 -0700 (PDT) Message-ID: <1317760336.80462.YahooMailNeo@web161610.mail.bf1.yahoo.com> References: Reply-To: S Boucher NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1317760350 25949 80.91.229.12 (4 Oct 2011 20:32:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 4 Oct 2011 20:32:30 +0000 (UTC) To: Perry Smith , help-gnu-emacs List Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 04 22:32:22 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RBBf4-0000QO-GR for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Oct 2011 22:32:22 +0200 Original-Received: from localhost ([::1]:57150 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBBf3-0001GR-Vz for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Oct 2011 16:32:21 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:48159) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBBf0-0001GK-1Y for help-gnu-emacs@gnu.org; Tue, 04 Oct 2011 16:32:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RBBez-0002Rc-6Z for help-gnu-emacs@gnu.org; Tue, 04 Oct 2011 16:32:18 -0400 Original-Received: from nm22-vm0.bullet.mail.bf1.yahoo.com ([98.139.212.126]:43956) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1RBBey-0002RX-Vw for help-gnu-emacs@gnu.org; Tue, 04 Oct 2011 16:32:17 -0400 Original-Received: from [98.139.212.150] by nm22.bullet.mail.bf1.yahoo.com with NNFMP; 04 Oct 2011 20:32:16 -0000 Original-Received: from [98.139.212.193] by tm7.bullet.mail.bf1.yahoo.com with NNFMP; 04 Oct 2011 20:32:16 -0000 Original-Received: from [127.0.0.1] by omp1002.mail.bf1.yahoo.com with NNFMP; 04 Oct 2011 20:32:16 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 561142.49606.bm@omp1002.mail.bf1.yahoo.com Original-Received: (qmail 92265 invoked by uid 60001); 4 Oct 2011 20:32:16 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1317760336; bh=HNJKboAc9Ho4WduwzRnfC068+ClSwqDfvj6kstB39vM=; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=qauSRGms46iZx9VdXB7ZCYLUamj0gGGr1X+TaxFMRmibmux5fcHjcWmP1a0xazQXkzh5qjUYKGPFdS4u6yzU/I3G4SwFjJiKk3njIpuMhbzdrVVqW9AFUicr3hSG0bYFfWYl559g0tcRem0WujMY2sKAhKjoHCGKU7P+32Y7ha0= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Hw/tvVoG7lGjTqfGiq2sLgZsL6VnwP6T1/d/l+FVYTsr2Id3pQQ0lgB27ipeMT9SSJGOc4Stdmf+iSiM2XKe+eVuGvOnSRm377FALw4b6MBKw/LAJhc0QV4hx+kWjMv8rWt7WphYic7S/hlcBvhVjr9fQItyKPv41fr/AE/SF0Q=; X-YMail-OSG: nZKxPf0VM1kV5knWHrXtU_wqv0MrBBiehwDLbIobq4wC9BU b3cnw69pg_mxOT6inHKdysSpIvof6Kgdt52qC81aC9wD0bbgQoyf4P.ZM_D4 sz9te9aV6pL9qfwOgCB34COdC3IEjEQWV5.TO1iA9PF1jIpVEJ4NM3yPYh5J P55F1S4RyYRZkTUeh5_KBFXnI4cenFyOhil5ojvtUsK3FHBeKoOcJ.k_WfTR jWoZNbQ8DSa3PIQfUrBm30hBkNq7t5hyEKEnoJnvagO1q25WNiTDV3oYB1vD K8AlBnV8wVwi06xR.30kUSoGwatyytHyW48KVZjg5u78I6y6Q55KG1qF9zJU jIypJBZlQofsE9QSXPr_z8SPul_z5PmZh7Z6.6JUkraAvugF30zoALJsb.6x DVnxukB4loQR2gPsoZhJJ_hmqRglnKmrbiktPw607f.RwYauFAhzMwfMZg92 7EQ-- Original-Received: from [209.5.112.166] by web161610.mail.bf1.yahoo.com via HTTP; Tue, 04 Oct 2011 13:32:16 PDT X-Mailer: YahooMailWebService/0.8.114.317681 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 98.139.212.126 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:82466 Archived-At: =0A=0A=0A=0A----- Original Message -----=0A=0A> How do others, when moving = up to a new level of emacs, deal with this?=0A=0AI add tests based on emacs= -major-version and emacs-minor-version.=A0 For example, if I overwrite/clob= ber a particular defun (like I've done for vc-git), I add a check on the ve= rsion that will throw me an error if I run in a version of emacs I've yet t= o use.=A0 This way, I know I have to go back and review whether I still nee= d the hack or not.=0A=0A(if (not (and (=3D emacs-major-version 23) (=3D ema= cs-minor-version 2)))=0A=A0 (error "....")=0A=A0 (defun ....))=0A