all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Juri Linkov <juri@linkov.net>
Cc: arash@gnu.org, emacs-devel@gnu.org
Subject: Re: master b8d4242e8bd 1/2: New user option 'shell-command-guess-functions' (bug#18132)
Date: Thu, 30 Nov 2023 19:55:30 +0200	[thread overview]
Message-ID: <83leafazxp.fsf@gnu.org> (raw)
In-Reply-To: <86sf4nrwas.fsf@mail.linkov.net> (message from Juri Linkov on Thu, 30 Nov 2023 19:22:03 +0200)

> From: Juri Linkov <juri@linkov.net>
> Cc: Arash Esbati <arash@gnu.org>,  emacs-devel@gnu.org
> Date: Thu, 30 Nov 2023 19:22:03 +0200
> 
> >>   ELC+ELN  ../lisp/simple.elc
> >> In end of data:
> >> simple.el:4286:35: Warning: the function ‘shell-command-guess’ is not
> >> known to be defined.
> >>
> >> Maybe you want to declare that function?  This is with Emacs 30
> >> (a811846879) on macOS.
> >
> > Same as previously: recompile once more, and the warning will be gone.
> >
> > There's no problem here.
> 
> I still see this warning on bootstrap:
> 
>   In end of data:
>   simple.el:4286:35: Warning: the function `shell-command-guess' is not known to be defined.
> 
> I expected that ;;;###autoload will add it to the global loaddefs.el,
> and only ;;;###dired-autoload will add it to dired-loaddefs.el.
> But actually ;;;###autoload adds it to dired-loaddefs.el.
> 
> I don't know if there is a way to override this only for one autoload:
> 
>   ;; generated-autoload-file: "dired-loaddefs.el"
> 
> Something like using ;;;###global-autoload?

Autoloading is the wrong tool for preloaded stuff.  Did you try
declare-function?



  reply	other threads:[~2023-11-30 17:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <170110663333.10282.3772392230229139487@vcs2.savannah.gnu.org>
     [not found] ` <20231127173714.78D41C36D10@vcs2.savannah.gnu.org>
2023-11-29 19:14   ` master b8d4242e8bd 1/2: New user option 'shell-command-guess-functions' (bug#18132) Arash Esbati
2023-11-30  6:08     ` Eli Zaretskii
2023-11-30 17:22       ` Juri Linkov
2023-11-30 17:55         ` Eli Zaretskii [this message]
2023-11-30 18:12           ` Juri Linkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83leafazxp.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=arash@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=juri@linkov.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.