unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* old-style backquotes warnings
@ 2007-09-08 10:02 Eli Zaretskii
  2007-09-09 19:34 ` Stefan Monnier
  0 siblings, 1 reply; 8+ messages in thread
From: Eli Zaretskii @ 2007-09-08 10:02 UTC (permalink / raw)
  To: emacs-devel, Stefan Monnier

Why doesn't this warning follow the format of other warnings emitted
by the byte compiler?

    Compiling progmodes/cc-subword.el
    !! File cc-vars.el uses old-style backquotes !!

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

* Re: old-style backquotes warnings
  2007-09-08 10:02 old-style backquotes warnings Eli Zaretskii
@ 2007-09-09 19:34 ` Stefan Monnier
  2007-09-09 19:52   ` Eli Zaretskii
  0 siblings, 1 reply; 8+ messages in thread
From: Stefan Monnier @ 2007-09-09 19:34 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel

> Why doesn't this warning follow the format of other warnings emitted
> by the byte compiler?

>     Compiling progmodes/cc-subword.el
>     !! File cc-vars.el uses old-style backquotes !!

Probably because I don't know what's the normal format.


        Stefan

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

* Re: old-style backquotes warnings
  2007-09-09 19:34 ` Stefan Monnier
@ 2007-09-09 19:52   ` Eli Zaretskii
  2007-09-09 20:47     ` Stefan Monnier
  0 siblings, 1 reply; 8+ messages in thread
From: Eli Zaretskii @ 2007-09-09 19:52 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: emacs-devel

> Cc: emacs-devel@gnu.org
> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Date: Sun, 09 Sep 2007 15:34:35 -0400
> 
> > Why doesn't this warning follow the format of other warnings emitted
> > by the byte compiler?
> 
> >     Compiling progmodes/cc-subword.el
> >     !! File cc-vars.el uses old-style backquotes !!
> 
> Probably because I don't know what's the normal format.

I hope this is a joke (though it's way too far from April 1st),
because I think you wrote the code that produces the normal format,
e.g.:

  In end of data:
  net/browse-url.el:1555:1:Warning: the following functions are not known to be
      defined: copy-seq, w3-fetch-other-window, w3-fetch, case, otherwise

In other words a format that `next-error' can parse.

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

* Re: old-style backquotes warnings
  2007-09-09 19:52   ` Eli Zaretskii
@ 2007-09-09 20:47     ` Stefan Monnier
  2007-09-10  1:13       ` Richard Stallman
  0 siblings, 1 reply; 8+ messages in thread
From: Stefan Monnier @ 2007-09-09 20:47 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel

>> > Why doesn't this warning follow the format of other warnings emitted
>> > by the byte compiler?
>> 
>> >     Compiling progmodes/cc-subword.el
>> >     !! File cc-vars.el uses old-style backquotes !!
>> 
>> Probably because I don't know what's the normal format.

> I hope this is a joke (though it's way too far from April 1st),
> because I think you wrote the code that produces the normal format,
> e.g.:

>   In end of data:
>   net/browse-url.el:1555:1:Warning: the following functions are not known to be
>       defined: copy-seq, w3-fetch-other-window, w3-fetch, case, otherwise

> In other words a format that `next-error' can parse.

Oh sorry, now I see it: the warning you talk about is the one from Fload (a
call to Fmessage), not the one from the byte-compiler, which is why it
doesn't follow the byte-compiler's format.


        Stefan

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

* Re: old-style backquotes warnings
  2007-09-09 20:47     ` Stefan Monnier
@ 2007-09-10  1:13       ` Richard Stallman
  2007-09-10  3:09         ` Stefan Monnier
  0 siblings, 1 reply; 8+ messages in thread
From: Richard Stallman @ 2007-09-10  1:13 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: eliz, emacs-devel

    Oh sorry, now I see it: the warning you talk about is the one from Fload (a
    call to Fmessage), not the one from the byte-compiler, which is why it
    doesn't follow the byte-compiler's format.

How about making it call byte-compile-warning when it is done
from inside the byte compiler?

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

* Re: old-style backquotes warnings
  2007-09-10  1:13       ` Richard Stallman
@ 2007-09-10  3:09         ` Stefan Monnier
  2007-09-10 23:54           ` Richard Stallman
  0 siblings, 1 reply; 8+ messages in thread
From: Stefan Monnier @ 2007-09-10  3:09 UTC (permalink / raw)
  To: rms; +Cc: eliz, emacs-devel

>     Oh sorry, now I see it: the warning you talk about is the one from
>     Fload (a call to Fmessage), not the one from the byte-compiler, which
>     is why it doesn't follow the byte-compiler's format.

> How about making it call byte-compile-warning when it is done
> from inside the byte compiler?

Is it really worth the trouble?
Check again the message carefully : it's complaining about the use of
old-style backquote in cc-vars.el while compiling the cc-subword.el file.
So it wouldn't be able to give any line-number info anyway.

Furthermore the next-error-compatible warning will be displayed when
cc-vars.el gets compiled.


        Stefan

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

* Re: old-style backquotes warnings
  2007-09-10  3:09         ` Stefan Monnier
@ 2007-09-10 23:54           ` Richard Stallman
  2007-09-11  1:15             ` Stefan Monnier
  0 siblings, 1 reply; 8+ messages in thread
From: Richard Stallman @ 2007-09-10 23:54 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: eliz, emacs-devel

    Check again the message carefully : it's complaining about the use of
    old-style backquote in cc-vars.el while compiling the cc-subword.el file.
    So it wouldn't be able to give any line-number info anyway.

I didn't understand that aspect of the problem.

How about this message instead:

   Loading `cc-vars.el': old-style backquotes detected.

That makes the relationships explicit
so that a person doesn't have to deduce them from the file names.

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

* Re: old-style backquotes warnings
  2007-09-10 23:54           ` Richard Stallman
@ 2007-09-11  1:15             ` Stefan Monnier
  0 siblings, 0 replies; 8+ messages in thread
From: Stefan Monnier @ 2007-09-11  1:15 UTC (permalink / raw)
  To: rms; +Cc: eliz, emacs-devel

> How about this message instead:

>    Loading `cc-vars.el': old-style backquotes detected.

> That makes the relationships explicit
> so that a person doesn't have to deduce them from the file names.

OK, changed,


        Stefan

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

end of thread, other threads:[~2007-09-11  1:15 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-08 10:02 old-style backquotes warnings Eli Zaretskii
2007-09-09 19:34 ` Stefan Monnier
2007-09-09 19:52   ` Eli Zaretskii
2007-09-09 20:47     ` Stefan Monnier
2007-09-10  1:13       ` Richard Stallman
2007-09-10  3:09         ` Stefan Monnier
2007-09-10 23:54           ` Richard Stallman
2007-09-11  1:15             ` Stefan Monnier

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