help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CTL-u for complicated commands


From: Robert Marshall
Subject: Re: CTL-u for complicated commands
Date: Fri, 15 Aug 2003 13:46:49 +0100
User-agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.2.95 (windows-nt)

On 15 Aug 2003, Jussi Piitulainen wrote:

> schaecsn writes:
> 
>> I can repeat commands via CTL-u <number> <command>. That doesn't
>> work always.
>> 
>> Example: I want to format each paragraph in a text with ALT-q, so
>> what I would like to do is:
>> 
>> CTL-u <a very big number> ALT-q <arrow-down>.
>> 
>> Any ideas who this can be done?
> 
> Make a keyboard macro and then repeat that. Your macro would be `C-x
> ( Alt-q <arrow-down> C-x )'. Then you try it a couple of times with
> `C-x e', and when it seems right, you do `C-u verybignum C-x e'.

Or - better - C-u 0 C-x e

assuming that arrow-down doesn't extend the bufffer (see
next-line-add-newlines)

R
-- 
Poetry's not window cleaning.
It breaks the glass.
-- Chase Twichell


reply via email to

[Prev in Thread] Current Thread [Next in Thread]