bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#63438: 30.0.50; abbrev mode wrongly capitalizes with mixed capitaliz


From: Daniel Fleischer
Subject: bug#63438: 30.0.50; abbrev mode wrongly capitalizes with mixed capitalized words
Date: Thu, 11 May 2023 14:03:43 +0300
User-agent: mu4e 1.11.4; emacs 30.0.50

Eli Zaretskii [2023-05-11 Thu 13:39]  wrote:

> I guess there's a place for a new defcustom, under which no
> case-conversion will happen at abbrev expansion time, ever.  Is that
> what you want?  That is, if you have an abbrev foo -> foobarical, then
> typing "Foo" or "FOO" will produce a literal "foobarical", each and
> every time?

I think even simpler: make sure abbrev insertion only works when the
input word is strictly (case sensitive) different than the expansion
word; leave everything else as is.

Example: with a rule like "foobarical -> fooBarical" then 

Foobarical -> FooBarical (as is today)
FOOBARICAL -> FOOBARICAL (as is today)

but fooBarical -> fooBarical, because it's already what we want. 

reply via email to

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