From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tobias Gerdin Newsgroups: gmane.emacs.devel Subject: Re: Keybinding for finding definition by mouse Date: Mon, 9 Jul 2018 21:58:28 +0200 Message-ID: <01f7d0e9-12d0-d2d6-bf86-735a16f32a2c@gmail.com> References: <76face16-e29e-e945-674f-79b8a2f2e498@gmail.com> <874lh8l2nq.fsf@mbork.pl> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1531166201 31852 195.159.176.226 (9 Jul 2018 19:56:41 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 9 Jul 2018 19:56:41 +0000 (UTC) User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.9.0 Cc: Emacs developers To: Yuri Khan , Marcin Borkowski Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 09 21:56:37 2018 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 1fccGy-00087G-DP for ged-emacs-devel@m.gmane.org; Mon, 09 Jul 2018 21:56:36 +0200 Original-Received: from localhost ([::1]:44172 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fccJ5-0001MS-He for ged-emacs-devel@m.gmane.org; Mon, 09 Jul 2018 15:58:47 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42569) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fccIt-0001HX-PQ for emacs-devel@gnu.org; Mon, 09 Jul 2018 15:58:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fccIq-0005Cw-Nj for emacs-devel@gnu.org; Mon, 09 Jul 2018 15:58:35 -0400 Original-Received: from mail-lj1-x22d.google.com ([2a00:1450:4864:20::22d]:33695) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fccIq-0005CQ-Eh for emacs-devel@gnu.org; Mon, 09 Jul 2018 15:58:32 -0400 Original-Received: by mail-lj1-x22d.google.com with SMTP id t21-v6so14995482lji.0 for ; Mon, 09 Jul 2018 12:58:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=l2If/CX2fO0Vp49oBc1luJPiH4pk3P5fNx/DTnqO1TA=; b=A+MFvhy0NqY6xa5NGan8kk5Ecpa6ysHmeWcwa4r7G8NUOV5e2YbNUf2hjD6OeskQ1G M/4K6Lidz9ACLqT7JYLm4ZP1OtBbw4UfTZMsiBqNxHaUesnJZ4jGG6NAmHXuA91l2h5F AcXfLE6dpInRnX/NZ8Ft+CmpgHBac7Ttx3g3CISeZVQdBCSGpqp2PviYcXe+knMpsUoy Gsn+fTQwBfEIUf8hrNC3z5kjqL54QmpqCkWm2tPzc2EVFiKfQOr2GTawVWhQBVbaExuI HPOptnps/eSPC1KpP0ETtxY8pwFpk5s6A3DSIbq6tRBTh25lmusvxZ3gXOof8lrUiW6n f8MA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=l2If/CX2fO0Vp49oBc1luJPiH4pk3P5fNx/DTnqO1TA=; b=UF3xKL8ByRMJD4ar9+FL+p4ZchSxUUIOZcgS0O0fsw16Rc81WAxcpGP84pH+k/zKsk s8fxVhqvYX1ERKLjcuCKNmPrAM9PuLzbUOu02tdOGzzxA2s0vxOEY4N7hbdP9kUB3R9M gIL9gMTerdHmqLufDFe0iy1oo0bhSl5u4iZjG1+gNldKpBWljvJolzt3xdTJuyjpaNLN EeNdmdooMD/UJB6Em8LeuX+OUcnCxm8tIxc3iU2+eT0HLShTIsHVh6wXOJGAG2QW1wtP 6L2U4qw2w54FWveSZRS5W0c0axl3DhaWBE8ZHvD1Ne4ScR61+1ohqY6K6SiK5xw2ZfWe ZPWA== X-Gm-Message-State: APt69E0LdcVBbUVk+FFuGhoKcpYxxBljtsMRb4LsRXyrZ5HG4Epcf1Gz cXDXmI92CC8ZzaH/lNWLFPvUn3gK X-Google-Smtp-Source: AAOMgpcPcgWGbOeulO5UzF4GekBVdRt0KngIgWbWYGxltRrMcbjyt5GBEUmryM65nugoUiQ9j22zwQ== X-Received: by 2002:a2e:5243:: with SMTP id g64-v6mr13258706ljb.144.1531166310665; Mon, 09 Jul 2018 12:58:30 -0700 (PDT) Original-Received: from Tobias-MBP.lan (h83-209-121-192.cust.se.alltele.net. [83.209.121.192]) by smtp.gmail.com with ESMTPSA id g3-v6sm4339074lfk.72.2018.07.09.12.58.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Jul 2018 12:58:29 -0700 (PDT) In-Reply-To: Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::22d 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:227178 Archived-At: Den 2018-07-09 kl. 20:42, skrev Yuri Khan: > On Tue, Jul 10, 2018 at 12:50 AM Marcin Borkowski wrote: > >>>> Wishful thinking would be to also have 'xref-pop-marker-stack' bound to >>>> some mouse event >>> That looks good on , also known as history back. Possibly >>> also aka Alt+scroll down, for those people who for some >>> reason don’t have back/forward buttons. >> Interesting choice. Is that "history back" or "mouse-8" really a mouse >> button? > Yes. A common mouse design has a left and right button (1 and 3 > respectively; can be reversed for left-handed users), a scroll wheel > (button 2 when clicked; 4 and 5 when turned up and down; on some > models, it can also be tilted left and right for horizontal scrolling, > X11 calls this buttons 6 and 7), and one or two thumb buttons (one for > going back in browser history, another forward; these are numbered 8 > and 9). > > Popping mark in general, and going back from a “find definition”, are > sufficiently semantically close to a “browser back” to be bound to the > same button. I like this choice. But on macOS my 5-button mouse (no tilt) the buttons on the left and right of the mouse are reported as mouse-4 and mouse-5, so perhaps this differs between X11 and macOS? (which could be accounted for of course) -Tobias