[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, 26 Oct 2018 13:25:25 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> Stefan, I've prepared a patch that fixes most of the problems you
> found with my commit.

Thanks, installed (after changing text-property-any with
text-property-not-all so we also detect non-t non-nil values as meaning

> Although this patch tidies up mouse-drag-and-drop-region, the problem
> of always treating noncontiguous regions as rectangles still remains.
> I have limited experience writing Emacs Lisp so I am not sure what the
> options are to solve this, but I'm interested in participating in the
> process of thinking/implementing a solution.

AFAICT the next step is to introduce a function `reactivate-mark`.
This function will need to know what kind of mark was earlier activated,
so we will need to store the "kind of mark" somewhere.
I guess the easiest is to introduce a new var
`reactivate-mark-function` (so reactivate-mark doesn't need to do much
more than funcall it).

Then we'll want to change a few places in Elisp to set/reset this var.


reply via email to

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