unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: 18447-done@debbugs.gnu.org, Randy Yates <yates@digitalsignallabs.com>
Subject: bug#18447: 24.3; transfer case doesn't work in some instances
Date: Mon, 30 Sep 2019 04:48:09 +0200	[thread overview]
Message-ID: <CADwFkm=vim71_9hJaUrrWfdWFypY7z1hVEKTWnfpjSSBSMKiqw@mail.gmail.com> (raw)
In-Reply-To: <871trjwgg3.fsf@digitalsignallabs.com>

Paul Eggert <eggert@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





      parent reply	other threads:[~2019-09-30  2:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-10 17:09 bug#18447: 24.3; transfer case doesn't work in some instances Randy Yates
2014-09-29  0:45 ` Paul Eggert
2019-09-30  2:48 ` Stefan Kangas [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADwFkm=vim71_9hJaUrrWfdWFypY7z1hVEKTWnfpjSSBSMKiqw@mail.gmail.com' \
    --to=stefan@marxist.se \
    --cc=18447-done@debbugs.gnu.org \
    --cc=eggert@cs.ucla.edu \
    --cc=yates@digitalsignallabs.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).