[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help with upcasing words first char
From: |
John A Pershing Jr |
Subject: |
Re: Help with upcasing words first char |
Date: |
Sat, 22 Aug 2009 17:29:47 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (windows-nt) |
"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
- Help with upcasing words first char, Harry Putnam, 2009/08/22
- Message not available
- Re: Help with upcasing words first char, Pascal J. Bourguignon, 2009/08/22
- Re: Help with upcasing words first char, Harry Putnam, 2009/08/24
- Re: Help with upcasing words first char, Harry Putnam, 2009/08/24
- Message not available
- Re: Help with upcasing words first char, Pascal J. Bourguignon, 2009/08/24
- Re: Help with upcasing words first char, Harry Putnam, 2009/08/24
- Re: Help with upcasing words first char, Harry Putnam, 2009/08/24
- Message not available
- Re: Help with upcasing words first char, Pascal J. Bourguignon, 2009/08/24
- Re: Help with upcasing words first char, Harry Putnam, 2009/08/25
- Re: Help with upcasing words first char, Harry Putnam, 2009/08/25
- Message not available
- Re: Help with upcasing words first char, Pascal J. Bourguignon, 2009/08/25