GNU bug report logs - #63438
30.0.50; abbrev mode wrongly capitalizes with mixed capitalized words

Previous Next

Package: emacs;

Reported by: Daniel Fleischer <danflscr <at> gmail.com>

Date: Thu, 11 May 2023 07:11:01 UTC

Severity: wishlist

Found in version 30.0.50

Full log


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

From: Daniel Fleischer <danflscr <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 63438 <at> debbugs.gnu.org
Subject: Re: bug#63438: 30.0.50; abbrev mode wrongly capitalizes with mixed
 capitalized words
Date: Thu, 11 May 2023 14:03:43 +0300
[Message part 1 (text/plain, inline)]
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. 

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

Previous Next


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