[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: multi-region.el --- Mapping commands over multiple active regions.
From: |
Stefan Monnier |
Subject: |
Re: multi-region.el --- Mapping commands over multiple active regions. |
Date: |
Mon, 02 Jan 2006 11:28:22 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
> Here's one idea. Suppose that region-beginning returned a list of
> region beginnings, and region-end returned a list of region ends.
> That would be a clean way to tell a command that there are
> multi-regions in effect.
> This could be done for (interactive "R"), whereas use
> of (interactive "r") would simply repeat the command on each
> sub-region in the list.
I completely agree. As a matter of fact I suggested something along the
same lines some years ago on gnu.emacs.help (I especially remember the
(interative "r") automatically looping over all the sub-regions).
Stefan