Subject: Re: bug#63438: 30.0.50; abbrev mode wrongly capitalizes with mixed capitalized words

From: Daniel Fleischer <[email-masked]>
Date: Thu, 11 May 2023 14:03:43 +0300

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.