From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rodolfo Medina Newsgroups: gmane.emacs.help Subject: Re: Indent region Date: Mon, 24 Aug 2009 23:28:53 +0100 Organization: SunSITE.dk - Supporting Open source Message-ID: <8763cckfru.fsf@gmail.com> References: <87tyzx1cti.fsf@gmail.com> <87fxbhysvd.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1251150162 3432 80.91.229.12 (24 Aug 2009 21:42:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 24 Aug 2009 21:42:42 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Aug 24 23:42:35 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MfhJC-0002rI-0W for geh-help-gnu-emacs@m.gmane.org; Mon, 24 Aug 2009 23:42:34 +0200 Original-Received: from localhost ([127.0.0.1]:42499 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MfhJB-0007Cb-F4 for geh-help-gnu-emacs@m.gmane.org; Mon, 24 Aug 2009 17:42:33 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!news2.glorb.com!news.banetele.no!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:3qWyA/OqAW59Iwd9Nws11TiO64k= Original-Lines: 53 Original-NNTP-Posting-Host: 151.82.32.140 Original-X-Trace: news.sunsite.dk DXC=Ocij9FUM[_LhAD6WOTE2YEYSB=nbEKnkKd:c1^5I3U4GDJ@`_]lSHg@85LmgVBF4dBLcLQd[U<83HLb3l9XE^ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:67482 Archived-At: "B. T. Raven" writes: >>> Rodolfo Medina wrote: >>>> >>>> `C-u 10 C-x TAB' or `C-M-\' indent a region `line by line', whereas I want >>>> the whole region to be indented, like: >>>> >>>> The old lady pulled her spectacles down and looked over them about the >>>> room; then she put them up and looked out under them. She seldom or >>>> never looked through them for so small a thing as a boy; they were her >>>> state pair, the pride of her heart, and were built for "style," not >>>> >>>> . In Emacs manual I couldn't find an answer to the problem. >> >> >> >> >> "B. T. Raven" writes: >> >>> At beginning of region do: >>> >>> C-space >>> >>> move to last line of region >>> move cursor rightward as far as you want the region indented >>> >>> do: >>> C-x r o >> >> >> Thanks, but that's the same as `C-u 10 C-x TAB' or `C-M-\': each line of the >> region is indented separately, but not the region all together, as in my >> example. >> >> Rodolfo > > I understand the distinction in theory. What does it amount to in practice? If > I copy-paste your original paragraph into Emacs (from Thunderbird) there are > linefeeds after the, never, state, service --, > etc. What you show above has changes (possibly due to word wrap or quote > prefixes). A paragraph is defined by paragraph-separate and paragraph-start, I > think. Is the original paragraph(s) one long line in Emacs? If not then there > are line-feeds within the paragraph(s) (or region) and it will have to be > treated as individual lines. All I want is the same that `M-q' does, only that the paragraph lines should all begin from column, say, 10 instead of 1. It looks strange to me that it is, as I see, difficult and original. Thanks Rodolfo