From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: john@ankarstrom.se (John =?utf-8?Q?Ankarstr=C3=B6m?=) Newsgroups: gmane.emacs.help Subject: Re: F10 =?utf-8?Q?=E2=86=92?= menu Date: Sun, 28 May 2017 17:18:42 +0200 Message-ID: <878tlhrovh.fsf@ankarstrom.se> References: <83poexkmdm.fsf@gnu.org> <288974EA-D49A-4AA6-B9B4-3362972B22F2@gmail.com> <4AA9230C-7682-4ADB-9C0D-B77F9687107A@gmail.com> <87fufpt8pi.fsf@ankarstrom.se> <874139F0-9A0A-4726-813D-C0EAD9BBEBF7@gmail.com> <87poetrqye.fsf@ankarstrom.se> <0381D5E3-952E-4190-99FB-25232C388288@gmail.com> <87efv9rpzg.fsf@ankarstrom.se> <0397A86D-FD8A-4746-926E-989B0829375E@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1495984769 32339 195.159.176.226 (28 May 2017 15:19:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 28 May 2017 15:19:29 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: Jean-Christophe Helary Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun May 28 17:19:25 2017 Return-path: Envelope-to: geh-help-gnu-emacs@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 1dEzyV-0008C2-As for geh-help-gnu-emacs@m.gmane.org; Sun, 28 May 2017 17:19:23 +0200 Original-Received: from localhost ([::1]:44256 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dEzyX-00087r-FH for geh-help-gnu-emacs@m.gmane.org; Sun, 28 May 2017 11:19:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42486) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dEzxr-00086X-Cf for help-gnu-emacs@gnu.org; Sun, 28 May 2017 11:18:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dEzxo-0001fn-8S for help-gnu-emacs@gnu.org; Sun, 28 May 2017 11:18:43 -0400 Original-Received: from pusjkin.ankarstrom.se ([172.104.152.215]:44574) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dEzxn-0001fL-Vu for help-gnu-emacs@gnu.org; Sun, 28 May 2017 11:18:40 -0400 Original-Received: from DESKTOP-2MQA95O (c83-253-24-36.bredband.comhem.se [83.253.24.36]) by pusjkin.ankarstrom.se (Postfix) with ESMTPSA id CFBF13EC86; Sun, 28 May 2017 17:18:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ankarstrom.se; s=default; t=1495984718; bh=p+aJOy2RlqoUg0N0fsNPvFXf4OLXNnJu6AIfgURn25k=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=mMPDUBFpY/eQA6yLUfNdI6oqIYZrmfIB+5pA//duDcHLNH1NMNgu45/6aCD4kyU+Q FFM1nwMVD6yAaf/Pz6dRicEuzOwQoxPL5OtFCMB8rU8obRYS1owk4Mls0ER+1u07i2 KCEjbUFKWeRofOSa8BD+/zDUbUiGcDuo0AssOg/o= In-Reply-To: <0397A86D-FD8A-4746-926E-989B0829375E@gmail.com> (Jean-Christophe Helary's message of "Mon, 29 May 2017 00:00:44 +0900") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 172.104.152.215 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:113222 Archived-At: Jean-Christophe Helary writes: > I'm on a MacBook Pro with a trackpad, so C-click is right-click and trigg= ers the > buffer menu (mouse-buffer-menu =E2=86=92 C-down-mouse-1). And I can't do = C-right-click. > The click is a left click by default. > > But now, I see I can bind that C-click to the function you just defined..= . :) Ah, I see. I remember that from using a Mac. If you want to have the menu show up at the position of the mouse cursor (like ), just remove the explicit position from the call to `popup-menu': --8<---------------cut here---------------start------------->8--- (defun mouse-menu-bar-open () (interactive) (popup-menu (mouse-menu-bar-map))) (global-set-key (kbd "") #'mouse-menu-bar-open) --8<---------------cut here---------------end--------------->8--- Above I set that to control + shift + left-click, but again, maybe on a Mac trackpad that would be . - John