GNU bug report logs - #18447
24.3; transfer case doesn't work in some instances

Previous Next

Package: emacs;

Reported by: Randy Yates <yates <at> digitalsignallabs.com>

Date: Wed, 10 Sep 2014 17:19:02 UTC

Severity: normal

Found in version 24.3

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


Message #13 received at 18447-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 18447-done <at> debbugs.gnu.org, Randy Yates <yates <at> digitalsignallabs.com>
Subject: Re: bug#18447: 24.3; transfer case doesn't work in some instances
Date: Mon, 30 Sep 2019 04:48:09 +0200
Paul Eggert <eggert <at> cs.ucla.edu> writes:

> 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.

I think that there is no bug here, and we have seen no further comments
in 5 years.  I'm therefore closing this bug.  If that's incorrect,
please reopen the bug report.

Best regards,
Stefan Kangas




This bug report was last modified 5 years and 231 days ago.

Previous Next


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