emacs-devel
[Top][All Lists]
Advanced

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

Re: Design of commands operating on rectangular regions


From: Juri Linkov
Subject: Re: Design of commands operating on rectangular regions
Date: Mon, 23 Nov 2015 02:07:35 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (x86_64-pc-linux-gnu)

> In order to follow all of this, especially since you now
> seem to be talking about user-level changes, could someone
> please specify (describe) the non-contiguous region feature,
> including how users can create and modify such a region
> interactively?

First you can select the non-contiguous region with
'C-x SPC', then extend it with the usual point motion keys,
then run one of the commands supporting such regions, e.g.
'C-x C-l' to downcase, 'M-%' to replace occurrences, 'C-u M-|'
to replace the region with the command output.

> And could you specify clearly the relation between this
> non-contiguous region feature and rectangles?  Presumably
> the former is more general but also allows some handling
> of rectangles (?).

Rectangles are a subset of non-contiguous regions that can be
expanded with other shapes, e.g. circular regions.



reply via email to

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