From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Kamphausen Newsgroups: gmane.emacs.help Subject: Re: hook for C-Mouse-3? Date: Mon, 26 Jul 2010 09:39:36 +0200 Organization: Church of Emacs Message-ID: <87eieq4rpj.fsf@usenet.my.skamphausen.de> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1291851793 12569 80.91.229.12 (8 Dec 2010 23:43:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 8 Dec 2010 23:43:13 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 09 00:43:06 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PQTf5-00015a-HI for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 00:43:03 +0100 Original-Received: from localhost ([127.0.0.1]:38581 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQTWK-00059G-F2 for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 18:34:00 -0500 Original-Path: usenet.stanford.edu!goblin2!goblin.stu.neva.ru!feeder.erje.net!news2.arglkargh.de!news.albasani.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 31 Original-X-Trace: news.albasani.net 16KR4923+4IKeNwfBLO03/vDbFwN8aCxFDRQyK6wAKgFRevjp4EI0nwzSZghXWEgqlhy4tMCtPU/nuLA81O3mzyhAW4b6Kf6lTmMHzMGgwgIE3rzVd5p0PwkSsdONmQv Original-X-Complaints-To: abuse@albasani.net Original-NNTP-Posting-Date: Mon, 26 Jul 2010 07:39:36 +0000 (UTC) X-User-ID: t5wlI4hw4AoYQ1QNADALnLvEeEXRYT+ROV/YN4ThkbE= Cancel-Lock: sha1:2O1Z17C1lTuco8OUjkWFQVdE9dg= sha1:lnJ+Ua0bCdV+AWsg/H9m6ebchkQ= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-NNTP-Posting-Host: 27dyuS7Wj5Kk7KXsGNqrMqdVYdIFcHG4oJYxtoTyfRg= Original-Xref: usenet.stanford.edu gnu.emacs.help:180063 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:76218 Archived-At: Hi, Oleksandr Gavenko writes: > I discover 'imenu' useful with (imenu-add-menubar-index). > > But also I like save visible display area by: > > (menu-bar-mode -1) ; This switch IMPORTANT for this mail. do you know active-menu[1]? I haven't worked on this for ages and don't really use it anymore myself. But the last time I did, it worked quite well. It allows you to hide the menubar and only have it appear when the mouse comes close to where it would be usually. I know this doesn't really answer your original question but maybe it provides a different approach? Kind regards, Stefan Footnotes: [1] http://www.emacswiki.org/emacs/ActiveMenu http://www.skamphausen.de/cgi-bin/ska/active-menu.el -- a blessed +42 regexp of confusion (weapon in hand) You hit. The format string crumbles and turns to dust. user=> (clojure-buch (Locale/GERMANY)) #