unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: David Hansen <david.hansen@gmx.net>
Subject: Re: capitalize all letters in region
Date: Mon, 23 Oct 2006 04:06:26 +0200	[thread overview]
Message-ID: <874ptvss4d.fsf@localhorst.mine.nu> (raw)
In-Reply-To: m3pscjkg4i.fsf@localhost.localdomain

On 23 Oct 2006 10:52:45 +1000 Gary Wessle wrote:

> Hi
>
> I tried capitalize-region but it only capitalized the first letter of
> a group of letters. but I want it to change
> abc/def to ABC/DEF
>
> how is this done?

upcase-region is an interactive built-in function in `C source code'.
It is bound to C-x C-u.
(upcase-region BEG END)

Convert the region to upper case.  In programs, wants two arguments.
These arguments specify the starting and ending character numbers of
the region to operate on.  When used as a command, the text between
point and the mark is operated on.
See also `capitalize-region'.

David

  parent reply	other threads:[~2006-10-23  2:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-23  0:52 capitalize all letters in region Gary Wessle
2006-10-23  2:05 ` Hadron Quark
2006-10-23  2:06 ` David Hansen [this message]
2006-10-23  2:09 ` Magnus Henoch

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=874ptvss4d.fsf@localhorst.mine.nu \
    --to=david.hansen@gmx.net \
    /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).