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

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

bug#18447: 24.3; transfer case doesn't work in some instances


From: Paul Eggert
Subject: bug#18447: 24.3; transfer case doesn't work in some instances
Date: Sun, 28 Sep 2014 17:45:49 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2

Thanks for the bug report. As near as I can make out, Emacs is behaving according to spec, as the documentation for replace-match says:

"If the replaced text has only capital letters and has at least one multiletter word, convert NEWTEXT to all caps. Otherwise if all words are capitalized in the replaced text, capitalize each word in NEWTEXT."

Here neither condition applies so there's no case conversion. This is how replace-match has behaved for a couple of decades. Perhaps it'd be useful to have a variant that behaves differently, but I expect we'd have to make that an upward-compatible change somehow.





reply via email to

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