emacs-devel
[Top][All Lists]
Advanced

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

Re: mouse-drag-and-drop-region


From: martin rudalics
Subject: Re: mouse-drag-and-drop-region
Date: Wed, 22 Nov 2017 09:22:19 +0100

>> (defcustom mouse-drag-and-drop-region-cut-when-buffers-differ
>
>
> ​A few suggestions.  This name is too specific.  If such an option is
> introduced it could just be named
> mouse-drag-and-drop-region-cut-flag and any limitations could be included
> in the doc string, as they are already.  Then
> if its behavior were modified in the future, the name would not need
> changing.

The option could also allow to copy text without having to rely on the
modifier key.  Then pressing the modifier key could just invert the
standard behavior specified by that option.

> But the option, mouse-drag-and-drop-region, already exists and does a bunch
> of things that control cutting and copying
> of the dragged region.  It would make sense if this setting could somehow
> be integrated in there (one source of truth)
> so there were no need to add a boolean just for this one aspect of regional
> drag and drop.​

If the default behavior is different wrt whether the buffers differ, I
see no way to avoid an extra option.

martin




reply via email to

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