From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: mouse-drag-and-drop-region Date: Tue, 21 Nov 2017 17:45:43 +0200 Message-ID: <83h8tnd49k.fsf@gnu.org> References: <5A0ABD41.5040402@gmx.at> <20171116.092825.1408561780440493246.tak.kunihiro@gmail.com> <5A0D562D.1010803@gmx.at> <20171120.222937.949251858246319152.tak.kunihiro@gmail.com> <5A13F0CA.2030605@gmx.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1511279202 8844 195.159.176.226 (21 Nov 2017 15:46:42 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 21 Nov 2017 15:46:42 +0000 (UTC) Cc: tak.kunihiro@gmail.com, agrambot@gmail.com, emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 21 16:46:31 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eHAkm-0001gS-NQ for ged-emacs-devel@m.gmane.org; Tue, 21 Nov 2017 16:46:29 +0100 Original-Received: from localhost ([::1]:35182 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eHAku-0002d9-34 for ged-emacs-devel@m.gmane.org; Tue, 21 Nov 2017 10:46:36 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49283) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eHAkD-0002bi-Dv for emacs-devel@gnu.org; Tue, 21 Nov 2017 10:45:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eHAk8-0004OY-Vk for emacs-devel@gnu.org; Tue, 21 Nov 2017 10:45:53 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39775) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eHAk8-0004OS-Rs; Tue, 21 Nov 2017 10:45:48 -0500 Original-Received: from [176.228.60.248] (port=3707 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eHAk8-0006kT-8f; Tue, 21 Nov 2017 10:45:48 -0500 In-reply-to: <5A13F0CA.2030605@gmx.at> (message from martin rudalics on Tue, 21 Nov 2017 10:24:26 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:220328 Archived-At: > Date: Tue, 21 Nov 2017 10:24:26 +0100 > From: martin rudalics > CC: emacs-devel@gnu.org > > > +(defvar mouse-drag-and-drop-region-cut-among-buffer nil > > + "When t, text is cut instead of copy when dragged among buffers.") > > This should be a 'defcustom'. I would write instead > > (defcustom mouse-drag-and-drop-region-cut-when-buffers-differ nil > "If non-nil, cut text also when source and destination buffers differ. > If this option is nil, `mouse-drag-and-drop-region' will leave > the text in the source buffer alone when dropping it in a > different buffer. If this is non-nil, it will cut the text just > as it does when dropping text in the source buffer." > :type 'boolean > :version "27.1" "26.1", I should expect.