unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Niels Giesen <niels.giesen@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Capitalize letter after brace
Date: Wed, 15 Oct 2008 07:29:03 +0200	[thread overview]
Message-ID: <87iqru5sv4.fsf@gmail.com> (raw)
In-Reply-To: mailman.1086.1224046973.25473.help-gnu-emacs@gnu.org

ross@rosslaird.info (Ross A. Laird) writes:

> This is the type of thing that would take me a day to figure out on my
> own (though, probably, I could eventually figure it out), but most
> readers of this group can probably throw me a line in a few seconds:
>
> I have some index entries in my tex file that are capitalized
> \index{Capitalized} and others that are not \index{not}. I want to make
> all entries consistently capitalized. This means a search for the first
> character after the opening index brace and a change of its case. What's
> the magic formula (please...).
>

C-M-% \({.\) RET \,(upcase \1) RET


       reply	other threads:[~2008-10-15  5:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1086.1224046973.25473.help-gnu-emacs@gnu.org>
2008-10-15  5:29 ` Niels Giesen [this message]
2008-10-15  5:02 Capitalize letter after brace Ross A. Laird
2008-10-15  5:28 ` Andrea Vettorello
2008-10-15  5:44   ` Ross A. Laird

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=87iqru5sv4.fsf@gmail.com \
    --to=niels.giesen@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.
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).