GNU bug report logs -
#53646
27.2; auto-insert-mode causes interactive prompt for update-directory-autoloads
Previous Next
Reported by: Allen Li <darkfeline <at> felesatra.moe>
Date: Mon, 31 Jan 2022 01:07:01 UTC
Severity: normal
Tags: moreinfo
Found in version 27.2
Done: Allen Li <darkfeline <at> felesatra.moe>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 53646 in the body.
You can then email your comments to 53646 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#53646
; Package
emacs
.
(Mon, 31 Jan 2022 01:07:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Allen Li <darkfeline <at> felesatra.moe>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Mon, 31 Jan 2022 01:07:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
When `auto-insert-mode` is enabled, `update-directory-autoloads` causes an
interactive prompt to appear for inserting an Emacs Lisp header.
This is because `update-directory-autoloads` calls
`autoload-find-generated-file`, which uses `find-file-noselect`.
Arguably, it's wrong to use `find-file-noselect` programmaticaly
(https://emacs.stackexchange.com/a/2898), but I understand that
`find-file-noselect` does some convenient magic like decoding. A quick
hacky fix would be to `let`-bind `auto-insert` to nil in
`autoload-find-generated-file`.
In GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.27, cairo version 1.17.4)
of 2021-03-26 built on juergen
Windowing system distributor 'The X.Org Foundation', version 11.0.12101003
System Description: Arch Linux
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#53646
; Package
emacs
.
(Mon, 31 Jan 2022 15:45:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 53646 <at> debbugs.gnu.org (full text, mbox):
Allen Li <darkfeline <at> felesatra.moe> writes:
> When `auto-insert-mode` is enabled, `update-directory-autoloads` causes an
> interactive prompt to appear for inserting an Emacs Lisp header.
>
> This is because `update-directory-autoloads` calls
> `autoload-find-generated-file`, which uses `find-file-noselect`.
I think this was fixed for Emacs 28 -- would it be possible for you to
try building that and see whether the problem is still present there?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Added tag(s) moreinfo.
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Mon, 31 Jan 2022 15:45:02 GMT)
Full text and
rfc822 format available.
Reply sent
to
Allen Li <darkfeline <at> felesatra.moe>
:
You have taken responsibility.
(Wed, 09 Feb 2022 07:55:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Allen Li <darkfeline <at> felesatra.moe>
:
bug acknowledged by developer.
(Wed, 09 Feb 2022 07:55:01 GMT)
Full text and
rfc822 format available.
Message #15 received at 53646-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Yep, it looks like it's fixed, thanks.
On Mon, Jan 31, 2022 at 7:44 AM Lars Ingebrigtsen <larsi <at> gnus.org> wrote:
> Allen Li <darkfeline <at> felesatra.moe> writes:
>
> > When `auto-insert-mode` is enabled, `update-directory-autoloads` causes
> an
> > interactive prompt to appear for inserting an Emacs Lisp header.
> >
> > This is because `update-directory-autoloads` calls
> > `autoload-find-generated-file`, which uses `find-file-noselect`.
>
> I think this was fixed for Emacs 28 -- would it be possible for you to
> try building that and see whether the problem is still present there?
>
> --
> (domestic pets only, the antidote for overdose, milk.)
> bloggy blog: http://lars.ingebrigtsen.no
>
[Message part 2 (text/html, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 09 Mar 2022 12:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 3 years and 97 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.