From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Agustin Martin Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] /srv/bzr/emacs/trunk r108407: textmodex/{ispell, flyspell}.el: Decrease XEmacs incompatibilities. Date: Wed, 30 May 2012 17:20:06 +0200 Message-ID: <20120530152006.GA16796@agmartin.aq.upm.es> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1338391231 25386 80.91.229.3 (30 May 2012 15:20:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 30 May 2012 15:20:31 +0000 (UTC) To: Emacs developers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 30 17:20:30 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SZkhJ-0002NL-FU for ged-emacs-devel@m.gmane.org; Wed, 30 May 2012 17:20:29 +0200 Original-Received: from localhost ([::1]:36921 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZkhJ-0005Er-5z for ged-emacs-devel@m.gmane.org; Wed, 30 May 2012 11:20:29 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:40351) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZkhB-0005Db-CT for emacs-devel@gnu.org; Wed, 30 May 2012 11:20:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SZkh5-000513-RG for emacs-devel@gnu.org; Wed, 30 May 2012 11:20:20 -0400 Original-Received: from fibonacci.ccupm.upm.es ([138.100.198.70]:41764 helo=smtp.upm.es) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZkh5-0004zE-Gn for emacs-devel@gnu.org; Wed, 30 May 2012 11:20:15 -0400 Original-Received: from agmartin.aq.upm.es (Agmartin.aq.upm.es [138.100.41.131]) by smtp.upm.es (8.14.3/8.14.3/fibonacci-001) with ESMTP id q4UFK6k5006542; Wed, 30 May 2012 17:20:06 +0200 Original-Received: by agmartin.aq.upm.es (Postfix, from userid 1000) id AA7C637F; Wed, 30 May 2012 17:20:06 +0200 (CEST) Mail-Followup-To: Emacs developers Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-MIME-Autoconverted: from 8bit to quoted-printable by smtp.upm.es id q4UFK6k5006542 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 138.100.198.70 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:150689 Archived-At: On Wed, May 30, 2012 at 04:33:07PM +0200, Juanma Barranquero wrote: > On Mon, May 28, 2012 at 6:11 PM, Agustin Martin > wrote: > > ------------------------------------------------------------ > > revno: 108407 > > committer: Agustin Martin > > branch nick: trunk > > timestamp: Mon 2012-05-28 18:11:15 +0200 > > message: > > =A0textmodex/{ispell,flyspell}.el: Decrease XEmacs incompatibilities. >=20 > > =A0* ispell.el: > > =A0 =A0(ispell-with-no-warnings): XEmacs alternative `with-no-warning= s' > > =A0 =A0definition or Emacs alias. >=20 > That does not avoid warnings on Emacs, likely because with-no-warnings > is dealt specially by the bytecompiler. >=20 > In ispell-message: > ispell.el:3733:49:Warning: reference to free variable > `sc-reference-tag-string' > ispell.el:3738:48:Warning: reference to free variable > `message-cite-prefix-regexp' > ispell.el:3744:49:Warning: reference to free variable `mh-ins-buf-pre= fix' >=20 > In end of data: > ispell.el:4048:1:Warning: the function `sc-cite-regexp' is not known = to be > defined. Thanks for the info, did not notice that I byte compiled with byte-compile-warnings nil. Now I see even another couple of obsolete interactive-p uses.=20 Macro definition taken from orgmode seems to do a better job (defmacro ispell-with-no-warnings (&rest body) (cons (if (fboundp 'with-no-warnings) 'with-no-warnings 'progn) body)) --=20 Agustin