Received: (at 34014) by debbugs.gnu.org; 18 Aug 2020 15:08:15 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Aug 18 11:08:15 2020 Received: from localhost ([127.0.0.1]:36693 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1k83Dj-0007uP-2j for submit <at> debbugs.gnu.org; Tue, 18 Aug 2020 11:08:15 -0400 Received: from mail-wm1-f50.google.com ([209.85.128.50]:39567) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <adolf.mathias@HIDDEN>) id 1k83Df-0007tz-6P for 34014 <at> debbugs.gnu.org; Tue, 18 Aug 2020 11:08:13 -0400 Received: by mail-wm1-f50.google.com with SMTP id g75so17320334wme.4 for <34014 <at> debbugs.gnu.org>; Tue, 18 Aug 2020 08:08:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=2SiskLjpf+rud87AkEXTKO6fC9KFLAJS6PiVlOOdCq4=; b=aQAZmZurWmj9lPrFH9n8lOx4g6fiBZ9S/DDlRuFD4jCW2PZsYm9q4h9B6BzEGzwKQ7 vKT8bTik9vPEPZ34Zy7A2XLYzYIZNDPYWkOl1nKpgKSqmyqhJ6aIsh1j9/K1xULXyLTP mJyrOKANYVUPXzuapVb6dACTQEasWnPEm3eGz02SztNjxA0AZ/rEH4Qh/2j7dUwLKqhT xCkmu5T4pIQTmCgNrM7GNYpyhT12M4m8PJK55r1tPcpHNFbtaCxB3euXTUxBd8kmWngq zidcSj2qpc/CHG0d89OhXkBW3CeYeZzdYyL3o4yhB9GCXknzM9P7hAZY55OKeMgCgZHX rn6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2SiskLjpf+rud87AkEXTKO6fC9KFLAJS6PiVlOOdCq4=; b=i29LKvMRPytJRQfGDeU6pSbV8Q8xWmbHzwUUTnSu9MFH41FZ35ijw4VThDHqVkHRwr GSLBHtaLl18VNXcR5Bs5gR2zxGBLXYony0NKotEvkTgFy0H1kNK4QNICF9eCfFiddMr4 fMFShpu+IDI6Ep0At3Y1tjLvgRoCAbMIvS21quVpPp0j7TdP0Ljp+qLsC/6Cl5Le/u5z +6iJoeEBH3H05nT8Cgc1bSIGsjS5okVPPopykIlmCYeRv6LsrPm6fnRXgw2H+KqVgQHK ZtOqcf+gVFb+aWfcHSdsNoh99tHex03Yaxy7cZ/cC+gayjGlX9UzSfHpoBVk/o9d/zi7 usTg== X-Gm-Message-State: AOAM530VbMWIIh+sgXKo5s+oClpWpdfpvBk5ie76LnkoP7Gh1u+DuvpT Cs73pZ3npeVRzCSf54oP4pRfjBqf72T9QytY8c0JFfcarro= X-Google-Smtp-Source: ABdhPJxgDQOmzskP+FvxRn3lDjEUPTdjJeWAB+/2iLPgZB24ZbiQJXaUZ0B0+f8uqx0JiQUEor3Z6F+k4E58gW6d0l8= X-Received: by 2002:a05:600c:2209:: with SMTP id z9mr374952wml.70.1597763285161; Tue, 18 Aug 2020 08:08:05 -0700 (PDT) MIME-Version: 1.0 References: <CACHJYueYx6RC18S6LGGRUZdkK_RPwnY_VGk3aR8zf1AzX6a26g@HIDDEN> <83pnrbhvna.fsf@HIDDEN> <CADwFkmkvkH0QoVumOOfKsyHwWY60MNtfO3HG2RTs_RhOWimeZw@HIDDEN> <CACHJYuftHtcJ_ixA0vKbRavKstkaR8fkBaZxyoO_N41Zq7Qy4w@HIDDEN> <CADwFkmkuRpjB_XPTGaW9QdaUqHsHPqA7W1cRpt0j2Vx7hQ-k7w@HIDDEN> <CACHJYucSP8QChH1EV4BcC9ibfV++wnJvmnpbub6gYNw3rO1trQ@HIDDEN> <CADwFkmnNLvz2F82jPW=X61wicOsK0XagYEaAG3f_xmWfDsEeVA@HIDDEN> <CACHJYueuu5j8OJUnePaBsrt_wwvg-0UF1FmhNRaankMUjFUqeQ@HIDDEN> <CADwFkmk6KbbrKtjj5nZG_znBjCNY-Lv=xDmWcqN=gQ7d4VZwVg@HIDDEN> <CACHJYufZhkcSgzcSx8OatdRttJKVb92jSHEcA0nzaiyrYCr5_Q@HIDDEN> <CADwFkmmOyrBzCFfvTWgsFZHbLEUFRP9uyWhFU4_bcJpaDG-16w@HIDDEN> <CACHJYufQgbLfGOxOLZAo-6zghYLVZ3d_Z93rzRnHJS4gaBiyuw@HIDDEN> In-Reply-To: <CACHJYufQgbLfGOxOLZAo-6zghYLVZ3d_Z93rzRnHJS4gaBiyuw@HIDDEN> From: Adolf Mathias <adolf.mathias@HIDDEN> Date: Tue, 18 Aug 2020 17:07:53 +0200 Message-ID: <CACHJYueAqAFLfQx+SkvQXZbAp+OzffwwzXgwHvaaO1=F=4aXtQ@HIDDEN> Subject: Re: bug#34014: 25.2; binding down mouse event with modifier to mouse-drag-region does not work To: Stefan Kangas <stefan@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 34014 Cc: 34014 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) The commit which destroyed the ability to bind a user function containing mouse-drag-track to arbitrary mouse button press and modifier combinations seems to be commit 41f03f4da76827e8611267ee5283a5df8071a617 Author: Glenn Morris <rgm@HIDDEN> Date: Mon Apr 16 20:04:53 2012 -0400 which replaced the (track-mouse...) with (set-transient-map...) The transient map that gets established does not catch the S-drag-mouse1 that I'm after. I think that this transient map would have to be huge in order to swallow all motion events with whatever mouse buttons and modifiers pressed when mouse-drag-track gets invoked by a user command. The ugly thing about the commit is that it does not say the slightest why this was rewritten that way. So, what am I breaking if I restore the functionality with (track-mouse...) ? On Sun, Aug 16, 2020 at 10:54 PM Adolf Mathias <adolf.mathias@HIDDEN> wrote: > > Ah yes, track-mouse is almost what I need, as I said I wrote my > replacement for mouse-drag-track, but the double and triple click > behaviour is tricky in its own right, with all those timeouts and > motion bounds to keep in mind when pursuing the multiple-click > hypothesis, and mouse-drag-track did that all perfectly until Emacs > 25, yada yada yada.... A bit frustrating. > > Sorry :) Let's try to come to a constructive conclusion. By the way, > Emacs is a great piece of software, and I am slightly ashamed that I > did not contribute to it, given that it is my editor of choice, and > given the numerous Emacs-Lisp goodies that I use a lot daily, enabled > by Stallman's fabulous basic design. > > On Sun, Aug 16, 2020 at 7:10 PM Stefan Kangas <stefan@HIDDEN> wrote: > > > > Adolf Mathias <adolf.mathias@HIDDEN> writes: > > > > > No, it doesn't. With emacs -Q, mouse-1 then mouse-3 does the same as > > > simply dragging out a region. Clicking mouse-3 at the same spot, the > > > region gets killed, otherwise readjusted. > > > With (setq mouse-drag-copy-region t), the region also gets copied to > > > the kill ring, otherwise it just disappears. > > > > > > Assume the text cursor is at position A. I want the region from B to C > > > copied to the text cursor position, and then continue editing right > > > behind the copied text. > > > > > > 1. Workflow with mouse-stay-and-copy bound to S-mouse-1: > > > press S-mouse-1 at B, release mouse-1 at C. > > > > > > 2. Workflow with mouse-copy-then-kill and (setq mouse-drag-copy-region t): > > > click mouse-1 at B, click mouse-3 at C, click mouse-1 at A, hit Ctrl-Y. > > > > > > 3. Workflow with standard dragged region: > > > drag out region from B to C. Hit Ctrl-W. Click mouse-1 at A. Hit Ctrl-Y. > > > > > > Workflow 1 saves me one or two mouse clicks and a keystroke and the > > > navigation back to A. It is that navigation back to A that bothers me > > > most - the dexterity issue, you know. > > > > Thank you for the detailed explanation. > > > > Perhaps the easiest would be to expand `mouse-drag-copy-region' et al. > > to optionally support the behavior you are describing? I'm sure we > > would consider a patch to Emacs along those lines. > > > > Best regards, > > Stefan Kangas
bug-gnu-emacs@HIDDEN
:bug#34014
; Package emacs
.
Full text available.Stefan Kangas <stefan@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Stefan Kangas <stefan@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Stefan Kangas <stefan@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 34014) by debbugs.gnu.org; 18 Aug 2020 13:27:01 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Aug 18 09:27:01 2020 Received: from localhost ([127.0.0.1]:34505 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1k81dl-00028n-Fu for submit <at> debbugs.gnu.org; Tue, 18 Aug 2020 09:27:01 -0400 Received: from mail-yb1-f169.google.com ([209.85.219.169]:46750) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>) id 1k81dj-00028F-1M for 34014 <at> debbugs.gnu.org; Tue, 18 Aug 2020 09:27:00 -0400 Received: by mail-yb1-f169.google.com with SMTP id x10so11339889ybj.13 for <34014 <at> debbugs.gnu.org>; Tue, 18 Aug 2020 06:26:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc:content-transfer-encoding; bh=8KcvrjC4pp0/NWPG6rvskrf1/u8yJ0KBq9Sj6KYQCZQ=; b=FpJM5a5sBpjx8pb/hGH74OPjGeVoX7UrSXfKTqXtwhvONLFSJTKTg97bLs94DbocIF x1nRxYdskbI9Y7SgYCrF1bm9KH5zjxXgdUYx3AgdEy4r85dwPgwG29buWzqggzyYrHF1 ZfztgAzmqE4QoNhVYLGEb5Xp4n/90+i4LeqXe8i0zdojTd2zj8eaNjHpu+uxhYZjpuaG +OF9uQNCkNZ8viP36H/ZLcsslm20gzSYrFZR8W4jwBZSVeLqvvw5NL34P6hoTjKH7hEy a1KeizasuPknXhYxZltS2lMVxCf0Bu7WA+/3jP/K2OKIda+QgxZHlI8GTK5eGzBHlfiH rK+w== X-Gm-Message-State: AOAM533joRxiBFgKGSmYRgKXRgvOJhBgXVh4U7ClVEMQ4cDj/gQ+9tbX R1LSH6IixgSKq8nSy+c+Tw58V9o0DRIQLtWlsaDwgFNnva3l1g== X-Google-Smtp-Source: ABdhPJwffWrVX8NQKdFT50lcNYex0DuJVJGZZlcveiqpTfEb4zbrkgCHOqYqrDpovhsrObPp78JvguTrosj7Y5yQJ0U= X-Received: by 2002:a25:9843:: with SMTP id k3mr27442846ybo.466.1597757213627; Tue, 18 Aug 2020 06:26:53 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 18 Aug 2020 13:26:53 +0000 From: Stefan Kangas <stefan@HIDDEN> In-Reply-To: <CACHJYue_KVWZ=wF-sa6nHCsAso0SDb0XSoXCRgW0teiR_Gt15Q@HIDDEN> References: <CACHJYueYx6RC18S6LGGRUZdkK_RPwnY_VGk3aR8zf1AzX6a26g@HIDDEN> <83pnrbhvna.fsf@HIDDEN> <CADwFkmkvkH0QoVumOOfKsyHwWY60MNtfO3HG2RTs_RhOWimeZw@HIDDEN> <CACHJYuftHtcJ_ixA0vKbRavKstkaR8fkBaZxyoO_N41Zq7Qy4w@HIDDEN> <CADwFkmkuRpjB_XPTGaW9QdaUqHsHPqA7W1cRpt0j2Vx7hQ-k7w@HIDDEN> <CACHJYucSP8QChH1EV4BcC9ibfV++wnJvmnpbub6gYNw3rO1trQ@HIDDEN> <CADwFkmnNLvz2F82jPW=X61wicOsK0XagYEaAG3f_xmWfDsEeVA@HIDDEN> <CACHJYueuu5j8OJUnePaBsrt_wwvg-0UF1FmhNRaankMUjFUqeQ@HIDDEN> <CADwFkmk6KbbrKtjj5nZG_znBjCNY-Lv=xDmWcqN=gQ7d4VZwVg@HIDDEN> <CACHJYufZhkcSgzcSx8OatdRttJKVb92jSHEcA0nzaiyrYCr5_Q@HIDDEN> <CADwFkmmOyrBzCFfvTWgsFZHbLEUFRP9uyWhFU4_bcJpaDG-16w@HIDDEN> <CACHJYufQgbLfGOxOLZAo-6zghYLVZ3d_Z93rzRnHJS4gaBiyuw@HIDDEN> <CADwFkmkd3gYtkxVyJsE+4FDMk6q7PsPw-CK8rsYqfpaPtmknXA@HIDDEN> <CACHJYue_KVWZ=wF-sa6nHCsAso0SDb0XSoXCRgW0teiR_Gt15Q@HIDDEN> MIME-Version: 1.0 Date: Tue, 18 Aug 2020 13:26:53 +0000 Message-ID: <CADwFkmkEpW0qzMfpcgPbDzT2M4VwF=DcPYNYWO7PRM5EK65R3A@HIDDEN> Subject: Re: bug#34014: 25.2; binding down mouse event with modifier to mouse-drag-region does not work To: Adolf Mathias <adolf.mathias@HIDDEN> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 34014 Cc: 34014 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.5 (/) [Resending to include the Emacs bug tracker address. Please remember to use "Reply to all".] Adolf Mathias <adolf.mathias@HIDDEN> writes: > OK, ready to do something for the community. I'm looking forward to see what you come up with. > However, I currently do not know what you mean with > mouse-drag-copy-region. mouse-drag-copy-region is a variable defined in =E2=80=98mouse.el=E2=80=99.= You should be able to find it using `C-h v mouse-drag-copy-region'. > Do you mean my mouse-stay-and-copy? Or do you mean mouse-drag-region, > which is bound to drag-mouse-1? > And I am still curious why mouse-drag-track has stopped working the > way I expect it to. There were many changes in the relevant code between Emacs 23 and 24. I had a cursory look but could not find any immediately suspect commits. If you have cloned the Emacs git repository, you could use the following command, and see if you have better luck than me: git log emacs-23.1..emacs-24.1 lisp/mouse.el Best regards, Stefan Kangas
bug-gnu-emacs@HIDDEN
:bug#34014
; Package emacs
.
Full text available.Received: (at 34014) by debbugs.gnu.org; 17 Aug 2020 14:27:51 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Aug 17 10:27:51 2020 Received: from localhost ([127.0.0.1]:32835 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1k7g75-00075c-Lv for submit <at> debbugs.gnu.org; Mon, 17 Aug 2020 10:27:51 -0400 Received: from mail-yb1-f169.google.com ([209.85.219.169]:44869) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>) id 1k7g74-00075P-1G for 34014 <at> debbugs.gnu.org; Mon, 17 Aug 2020 10:27:50 -0400 Received: by mail-yb1-f169.google.com with SMTP id i10so9500019ybt.11 for <34014 <at> debbugs.gnu.org>; Mon, 17 Aug 2020 07:27:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=eoE950mtdFaAPmnoJQ+lOgMyAI8Pi2mGvA7kk5o7vXw=; b=Py2TACGG/IjnjoiCWIGMIaq+TfuKvNr0Gi9h5M/zWNnJu8rU9ZVqVHSqDe9s+6jmzT PchEXbqrVM/iou6vFHX3mEO6pQd6uqXg8V3nmLHdYU7lEPMamFQvfcEt83EJCektH52g eJ4oTdmCFvZpD5cB7/bhsoxC8/bzBAOHWaHw7j1QyLjky+cd4jd+rmuf3ABep8rGKcI0 yXEPADMii6RafPrJ/LCysS5H0bj3SkeuE2cZq7GEWH7mQMciz4cX2p5wcWafWIpFCb1C 2lc2/9dKw09X8MfIQ45bdUPIE8oqQ/96Q7sQNVdj7lNQbDVAE7qRZhwnrMHXbxx8+DDj rjpw== X-Gm-Message-State: AOAM531qOtx7rDHAc5Er+raU+IfDMN9g/QGZ8TFX2nIj4M29ukBIWE2/ Lu8EAtUXw9VKZJDIjgZ2ulszSW07b69TfcgsuIE= X-Google-Smtp-Source: ABdhPJwliLHVQfhV2s854vGT7/+o9yLmdbNQDiDXexnpezfXHHs8pZLp3RMUYqiZmzhK+p/2d1cHZHw10sUH5nkW6Yg= X-Received: by 2002:a25:4609:: with SMTP id t9mr20046380yba.231.1597674464568; Mon, 17 Aug 2020 07:27:44 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 17 Aug 2020 14:27:44 +0000 From: Stefan Kangas <stefan@HIDDEN> In-Reply-To: <CACHJYufQgbLfGOxOLZAo-6zghYLVZ3d_Z93rzRnHJS4gaBiyuw@HIDDEN> References: <CACHJYueYx6RC18S6LGGRUZdkK_RPwnY_VGk3aR8zf1AzX6a26g@HIDDEN> <83pnrbhvna.fsf@HIDDEN> <CADwFkmkvkH0QoVumOOfKsyHwWY60MNtfO3HG2RTs_RhOWimeZw@HIDDEN> <CACHJYuftHtcJ_ixA0vKbRavKstkaR8fkBaZxyoO_N41Zq7Qy4w@HIDDEN> <CADwFkmkuRpjB_XPTGaW9QdaUqHsHPqA7W1cRpt0j2Vx7hQ-k7w@HIDDEN> <CACHJYucSP8QChH1EV4BcC9ibfV++wnJvmnpbub6gYNw3rO1trQ@HIDDEN> <CADwFkmnNLvz2F82jPW=X61wicOsK0XagYEaAG3f_xmWfDsEeVA@HIDDEN> <CACHJYueuu5j8OJUnePaBsrt_wwvg-0UF1FmhNRaankMUjFUqeQ@HIDDEN> <CADwFkmk6KbbrKtjj5nZG_znBjCNY-Lv=xDmWcqN=gQ7d4VZwVg@HIDDEN> <CACHJYufZhkcSgzcSx8OatdRttJKVb92jSHEcA0nzaiyrYCr5_Q@HIDDEN> <CADwFkmmOyrBzCFfvTWgsFZHbLEUFRP9uyWhFU4_bcJpaDG-16w@HIDDEN> <CACHJYufQgbLfGOxOLZAo-6zghYLVZ3d_Z93rzRnHJS4gaBiyuw@HIDDEN> MIME-Version: 1.0 Date: Mon, 17 Aug 2020 14:27:44 +0000 Message-ID: <CADwFkmkd3gYtkxVyJsE+4FDMk6q7PsPw-CK8rsYqfpaPtmknXA@HIDDEN> Subject: Re: bug#34014: 25.2; binding down mouse event with modifier to mouse-drag-region does not work To: Adolf Mathias <adolf.mathias@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 34014 Cc: 34014 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.5 (/) Adolf Mathias <adolf.mathias@HIDDEN> writes: > Sorry :) Let's try to come to a constructive conclusion. By the way, > Emacs is a great piece of software, and I am slightly ashamed that I > did not contribute to it, given that it is my editor of choice, and > given the numerous Emacs-Lisp goodies that I use a lot daily, enabled > by Stallman's fabulous basic design. It's never too late. Working on adding a feature you yourself want is actually a great way to start. :-) To extend 'mouse-drag-copy-region' to also support working like you suggest would be a useful contribution, in my opinion. In addition to nil and t, perhaps we could add a new symbol (e.g. 'at-point) which would mean that the text should immediately be yanked at point. In any case, we could leave this open as a wishlist level request, I think. Best regards, Stefan Kangas PS. Note that any contribution longer than 15 lines would also require a copyright assignment as described here: https://www.gnu.org/licenses/why-assign.html
bug-gnu-emacs@HIDDEN
:bug#34014
; Package emacs
.
Full text available.Received: (at 34014) by debbugs.gnu.org; 16 Aug 2020 21:00:53 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Aug 16 17:00:53 2020 Received: from localhost ([127.0.0.1]:58665 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1k7Pls-0000qC-Sw for submit <at> debbugs.gnu.org; Sun, 16 Aug 2020 17:00:53 -0400 Received: from mail-wm1-f46.google.com ([209.85.128.46]:52921) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <adolf.mathias@HIDDEN>) id 1k7Plr-0000jn-6L for 34014 <at> debbugs.gnu.org; Sun, 16 Aug 2020 17:00:51 -0400 Received: by mail-wm1-f46.google.com with SMTP id x5so11727357wmi.2 for <34014 <at> debbugs.gnu.org>; Sun, 16 Aug 2020 14:00:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=reHAWNzzfMf3SoE+CiMNzmpu+QGOptKH4n622NG+0IA=; b=EalLSyh7ZNLUxKmHRa3+k9pS2+2/vRyYALrm2C/MAXz6xHSxcfxkWZtTgNQO/k6Omy 7hGHWYHAmhijvlsZTfc4HRnz1cLEsmQiGGrfhrZl9k8gXay1+w6VzUAa1kMmh1p5dJEd MS1/Bh2NHfoEqLXu4/+klgmvzdG3pLdzvOBhbOavzZCTDGyLEttlS5XU2VtwcHhQ+jFX eXc9q/oLeqm67uaJTKVSA53KakUOVpa4ocqGMv3C/nlnwUX4wpP/j9qBH7lRstGwZvqz p5NkMZHsOVcvMC5DsPgD3IMDA8jN/NBbokgbezAiYIXn8aTWLKyRfsWsYxulDdSVypdf Milg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=reHAWNzzfMf3SoE+CiMNzmpu+QGOptKH4n622NG+0IA=; b=K6vimzdC3LOJcBmiFgOG4U6uyCNhAjrW187WUczvgZgbmi1BItLaeeyE+u3Jl7+RA6 vXZflWUEk8B9aKWMnChFPbXhO8urkvbfYAX62wzkKvnCMi7/FXrGuf97ttRbFaJ0WVE8 eCBaHsO22Zzk0/k2sSGWpjZkm6d9W2H+KgYKQ9mjkjkKdfI9LtYRuGE73NplVEnz8JHL Wk8DdWIn4cBtWiyjffiWMkBVD/Iip9qRNaqlz5QYJRrJ86uLRLAsWwLGt6Nafhtaxj7I nbUfpdMZD7KZHKqVC70qk8A86KmW8Wb8JaHfMWPbtyKmAOkBAGec3mAMsFiH9rbYIFlh oLOg== X-Gm-Message-State: AOAM530Y8NtdoRrVMrVU/KhqE7ybfyu4Y/ebh0DwJujheL8Zmlx/1bp5 +MlaveR4YXVCRK7/rkvVjxdJ4MzBZx5yD5prjkzapbqPOm8= X-Google-Smtp-Source: ABdhPJx9/RUod4W9VJdzm/dWAPYZrnAtAm4cvxTBPOylabH6ytGIrJvrqG8MyiMimWlGrAq/KRTfvZCpZwOQUZtKJng= X-Received: by 2002:a7b:c095:: with SMTP id r21mr11573842wmh.96.1597611644839; Sun, 16 Aug 2020 14:00:44 -0700 (PDT) MIME-Version: 1.0 From: Adolf Mathias <adolf.mathias@HIDDEN> Date: Sun, 16 Aug 2020 23:00:33 +0200 Message-ID: <CACHJYueWV6vUSB3sMLnB8512ETH5+2jDVF_pvQNHHiN51z7hDw@HIDDEN> Subject: To: 34014 <at> debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Well, mouse-drag-track is a local event loop that I start within my mouse-stay-and-copy and that finishes upon mouse button release. And with Emacs post 24, it suddenly isn't any more, because Emacs s [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (adolf.mathias[at]gmail.com) -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.128.46 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.128.46 listed in list.dnswl.org] 2.0 BLANK_SUBJECT Subject is present but empty X-Debbugs-Envelope-To: 34014 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 1.0 (+) Well, mouse-drag-track is a local event loop that I start within my mouse-stay-and-copy and that finishes upon mouse button release. And with Emacs post 24, it suddenly isn't any more, because Emacs suddenly starts complaining about S-drag-mouse events not bound to anything. My desired patch to Emacs would be to let mouse-drag-track really be that all-absorbing event loop until, within reasonable bounds, the next button release.
bug-gnu-emacs@HIDDEN
:bug#34014
; Package emacs
.
Full text available.Received: (at 34014) by debbugs.gnu.org; 16 Aug 2020 20:54:57 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Aug 16 16:54:57 2020 Received: from localhost ([127.0.0.1]:58657 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1k7Pg9-0008NH-5h for submit <at> debbugs.gnu.org; Sun, 16 Aug 2020 16:54:57 -0400 Received: from mail-wr1-f53.google.com ([209.85.221.53]:41837) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <adolf.mathias@HIDDEN>) id 1k7Pg6-0008N2-Pi for 34014 <at> debbugs.gnu.org; Sun, 16 Aug 2020 16:54:55 -0400 Received: by mail-wr1-f53.google.com with SMTP id r2so12966450wrs.8 for <34014 <at> debbugs.gnu.org>; Sun, 16 Aug 2020 13:54:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=eyH/S80mh3LIfedGqFzCurRxkAQE7DHVD1j8wOUpDmQ=; b=kX7ppzA4/VdPasjdqEYcY1SkQYqAxlH1+ywFEF/2VWxOis1upzFeU9dG+sOzHHr4Fa nkrwBOX9Rr3CeqnKipW8auWuT1npRW3is/8qvtsT6OhHs47InMeRtubN2IvpqAgEWWyE cZ7eIDXTIs04JMoyd9PYZQ6fILSoz1MAPz0tJNVxwtxYGLu4/Es0Pj4dtIP1CiVbuQW7 d/Mzhw2BWNutpp6/lOzd3MX69Lk/czBPM/LsVWIYzLzyhT4ZfTl7ASCWFfMBsZd31PeP kpvj+Jj/uG26lBPd7e0nCSkP4962uWI/mj+an4GcufF9dxL4TXAa7m951Tb+ijgVmE63 A7qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=eyH/S80mh3LIfedGqFzCurRxkAQE7DHVD1j8wOUpDmQ=; b=iC7vbGv2lgxY9svmbIUJF0I/uHcbhDKm8PRF2hQw13jcWrv/EE3+z/iImPcr1BuwnZ wrjfBbj5tDIBixFKVRcQtsVteNHzN4fewGl/fMtvIsJ7QhvMA5aTVqjYa6l0LkfiBFsl H56hfXDqnm9//X8cD8tgTZaRZyUeI7V7d0WK97wEeZKynuVM5xeeUFqBg224qXm5t2qe /2ybxuL2SdRVsVQOxYi8rjiJJcPNX/1LO/vaUAD0Ansp2hkHxTvTHizxSMiQeuizhocx MKyNgCHs1S6dVPO45Tp8TmV/yfM+451feGvseOz1TAVUrHu1P5Nea4Y9kADHRK3yx98Y cFIw== X-Gm-Message-State: AOAM531rBmtXEW8KKNLMo4f10hQ8i/Vqp1DGV+rGvPLYDB05+F8+VQuJ Gl0AXwdQNdfDIjRiRMXWxqWx8SUw1ItCyvGY+CO/IGRAWwg= X-Google-Smtp-Source: ABdhPJyzXXEyPpLWRJSDOj49c5pCvEJmVcX7TZXa9cZlqzjtqEyxNYMX/ehg8gkFVBfUrBJqtBq8V+u4oOAdzkg9OHY= X-Received: by 2002:adf:f207:: with SMTP id p7mr13032254wro.292.1597611288842; Sun, 16 Aug 2020 13:54:48 -0700 (PDT) MIME-Version: 1.0 References: <CACHJYueYx6RC18S6LGGRUZdkK_RPwnY_VGk3aR8zf1AzX6a26g@HIDDEN> <83pnrbhvna.fsf@HIDDEN> <CADwFkmkvkH0QoVumOOfKsyHwWY60MNtfO3HG2RTs_RhOWimeZw@HIDDEN> <CACHJYuftHtcJ_ixA0vKbRavKstkaR8fkBaZxyoO_N41Zq7Qy4w@HIDDEN> <CADwFkmkuRpjB_XPTGaW9QdaUqHsHPqA7W1cRpt0j2Vx7hQ-k7w@HIDDEN> <CACHJYucSP8QChH1EV4BcC9ibfV++wnJvmnpbub6gYNw3rO1trQ@HIDDEN> <CADwFkmnNLvz2F82jPW=X61wicOsK0XagYEaAG3f_xmWfDsEeVA@HIDDEN> <CACHJYueuu5j8OJUnePaBsrt_wwvg-0UF1FmhNRaankMUjFUqeQ@HIDDEN> <CADwFkmk6KbbrKtjj5nZG_znBjCNY-Lv=xDmWcqN=gQ7d4VZwVg@HIDDEN> <CACHJYufZhkcSgzcSx8OatdRttJKVb92jSHEcA0nzaiyrYCr5_Q@HIDDEN> <CADwFkmmOyrBzCFfvTWgsFZHbLEUFRP9uyWhFU4_bcJpaDG-16w@HIDDEN> In-Reply-To: <CADwFkmmOyrBzCFfvTWgsFZHbLEUFRP9uyWhFU4_bcJpaDG-16w@HIDDEN> From: Adolf Mathias <adolf.mathias@HIDDEN> Date: Sun, 16 Aug 2020 22:54:37 +0200 Message-ID: <CACHJYufQgbLfGOxOLZAo-6zghYLVZ3d_Z93rzRnHJS4gaBiyuw@HIDDEN> Subject: Re: bug#34014: 25.2; binding down mouse event with modifier to mouse-drag-region does not work To: Stefan Kangas <stefan@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 34014 Cc: 34014 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Ah yes, track-mouse is almost what I need, as I said I wrote my replacement for mouse-drag-track, but the double and triple click behaviour is tricky in its own right, with all those timeouts and motion bounds to keep in mind when pursuing the multiple-click hypothesis, and mouse-drag-track did that all perfectly until Emacs 25, yada yada yada.... A bit frustrating. Sorry :) Let's try to come to a constructive conclusion. By the way, Emacs is a great piece of software, and I am slightly ashamed that I did not contribute to it, given that it is my editor of choice, and given the numerous Emacs-Lisp goodies that I use a lot daily, enabled by Stallman's fabulous basic design. On Sun, Aug 16, 2020 at 7:10 PM Stefan Kangas <stefan@HIDDEN> wrote: > > Adolf Mathias <adolf.mathias@HIDDEN> writes: > > > No, it doesn't. With emacs -Q, mouse-1 then mouse-3 does the same as > > simply dragging out a region. Clicking mouse-3 at the same spot, the > > region gets killed, otherwise readjusted. > > With (setq mouse-drag-copy-region t), the region also gets copied to > > the kill ring, otherwise it just disappears. > > > > Assume the text cursor is at position A. I want the region from B to C > > copied to the text cursor position, and then continue editing right > > behind the copied text. > > > > 1. Workflow with mouse-stay-and-copy bound to S-mouse-1: > > press S-mouse-1 at B, release mouse-1 at C. > > > > 2. Workflow with mouse-copy-then-kill and (setq mouse-drag-copy-region t): > > click mouse-1 at B, click mouse-3 at C, click mouse-1 at A, hit Ctrl-Y. > > > > 3. Workflow with standard dragged region: > > drag out region from B to C. Hit Ctrl-W. Click mouse-1 at A. Hit Ctrl-Y. > > > > Workflow 1 saves me one or two mouse clicks and a keystroke and the > > navigation back to A. It is that navigation back to A that bothers me > > most - the dexterity issue, you know. > > Thank you for the detailed explanation. > > Perhaps the easiest would be to expand `mouse-drag-copy-region' et al. > to optionally support the behavior you are describing? I'm sure we > would consider a patch to Emacs along those lines. > > Best regards, > Stefan Kangas
bug-gnu-emacs@HIDDEN
:bug#34014
; Package emacs
.
Full text available.Received: (at 34014) by debbugs.gnu.org; 16 Aug 2020 17:10:57 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Aug 16 13:10:57 2020 Received: from localhost ([127.0.0.1]:58361 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1k7MBN-00021p-82 for submit <at> debbugs.gnu.org; Sun, 16 Aug 2020 13:10:57 -0400 Received: from mail-yb1-f173.google.com ([209.85.219.173]:36358) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>) id 1k7MBL-00021X-5X for 34014 <at> debbugs.gnu.org; Sun, 16 Aug 2020 13:10:55 -0400 Received: by mail-yb1-f173.google.com with SMTP id g3so8142749ybc.3 for <34014 <at> debbugs.gnu.org>; Sun, 16 Aug 2020 10:10:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=ppM5nq4gCXx/B3riy05f4jq/U82VIOZbPTvX3hO7qRA=; b=e44f00rDn85aBrcHROmi+n2yllOcXrPMcDW3G5sCnEwSkOGBlom+UN03yTg31u4jik leieOG50IHPfaJSuy+A6Rt8934Jy5ZZrAIpcDECl/T5QaIBQhpiz6sLTgWLNqzN5rR9n 8iESAiRF/9m9IgeeR9FrvyTUszWJzN20C2brITIJsi1Gu9bT2jjR6+vy6g01KmBK++pu sY5Egw606PqEegUeP9GcNYKYuf040HamKVGwwQT8N5oxY6Ff4yt6w/hPaRKHUg5n5UVD 00NhUMPGODyBxW0bqC9jDP7CHQG4oI8ckq0AmjvEtw54uQ91Cs363hRpfgyZzOCzaPi3 eloQ== X-Gm-Message-State: AOAM531JmtikpjY1d4JF+haK4TTFSSMuvRN7KvYpyFK54WP4SSg62ehj avIGfy8z2lQ0/qhMpa7z4/VCeRsIT7wPmcAtAh0= X-Google-Smtp-Source: ABdhPJzB9yYRnP91IDQCUcHCaJM8RTVNABtXGqXZw97cwKShTLSH43GwsKtqjvTy6KHh9AXE32GCtcXqMh65PEMvOog= X-Received: by 2002:a5b:508:: with SMTP id o8mr17349111ybp.43.1597597849710; Sun, 16 Aug 2020 10:10:49 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 16 Aug 2020 10:10:49 -0700 From: Stefan Kangas <stefan@HIDDEN> In-Reply-To: <CACHJYufZhkcSgzcSx8OatdRttJKVb92jSHEcA0nzaiyrYCr5_Q@HIDDEN> References: <CACHJYueYx6RC18S6LGGRUZdkK_RPwnY_VGk3aR8zf1AzX6a26g@HIDDEN> <83pnrbhvna.fsf@HIDDEN> <CADwFkmkvkH0QoVumOOfKsyHwWY60MNtfO3HG2RTs_RhOWimeZw@HIDDEN> <CACHJYuftHtcJ_ixA0vKbRavKstkaR8fkBaZxyoO_N41Zq7Qy4w@HIDDEN> <CADwFkmkuRpjB_XPTGaW9QdaUqHsHPqA7W1cRpt0j2Vx7hQ-k7w@HIDDEN> <CACHJYucSP8QChH1EV4BcC9ibfV++wnJvmnpbub6gYNw3rO1trQ@HIDDEN> <CADwFkmnNLvz2F82jPW=X61wicOsK0XagYEaAG3f_xmWfDsEeVA@HIDDEN> <CACHJYueuu5j8OJUnePaBsrt_wwvg-0UF1FmhNRaankMUjFUqeQ@HIDDEN> <CADwFkmk6KbbrKtjj5nZG_znBjCNY-Lv=xDmWcqN=gQ7d4VZwVg@HIDDEN> <CACHJYufZhkcSgzcSx8OatdRttJKVb92jSHEcA0nzaiyrYCr5_Q@HIDDEN> MIME-Version: 1.0 Date: Sun, 16 Aug 2020 10:10:49 -0700 Message-ID: <CADwFkmmOyrBzCFfvTWgsFZHbLEUFRP9uyWhFU4_bcJpaDG-16w@HIDDEN> Subject: Re: bug#34014: 25.2; binding down mouse event with modifier to mouse-drag-region does not work To: Adolf Mathias <adolf.mathias@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 34014 Cc: 34014 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.5 (/) Adolf Mathias <adolf.mathias@HIDDEN> writes: > No, it doesn't. With emacs -Q, mouse-1 then mouse-3 does the same as > simply dragging out a region. Clicking mouse-3 at the same spot, the > region gets killed, otherwise readjusted. > With (setq mouse-drag-copy-region t), the region also gets copied to > the kill ring, otherwise it just disappears. > > Assume the text cursor is at position A. I want the region from B to C > copied to the text cursor position, and then continue editing right > behind the copied text. > > 1. Workflow with mouse-stay-and-copy bound to S-mouse-1: > press S-mouse-1 at B, release mouse-1 at C. > > 2. Workflow with mouse-copy-then-kill and (setq mouse-drag-copy-region t): > click mouse-1 at B, click mouse-3 at C, click mouse-1 at A, hit Ctrl-Y. > > 3. Workflow with standard dragged region: > drag out region from B to C. Hit Ctrl-W. Click mouse-1 at A. Hit Ctrl-Y. > > Workflow 1 saves me one or two mouse clicks and a keystroke and the > navigation back to A. It is that navigation back to A that bothers me > most - the dexterity issue, you know. Thank you for the detailed explanation. Perhaps the easiest would be to expand `mouse-drag-copy-region' et al. to optionally support the behavior you are describing? I'm sure we would consider a patch to Emacs along those lines. Best regards, Stefan Kangas
bug-gnu-emacs@HIDDEN
:bug#34014
; Package emacs
.
Full text available.Received: (at 34014) by debbugs.gnu.org; 16 Aug 2020 16:20:28 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Aug 16 12:20:28 2020 Received: from localhost ([127.0.0.1]:58269 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1k7LOW-0002Zx-IM for submit <at> debbugs.gnu.org; Sun, 16 Aug 2020 12:20:28 -0400 Received: from mail-wm1-f44.google.com ([209.85.128.44]:40280) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <adolf.mathias@HIDDEN>) id 1k7LOS-0002Zi-Pb for 34014 <at> debbugs.gnu.org; Sun, 16 Aug 2020 12:20:26 -0400 Received: by mail-wm1-f44.google.com with SMTP id k20so12009549wmi.5 for <34014 <at> debbugs.gnu.org>; Sun, 16 Aug 2020 09:20:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=5N/e3LH69LUDdxoP9lyUvbM7m4thvyhA/vjVTkkOkoE=; b=R0zuk9H/mBSqkyfiFFnl2UvX1ZQE6kOTYcRprOki7wvhtvYvzJ2tauxU5EsHa070Ep aHQCubbd0/eX5cvDD4dec3Asxiw/drDrvOWKOwMWrSKrHtJAVuOxEiljTVfPxuLSeFP1 T0LweSVuL4EpQURoSh+chAurSId4YauxYgtvwm2xCdqmSBJnPf0Q5bpAusguhYrEgerE jYZ/x5dNDE0LAfzM+er8kSeIBOvx63UZZMxa7+UkJQl3F0CefvwsG4m2FMeUih2Cbc52 z2HLTjg/MG0TK1KcxriOPVurWNWDbXe5zUMkAe1Zu2RUTfdibiqCNSq9FMn1tlcKmo7S Uvyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=5N/e3LH69LUDdxoP9lyUvbM7m4thvyhA/vjVTkkOkoE=; b=n8+dijRGKCHgdH0RPNvXDgQmSi4SPWn3FsgbNAoLBDEKRp+sj0BAgJm+Nm9ZTly5ku fQmekIUKFX2YJ2KYDfaZ62U5WZBfdzKzbtfsJeqU+nOJTSHjTO61EXbXCilH05AQXEmO QntNMMknA/HtkhJ/stQj5GLLfUp0cn2rK4GKd2xvZCzc0Of/kGpzLGqAB9sBCmiE6eco PNVuZW9oosLDOlBFfPU7pK6DPupT1G22YJ5VOzmh7A6D2NpRKHfEe2DR0Ces8xwI/5V8 7dgorO9nj1Ywb2NGaZKQ8GMUrpwo1WjbKTeZtPR1TqRfsrpdYbIkRbpxMn9oojN9w6mD ckrQ== X-Gm-Message-State: AOAM530kPvks4gKCKG2OhY8aS6+yuKBB/1uVNqpBH+C0HZ6wdJzdsRBz 0/OXKro+pF8nb6eC8QzkXk6q4ul3saBbDi3pjPo3WbHhKYE= X-Google-Smtp-Source: ABdhPJwk/kL8HYyl4N8XcVi4UW4GgJ/cQjdyQZOa/NUabgeA7JXFEBySdUnOGRXg268CEv1U22ptgxLoGpVc4b3qCQU= X-Received: by 2002:a1c:c90d:: with SMTP id f13mr11504394wmb.25.1597594818912; Sun, 16 Aug 2020 09:20:18 -0700 (PDT) MIME-Version: 1.0 References: <CACHJYueYx6RC18S6LGGRUZdkK_RPwnY_VGk3aR8zf1AzX6a26g@HIDDEN> <83pnrbhvna.fsf@HIDDEN> <CADwFkmkvkH0QoVumOOfKsyHwWY60MNtfO3HG2RTs_RhOWimeZw@HIDDEN> <CACHJYuftHtcJ_ixA0vKbRavKstkaR8fkBaZxyoO_N41Zq7Qy4w@HIDDEN> <CADwFkmkuRpjB_XPTGaW9QdaUqHsHPqA7W1cRpt0j2Vx7hQ-k7w@HIDDEN> <CACHJYucSP8QChH1EV4BcC9ibfV++wnJvmnpbub6gYNw3rO1trQ@HIDDEN> <CADwFkmnNLvz2F82jPW=X61wicOsK0XagYEaAG3f_xmWfDsEeVA@HIDDEN> <CACHJYueuu5j8OJUnePaBsrt_wwvg-0UF1FmhNRaankMUjFUqeQ@HIDDEN> <CADwFkmk6KbbrKtjj5nZG_znBjCNY-Lv=xDmWcqN=gQ7d4VZwVg@HIDDEN> In-Reply-To: <CADwFkmk6KbbrKtjj5nZG_znBjCNY-Lv=xDmWcqN=gQ7d4VZwVg@HIDDEN> From: Adolf Mathias <adolf.mathias@HIDDEN> Date: Sun, 16 Aug 2020 18:20:07 +0200 Message-ID: <CACHJYufZhkcSgzcSx8OatdRttJKVb92jSHEcA0nzaiyrYCr5_Q@HIDDEN> Subject: Re: bug#34014: 25.2; binding down mouse event with modifier to mouse-drag-region does not work To: Stefan Kangas <stefan@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 34014 Cc: 34014 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) No, it doesn't. With emacs -Q, mouse-1 then mouse-3 does the same as simply dragging out a region. Clicking mouse-3 at the same spot, the region gets killed, otherwise readjusted. With (setq mouse-drag-copy-region t), the region also gets copied to the kill ring, otherwise it just disappears. Assume the text cursor is at position A. I want the region from B to C copied to the text cursor position, and then continue editing right behind the copied text. 1. Workflow with mouse-stay-and-copy bound to S-mouse-1: press S-mouse-1 at B, release mouse-1 at C. 2. Workflow with mouse-copy-then-kill and (setq mouse-drag-copy-region t): click mouse-1 at B, click mouse-3 at C, click mouse-1 at A, hit Ctrl-Y. 3. Workflow with standard dragged region: drag out region from B to C. Hit Ctrl-W. Click mouse-1 at A. Hit Ctrl-Y. Workflow 1 saves me one or two mouse clicks and a keystroke and the navigation back to A. It is that navigation back to A that bothers me most - the dexterity issue, you know. On Sun, Aug 16, 2020 at 4:34 PM Stefan Kangas <stefan@HIDDEN> wrote: > > Adolf Mathias <adolf.mathias@HIDDEN> writes: > > > The function allows a workflow that I know from the SunOS Textedit > > from the late 1980s. Your cursor is somewhere in the text, you drag > > out a region in the same window/buffer or another one, and the text > > that you selected gets copied to your cursor at mouse button release, > > without having to reposition your cursor. > > Does the following cover your use case? > > (setq mouse-drag-copy-region t) > > Alternatively: > > M-x customize-option RET mouse-drag-copy-region RET > > Best regards, > Stefan Kangas
bug-gnu-emacs@HIDDEN
:bug#34014
; Package emacs
.
Full text available.Received: (at 34014) by debbugs.gnu.org; 16 Aug 2020 14:34:09 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Aug 16 10:34:09 2020 Received: from localhost ([127.0.0.1]:58118 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1k7Jjd-0008SX-2O for submit <at> debbugs.gnu.org; Sun, 16 Aug 2020 10:34:09 -0400 Received: from mail-yb1-f177.google.com ([209.85.219.177]:44786) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>) id 1k7Jja-0008S5-OB for 34014 <at> debbugs.gnu.org; Sun, 16 Aug 2020 10:34:07 -0400 Received: by mail-yb1-f177.google.com with SMTP id i10so7962493ybt.11 for <34014 <at> debbugs.gnu.org>; Sun, 16 Aug 2020 07:34:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=9O9yUjutjl7Yr+UWPsjcI2oxbHnmC7Zjc/NKxeqeuMw=; b=NjSpaeA1XxnaILFXQtgkaAxE6qfobq1CCbzOmJ0yRqxl9ZhIL3+43iZwa3G7vy1tTu Nsns30x2KpBG/DOvzxIaTmt8p7qdx3Y+flghpCxakK+JsGJBytgGti/UJ7xiFq4a07yT lrYChrgVypI6b7N3wndNtc3BO+4R+AjwN7NSFZPVkjvOX3tgUUd6IluZ7ylHMbaBnuqP 79DonppRNDEoWqgcFCT0pxKHbY1dF2+c4Q5RT1LKSmrOr10wZW4VgkdXG6zrM61nyKNc u2YLfQ5eI6ALfIGec+SNmEAkKDPZ/p3Fr0gh2oT3/3OfR+wUdS509GUQtRMI/REz7fT3 7noA== X-Gm-Message-State: AOAM532a71srLoaIIKXQKthde+jWtUzSbUiRMaNMKQbjQcarjgLZ94Kg FZtYOeQ03MVYMSxmEEHPf05xAaIrACAWsERIv2c= X-Google-Smtp-Source: ABdhPJzjPTXf55CXZkxIVKiH9vEqk+SqoeQNMf7757kI45UUJi/DkWl7MYU7D8B+XuJT9hCfXyko7614d9MZNS/8R3Q= X-Received: by 2002:a25:880e:: with SMTP id c14mr15354787ybl.181.1597588441232; Sun, 16 Aug 2020 07:34:01 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 16 Aug 2020 07:34:00 -0700 From: Stefan Kangas <stefan@HIDDEN> In-Reply-To: <CACHJYueuu5j8OJUnePaBsrt_wwvg-0UF1FmhNRaankMUjFUqeQ@HIDDEN> References: <CACHJYueYx6RC18S6LGGRUZdkK_RPwnY_VGk3aR8zf1AzX6a26g@HIDDEN> <83pnrbhvna.fsf@HIDDEN> <CADwFkmkvkH0QoVumOOfKsyHwWY60MNtfO3HG2RTs_RhOWimeZw@HIDDEN> <CACHJYuftHtcJ_ixA0vKbRavKstkaR8fkBaZxyoO_N41Zq7Qy4w@HIDDEN> <CADwFkmkuRpjB_XPTGaW9QdaUqHsHPqA7W1cRpt0j2Vx7hQ-k7w@HIDDEN> <CACHJYucSP8QChH1EV4BcC9ibfV++wnJvmnpbub6gYNw3rO1trQ@HIDDEN> <CADwFkmnNLvz2F82jPW=X61wicOsK0XagYEaAG3f_xmWfDsEeVA@HIDDEN> <CACHJYueuu5j8OJUnePaBsrt_wwvg-0UF1FmhNRaankMUjFUqeQ@HIDDEN> MIME-Version: 1.0 Date: Sun, 16 Aug 2020 07:34:00 -0700 Message-ID: <CADwFkmk6KbbrKtjj5nZG_znBjCNY-Lv=xDmWcqN=gQ7d4VZwVg@HIDDEN> Subject: Re: bug#34014: 25.2; binding down mouse event with modifier to mouse-drag-region does not work To: Adolf Mathias <adolf.mathias@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 34014 Cc: 34014 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.5 (/) Adolf Mathias <adolf.mathias@HIDDEN> writes: > The function allows a workflow that I know from the SunOS Textedit > from the late 1980s. Your cursor is somewhere in the text, you drag > out a region in the same window/buffer or another one, and the text > that you selected gets copied to your cursor at mouse button release, > without having to reposition your cursor. Does the following cover your use case? (setq mouse-drag-copy-region t) Alternatively: M-x customize-option RET mouse-drag-copy-region RET Best regards, Stefan Kangas
bug-gnu-emacs@HIDDEN
:bug#34014
; Package emacs
.
Full text available.Received: (at 34014) by debbugs.gnu.org; 15 Aug 2020 12:07:40 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Aug 15 08:07:40 2020 Received: from localhost ([127.0.0.1]:54392 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1k6uyK-0005V5-HO for submit <at> debbugs.gnu.org; Sat, 15 Aug 2020 08:07:40 -0400 Received: from mail-wm1-f54.google.com ([209.85.128.54]:38659) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <adolf.mathias@HIDDEN>) id 1k6uyI-0005Uq-Tv for 34014 <at> debbugs.gnu.org; Sat, 15 Aug 2020 08:07:39 -0400 Received: by mail-wm1-f54.google.com with SMTP id t14so10022239wmi.3 for <34014 <at> debbugs.gnu.org>; Sat, 15 Aug 2020 05:07:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=LSFqyWaas4BoNx5jAPI5HvxoOK2zQlTZT0SSyuVLqUU=; b=LbBIExkpincImRAZMiOK+KeIRIvJ/jREJiTB0GJO/BoUwTCz/GG66LRPKYSYRd4KtG ZuwdKMI74zBVx0e5afBxsp+uXpMFeiFhaY8SDflgs5RxbcSCQ4ZRC/CCR+ifKp311pW/ 4E2+2o1P6J8mQyGm+DzHvPVwT0JsCBxRhpQ4yrJEdMnALfUQp4h6Upuk8MFUyMZDhjtd ZbBh6cGempQdRlYvimbhASCBE1hX+6hl1lOmrDvVdFykzaoX0SAK05yU2+qioQT4zvI2 fOFdTXiRJfrvKKxIZ5+n2InOxprs5Z/288/EQ9h9FwPeHJkh1WUl6aLlXEO8+nteqi0Q IHxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=LSFqyWaas4BoNx5jAPI5HvxoOK2zQlTZT0SSyuVLqUU=; b=KrYQQ0MbfXMlm2vbL9PjVD56Zoq/3OPvDqSIckRuScYy0DEMsVlKNFlpE5NrF301C/ fsIUYZ7D6T9noVToWUBrCSHe/RtF8bUEvq79AWWNTynEouQKLvt4pozkSShFBpLwMNhE OrxwoP3IRSgIB+OGBoY+C12aPHRdgE0wof5Kv+95cyK/eaFOjE1vI4giF973JcEUE9ud HS48xYzc5o4003zZrREta+Y8jC6ZkJ11dVwHToAhC041Uoab3SZzdK74yQSaLX8m6DOT JYtsZjhOqe8Mnz/JpvU7muSG3mH8bR+0brC2UVKMVhx/7lSXMNEgPp/EIL8nvldKGGYi kp8A== X-Gm-Message-State: AOAM531CrdnOavKWu2GDYmHWKYHX+HxfRpewF697fYgM2HglJy6jMfYa Aeah9ZQ4cBeQ0qGMiIggIzbYPMAIadY2hgxUzjGe4jk9+20= X-Google-Smtp-Source: ABdhPJymybWJzPI9lc3yaJbCl5c8M5vpN/e1XPH+3RrOT1EcIWTefgF3dD3VQLaVrN7ym3UOqrb2xXfJR1NCrrwjkUg= X-Received: by 2002:a1c:9803:: with SMTP id a3mr6308049wme.57.1597493252985; Sat, 15 Aug 2020 05:07:32 -0700 (PDT) MIME-Version: 1.0 References: <CACHJYueYx6RC18S6LGGRUZdkK_RPwnY_VGk3aR8zf1AzX6a26g@HIDDEN> <83pnrbhvna.fsf@HIDDEN> <CADwFkmkvkH0QoVumOOfKsyHwWY60MNtfO3HG2RTs_RhOWimeZw@HIDDEN> <CACHJYuftHtcJ_ixA0vKbRavKstkaR8fkBaZxyoO_N41Zq7Qy4w@HIDDEN> <CADwFkmkuRpjB_XPTGaW9QdaUqHsHPqA7W1cRpt0j2Vx7hQ-k7w@HIDDEN> <CACHJYucSP8QChH1EV4BcC9ibfV++wnJvmnpbub6gYNw3rO1trQ@HIDDEN> <CADwFkmnNLvz2F82jPW=X61wicOsK0XagYEaAG3f_xmWfDsEeVA@HIDDEN> In-Reply-To: <CADwFkmnNLvz2F82jPW=X61wicOsK0XagYEaAG3f_xmWfDsEeVA@HIDDEN> From: Adolf Mathias <adolf.mathias@HIDDEN> Date: Sat, 15 Aug 2020 14:07:21 +0200 Message-ID: <CACHJYudN=ATYLcLUmgpEcvrJ=bUZW8M6AaGfAbo4arR2sinHAA@HIDDEN> Subject: Re: bug#34014: 25.2; binding down mouse event with modifier to mouse-drag-region does not work To: Stefan Kangas <stefan@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 34014 Cc: 34014 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) No, this does not work - it kills between the original mouse position and the position where the S-mouse1 went down. Funny is, it works on Emacs24 - probably because the mouse-drag-track in mouse-stay-and-copy keeps the S-drag-mouse-1 binding from receiving events. It seems that mouse-drag-track is broken, what concerns my expectations to it. And it can be reimplemented, as I mentioned before that I did - I just did not bother to reimplement the multiple-click logic that is part of it. On Sat, Aug 15, 2020 at 4:20 AM Stefan Kangas <stefan@HIDDEN> wrote: > > Adolf Mathias <adolf.mathias@HIDDEN> writes: > > > On Emacs Post 24, this stopped to work. > > Could you also explain what exactly your code is supposed to be doing? > > And did you try the following? > > (define-key global-map '[S-down-mouse-1] 'mouse-stay-and-copy) > (define-key global-map '[S-drag-mouse-1] 'mouse-set-region) > > Best regards, > Stefan Kangas
bug-gnu-emacs@HIDDEN
:bug#34014
; Package emacs
.
Full text available.Received: (at 34014) by debbugs.gnu.org; 15 Aug 2020 11:54:07 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Aug 15 07:54:07 2020 Received: from localhost ([127.0.0.1]:54387 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1k6ulD-0005A8-95 for submit <at> debbugs.gnu.org; Sat, 15 Aug 2020 07:54:07 -0400 Received: from mail-wm1-f43.google.com ([209.85.128.43]:37312) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <adolf.mathias@HIDDEN>) id 1k6ulA-00059a-Ds for 34014 <at> debbugs.gnu.org; Sat, 15 Aug 2020 07:54:06 -0400 Received: by mail-wm1-f43.google.com with SMTP id k8so10007576wma.2 for <34014 <at> debbugs.gnu.org>; Sat, 15 Aug 2020 04:54:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=l7c3T4C2bTwMF2dp2TFmnSdxb1n2uBikQZnDX4zdfc0=; b=jcHzbw91RwCiE3mhCw6THQeGh+xYdzSNXvo3Nl8ujb4h2yy0NsUFp/CugIj6Sbs/cS +Mozr/91poA+QG5NvC8GYzsmwwNDMMDRb6loOt5TDo1N7tz7LGOWr9k1/gJQhYXukI+K sa/jRf6HFpk3leWKRKveI4Zn940oyYKrdEFwkQjYuqYZXh3yVGpQ0uUgu/dU+ghIrVIB OVhEjMkN6fbpL7ERROxSODwvmK8U1F0Yj8P/L7mUviClwKfIaTE7Q9tfDEZ98P7EXTce koHw/Duhnukm1qcs3BJQ2jHG4QqPinwUdfdqGFe7e1tzbfWF4w0UcW558SGjyeg2kj6A MKkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=l7c3T4C2bTwMF2dp2TFmnSdxb1n2uBikQZnDX4zdfc0=; b=bQ0CzG+azUSM9k2xErVVWox8bLknV0wgc2/G5hxK/lVIAapYvZaqRWBORYwgXXi8WD y77HkgJIM/7Z4wP5DMV9NrFIuZJS/A+vmrXd3YddUKeqQwVM9Wnne6zd8SdGRsI2sdnt JJnnoQgg+41Oz4BUCiKnsrrdGOOuQ4dfM2NbekEz63Qnw8u1JpoBo9TqirJbrGQ+j0Ka PWqck41xFEc1l5xjYBOHg6ra3KbNWh7N9YYoUoVf/AjiOGNgcDGu8WyKbV7sisaGd9ip /6HRHTe5WF8khIkpQSXtbuBR8KrsVAsIAdB6qON2kvaItCfPWJWWi30sFiuUtcsHJQJS N65A== X-Gm-Message-State: AOAM530VVD/2sOUmnVEiIhphn39ZsgF9fuqRvxAHvvNvhReigiwwArs6 G0UkRUclqnnOo+lXDEeEVbNHlM9/ivLnlw8oJAq8Vhdx X-Google-Smtp-Source: ABdhPJwlyTghE7kkxv7CnCgycG+JZtMc2o7Ra+ytuOxeZ5vi5YjewP2gLAjr4mcakGiOw9yvexXxQWtmWuUWAQ8gJxI= X-Received: by 2002:a1c:c90d:: with SMTP id f13mr6637852wmb.25.1597492438452; Sat, 15 Aug 2020 04:53:58 -0700 (PDT) MIME-Version: 1.0 References: <CACHJYueYx6RC18S6LGGRUZdkK_RPwnY_VGk3aR8zf1AzX6a26g@HIDDEN> <83pnrbhvna.fsf@HIDDEN> <CADwFkmkvkH0QoVumOOfKsyHwWY60MNtfO3HG2RTs_RhOWimeZw@HIDDEN> <CACHJYuftHtcJ_ixA0vKbRavKstkaR8fkBaZxyoO_N41Zq7Qy4w@HIDDEN> <CADwFkmkuRpjB_XPTGaW9QdaUqHsHPqA7W1cRpt0j2Vx7hQ-k7w@HIDDEN> <CACHJYucSP8QChH1EV4BcC9ibfV++wnJvmnpbub6gYNw3rO1trQ@HIDDEN> <CADwFkmnNLvz2F82jPW=X61wicOsK0XagYEaAG3f_xmWfDsEeVA@HIDDEN> In-Reply-To: <CADwFkmnNLvz2F82jPW=X61wicOsK0XagYEaAG3f_xmWfDsEeVA@HIDDEN> From: Adolf Mathias <adolf.mathias@HIDDEN> Date: Sat, 15 Aug 2020 13:53:47 +0200 Message-ID: <CACHJYueuu5j8OJUnePaBsrt_wwvg-0UF1FmhNRaankMUjFUqeQ@HIDDEN> Subject: Re: bug#34014: 25.2; binding down mouse event with modifier to mouse-drag-region does not work To: Stefan Kangas <stefan@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 34014 Cc: 34014 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Sorry, I always had the impression that the comment of mouse-stay-ad-copy was explicit enough - also, when I was in conversation with the previous guy who processed this bug report, I explained it to him, and most certainly didn't reply to all, and that person did not mention this to me as you did. Anyway... The function allows a workflow that I know from the SunOS Textedit from the late 1980s. Your cursor is somewhere in the text, you drag out a region in the same window/buffer or another one, and the text that you selected gets copied to your cursor at mouse button release, without having to reposition your cursor. Without it, the normal workflow is: you remember where your cursor is, select a region and either use middle button to paste at the remembered position, given that you are dexterous enough to hit the right spot (which, as you can tell from my experiences with SunOS, is not so much the case any more), or hit Ctrl-C or Alt-W, then position the cursor at the remembered position and hit Ctrl-Y or Ctrl-V. mouse-stay-and-copy accelerates a very frequent operation and saves the user from having to remember the original inserting position and being dexterous enough to hit it again, or having to use the Emacs mark stack that I personally find rather unintuitive. Along with mouse-stay-and-copy, I also have mouse-stay-and-kill, which kills the temporarily dragged out region and moves it to the original cursor position, and mouse-stay-and-swap, which, given a currently selected region, allows to drag out that temporary selection whose content is then swapped with the original selection. That one saves a lot of work in certain cases, once you are used to it. I used to bind it to C-M-button1. On Sat, Aug 15, 2020 at 4:20 AM Stefan Kangas <stefan@HIDDEN> wrote: > > Adolf Mathias <adolf.mathias@HIDDEN> writes: > > > On Emacs Post 24, this stopped to work. > > Could you also explain what exactly your code is supposed to be doing? > > And did you try the following? > > (define-key global-map '[S-down-mouse-1] 'mouse-stay-and-copy) > (define-key global-map '[S-drag-mouse-1] 'mouse-set-region) > > Best regards, > Stefan Kangas
bug-gnu-emacs@HIDDEN
:bug#34014
; Package emacs
.
Full text available.Stefan Kangas <stefan@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 34014) by debbugs.gnu.org; 15 Aug 2020 02:20:22 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Aug 14 22:20:22 2020 Received: from localhost ([127.0.0.1]:54094 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1k6lnt-0002CY-Qo for submit <at> debbugs.gnu.org; Fri, 14 Aug 2020 22:20:22 -0400 Received: from mail-yb1-f182.google.com ([209.85.219.182]:36005) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>) id 1k6lnr-0002CF-3M for 34014 <at> debbugs.gnu.org; Fri, 14 Aug 2020 22:20:17 -0400 Received: by mail-yb1-f182.google.com with SMTP id g3so6226147ybc.3 for <34014 <at> debbugs.gnu.org>; Fri, 14 Aug 2020 19:20:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=zM1KFcN5Gp9ft6SVeC2YcRpi0FSg4jx3LiRjSrlSI0o=; b=JTEnX7hY/r3zEoEL5QV0COruPySj9HBPuxKHtkreYlj+8ovMfAHOSrR8XIdNh4HMwy qwwuzFHpaC8/SkyiuUvDniQb4krsZAs2oyhGxhYHd5TdMoIwX/lcXFNdpEcavO/dx0Lq wkbJSdbuuOw1huyoKHeFKiofkuB/D/T/RJn5Hm0NwMEYvBKl7hpsoPpuuTncP+P6jlev ThuCTVxw9s8dwiCrECBZ2nt6mKsXaEE/kzDBNWQtiJVNZ20Ix8CnP2TSL4cm9UNsnKgg fWyEbpyRemS9VAwqjnitn/THK9z331OWbht4tutCMJjHBeEHDE1wO8T8bzIl8TLiUtEo mUgg== X-Gm-Message-State: AOAM532q/0chRx/T+FVzMtDs0MdLeCNZWIOYDuHqu0OSGbH5gal5Pkyv pFWT3XZ0i5CnsGCYFhsW1Gdj4TTaX2YAdfPyTFo= X-Google-Smtp-Source: ABdhPJwwBS1NZcUmjRewWnJMsrslfRA0PEjsqnb8/z66GscBbU4Nxh1ATtbawD2/l5Ru3I/6gdAaVW3wRRkX6go5D/g= X-Received: by 2002:a5b:410:: with SMTP id m16mr7209700ybp.309.1597458009683; Fri, 14 Aug 2020 19:20:09 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 14 Aug 2020 19:20:09 -0700 From: Stefan Kangas <stefan@HIDDEN> In-Reply-To: <CACHJYucSP8QChH1EV4BcC9ibfV++wnJvmnpbub6gYNw3rO1trQ@HIDDEN> References: <CACHJYueYx6RC18S6LGGRUZdkK_RPwnY_VGk3aR8zf1AzX6a26g@HIDDEN> <83pnrbhvna.fsf@HIDDEN> <CADwFkmkvkH0QoVumOOfKsyHwWY60MNtfO3HG2RTs_RhOWimeZw@HIDDEN> <CACHJYuftHtcJ_ixA0vKbRavKstkaR8fkBaZxyoO_N41Zq7Qy4w@HIDDEN> <CADwFkmkuRpjB_XPTGaW9QdaUqHsHPqA7W1cRpt0j2Vx7hQ-k7w@HIDDEN> <CACHJYucSP8QChH1EV4BcC9ibfV++wnJvmnpbub6gYNw3rO1trQ@HIDDEN> MIME-Version: 1.0 Date: Fri, 14 Aug 2020 19:20:09 -0700 Message-ID: <CADwFkmnNLvz2F82jPW=X61wicOsK0XagYEaAG3f_xmWfDsEeVA@HIDDEN> Subject: Re: bug#34014: 25.2; binding down mouse event with modifier to mouse-drag-region does not work To: Adolf Mathias <adolf.mathias@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 34014 Cc: 34014 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Adolf Mathias <adolf.mathias@HIDDEN> writes: > On Emacs Post 24, this stopped to work. Could you also explain what exactly your code is supposed to be doing? And did you try the following? (define-key global-map '[S-down-mouse-1] 'mouse-stay-and-copy) (define-key global-map '[S-drag-mouse-1] 'mouse-set-region) Best regards, Stefan Kangas
bug-gnu-emacs@HIDDEN
:bug#34014
; Package emacs
.
Full text available.Received: (at 34014) by debbugs.gnu.org; 14 Aug 2020 18:59:01 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Aug 14 14:59:01 2020 Received: from localhost ([127.0.0.1]:53865 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1k6euq-00006n-CP for submit <at> debbugs.gnu.org; Fri, 14 Aug 2020 14:59:01 -0400 Received: from mail-wm1-f43.google.com ([209.85.128.43]:50214) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <adolf.mathias@HIDDEN>) id 1k6euo-00006Q-NR for 34014 <at> debbugs.gnu.org; Fri, 14 Aug 2020 14:58:59 -0400 Received: by mail-wm1-f43.google.com with SMTP id c80so8296457wme.0 for <34014 <at> debbugs.gnu.org>; Fri, 14 Aug 2020 11:58:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7kU8v+wXPNhLhpnSV5o0pMOwELkJsX15IsVnnf2nUrs=; b=s7GQKJHWxftC+0bfNEEEj5E143fWN2NxcOp0tdeJ2LZjSqUWKtM1tavnOW/pC3hZrZ yuF4hsctulBJ9IVOqndF4tsutc754NmYBohlcjM3AzvOheo2VCo+sg176jrSO2b0BFju V69zf/CtJlQIf6+kt7NE6mPheyzT+gS7z5Dlxhv+ko3Tgt6xFbTwrbG1U+1NGqQ8Sd1W sxbGvROB3lLPxJ2c7ekl88ZCZrVytcvca3q7891zQUCNhjJ9y5cxM4VUs7A29lU5XupZ NhUgcp8VbU1koaxPbeYKNYK1eyCA/jVHLbusb7sg7Misqn5+kKJDGZTpYL/muxOauWLt H7rg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7kU8v+wXPNhLhpnSV5o0pMOwELkJsX15IsVnnf2nUrs=; b=D+NYIcYJXO04OY09ygBB/3OCqq7zwxiT/2UpUgBCHBJi++RltVO1CqzHvA5QEK3xU/ dpIE/0DHAm0aqYqd46gaFyganBA+vJRPsmlxIhWRYnyAW8HShu6zImPcFv7WoTumNyPa x+FzhrChTg9qVK9fdWDMCx7bMRDxQ20il+4BeUgbuirzNnYpHgghftxVhiphnfj3+ekr lLjcnBIFvu3od003O7IzvG4TpaQPvRHpaySNUa1plgLwZUSmy0BAqu0EOULAiQCUqRvn 4fAR7FILzH1f9MEB+QpnLer08XTtGpiC3XccFJrUk8nd+1mTlaS6kmuo15VYudx/ce1a QdYg== X-Gm-Message-State: AOAM531SQIEvpRriRiqclqy9vT1jmcTJ7z5crpsezbYUYdRkCMNm2Jjm LeuCpakC8brl79xcgndD/AHeJyfn0Mhae71QXfrkrtKtPbA= X-Google-Smtp-Source: ABdhPJw13hjpxeWEB+e1iWLaqP3qEPhty1gLiNbzY16kYXcT0BFw/iuCkYIJ6YVnEVoyYgV9fDQHtJ74oD0uVL9HIdw= X-Received: by 2002:a1c:9803:: with SMTP id a3mr3551894wme.57.1597431532665; Fri, 14 Aug 2020 11:58:52 -0700 (PDT) MIME-Version: 1.0 References: <CACHJYueYx6RC18S6LGGRUZdkK_RPwnY_VGk3aR8zf1AzX6a26g@HIDDEN> <83pnrbhvna.fsf@HIDDEN> <CADwFkmkvkH0QoVumOOfKsyHwWY60MNtfO3HG2RTs_RhOWimeZw@HIDDEN> <CACHJYuftHtcJ_ixA0vKbRavKstkaR8fkBaZxyoO_N41Zq7Qy4w@HIDDEN> <CADwFkmkuRpjB_XPTGaW9QdaUqHsHPqA7W1cRpt0j2Vx7hQ-k7w@HIDDEN> In-Reply-To: <CADwFkmkuRpjB_XPTGaW9QdaUqHsHPqA7W1cRpt0j2Vx7hQ-k7w@HIDDEN> From: Adolf Mathias <adolf.mathias@HIDDEN> Date: Fri, 14 Aug 2020 20:58:41 +0200 Message-ID: <CACHJYucSP8QChH1EV4BcC9ibfV++wnJvmnpbub6gYNw3rO1trQ@HIDDEN> Subject: Re: bug#34014: 25.2; binding down mouse event with modifier to mouse-drag-region does not work To: Stefan Kangas <stefan@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 34014 Cc: 34014 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Yes, your two expressions works on emacs-27.1 which I just installed with snap on an Ubuntu 18.04, dragging S-mouse1 sets the region like mouse-1. The thing is, on Emacs24 and before I had the following working code: ========================== (defun mouse-stay-and-copy (click) "leaves cursor at current position, allows to drag a region which is yanked at cursor position" (interactive "e") (let ((selected nil) (win (selected-window)) (otherwin nil) (otherstart nil) (eventstart nil)) (save-excursion (setq eventstart (event-start click)) (setq otherwin (car eventstart)) (setq otherstart (window-start otherwin)) (mouse-drag-track click) (if mark-active (progn (kill-new (buffer-substring (region-beginning) (region-end))) (setq selected 1) ))) (select-window win) (if selected (progn (if mark-active (delete-region (region-beginning) (region-end))) (yank) ;;(redraw-display) )) (set-window-start otherwin otherstart nil))) (define-key global-map '[S-down-mouse-1] 'mouse-stay-and-copy) ========================== On Emacs Post 24, this stopped to work. When I filed the bug report, I reduced this to a builtin Emacs function. On Emacs 24, to bind Shift-mouse1, only the following call is required: (define-key global-map '[S-down-mouse-1] 'mouse-drag-region) My mouse-stay-and-copy is just a fancy replacement for mouse-drag-region. Sadly, its API in conjunction with mouse-drag-track has changed mysteriously with post-24. On Fri, Aug 14, 2020 at 4:29 PM Stefan Kangas <stefan@HIDDEN> wrote: > > reopen 34014 > thanks > > Hi Adolf, > > [Please use "Reply to all" so that the discussion is recorded in the bug > tracker.] > > Adolf Mathias <adolf.mathias@HIDDEN> writes: > > > Sorry for the apparent delay. I myself got a bit frustrated with the > > issue and rewrote a simple version of mouse-drag-region for myself > > which does not deal with double/triple-clicks acting on words and > > lines however. I was not able to disentangle what Emacs does there. > > I somehow was convinced that I had answered back then why I wanted to > > bind mouse-drag-region to a button-down event. > > I did so because the Emacs help on mouse-drag-region told me so, and > > because it used to work that way. > > Thanks for replying back. I am therefore reopening this bug. > With your help, we could try to figure out what is going on here. > > Does it work like you expect if you evaluate this in emacs -Q? > > (define-key global-map '[S-down-mouse-1] 'mouse-drag-region) > (define-key global-map '[S-drag-mouse-1] 'mouse-set-region) > > If that does not help, could you please try to describe the use-case in > more detail and explain what it is you're trying to achieve? > > Thanks in advance. > > Best regards, > Stefan Kangas
bug-gnu-emacs@HIDDEN
:bug#34014
; Package emacs
.
Full text available.Debbugs Internal Request <help-debbugs@HIDDEN>
to internal_control <at> debbugs.gnu.org
.
Full text available.Received: (at 34014) by debbugs.gnu.org; 14 Aug 2020 14:29:47 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Aug 14 10:29:47 2020 Received: from localhost ([127.0.0.1]:53421 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1k6aiI-0000yM-Q2 for submit <at> debbugs.gnu.org; Fri, 14 Aug 2020 10:29:46 -0400 Received: from mail-yb1-f169.google.com ([209.85.219.169]:34981) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>) id 1k6aiH-0000xf-0h for 34014 <at> debbugs.gnu.org; Fri, 14 Aug 2020 10:29:45 -0400 Received: by mail-yb1-f169.google.com with SMTP id y134so5307892yby.2 for <34014 <at> debbugs.gnu.org>; Fri, 14 Aug 2020 07:29:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=zMLGrV5RS/9Hd9c/jNEEiU7nlHWnYPVJCM2ZARw0riI=; b=GnTzU0tdELY1UdYcLNCldwc/+9TAD663rlK/uigHBjZE3jv4ElK+i6qvmgpYQm6GxO H44f8bSpoRR6iTrnhPcmeCFmaJzqTbG+tFSao4+ArRlqaV45DYZURJGXtTsoqr1GEb1w 3jWyQZG3xnr87FionhCThqLok/mZDYDb5G3mHny8L3b5SYgX+95SaQyu3rV1fsa/9zt6 A2lkKoY4GhoM51/42NA4CSuazXYvo13DgPMy7xtJjHWcmo4Rp9PbxXAHErxZtGDYk144 iC07BFzx3d4/OLDKWyfqhhAMYZfFfFJfTBj6Ik7OxkKsRrKo7jVOB+3U9sbhJ9O0PBj6 UMog== X-Gm-Message-State: AOAM531E1KEYu9voFbVpwdUZMcQI/vfIU+SpbMO6O1eGi3JSl8DqVdJB tyFtHLsJVv9A5YuSeVLtQkxZz/D4ruB3Nxc7Vg0= X-Google-Smtp-Source: ABdhPJwKveYF/J2rYXPvSHkLTCPWJ79oE+37UMih+4K8IJaUO3lq1ZkQP/UR9PBFF5Gb15si4EeRzgfn2KziQyEUd24= X-Received: by 2002:a25:b290:: with SMTP id k16mr3988899ybj.389.1597415379603; Fri, 14 Aug 2020 07:29:39 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 14 Aug 2020 07:29:39 -0700 From: Stefan Kangas <stefan@HIDDEN> In-Reply-To: <CACHJYuftHtcJ_ixA0vKbRavKstkaR8fkBaZxyoO_N41Zq7Qy4w@HIDDEN> References: <CACHJYueYx6RC18S6LGGRUZdkK_RPwnY_VGk3aR8zf1AzX6a26g@HIDDEN> <83pnrbhvna.fsf@HIDDEN> <CADwFkmkvkH0QoVumOOfKsyHwWY60MNtfO3HG2RTs_RhOWimeZw@HIDDEN> <CACHJYuftHtcJ_ixA0vKbRavKstkaR8fkBaZxyoO_N41Zq7Qy4w@HIDDEN> MIME-Version: 1.0 Date: Fri, 14 Aug 2020 07:29:39 -0700 Message-ID: <CADwFkmkuRpjB_XPTGaW9QdaUqHsHPqA7W1cRpt0j2Vx7hQ-k7w@HIDDEN> Subject: Re: bug#34014: 25.2; binding down mouse event with modifier to mouse-drag-region does not work To: Adolf Mathias <adolf.mathias@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 34014 Cc: 34014 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) reopen 34014 thanks Hi Adolf, [Please use "Reply to all" so that the discussion is recorded in the bug tracker.] Adolf Mathias <adolf.mathias@HIDDEN> writes: > Sorry for the apparent delay. I myself got a bit frustrated with the > issue and rewrote a simple version of mouse-drag-region for myself > which does not deal with double/triple-clicks acting on words and > lines however. I was not able to disentangle what Emacs does there. > I somehow was convinced that I had answered back then why I wanted to > bind mouse-drag-region to a button-down event. > I did so because the Emacs help on mouse-drag-region told me so, and > because it used to work that way. Thanks for replying back. I am therefore reopening this bug. With your help, we could try to figure out what is going on here. Does it work like you expect if you evaluate this in emacs -Q? (define-key global-map '[S-down-mouse-1] 'mouse-drag-region) (define-key global-map '[S-drag-mouse-1] 'mouse-set-region) If that does not help, could you please try to describe the use-case in more detail and explain what it is you're trying to achieve? Thanks in advance. Best regards, Stefan Kangas
bug-gnu-emacs@HIDDEN
:bug#34014
; Package emacs
.
Full text available.Received: (at 34014-done) by debbugs.gnu.org; 13 Aug 2020 12:02:20 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Aug 13 08:02:20 2020 Received: from localhost ([127.0.0.1]:47321 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1k6Bw4-0006O4-CI for submit <at> debbugs.gnu.org; Thu, 13 Aug 2020 08:02:20 -0400 Received: from mail-yb1-f173.google.com ([209.85.219.173]:45803) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>) id 1k6Bw2-0006Ns-2J for 34014-done <at> debbugs.gnu.org; Thu, 13 Aug 2020 08:02:18 -0400 Received: by mail-yb1-f173.google.com with SMTP id x2so3141107ybf.12 for <34014-done <at> debbugs.gnu.org>; Thu, 13 Aug 2020 05:02:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc; bh=lguPyutmTwzcfijDKt094JSJAzLcZo0huxOhBJVQsFI=; b=avie9wbTmz6d1haS1yHjzUPRpyaXJnmYfvUyHikVvjnordUG8ez06YTssGvqkharzO ylggfSKCQRnQQsQmdCGWcTN7d8V6m72AwFoOzJnmhzr9FKGR+FNz/3k4q92ia8LRxyjP lCXuXmHeWn2Fo63I8rgNkVwo5SOymteWww+cmE2aPeenrI9+ji7ej+iiq/VEq3DrwYQu 4qGW7cp2NnKhXG0W54rS1UfS4+22WEeAzt5Wcazy5Zh+qtmE2Z1/53uqqrScDG+bsH6S Tre0SxmCq1PG/YftpAxdMDjlajn4l7jAsR1rVXXX5a4TLO6Yn5bzjeOiycdGi6ivxXpQ 7hBg== X-Gm-Message-State: AOAM5328aLnQHbbUk84MOsHUDiYJ8yWA1A1XAzuGLndQcPGSNMKnCaz3 h4HQ3PMfrVHx88LDsD6Hn+NEFU48U8Su5tjHggg= X-Google-Smtp-Source: ABdhPJx722MAjutuHXMqJc1FkBPyRIjVQegwI4uBhaDiGseiD4bfGh4AOO611/cBUL20b96HjqAo/OOHDSG8bzOhSiE= X-Received: by 2002:a25:4609:: with SMTP id t9mr5760184yba.231.1597320132650; Thu, 13 Aug 2020 05:02:12 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 13 Aug 2020 05:02:12 -0700 From: Stefan Kangas <stefan@HIDDEN> In-Reply-To: <83pnrbhvna.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 01 Mar 2019 10:00:09 +0200") References: <CACHJYueYx6RC18S6LGGRUZdkK_RPwnY_VGk3aR8zf1AzX6a26g@HIDDEN> <83pnrbhvna.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Date: Thu, 13 Aug 2020 05:02:12 -0700 Message-ID: <CADwFkmkvkH0QoVumOOfKsyHwWY60MNtfO3HG2RTs_RhOWimeZw@HIDDEN> Subject: Re: bug#34014: 25.2; binding down mouse event with modifier to mouse-drag-region does not work To: Eli Zaretskii <eliz@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 34014-done Cc: Adolf Mathias <adolf.mathias@HIDDEN>, 34014-done <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Eli Zaretskii <eliz@HIDDEN> writes: >> From: Adolf Mathias <adolf.mathias@HIDDEN> >> Date: Tue, 8 Jan 2019 10:51:19 +0100 >> >> >From 'emacs -Q' under X11, Ubuntu Bionic Beaver, enter: >> M-: (define-key global-map '[S-down-mouse-1] 'mouse-drag-region) >> >> Now attempting to drag a region with held down shift key gives the >> error message: >> >> <S-drag-mouse-1> is undefined >> >> Redefining the mouse key without shift modifier, and then dragging, >> works as intended: >> M-: (define-key global-map '[down-mouse-1] 'mouse-drag-region) >> >> This used to work in Emacs 24 and before. > > Sorry for such a long delay in responding to your report. > > Can you tell why you want to bind S-down-mouse-1 and not > S-drag-mouse-1 to a drag command? More information was requested, but none was given within 1.5 years, so I'm closing this bug. If this is still an issue, please reply to this email (use "Reply to all" in your email client) and we can reopen the bug report. Best regards, Stefan Kangas
Adolf Mathias <adolf.mathias@HIDDEN>
:Stefan Kangas <stefan@HIDDEN>
:Received: (at 34014) by debbugs.gnu.org; 1 Mar 2019 08:00:34 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 01 03:00:34 2019 Received: from localhost ([127.0.0.1]:55732 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1gzd5t-0001IW-RZ for submit <at> debbugs.gnu.org; Fri, 01 Mar 2019 03:00:34 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36111) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1gzd5s-0001II-21 for 34014 <at> debbugs.gnu.org; Fri, 01 Mar 2019 03:00:32 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59442) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>) id 1gzd5k-0000LR-CR; Fri, 01 Mar 2019 03:00:25 -0500 Received: from [176.228.60.248] (port=1065 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <eliz@HIDDEN>) id 1gzd5j-0007oo-4h; Fri, 01 Mar 2019 03:00:24 -0500 Date: Fri, 01 Mar 2019 10:00:09 +0200 Message-Id: <83pnrbhvna.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Adolf Mathias <adolf.mathias@HIDDEN> In-reply-to: <CACHJYueYx6RC18S6LGGRUZdkK_RPwnY_VGk3aR8zf1AzX6a26g@HIDDEN> (message from Adolf Mathias on Tue, 8 Jan 2019 10:51:19 +0100) Subject: Re: bug#34014: 25.2; binding down mouse event with modifier to mouse-drag-region does not work References: <CACHJYueYx6RC18S6LGGRUZdkK_RPwnY_VGk3aR8zf1AzX6a26g@HIDDEN> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 34014 Cc: 34014 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) > From: Adolf Mathias <adolf.mathias@HIDDEN> > Date: Tue, 8 Jan 2019 10:51:19 +0100 > > >From 'emacs -Q' under X11, Ubuntu Bionic Beaver, enter: > M-: (define-key global-map '[S-down-mouse-1] 'mouse-drag-region) > > Now attempting to drag a region with held down shift key gives the > error message: > > <S-drag-mouse-1> is undefined > > Redefining the mouse key without shift modifier, and then dragging, > works as intended: > M-: (define-key global-map '[down-mouse-1] 'mouse-drag-region) > > This used to work in Emacs 24 and before. Sorry for such a long delay in responding to your report. Can you tell why you want to bind S-down-mouse-1 and not S-drag-mouse-1 to a drag command?
bug-gnu-emacs@HIDDEN
:bug#34014
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 8 Jan 2019 13:31:01 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 08 08:31:01 2019 Received: from localhost ([127.0.0.1]:49349 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ggrTA-0001sY-3j for submit <at> debbugs.gnu.org; Tue, 08 Jan 2019 08:31:01 -0500 Received: from eggs.gnu.org ([209.51.188.92]:48774) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <adolf.mathias@HIDDEN>) id 1ggo18-0002ll-0m for submit <at> debbugs.gnu.org; Tue, 08 Jan 2019 04:49:50 -0500 Received: from lists.gnu.org ([209.51.188.17]:47211) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <adolf.mathias@HIDDEN>) id 1ggo12-0001bX-Ms for submit <at> debbugs.gnu.org; Tue, 08 Jan 2019 04:49:44 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58968) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <adolf.mathias@HIDDEN>) id 1ggo11-0001oh-CJ for bug-gnu-emacs@HIDDEN; Tue, 08 Jan 2019 04:49:44 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <adolf.mathias@HIDDEN>) id 1ggo0z-0001VL-Qc for bug-gnu-emacs@HIDDEN; Tue, 08 Jan 2019 04:49:43 -0500 Received: from mail-ed1-x541.google.com ([2a00:1450:4864:20::541]:43214) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <adolf.mathias@HIDDEN>) id 1ggo0z-0001Qk-H6 for bug-gnu-emacs@HIDDEN; Tue, 08 Jan 2019 04:49:41 -0500 Received: by mail-ed1-x541.google.com with SMTP id f9so3530855eds.10 for <bug-gnu-emacs@HIDDEN>; Tue, 08 Jan 2019 01:49:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=tZO6VYJyZUq+IfJNUBuBAwQ1iFBDyA+GpTZx5QdJBOg=; b=MTlOlhIARNr3zGiiPsyeCM3YYI+TNKtA8aP3HzNNoD7/l5ZR+rlyMuh6nR8wbCtKYC bCJ9avByHCRhABwnYJxmtsJYL61DLAuN0toxIa5UyRdVsZRMYz6Exwm7vvPmJuzKCT3q 1nKPLtRsKfM0l4vxShFow3p9Ra+cF3uFAmra6pH/GwgVxu5yy05DDoMO9GjTvfL1x5FB yoyUKilGodPtf7/8oAug/WufssZ5NSjeactY+U7CBjrk+w2F35k8sHWhRT1oYK/qNSec l+IeeBLsdf6LiI09ao7rlDIb4b9FgQPgFAS+afZUjWFKdp7TeUKzOTXAJFRgd07ckdm3 WVEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=tZO6VYJyZUq+IfJNUBuBAwQ1iFBDyA+GpTZx5QdJBOg=; b=s3TkjEOaWLE+p8m62thtUWchqLeztTVdU5AJZyfUyFGkvYvISkenFbksORQJMbQOrj y52oB+2x/cx6mf+Q5DQRIaASQukhQNTkF0jZoJHU/WZWEhJPhQ8PwRL46iRJN3JcNt95 sffc3Exo1C6fklTcn97LEz5frpkAPCAJp4tmLXcDTrwNrzdD4lUnZpfnjVPGuL4FmHKU fsPG6z17+lhgwt9ZOFvCVkIj6BlE9HbJ2J6E8ETr8D+riEL52XORFkiSIfBCi8ga39uB iNhlBVq6xa4l2Mb0NpI6KaXyBj3zsKHxmgOesjS9xl+vxRj+FfUwQNeb/X+RN95vVPww 673g== X-Gm-Message-State: AJcUukfzf7ssvh8nL6HsyayhF3qeXGAoHWFhnD1n40B/+byAr+WDesm/ 1s9aaJUef008bwrxZXQbuknoq0ZT2Eg3iZ33w0pmWfky X-Google-Smtp-Source: ALg8bN7exByueNrQ+JE/9T6J6R/DW2TDu2NhKahh7LpGAMNJWsf8VhgIBje+NP9YYYhgzk/0R2zvDmvKD1qqoWQauAM= X-Received: by 2002:a50:b902:: with SMTP id m2mr1371933ede.108.1546940978698; Tue, 08 Jan 2019 01:49:38 -0800 (PST) MIME-Version: 1.0 From: Adolf Mathias <adolf.mathias@HIDDEN> Date: Tue, 8 Jan 2019 10:51:19 +0100 Message-ID: <CACHJYueYx6RC18S6LGGRUZdkK_RPwnY_VGk3aR8zf1AzX6a26g@HIDDEN> Subject: 25.2; binding down mouse event with modifier to mouse-drag-region does not work To: bug-gnu-emacs@HIDDEN Content-Type: text/plain; charset="UTF-8" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::541 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 08 Jan 2019 08:30:57 -0500 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) ====================== From 'emacs -Q' under X11, Ubuntu Bionic Beaver, enter: M-: (define-key global-map '[S-down-mouse-1] 'mouse-drag-region) Now attempting to drag a region with held down shift key gives the error message: <S-drag-mouse-1> is undefined Redefining the mouse key without shift modifier, and then dragging, works as intended: M-: (define-key global-map '[down-mouse-1] 'mouse-drag-region) This used to work in Emacs 24 and before. ====================== In GNU Emacs 25.2.2 (x86_64-pc-linux-gnu, GTK+ Version 3.22.21) of 2017-09-22, modified by Debian built on lgw01-amd64-050 Windowing system distributor 'The X.Org Foundation', version 11.0.11906000 System Description: Ubuntu 18.04.1 LTS Configured using: 'configure --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs25:/etc/emacs:/usr/local/share/emacs/25.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/25.2/site-lisp:/usr/share/emacs/site-lisp --with-sound=alsa --without-gconf --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs25:/etc/emacs:/usr/local/share/emacs/25.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/25.2/site-lisp:/usr/share/emacs/site-lisp --with-sound=alsa --without-gconf --with-x=yes --with-x-toolkit=gtk3 --with-toolkit-scroll-bars 'CFLAGS=-g -O2 -fdebug-prefix-map=/build/emacs25-jYekUr/emacs25-25.2+1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro'' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 Important settings: value of $LC_CTYPE: en_US.utf8 value of $LC_MONETARY: de_DE.UTF-8 value of $LC_NUMERIC: C value of $LC_TIME: C value of $LANG: C locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent messages: Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...done For information about GNU Emacs and the GNU system, type C-h C-a. gui-get-primary-selection: No selection is available Mark set mouse-drag-region Mark set mouse-drag-region Mark set <S-drag-mouse-1> is undefined C-c RET is undefined Load-path shadows: /usr/share/emacs/25.2/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup /usr/share/emacs25/site-lisp/cmake-data/cmake-mode hides /usr/share/emacs/site-lisp/cmake-mode /usr/share/emacs25/site-lisp/auctex/context-nl hides /usr/share/emacs/site-lisp/auctex/context-nl /usr/share/emacs25/site-lisp/auctex/tex hides /usr/share/emacs/site-lisp/auctex/tex /usr/share/emacs25/site-lisp/auctex/tex-style hides /usr/share/emacs/site-lisp/auctex/tex-style /usr/share/emacs25/site-lisp/auctex/latex hides /usr/share/emacs/site-lisp/auctex/latex /usr/share/emacs25/site-lisp/auctex/tex-font hides /usr/share/emacs/site-lisp/auctex/tex-font /usr/share/emacs25/site-lisp/auctex/context-en hides /usr/share/emacs/site-lisp/auctex/context-en /usr/share/emacs25/site-lisp/auctex/tex-ispell hides /usr/share/emacs/site-lisp/auctex/tex-ispell /usr/share/emacs25/site-lisp/auctex/font-latex hides /usr/share/emacs/site-lisp/auctex/font-latex /usr/share/emacs25/site-lisp/auctex/texmathp hides /usr/share/emacs/site-lisp/auctex/texmathp /usr/share/emacs25/site-lisp/auctex/toolbar-x hides /usr/share/emacs/site-lisp/auctex/toolbar-x /usr/share/emacs25/site-lisp/auctex/multi-prompt hides /usr/share/emacs/site-lisp/auctex/multi-prompt /usr/share/emacs25/site-lisp/auctex/context hides /usr/share/emacs/site-lisp/auctex/context /usr/share/emacs25/site-lisp/auctex/tex-jp hides /usr/share/emacs/site-lisp/auctex/tex-jp /usr/share/emacs25/site-lisp/auctex/preview hides /usr/share/emacs/site-lisp/auctex/preview /usr/share/emacs25/site-lisp/auctex/prv-emacs hides /usr/share/emacs/site-lisp/auctex/prv-emacs /usr/share/emacs25/site-lisp/auctex/tex-info hides /usr/share/emacs/site-lisp/auctex/tex-info /usr/share/emacs25/site-lisp/auctex/tex-fold hides /usr/share/emacs/site-lisp/auctex/tex-fold /usr/share/emacs25/site-lisp/auctex/bib-cite hides /usr/share/emacs/site-lisp/auctex/bib-cite /usr/share/emacs25/site-lisp/auctex/tex-mik hides /usr/share/emacs/site-lisp/auctex/tex-mik /usr/share/emacs25/site-lisp/auctex/tex-buf hides /usr/share/emacs/site-lisp/auctex/tex-buf /usr/share/emacs25/site-lisp/auctex/tex-bar hides /usr/share/emacs/site-lisp/auctex/tex-bar /usr/share/emacs25/site-lisp/auctex/plain-tex hides /usr/share/emacs/site-lisp/auctex/plain-tex Features: (shadow sort mail-extr emacsbug message dired format-spec rfc822 mml mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns help-mode easymenu cl-loaddefs pcase cl-lib mail-prsvr mail-utils preview-latex tex-site auto-loads time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 91833 8234) (symbols 48 20167 0) (miscs 40 103 171) (strings 32 15355 5105) (string-bytes 1 440851) (vectors 16 11880) (vector-slots 8 434204 5146) (floats 8 164 159) (intervals 56 301 0) (buffers 976 19))
Adolf Mathias <adolf.mathias@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#34014
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.