From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xah Newsgroups: gmane.emacs.help Subject: Re: tabbar mode screw up buffer order? Date: Thu, 9 Oct 2008 07:13:57 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1223563393 10860 80.91.229.12 (9 Oct 2008 14:43:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Oct 2008 14: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 Oct 09 16:44:05 2008 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.50) id 1Knwk6-0006fS-SK for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Oct 2008 16:43:55 +0200 Original-Received: from localhost ([127.0.0.1]:46380 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Knwj1-0001J8-TF for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Oct 2008 10:42:47 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!postnews.google.com!a18g2000pra.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 45 Original-NNTP-Posting-Host: 24.6.185.159 Original-X-Trace: posting.google.com 1223561638 9860 127.0.0.1 (9 Oct 2008 14:13:58 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 9 Oct 2008 14:13:58 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: a18g2000pra.googlegroups.com; posting-host=24.6.185.159; posting-account=bRPKjQoAAACxZsR8_VPXCX27T2YcsyMA User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_4_11; en) AppleWebKit/525.18 (KHTML, like Gecko) Version/3.1.2 Safari/525.22, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:163277 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:58620 Archived-At: On Oct 9, 5:18=C2=A0am, Stephen Berman wrote: > On Wed, 8 Oct 2008 10:02:07 -0700 (PDT)Xah wrote: > > > when tabbar mode is on, it seems to screw the order of my buffers. For > > example, if i have dired and i hit Return to open a file, then when i > > close the file, that dired buffer returns. But with tabbar mode on, > > some other buffers shows. > > > How can i fix this? > > (remove-hook 'kill-buffer-hook 'tabbar-buffer-kill-buffer-hook) > > > Thanks. > > > The version i'm using is: > > > ;; Copyright (C) 2003 David Ponce > > > ;; Author: David Ponce > > ;; Maintainer: David Ponce > > ;; Created: 25 February 2003 > > ;; Keywords: convenience > > ;; Revision: $Id: tabbar.el,v 1.20 2003/06/05 08:15:49 ponced Exp $ > > (defconst tabbar-version "1.3") > > If you update to tabbar-version "2.0", there are many differences, and > to get the behavior you want, use this instead of the above: > > (remove-hook 'kill-buffer-hook 'tabbar-buffer-track-killed) Thanks a lot. I got the new version. Seems much better. btw, is there a official place to download the latest version? The one from emacs wiki points to http://sourceforge.net/projects/emhacks/ which is version 1.4. (i got 2.0 from aquamacs's source) Xah =E2=88=91 http://xahlee.org/ =E2=98=84