GNU bug report logs - #49637
abbrev-suggest does not hint in echo area

Previous Next

Package: emacs;

Reported by: Charles Millar <millarc <at> verizon.net>

Date: Mon, 19 Jul 2021 08:38:01 UTC

Severity: normal

Tags: moreinfo

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

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 49637 in the body.
You can then email your comments to 49637 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#49637; Package emacs. (Mon, 19 Jul 2021 08:38:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Charles Millar <millarc <at> verizon.net>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 19 Jul 2021 08:38:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Charles Millar <millarc <at> verizon.net>
To: bug-gnu-emacs <at> gnu.org
Subject: abbrev-suggest does not hint in echo area
Date: Sun, 18 Jul 2021 21:05:57 -0400
I posted the following message to help-gnu-emacs and should demonstrate 
the possible bug. (Please note that I made one minor correction, i.e.- 
"buffer" instead of "butter."

> emacs version GNU Emacs 28.0.50 (build 344, x86_64-pc-linux-gnu, GTK+
> Version 3.24.23, cairo version 1.16.0) of 2020-12-31
>
> I have a buffer "learnabbrev.txt" open with abbrev-mode enabled,
>
> and in my init file,
>
> (setq abbrev-suggest t)
> (setq abbrev-suggest-hint-threshold 0).
>
> My (global-abbrev-table) includes:
>
> "foo"           1    "find outer otter"
>
> (I checked to make sure that foo expanded to "find outer otter.")
>
> When I start to enter "find outer otter," and no matter how many
> letters I enter, including the entire phrase, there are no suggestions
> in the echo area.
>
> If I understand the info entries for abbrev-suggest and
> abbrev-suugest-hint-threshold, should not a hint show in the echo
> area, even after I type the first "f?"

Best,

Charlie Millar




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#49637; Package emacs. (Mon, 19 Jul 2021 13:00:02 GMT) Full text and rfc822 format available.

Message #8 received at 49637 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Charles Millar <millarc <at> verizon.net>
Cc: 49637 <at> debbugs.gnu.org
Subject: Re: bug#49637: abbrev-suggest does not hint in echo area
Date: Mon, 19 Jul 2021 14:59:06 +0200
Charles Millar <millarc <at> verizon.net> writes:

>> (setq abbrev-suggest t)
>> (setq abbrev-suggest-hint-threshold 0).
>>
>> My (global-abbrev-table) includes:
>>
>> "foo"           1    "find outer otter"
>>
>> (I checked to make sure that foo expanded to "find outer otter.")
>>
>> When I start to enter "find outer otter," and no matter how many
>> letters I enter, including the entire phrase, there are no suggestions
>> in the echo area.

It'll only give you a suggestion once you've typed the entire phrase --
it doesn't know whether you're going to write something else, after all.

And it seems to work find for be -- after I've typed "find outer otter"
(and a bit more), I get a message saying "You can write ‘find outer
otter’ using the abbrev ‘bar’."  (But you have to let Emacs idle before
getting the message.)

So I'm unable to reproduce this problem in Emacs 28.

-- 
(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, 19 Jul 2021 13:00:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#49637; Package emacs. (Mon, 19 Jul 2021 21:05:01 GMT) Full text and rfc822 format available.

Message #13 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Charles Millar <millarc <at> verizon.net>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#49637: abbrev-suggest does not hint in echo area
Date: Mon, 19 Jul 2021 17:04:27 -0400
On 7/19/21 8:59 AM, Lars Ingebrigtsen wrote:
> Charles Millar <millarc <at> verizon.net> writes:
> 
>>> (setq abbrev-suggest t)
>>> (setq abbrev-suggest-hint-threshold 0).
>>>
>>> My (global-abbrev-table) includes:
>>>
>>> "foo"           1    "find outer otter"
>>>
>>> (I checked to make sure that foo expanded to "find outer otter.")
>>>
>>> When I start to enter "find outer otter," and no matter how many
>>> letters I enter, including the entire phrase, there are no suggestions
>>> in the echo area.
> 
> It'll only give you a suggestion once you've typed the entire phrase --
> it doesn't know whether you're going to write something else, after all.
> 

OK. I misunderstood the documentation.

> And it seems to work find for be -- after I've typed "find outer otter"
> (and a bit more), I get a message saying "You can write ‘find outer
> otter’ using the abbrev ‘bar’."  (But you have to let Emacs idle before
> getting the message.)
> 
> So I'm unable to reproduce this problem in Emacs 28.
> 

Thank you.

Previously I entered the phrase plus a space, but obviously not wait 
long enough for the hint to appear.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#49637; Package emacs. (Tue, 20 Jul 2021 11:55:02 GMT) Full text and rfc822 format available.

Message #16 received at 49637 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: 49637 <at> debbugs.gnu.org
Cc: Charles Millar <millarc <at> verizon.net>
Subject: Re: bug#49637: abbrev-suggest does not hint in echo area
Date: Tue, 20 Jul 2021 13:54:37 +0200
Charles Millar via "Bug reports for GNU Emacs, the Swiss army knife of
text editors" <bug-gnu-emacs <at> gnu.org> writes:

> OK. I misunderstood the documentation.

No prob.  I'm closing this bug report, then.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug closed, send any further explanations to 49637 <at> debbugs.gnu.org and Charles Millar <millarc <at> verizon.net> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Tue, 20 Jul 2021 11:55:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 18 Aug 2021 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 223 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.