[Top][All Lists]

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

Re: [Emacs-diffs] master 134ba45: Allow two mouse functions to work with

From: Stefan Monnier
Subject: Re: [Emacs-diffs] master 134ba45: Allow two mouse functions to work with Rectangle Mark mode
Date: Fri, 19 Oct 2018 11:24:23 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

>> Hmm... while it's true that currently, I don't know of a package which
>> provides non contiguous regions other than rectangular regions,
> zones.el does.

Could we add it to elpa.git?

>> Maybe we need to extend the API of noncontiguous regions so you can
>> tell which "special mode" is associated with it (if any)?
> I don't understand the question. Could you elaborate?
> Searching your msg for "special" didn't help.

The code I quoted said:

        (when region-noncontiguous

I don't know why he needs to enable rectangle-mark-mode here, but if
it's needed in the case of rectangular regions (apparently his code
assumes that "noncontiguous" is synonym with "rectangular") maybe some
other mode might be needed for other noncontinuous regions, in which
case, the region should maybe carry with itself its associated mode.

But to know what to do, we first need to know more about why he has code
like the above.


reply via email to

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