all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: John A Pershing Jr <pershing@alum.mit.edu>
To: help-gnu-emacs@gnu.org
Subject: Re: Help with upcasing words first char
Date: Sat, 22 Aug 2009 17:29:47 -0400	[thread overview]
Message-ID: <82my5rsfjo.fsf@alum.mit.edu> (raw)
In-Reply-To: f48baa3d-dd5d-4dc4-b584-f6927b43037f@c34g2000yqi.googlegroups.com

"A.Politz" <politza@googlemail.com> writes:

> I always wished emacs had some kind of interpreted, builtin language
> for such cumbersome tasks. Or at least some support for basic keyboard
> macros.  Well, whay do you do.

I assume you are being sarcastic here...

If not...  Of course, Emacs has a builtin language for such tasks.  It
also has keyboard macros, which is what I would probably use for this
task:

    C-x (   M-f M-\ M-c   C-x )

{Start macro, forward word, delete space, capitalize word, end macro}

    followed by:  C-x e

to (re-)execute the macro.

You can even save a keyboard macro into a file and reload it later, or
edit the saved macro (carefully!).  I have a gigantic keyboard macro
(for processing a particular LISTSERV digest) which grew from humble
origins to its current size.  In this case, it's much easier to keep it
as a keyboard macro rather than transliterating it into elisp.

  -jp


  parent reply	other threads:[~2009-08-22 21:29 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-22 15:46 Help with upcasing words first char Harry Putnam
2009-08-22 18:40 ` Harry Putnam
2009-08-24 13:01   ` Harry Putnam
     [not found] ` <mailman.5160.1250966493.2239.help-gnu-emacs@gnu.org>
2009-08-22 19:02   ` A.Politz
2009-08-22 19:32     ` Joost Kremers
2009-08-22 21:29     ` John A Pershing Jr [this message]
2009-08-22 20:12   ` Pascal J. Bourguignon
2009-08-24 13:08     ` Harry Putnam
2009-08-24 13:59     ` Harry Putnam
     [not found]     ` <mailman.5250.1251122398.2239.help-gnu-emacs@gnu.org>
2009-08-24 15:20       ` Pascal J. Bourguignon
2009-08-24 22:49         ` Harry Putnam
2009-08-24 23:03           ` Harry Putnam
     [not found]           ` <mailman.5277.1251155045.2239.help-gnu-emacs@gnu.org>
2009-08-24 23:52             ` Pascal J. Bourguignon
2009-08-25 15:34               ` Harry Putnam
2009-08-25 19:35                 ` Harry Putnam
     [not found]                 ` <mailman.5347.1251228972.2239.help-gnu-emacs@gnu.org>
2009-08-25 21:02                   ` Pascal J. Bourguignon
2009-08-30  1:42                     ` Harry Putnam
2009-08-23 18:14   ` B. T. Raven
     [not found] <mailman.5143.1250956067.2239.help-gnu-emacs@gnu.org>
2009-08-22 17:42 ` Joost Kremers
2009-08-22 18:15 ` Xah Lee

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=82my5rsfjo.fsf@alum.mit.edu \
    --to=pershing@alum.mit.edu \
    --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.
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.