emacs-devel
[Top][All Lists]
Advanced

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

Re: TAB when the region is active


From: Juri Linkov
Subject: Re: TAB when the region is active
Date: Mon, 24 Sep 2007 04:15:55 +0300
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux)

>> What would be useful to do in text modes is to make a similar change for
>> M-q (`fill-paragraph').  When the region is active in transient-mark-mode,
>> then M-q would call `fill-region' instead of `fill-paragraph'.
>
> I'm not so sure. There are several possibilities. A case could be made for
> any of them to play the role you see for `fill-region':
>
> . fill-region - Fill each paragraph in the region.

> . fill-region-as-paragraph - Fill the region as one paragraph.
>
> . fill-individual-paragraphs - Fill paragraphs of uniform
>   indentation within the region.
>
> . fill-nonuniform-paragraphs - Fill paragraphs within the region,
>   allowing varying indentation within each.

The last three are special cases of `fill-region' that are rarely used.
They can be invoked exactly as now, i.e. with M-x fill-region-as-paragraph RET

What I propose is to make it easier to call the most often used command
`fill-region' on the active region.

-- 
Juri Linkov
http://www.jurta.org/emacs/




reply via email to

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