GNU bug report logs -
#55946
29.0.50; minibuffer-mode lacks an abbrev table
Previous Next
Reported by: Sean Whitton <spwhitton <at> spwhitton.name>
Date: Mon, 13 Jun 2022 16:39:02 UTC
Severity: normal
Found in version 29.0.50
Done: Sean Whitton <spwhitton <at> spwhitton.name>
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 55946 in the body.
You can then email your comments to 55946 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#55946
; Package
emacs
.
(Mon, 13 Jun 2022 16:39:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Sean Whitton <spwhitton <at> spwhitton.name>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Mon, 13 Jun 2022 16:39:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hello,
I'd like to define an abbrev for minibuffer-mode but it doesn't have an
abbrev table. There's a comment in minibuffer.el saying that this is
because abbrev.el is not loaded early enough. It would be useful to
have the abbrev table for this mode too.
--
Sean Whitton
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#55946
; Package
emacs
.
(Mon, 13 Jun 2022 17:05:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 55946 <at> debbugs.gnu.org (full text, mbox):
> From: Sean Whitton <spwhitton <at> spwhitton.name>
> Date: Mon, 13 Jun 2022 11:38:43 -0500
>
> I'd like to define an abbrev for minibuffer-mode but it doesn't have an
> abbrev table. There's a comment in minibuffer.el saying that this is
> because abbrev.el is not loaded early enough.
AFAICT, we only invoke this mode from C if it is fboundp. So maybe
try changing that, and see if both a bootstrap and a simple build run
to completion OK.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#55946
; Package
emacs
.
(Mon, 13 Jun 2022 17:36:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 55946 <at> debbugs.gnu.org (full text, mbox):
Hello,
On Mon 13 Jun 2022 at 08:04PM +03, Eli Zaretskii wrote:
>> From: Sean Whitton <spwhitton <at> spwhitton.name>
>> Date: Mon, 13 Jun 2022 11:38:43 -0500
>>
>> I'd like to define an abbrev for minibuffer-mode but it doesn't have an
>> abbrev table. There's a comment in minibuffer.el saying that this is
>> because abbrev.el is not loaded early enough.
>
> AFAICT, we only invoke this mode from C if it is fboundp. So maybe
> try changing that, and see if both a bootstrap and a simple build run
> to completion OK.
Thanks. I see what you mean. Tested both of those and it works. Shall
I push to master so it can receive wider testing?
--
Sean Whitton
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#55946
; Package
emacs
.
(Mon, 13 Jun 2022 17:51:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 55946 <at> debbugs.gnu.org (full text, mbox):
> From: Sean Whitton <spwhitton <at> spwhitton.name>
> Cc: 55946 <at> debbugs.gnu.org
> Date: Mon, 13 Jun 2022 12:35:43 -0500
>
> >> I'd like to define an abbrev for minibuffer-mode but it doesn't have an
> >> abbrev table. There's a comment in minibuffer.el saying that this is
> >> because abbrev.el is not loaded early enough.
> >
> > AFAICT, we only invoke this mode from C if it is fboundp. So maybe
> > try changing that, and see if both a bootstrap and a simple build run
> > to completion OK.
>
> Thanks. I see what you mean. Tested both of those and it works. Shall
> I push to master so it can receive wider testing?
Let's see what Stefan thinks about this.
Stefan, any comments?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#55946
; Package
emacs
.
(Mon, 13 Jun 2022 21:27:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 55946 <at> debbugs.gnu.org (full text, mbox):
>> >> I'd like to define an abbrev for minibuffer-mode but it doesn't have an
>> >> abbrev table. There's a comment in minibuffer.el saying that this is
>> >> because abbrev.el is not loaded early enough.
>> >
>> > AFAICT, we only invoke this mode from C if it is fboundp. So maybe
>> > try changing that, and see if both a bootstrap and a simple build run
>> > to completion OK.
>>
>> Thanks. I see what you mean. Tested both of those and it works. Shall
>> I push to master so it can receive wider testing?
>
> Let's see what Stefan thinks about this.
> Stefan, any comments?
I couldn't find the corresponding patch, so I don't know what to say.
The comment only refers to defining an abbrev table while loading
`minibuffer.el` because `minibuffer.el` was loaded by `abbrev.el`.
But AFAICT nowadays `abbrev.el` is loaded before `minibuffer.el`, so the
problem seems to have disappeared.
Stefan
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#55946
; Package
emacs
.
(Mon, 13 Jun 2022 22:28:01 GMT)
Full text and
rfc822 format available.
Message #20 received at 55946 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hello,
On Mon 13 Jun 2022 at 05:26PM -04, Stefan Monnier wrote:
>>> >> I'd like to define an abbrev for minibuffer-mode but it doesn't have an
>>> >> abbrev table. There's a comment in minibuffer.el saying that this is
>>> >> because abbrev.el is not loaded early enough.
>>> >
>>> > AFAICT, we only invoke this mode from C if it is fboundp. So maybe
>>> > try changing that, and see if both a bootstrap and a simple build run
>>> > to completion OK.
>>>
>>> Thanks. I see what you mean. Tested both of those and it works. Shall
>>> I push to master so it can receive wider testing?
>>
>> Let's see what Stefan thinks about this.
>> Stefan, any comments?
>
> I couldn't find the corresponding patch, so I don't know what to say.
Just the attached simple change.
> The comment only refers to defining an abbrev table while loading
> `minibuffer.el` because `minibuffer.el` was loaded by `abbrev.el`.
> But AFAICT nowadays `abbrev.el` is loaded before `minibuffer.el`, so the
> problem seems to have disappeared.
Cool.
--
Sean Whitton
[0001-Add-abbrev-tables-for-minibuffer-mode-and-minibuffer.patch (text/x-patch, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#55946
; Package
emacs
.
(Tue, 14 Jun 2022 01:41:01 GMT)
Full text and
rfc822 format available.
Message #23 received at 55946 <at> debbugs.gnu.org (full text, mbox):
>> I couldn't find the corresponding patch, so I don't know what to say.
> Just the attached simple change.
Looks fine to me, thanks,
Stefan
Reply sent
to
Sean Whitton <spwhitton <at> spwhitton.name>
:
You have taken responsibility.
(Tue, 14 Jun 2022 19:40:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Sean Whitton <spwhitton <at> spwhitton.name>
:
bug acknowledged by developer.
(Tue, 14 Jun 2022 19:40:02 GMT)
Full text and
rfc822 format available.
Message #28 received at 55946-done <at> debbugs.gnu.org (full text, mbox):
Hello,
On Mon 13 Jun 2022 at 09:40PM -04, Stefan Monnier wrote:
>>> I couldn't find the corresponding patch, so I don't know what to say.
>> Just the attached simple change.
>
> Looks fine to me, thanks,
Thanks, pushed. I don't believe this needs a NEWS entry, but happy to
write one if others thing otherwise.
--
Sean Whitton
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#55946
; Package
emacs
.
(Wed, 15 Jun 2022 08:55:01 GMT)
Full text and
rfc822 format available.
Message #31 received at 55946 <at> debbugs.gnu.org (full text, mbox):
>>>>> On Tue, 14 Jun 2022 14:38:43 -0500, Sean Whitton <spwhitton <at> spwhitton.name> said:
Sean> Hello,
Sean> On Mon 13 Jun 2022 at 09:40PM -04, Stefan Monnier wrote:
>>>> I couldn't find the corresponding patch, so I don't know what to say.
>>> Just the attached simple change.
>>
>> Looks fine to me, thanks,
Sean> Thanks, pushed. I don't believe this needs a NEWS entry, but happy to
Sean> write one if others thing otherwise.
Itʼs a new feature (in a sense) so announcing it would be nice.
Robert
--
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 13 Jul 2022 11:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 341 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.