From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.help Subject: Re: tabbar mode screw up buffer order? Date: Thu, 09 Oct 2008 14:18:01 +0200 Message-ID: <87iqs22c92.fsf@escher.local.home> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1223554951 12044 80.91.229.12 (9 Oct 2008 12:22:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Oct 2008 12:22:31 +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 14:23:28 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 1KnuXj-0007X0-Jy for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Oct 2008 14:22:59 +0200 Original-Received: from localhost ([127.0.0.1]:43689 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KnuWf-0007tq-CZ for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Oct 2008 08:21:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KnuT7-0004aK-CY for help-gnu-emacs@gnu.org; Thu, 09 Oct 2008 08:18:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KnuT5-0004Z3-H2 for help-gnu-emacs@gnu.org; Thu, 09 Oct 2008 08:18:12 -0400 Original-Received: from [199.232.76.173] (port=43717 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KnuT5-0004Yr-5Z for help-gnu-emacs@gnu.org; Thu, 09 Oct 2008 08:18:11 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:40683 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KnuT5-0003wj-1j for help-gnu-emacs@gnu.org; Thu, 09 Oct 2008 08:18:11 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KnuT2-0006H9-Rk for help-gnu-emacs@gnu.org; Thu, 09 Oct 2008 12:18:08 +0000 Original-Received: from i5387e0fe.versanet.de ([83.135.224.254]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Oct 2008 12:18:08 +0000 Original-Received: from stephen.berman by i5387e0fe.versanet.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Oct 2008 12:18:08 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 30 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: i5387e0fe.versanet.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:58610 Archived-At: 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) Steve Berman