all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: Randy Yates <yates@digitalsignallabs.com>
Cc: 18447@debbugs.gnu.org
Subject: bug#18447: 24.3; transfer case doesn't work in some instances
Date: Sun, 28 Sep 2014 17:45:49 -0700	[thread overview]
Message-ID: <5428ABBD.8090204@cs.ucla.edu> (raw)
In-Reply-To: <871trjwgg3.fsf@digitalsignallabs.com>

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	other threads:[~2014-09-29  0:45 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 [this message]
2019-09-30  2:48 ` Stefan Kangas

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

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

  git send-email \
    --in-reply-to=5428ABBD.8090204@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=18447@debbugs.gnu.org \
    --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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.