unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#49637: abbrev-suggest does not hint in echo area
       [not found] <ded19343-e805-6075-adf0-1a3fbff93a7a.ref@verizon.net>
@ 2021-07-19  1:05 ` Charles Millar via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2021-07-19 12:59   ` Lars Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: Charles Millar via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2021-07-19  1:05 UTC (permalink / raw)
  To: 49637

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





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

* bug#49637: abbrev-suggest does not hint in echo area
  2021-07-19  1:05 ` bug#49637: abbrev-suggest does not hint in echo area Charles Millar via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2021-07-19 12:59   ` Lars Ingebrigtsen
  2021-07-19 21:04     ` Charles Millar via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 4+ messages in thread
From: Lars Ingebrigtsen @ 2021-07-19 12:59 UTC (permalink / raw)
  To: Charles Millar; +Cc: 49637

Charles Millar <millarc@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





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

* bug#49637: abbrev-suggest does not hint in echo area
  2021-07-19 12:59   ` Lars Ingebrigtsen
@ 2021-07-19 21:04     ` Charles Millar via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2021-07-20 11:54       ` Lars Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: Charles Millar via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2021-07-19 21:04 UTC (permalink / raw)
  To: 49637

On 7/19/21 8:59 AM, Lars Ingebrigtsen wrote:
> Charles Millar <millarc@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.





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

* bug#49637: abbrev-suggest does not hint in echo area
  2021-07-19 21:04     ` Charles Millar via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2021-07-20 11:54       ` Lars Ingebrigtsen
  0 siblings, 0 replies; 4+ messages in thread
From: Lars Ingebrigtsen @ 2021-07-20 11:54 UTC (permalink / raw)
  To: 49637; +Cc: Charles Millar

Charles Millar via "Bug reports for GNU Emacs, the Swiss army knife of
text editors" <bug-gnu-emacs@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





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

end of thread, other threads:[~2021-07-20 11:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <ded19343-e805-6075-adf0-1a3fbff93a7a.ref@verizon.net>
2021-07-19  1:05 ` bug#49637: abbrev-suggest does not hint in echo area Charles Millar via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-07-19 12:59   ` Lars Ingebrigtsen
2021-07-19 21:04     ` Charles Millar via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-07-20 11:54       ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).