all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Byte compiler say an autoloaded function "might not be defined at runtime", why?
@ 2008-12-28 16:01 Lennart Borgman
  2008-12-30 20:12 ` Stefan Monnier
  0 siblings, 1 reply; 3+ messages in thread
From: Lennart Borgman @ 2008-12-28 16:01 UTC (permalink / raw)
  To: Emacs Devel

When I byte compile a file with an autoload

  ;;;###autoload
 (define-minor-mode nxml-where-mode

the byte compiler says

  nxml-where.el:691:1:Warning: the following functions might not be
defined at runtime:
      nxml-where-mode

I think it wants to tell me something, but what? Does it want me to do
something?




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

* Re: Byte compiler say an autoloaded function "might not be defined at runtime", why?
  2008-12-28 16:01 Byte compiler say an autoloaded function "might not be defined at runtime", why? Lennart Borgman
@ 2008-12-30 20:12 ` Stefan Monnier
  2008-12-30 23:38   ` Lennart Borgman
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Monnier @ 2008-12-30 20:12 UTC (permalink / raw)
  To: Lennart Borgman; +Cc: Emacs Devel

> When I byte compile a file with an autoload
>   ;;;###autoload
>  (define-minor-mode nxml-where-mode
> the byte compiler says
>   nxml-where.el:691:1:Warning: the following functions might not be defined
>       at runtime: nxml-where-mode
> I think it wants to tell me something, but what? Does it want me to do
> something?

I just tried to byte-compile a file that contains just

   ;;;###autoload
   (define-minor-mode nxml-where-mode "asdg" :init-value nil
     (toto))

and I saw no such warning.


        Stefan




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

* Re: Byte compiler say an autoloaded function "might not be defined at runtime", why?
  2008-12-30 20:12 ` Stefan Monnier
@ 2008-12-30 23:38   ` Lennart Borgman
  0 siblings, 0 replies; 3+ messages in thread
From: Lennart Borgman @ 2008-12-30 23:38 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: Emacs Devel

On Tue, Dec 30, 2008 at 9:12 PM, Stefan Monnier
<monnier@iro.umontreal.ca> wrote:
>> When I byte compile a file with an autoload
>>   ;;;###autoload
>>  (define-minor-mode nxml-where-mode
>> the byte compiler says
>>   nxml-where.el:691:1:Warning: the following functions might not be defined
>>       at runtime: nxml-where-mode
>> I think it wants to tell me something, but what? Does it want me to do
>> something?
>
> I just tried to byte-compile a file that contains just
>
>   ;;;###autoload
>   (define-minor-mode nxml-where-mode "asdg" :init-value nil
>     (toto))
>
> and I saw no such warning.

Same for me, but I see these warnings when I byte-compile nXhtml. I
tried to track it down, but failed so far. It is reproducable though.
Load nXhtml and do

   M-x nxhtmlmaint-start-byte-compilation




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

end of thread, other threads:[~2008-12-30 23:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-28 16:01 Byte compiler say an autoloaded function "might not be defined at runtime", why? Lennart Borgman
2008-12-30 20:12 ` Stefan Monnier
2008-12-30 23:38   ` Lennart Borgman

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.