emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Abbrev suggestions - feedback appreciated


From: Stefan Monnier
Subject: Re: Abbrev suggestions - feedback appreciated
Date: Sat, 07 Oct 2017 18:44:56 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> 2. Having this be controlled by some property of abbrev tables and/or
> abbrevs themselves would be ideal, similar to the case-fixed property.
> That way the expansions of auto-correct[1] and captain[2] abbrevs won't nag
> people all the time.
>
> [1] https://elpa.gnu.org/packages/auto-correct.html
> [2] https://elpa.gnu.org/packages/captain.html

For Captain, the abbrev and its "expansion" should have the same length,
so absug-hint-threshold should already skip them.

For auto-correct, it might be the case that the wrong spelling is
shorter by absug-hint-threshold, but then you could also argue that if
you often misspell a word and it gets auto-corrected and the wrong
spelling is shorter, you might take it as a feature and consciously use
the shorter/wrong spelling and rely on the abbrev to auto correct it.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]