unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: [Emacs-diffs] /srv/bzr/emacs/trunk r108407: textmodex/{ispell, flyspell}.el: Decrease XEmacs incompatibilities.
       [not found] <E1SZ2dG-0001ug-Rp@vcs.savannah.gnu.org>
@ 2012-05-30 14:33 ` Juanma Barranquero
  2012-05-30 15:20   ` Agustin Martin
  0 siblings, 1 reply; 2+ messages in thread
From: Juanma Barranquero @ 2012-05-30 14:33 UTC (permalink / raw)
  To: Agustin Martin; +Cc: Emacs developers

On Mon, May 28, 2012 at 6:11 PM, Agustin Martin
<agustin.martin@hispalinux.es> wrote:
> ------------------------------------------------------------
> revno: 108407
> committer: Agustin Martin <agustin.martin@hispalinux.es>
> branch nick: trunk
> timestamp: Mon 2012-05-28 18:11:15 +0200
> message:
>  textmodex/{ispell,flyspell}.el: Decrease XEmacs incompatibilities.

>  * ispell.el:
>    (ispell-with-no-warnings): XEmacs alternative `with-no-warnings'
>    definition or Emacs alias.

That does not avoid warnings on Emacs, likely because with-no-warnings
is dealt specially by the bytecompiler.

  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-prefix'

  In end of data:
  ispell.el:4048:1:Warning: the function `sc-cite-regexp' is not known to be
      defined.


    Juanma



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Emacs-diffs] /srv/bzr/emacs/trunk r108407: textmodex/{ispell, flyspell}.el: Decrease XEmacs incompatibilities.
  2012-05-30 14:33 ` [Emacs-diffs] /srv/bzr/emacs/trunk r108407: textmodex/{ispell, flyspell}.el: Decrease XEmacs incompatibilities Juanma Barranquero
@ 2012-05-30 15:20   ` Agustin Martin
  0 siblings, 0 replies; 2+ messages in thread
From: Agustin Martin @ 2012-05-30 15:20 UTC (permalink / raw)
  To: Emacs developers

On Wed, May 30, 2012 at 04:33:07PM +0200, Juanma Barranquero wrote:
> On Mon, May 28, 2012 at 6:11 PM, Agustin Martin
> <agustin.martin@hispalinux.es> wrote:
> > ------------------------------------------------------------
> > revno: 108407
> > committer: Agustin Martin <agustin.martin@hispalinux.es>
> > branch nick: trunk
> > timestamp: Mon 2012-05-28 18:11:15 +0200
> > message:
> >  textmodex/{ispell,flyspell}.el: Decrease XEmacs incompatibilities.
> 
> >  * ispell.el:
> >    (ispell-with-no-warnings): XEmacs alternative `with-no-warnings'
> >    definition or Emacs alias.
> 
> That does not avoid warnings on Emacs, likely because with-no-warnings
> is dealt specially by the bytecompiler.
> 
>   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-prefix'
> 
>   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. 

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))

-- 
Agustin



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-05-30 15:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E1SZ2dG-0001ug-Rp@vcs.savannah.gnu.org>
2012-05-30 14:33 ` [Emacs-diffs] /srv/bzr/emacs/trunk r108407: textmodex/{ispell, flyspell}.el: Decrease XEmacs incompatibilities Juanma Barranquero
2012-05-30 15:20   ` Agustin Martin

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).