[Top][All Lists]

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

Re: tabs vs. spaces in source code

From: Francisco Vila
Subject: Re: tabs vs. spaces in source code
Date: Wed, 29 Jul 2009 14:37:06 +0200

2009/7/29 Graham Percival <address@hidden>:
> On Wed, Jul 29, 2009 at 10:12:11AM +0200, Francisco Vila wrote:
>> $ emacs -batch --eval
>> '(indent-region (point-min) (point-max) nil)' -f save-buffer
>> (tested on cc files, seems to leave them as they currently are)

> Is there a way to tell emacs
> not to format a specific block of text?

(point-min) (point-max) are the start and end markings of the region
to be formatted and In principle they could be used twice on a file to
avoid a certain block.

Francisco Vila. Badajoz (Spain)

reply via email to

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