emacs-devel
[Top][All Lists]
Advanced

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

Re: master 4eb7db5: Mouse rectangular region selection (bug#38013)


From: Stefan Monnier
Subject: Re: master 4eb7db5: Mouse rectangular region selection (bug#38013)
Date: Wed, 27 Nov 2019 17:10:07 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

[ Please don't take the below personally.  ]

> +(defun mouse-drag-region-rectangle (start-event)
> +  "Set the region to the rectangle that the mouse is dragged over.
> +This must be bound to a button-down mouse event."
> +  (interactive "e")
[...]

Yuck!  We *really* need to abstract that gunk into its own function so
we don't keep copying it between the various `FOO-drag-region` functions.


        Stefan




reply via email to

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