emacs-devel
[Top][All Lists]
Advanced

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

Re: multi-region.el --- Mapping commands over multiple active regions.


From: Richard M. Stallman
Subject: Re: multi-region.el --- Mapping commands over multiple active regions.
Date: Mon, 02 Jan 2006 10:03:30 -0500

I was going through old mail and came across your posting
of multi-region.el, last January.

Can someone imagine a way to integrate this into Emacs, so that
ordinary Emacs commands, which now operate on the region, could
operate on multi-regions when the user has specified multiple regions?

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.

Now is not the time to install such a change, but we could think about
it now.




reply via email to

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