From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Riley Newsgroups: gmane.emacs.help Subject: Re: C-x C-b (switch-to-buffer) smarter suggestions? Date: Tue, 09 Feb 2010 16:15:54 +0100 Organization: aich tea tea pea dicky riley dot net Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1265729471 3748 80.91.229.12 (9 Feb 2010 15:31:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Feb 2010 15:31:11 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 09 16:31:05 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 1Nes3M-0002zE-VM for geh-help-gnu-emacs@m.gmane.org; Tue, 09 Feb 2010 16:31:05 +0100 Original-Received: from localhost ([127.0.0.1]:41573 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nes3M-0004O6-FN for geh-help-gnu-emacs@m.gmane.org; Tue, 09 Feb 2010 10:31:04 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nes2p-0004Jz-OD for help-gnu-emacs@gnu.org; Tue, 09 Feb 2010 10:30:31 -0500 Original-Received: from [199.232.76.173] (port=53433 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nes2p-0004Ji-Aj for help-gnu-emacs@gnu.org; Tue, 09 Feb 2010 10:30:31 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Nes2m-0006jF-R7 for help-gnu-emacs@gnu.org; Tue, 09 Feb 2010 10:30:30 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:35365) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Nes2m-0006j0-Gu for help-gnu-emacs@gnu.org; Tue, 09 Feb 2010 10:30:28 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Nes2h-0002Ru-Uh for help-gnu-emacs@gnu.org; Tue, 09 Feb 2010 16:30:24 +0100 Original-Received: from 85.183.18.158 ([85.183.18.158]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Feb 2010 16:30:23 +0100 Original-Received: from rileyrgdev by 85.183.18.158 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Feb 2010 16:30:23 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 35 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 85.183.18.158 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:71767 Archived-At: Jorgen Grahn writes: > On Mon, 2010-02-08, Stefan Monnier wrote: >>> Let's say I have a dozen buffers, including foo.c and foo.h. I am in >>> foo.c but I want to jump to foo.h. So I do >> >>> C-x C-b foo TAB >> >>> But this doesn't complete to foo.h, because foo.c is also an >>> alternative -- even though that's the buffer I'm explicitly trying to >>> switch *from*. >> >> Apparently, you haven't yet upgraded to Emacs-23. > > So you're implying that Emacs 23 fixes exactly that, or that it > reworks the buffer selection interface completely? > > Actually I still use Emacs 21. Emacs 22 is also available as part of > Debian Linux, but I gain more by sticking to 21, which is the one > available at work (semi-officially available -- officially we are > stuck with 20). Interesting. I find it astonishing that anyone would insist on using such an old version. Are your customisations so incompatible with newer Emacs? The call of the daemon and anti aliased fonts would be enough to move for most .. Or do you just have an intransigent BOFH? > > So, this annoyance of mine isn't so important that I'm willing to > upgrade to Emacs 23 everywhere just yet. > > /Jorgen The only issue I noticed moving from 22 to 23 was the line wrapping. The rest just seemed minor trivialities totally offset by being on a modern version.