From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.devel Subject: Re: binding S-mouse-1 Date: Sun, 28 May 2017 11:41:36 -0400 Message-ID: References: <20170528.190648.38300257.tkk@misasa.okayama-u.ac.jp> <83d1atggcp.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1495986112 13740 195.159.176.226 (28 May 2017 15:41:52 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 28 May 2017 15:41:52 +0000 (UTC) Cc: Tak Kunihiro , Emacs developers To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun May 28 17:41:48 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 1dF0KA-0003PW-1F for ged-emacs-devel@m.gmane.org; Sun, 28 May 2017 17:41:46 +0200 Original-Received: from localhost ([::1]:44320 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dF0KE-0004ji-0W for ged-emacs-devel@m.gmane.org; Sun, 28 May 2017 11:41:50 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46026) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dF0K5-0004iD-1H for emacs-devel@gnu.org; Sun, 28 May 2017 11:41:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dF0K4-0001de-9U for emacs-devel@gnu.org; Sun, 28 May 2017 11:41:41 -0400 Original-Received: from mail-oi0-x22e.google.com ([2607:f8b0:4003:c06::22e]:34274) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dF0K2-0001cn-94; Sun, 28 May 2017 11:41:38 -0400 Original-Received: by mail-oi0-x22e.google.com with SMTP id b204so56853861oii.1; Sun, 28 May 2017 08:41:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=pNTTM1XNE6If+O9a97+F4k6A723fG/aGi1ErlPf/2G0=; b=D9ruc5HkkK8y6+VPTMQ5Gxe79sRZXyZVT03W7cVSPY4yX/jsfPt4CEvU8x14vsgPCR StxwNw3A65BBMLqg5KRlTzRTjKWz0eKy690eg2JIuHoSkrdb4H99BIPG6/5dEHUegug4 TwHeBtui1ZzOLCfYiSSyDDFRgYhDACcwMjVnz074ZSbxuSuEr+RVYwuQIi90UhoGdaYL aaOehsg36W0XNv/jUPnALdI9dH/zJO8FJTx/kVFvDZqnvPqLhidp7fNBfceJ99HeN0UW IAB27VJG26FTUxMGOC1AtOMgaM+nXcacWDBFjz76yzqiy3ZI/b9KiOb1XyK4TnE1mkWD TDSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=pNTTM1XNE6If+O9a97+F4k6A723fG/aGi1ErlPf/2G0=; b=lpweHNGliMS19x3ymwMm30g+cumX1uE2MrQhvliO6VxPawfYIHkJU+FduZ1gBkS+hb RDvhCsZSHB4EuIfg8HjgDnt54gamAXb7r7s+h0ulS5/t8UD2gTzAO3PZqDZAvffloJ2U dOByd6jtDnfBlXJXKn40IwiGgnGXvEKzsgSOI6J2G1ZUY71uK8e2wa6bD99qtCxJwFRI v1qyQyqEpgIpWqq2N/zv8tFIuTbyi+QDZksrdxXUNbq/ugLGgjOLDUthi4k3IyUh4HxI O096Afh2liMXdsRnZRQTkjQ0nITfR6Klnq0GCM+GiGpvigsXxnoQoikFhH7k7U+bvJDI UKoQ== X-Gm-Message-State: AODbwcCW2K2LTCXGJjYFOGj+BriLCx/OfkV6ccdhpJeXMze4eCi2Xa+n 4txZj41xgh9RDq+FN1lWYmNqXhYWDY66 X-Received: by 10.157.45.15 with SMTP id v15mr6091988ota.134.1495986097231; Sun, 28 May 2017 08:41:37 -0700 (PDT) Original-Received: by 10.74.139.83 with HTTP; Sun, 28 May 2017 08:41:36 -0700 (PDT) In-Reply-To: <83d1atggcp.fsf@gnu.org> X-Google-Sender-Auth: fULV35SFotk0csGEPqv0Pww7IV8 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4003:c06::22e 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:215288 Archived-At: On Sun, May 28, 2017 at 11:18 AM, Eli Zaretskii wrote: >> Date: Sun, 28 May 2017 19:06:48 +0900 (JST) >> From: Tak Kunihiro >> >> Keys and extend region. I think that [S-mouse-1] >> should behave similar by default. >> >> I propose to bind mouse-appearance-menu to super instead of shift, >> (global-set-key [S-down-mouse-1] 'mouse-appearance-menu) >> and bind following to let shift click to extend region on mouse.el. >> (global-set-key [S-down-mouse-1] 'ignore) >> (global-set-key [S-mouse-1] 'mouse-save-then-kill) > > Isn't that backward-incompatible change in behavior? > > FWIW, I use S-down-mouse-1 quite a lot, especially when testing > various display-related bug reports and questions. Replacing it with > super, for which I have no key on my keyboard, would need both more > customizations and re-teaching my muscle memory. All that just to > provide some kind of "consistency"? I'm not sure it's a good enough > reason for changing such a veteran behavior. This seems to be common behaviour across other applications (e.g., Firefox), so it could help with the muscle memory of newer users. Perhaps we could enable it in cua-mode? Moving mouse-appearance-menu to super doesn't work since we can't rely on super being generally usable. Perhaps C-S- instead?