From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Jean-Christophe Helary Newsgroups: gmane.emacs.help Subject: =?utf-8?Q?Re=3A_F10_=E2=86=92_menu?= Date: Sun, 28 May 2017 23:42:01 +0900 Message-ID: <0381D5E3-952E-4190-99FB-25232C388288@gmail.com> 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> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1495982558 6399 195.159.176.226 (28 May 2017 14:42:38 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 28 May 2017 14:42:38 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun May 28 16:42:34 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 1dEzOs-0001Zi-HL for geh-help-gnu-emacs@m.gmane.org; Sun, 28 May 2017 16:42:34 +0200 Original-Received: from localhost ([::1]:44166 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dEzOx-0008SQ-WB for geh-help-gnu-emacs@m.gmane.org; Sun, 28 May 2017 10:42:40 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36914) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dEzOU-0008P7-TK for help-gnu-emacs@gnu.org; Sun, 28 May 2017 10:42:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dEzOQ-0006We-1y for help-gnu-emacs@gnu.org; Sun, 28 May 2017 10:42:10 -0400 Original-Received: from mail-pf0-x236.google.com ([2607:f8b0:400e:c00::236]:36737) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dEzOP-0006W6-OH for help-gnu-emacs@gnu.org; Sun, 28 May 2017 10:42:05 -0400 Original-Received: by mail-pf0-x236.google.com with SMTP id m17so36952634pfg.3 for ; Sun, 28 May 2017 07:42:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:mime-version:subject:date:references:to:in-reply-to:message-id; bh=+YyTrciOby80TQ69IJ4YV2Hr/l8xMkuh2btT5CNGul4=; b=q+5Bp6TWwx1h9LiWBWCFWpnhmzvZJCQAW4A5ZCCYjy1ZM05449xE9TuOEDn1ujuOLp 57pKkUT3iOF+4SRpHoTXe/pvd6nL4djJbjOaXdFRjyvXdwHxwfKcnqy9dS08N5OnOe4w p5jKkrUj7nk5YlUng9j9irZLrLJDF6xlfvKCbA1NnLuq+KUcBhKt33qcLvB5aZDvOZUs 1Yy5I1HdFk1ZFlWsmgYp1btZhKk3oDcKqE/w0ROWE51MuL6j54ocaGM5QH/rMC5PHdv2 H6GVfrhL1+eAmwsa7gAeQq/UxcYNda8PLkG+iwRt7Rahhkp8R1idWJ6RDTQfhrGYFNzN b4RQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:date:references:to :in-reply-to:message-id; bh=+YyTrciOby80TQ69IJ4YV2Hr/l8xMkuh2btT5CNGul4=; b=aRfOV5wB4isdI7oTwJw/bc23zw745HFkBy4Z4b57UD4o1H0sRnmq+O1v8whw19HjR0 AuEKcim1mUGQAO3S1aOHEqDoLF7/NfiIoMUf+PppCQ85rTLwSZ6M6y6uWfLQlSNt55fp EfawW7mCWkGw7/NaVlFdZpJDMAUZeQ62fSYRhjWeyYLKb8QCeeqb6DQRVphOuPVlWE8a P98eOOiZmJ4mxwLq1F2xGfwlg8124Gt8OpGiwVb8dLPOKLoBBwcHUJxkBfqDcemF0yOy p50JNtYwJ4RD8kH09FzHk62qtgRG9eoWoXAR0hz14jSAd7H2rdHonTb8k1P+553AD7b9 f2VQ== X-Gm-Message-State: AODbwcBthkkARgc87e2bSHL/JZkqkhZGPXd63VZCj8uevRbJx5njlmxb zTYCJcAWBz2XY1KP5dd0oA== X-Received: by 10.84.233.196 with SMTP id m4mr70494519pln.177.1495982524653; Sun, 28 May 2017 07:42:04 -0700 (PDT) Original-Received: from [192.168.24.63] (pl25298.ag0304.nttpc.ne.jp. [133.232.153.210]) by smtp.gmail.com with ESMTPSA id s18sm11164708pfi.16.2017.05.28.07.42.03 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 May 2017 07:42:03 -0700 (PDT) In-Reply-To: <87poetrqye.fsf@ankarstrom.se> X-Mailer: Apple Mail (2.3273) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c00::236 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 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:113217 Archived-At: > On May 28, 2017, at 23:33, John Ankarstr=C3=B6m = wrote: >=20 > Thus, to achieve the functionality you want (which seems to be > opening the menu in the top-left corner of the window?), the > following function would do it: >=20 > --8<---------------cut here---------------start------------->8--- > (defun menu-bar-open-top-left () > (interactive) > (popup-menu (mouse-menu-bar-map) (list '(0 0) (selected-frame)))) >=20 > (global-set-key (kbd "") #'menu-bar-open-top-left) > --8<---------------cut here---------------end--------------->8--- >=20 > Hope that works for you. It definitely does. Thank you very much. It's already late here, but I think I'll be checking how to use that = instead of the right-click contextual menu that only displays opened = buffers. Jean-Christophe=20=