unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* tabbar mode screw up buffer order?
@ 2008-10-08 17:02 Xah
  2008-10-09 12:18 ` Stephen Berman
       [not found] ` <mailman.679.1223554696.25473.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 4+ messages in thread
From: Xah @ 2008-10-08 17:02 UTC (permalink / raw
  To: help-gnu-emacs



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?

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")


  Xah
∑ http://xahlee.org/^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: tabbar mode screw up buffer order?
  2008-10-08 17:02 tabbar mode screw up buffer order? Xah
@ 2008-10-09 12:18 ` Stephen Berman
       [not found] ` <mailman.679.1223554696.25473.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 4+ messages in thread
From: Stephen Berman @ 2008-10-09 12:18 UTC (permalink / raw
  To: help-gnu-emacs

On Wed, 8 Oct 2008 10:02:07 -0700 (PDT) Xah <xahlee@gmail.com> 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





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: tabbar mode screw up buffer order?
       [not found] ` <mailman.679.1223554696.25473.help-gnu-emacs@gnu.org>
@ 2008-10-09 14:13   ` Xah
  2008-10-09 21:29     ` Stephen Berman
  0 siblings, 1 reply; 4+ messages in thread
From: Xah @ 2008-10-09 14:13 UTC (permalink / raw
  To: help-gnu-emacs

On Oct 9, 5:18 am, Stephen Berman <stephen.ber...@gmx.net> wrote:
> On Wed, 8 Oct 2008 10:02:07 -0700 (PDT)Xah<xah...@gmail.com> 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
∑ http://xahlee.org/^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: tabbar mode screw up buffer order?
  2008-10-09 14:13   ` Xah
@ 2008-10-09 21:29     ` Stephen Berman
  0 siblings, 0 replies; 4+ messages in thread
From: Stephen Berman @ 2008-10-09 21:29 UTC (permalink / raw
  To: help-gnu-emacs

On Thu, 9 Oct 2008 07:13:57 -0700 (PDT) Xah <xahlee@gmail.com> wrote:

> On Oct 9, 5:18 am, Stephen Berman <stephen.ber...@gmx.net> wrote:
[...]
>> 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.

AFAIK the latest version is the one in the SourceForge CVS repository,
see <http://emhacks.cvs.sourceforge.net/viewvc/emhacks/emhacks/>.
Revision 1.69 (tabbar-version 2.0) is the latest bug fix revision, so it
is the most stable tabbar.el available.

Steve Berman





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-10-09 21:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-08 17:02 tabbar mode screw up buffer order? Xah
2008-10-09 12:18 ` Stephen Berman
     [not found] ` <mailman.679.1223554696.25473.help-gnu-emacs@gnu.org>
2008-10-09 14:13   ` Xah
2008-10-09 21:29     ` Stephen Berman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).