From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Robert Marshall Newsgroups: gmane.emacs.help Subject: Re: CTL-u for complicated commands Date: Fri, 15 Aug 2003 13:46:49 +0100 Organization: ..when the revolution comes Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: Reply-To: robert@chezmarshall.freeserve.co.uk NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1060952651 5082 80.91.224.253 (15 Aug 2003 13:04:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 15 Aug 2003 13:04:11 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 15 15:04:10 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19neFV-0003nz-00 for ; Fri, 15 Aug 2003 15:04:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19neCW-0007M5-0A for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Aug 2003 09:01:04 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!cyclone.bc.net!skynet.be!skynet.be!130.133.1.3.MISMATCH!fu-berlin.de!uni-berlin.de!195.102.208.198!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 28 Original-NNTP-Posting-Host: 195.102.208.198 Original-X-Trace: news.uni-berlin.de 1060951817 1116203 195.102.208.198 (16 [66208]) X-Home-Page: http://www.chezmarshall.freeserve.co.uk User-Agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.2.95 (windows-nt) Cancel-Lock: sha1:cIkrpwSZTy36M1GTQ5bikv0x5SQ= Original-Xref: shelby.stanford.edu gnu.emacs.help:115913 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:11832 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:11832 On 15 Aug 2003, Jussi Piitulainen wrote: > schaecsn writes: > >> I can repeat commands via CTL-u . 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 ALT-q . >> >> Any ideas who this can be done? > > Make a keyboard macro and then repeat that. Your macro would be `C-x > ( Alt-q 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