From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Ames Newsgroups: gmane.emacs.help Subject: Re: Lost functionality in buffer item in menu bar from 22 to 23... Date: Sun, 28 Mar 2010 20:25:43 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <21ff1e64-8d78-41b4-b7f8-f15db9529e6f@z35g2000yqd.googlegroups.com> <2f1f4d43-29e3-4a5b-a787-5ce8ce2563b0@d37g2000yqn.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1273057359 31672 80.91.229.12 (5 May 2010 11:02:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 5 May 2010 11:02:39 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 05 13:02:36 2010 connect(): No such file or directory 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 1O9cN9-0007Wl-ES for geh-help-gnu-emacs@m.gmane.org; Wed, 05 May 2010 13:02:35 +0200 Original-Received: from localhost ([127.0.0.1]:44439 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O9cN8-0005zw-Ut for geh-help-gnu-emacs@m.gmane.org; Wed, 05 May 2010 07:02:35 -0400 Original-Path: usenet.stanford.edu!postnews.google.com!g19g2000yqe.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 50 Original-NNTP-Posting-Host: 72.70.170.53 Original-X-Trace: posting.google.com 1269833143 8307 127.0.0.1 (29 Mar 2010 03:25:43 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Mon, 29 Mar 2010 03:25:43 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: g19g2000yqe.googlegroups.com; posting-host=72.70.170.53; posting-account=IVyglAoAAAA_PTo8VTZSu73_5QLmIBCX User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2) Gecko/20100124 Firefox/3.6,gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:177588 X-Mailman-Approved-At: Tue, 04 May 2010 16:49:00 -0400 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:73373 Archived-At: I'm not sure if anyone is still reading this thread, but here goes: On Mar 22, 11:54=A0am, Stefan Monnier wrote: > We (Emacs maintainers) usually don't pay too much attention to the > actual structure of the menus: we assume the menus are only used for > "advertisement" purposes, so we care about the fact that the structure > makes sense and makes commands easy to find, but not so much about > whether a command is quick to access. =A0I.e. as soon as you use a featur= e > often enough to care about where the command is located in the menu, you > should try and use a key-binding instead. > > E.g. for buffer switching there are many different options available > which might suit you even better, starting with just C-x b, or refined > via iswitchb, etc... > > =A0 =A0 =A0 =A0 Stefan Stefan, Your points are well-taken. I do in fact tend to use the menu mostly as a cheat sheet to find or recall seldom-used commands while using key-bindings for most of my work. As for the different options for buffer switching, I've been playing a lot with buffer-menu and ibuffer. I would _almost_ be happy to simply bind ibuffer to F9 and call that when I need to switch buffers -- except there's one thing that the Emacs 22 tmm-menubar does that ibuffer does not. What I really like about the tmm-menubar is that it prompts for a one- key selection of menu and sub-menu items. Specifically, the buffer item of tmm-menubar lists specific buffers and provides a one-key shortcut to each of them. It would be wonderful if ibuffer offered that feature. (As an aside, the other think I like about Emacs 22's tmm-menubar is that it shows the keyboard shortcuts next to the menu items -- something that the Emasc 23 tmm-menubar does not seem to consistently do as the example in the first post shows.) As for why the bug is happening in Emacs 23, I'm no closer to an answer. Bearing in mind that I'm, at best, a _very_ poor Emacs lisp hacker, the best I can determine by looking at tmm.el is that tmm draws most of its variables from x-menu-bar. Perhaps there was a change in x-menu-bar in Emacs 23 that is causing the bug? Regards, -Drew Ames