all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Can emacs show the opened files' list as tabs like XEmacs?
@ 2002-10-20 16:40 Alan Jiang
  2002-10-22  0:34 ` Jesper Harder
  0 siblings, 1 reply; 9+ messages in thread
From: Alan Jiang @ 2002-10-20 16:40 UTC (permalink / raw)


I find XEmacs has a very nice feature: it can show all the opened
files in a tab list in top of the windows.

  However, I have not found the same thing is Emacs. Can Emacs show
such things like XEmacs? So I can know which files are open more
easily.

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

* Re: Can emacs show the opened files' list as tabs like XEmacs?
  2002-10-20 16:40 Can emacs show the opened files' list as tabs like XEmacs? Alan Jiang
@ 2002-10-22  0:34 ` Jesper Harder
  2002-10-22  6:24   ` Configuring TABS.EL Charles Muller
       [not found]   ` <mailman.1035267738.7289.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 9+ messages in thread
From: Jesper Harder @ 2002-10-22  0:34 UTC (permalink / raw)


whjiang_cn@hotmail.com (Alan Jiang) writes:

> I find XEmacs has a very nice feature: it can show all the opened
> files in a tab list in top of the windows.
>
>   However, I have not found the same thing is Emacs. Can Emacs show
> such things like XEmacs?

Look for 'tabs.el' (by Zack Rusin).  It was posted to gnu.emacs.sources
earlier this year.

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

* Configuring TABS.EL
  2002-10-22  0:34 ` Jesper Harder
@ 2002-10-22  6:24   ` Charles Muller
       [not found]   ` <mailman.1035267738.7289.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 9+ messages in thread
From: Charles Muller @ 2002-10-22  6:24 UTC (permalink / raw)


Jesper Harder wrote:

> Look for 'tabs.el' (by Zack Rusin).  It was posted to gnu.emacs.sources
> earlier this year.

I was delighted to read this, because I have long thought about having such
an enhancement, but didn't realize it was available. 

But I would like to ask if anyone using Emacs 21.2 (I'm on Red Hat 7.3) has succeeded in getting
this working, because I can't seem to do it. I recently got the "recent
files" function (recentf.el) working without any problems by copying
recentf.el to my Emacs list directory and adding the following to my .emacs:

(require 'recentf)
(recentf-mode 1)

But when I try the same thing with "tabs.el" I get a "file not found"
error. It is definitely there, though. I also tried

(load "tabs")

and that didn't do the trick either.

When I try

M-x load-library RET tabs

No error message appears, but no tabs either. Has anyone had success with
this?

Chuck

---------------------------
Charles Muller  <acmuller@gol.com>
Faculty of Humanities,  Toyo Gakuen University
Digital Dictionary of Buddhism and CJKV-English Dictionary 
[http://www.acmuller.net]
Mobile Phone: 090-9310-1787

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

* Re: Configuring TABS.EL
       [not found]   ` <mailman.1035267738.7289.help-gnu-emacs@gnu.org>
@ 2002-10-22  6:46     ` Henrik Enberg
  2002-10-22 12:43       ` Charles Muller
       [not found]       ` <mailman.1035290480.5132.help-gnu-emacs@gnu.org>
  2002-10-22 14:34     ` Stefan Monnier <foo@acm.com>
  1 sibling, 2 replies; 9+ messages in thread
From: Henrik Enberg @ 2002-10-22  6:46 UTC (permalink / raw)


Charles Muller <acmuller@gol.com> writes:

> I recently got the "recent files" function (recentf.el) working
> without any problems by copying recentf.el to my Emacs list directory
> and adding the following to my .emacs:
>
> (require 'recentf)
> (recentf-mode 1)
>
> But when I try the same thing with "tabs.el" I get a "file not found"
> error. It is definitely there, though. I also tried
>
> (load "tabs")

Hmm, the tabs.el I looked at on google has no `provide' statement.  Try
adding the following line at the bottom of tabs.el

(provide 'tabs)

And then do 

(require 'tabs)
(tabs-mode 1)

-- 
Booting... /vmemacs.el

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

* Re: Configuring TABS.EL
  2002-10-22  6:46     ` Henrik Enberg
@ 2002-10-22 12:43       ` Charles Muller
       [not found]       ` <mailman.1035290480.5132.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 9+ messages in thread
From: Charles Muller @ 2002-10-22 12:43 UTC (permalink / raw)



Thanks, Henrik, for your suggestion.

Henrik wrote:

> Hmm, the tabs.el I looked at on google has no `provide' statement.  Try
> adding the following line at the bottom of tabs.el
> 
> (provide 'tabs)
> 
> And then do 
> 
> (require 'tabs)
> (tabs-mode 1)

After doing this, the Emacs startup errors ceased. But I still don't get any
tabs at the top of my window. My .emacs file currently has

     (setq load-path (cons "/home/chuck/lisp/" load-path))
     (require 'recentf)
     (recentf-mode 1)
     (require 'tabs)
     (load "tabs.el")
     (tabs-mode 1)

And my lisp file is like this:

      /home/chuck/lisp:
      used 172 available 2311292
      drwxrwxr-x    2 chuck    chuck        4096 Oct 22 21:34 .
       drwx------   48 chuck    chuck        4096 Oct 22 21:37 ..
       -rw-rw-rw-    1 chuck    chuck       55908 Oct  2 18:15 recentf.el
       -rw-rw-r--    1 chuck    chuck        6163 Oct 22 21:34 tabs.el
       -rw-rw-r--    1 chuck    chuck         324 Sep 28 15:41 w3mstuff.el

Does anyone have any further ideas on this?

Chuck


---------------------------
Charles Muller  <acmuller@gol.com>
Faculty of Humanities,  Toyo Gakuen University
Digital Dictionary of Buddhism and CJKV-English Dictionary 
[http://www.acmuller.net]
Mobile Phone: 090-9310-1787

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

* Re: Configuring TABS.EL
       [not found]   ` <mailman.1035267738.7289.help-gnu-emacs@gnu.org>
  2002-10-22  6:46     ` Henrik Enberg
@ 2002-10-22 14:34     ` Stefan Monnier <foo@acm.com>
  1 sibling, 0 replies; 9+ messages in thread
From: Stefan Monnier <foo@acm.com> @ 2002-10-22 14:34 UTC (permalink / raw)


>>>>> "Charles" == Charles Muller <acmuller@gol.com> writes:
> this working, because I can't seem to do it. I recently got the "recent
> files" function (recentf.el) working without any problems by copying
> recentf.el to my Emacs list directory and adding the following to my .emacs:

> (require 'recentf)
> (recentf-mode 1)

recentf.el is distributed with Emacs-21.


        Stefan

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

* Re: Configuring TABS.EL
       [not found]       ` <mailman.1035290480.5132.help-gnu-emacs@gnu.org>
@ 2002-10-22 15:29         ` Tony
  2002-10-22 16:39         ` Tony
  1 sibling, 0 replies; 9+ messages in thread
From: Tony @ 2002-10-22 15:29 UTC (permalink / raw)


"Charles Muller" <acmuller@gol.com> wrote in message
news:mailman.1035290480.5132.help-gnu-emacs@gnu.org...
>
> Thanks, Henrik, for your suggestion.
>
> Henrik wrote:
>
> > Hmm, the tabs.el I looked at on google has no `provide' statement.  Try
> > adding the following line at the bottom of tabs.el
> >
> > (provide 'tabs)
> >
> > And then do
> >
> > (require 'tabs)
> > (tabs-mode 1)
>
> After doing this, the Emacs startup errors ceased. But I still don't get
any
> tabs at the top of my window. My .emacs file currently has
>
>      (setq load-path (cons "/home/chuck/lisp/" load-path))
>      (require 'recentf)
>      (recentf-mode 1)
>      (require 'tabs)
>      (load "tabs.el")
>      (tabs-mode 1)
>
> And my lisp file is like this:
>
>       /home/chuck/lisp:
>       used 172 available 2311292
>       drwxrwxr-x    2 chuck    chuck        4096 Oct 22 21:34 .
>        drwx------   48 chuck    chuck        4096 Oct 22 21:37 ..
>        -rw-rw-rw-    1 chuck    chuck       55908 Oct  2 18:15 recentf.el
>        -rw-rw-r--    1 chuck    chuck        6163 Oct 22 21:34 tabs.el
>        -rw-rw-r--    1 chuck    chuck         324 Sep 28 15:41 w3mstuff.el
>
> Does anyone have any further ideas on this?
>
> Chuck
>
>
> ---------------------------
> Charles Muller  <acmuller@gol.com>
> Faculty of Humanities,  Toyo Gakuen University
> Digital Dictionary of Buddhism and CJKV-English Dictionary
> [http://www.acmuller.net]
> Mobile Phone: 090-9310-1787
>

I too am having this problem. But if i do M-x tabs-mode while in an open
buffer i get the tabs, but only while in that buffer. Once i switch to
another buffer the tabs disappear until returning.

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

* Re: Configuring TABS.EL
       [not found]       ` <mailman.1035290480.5132.help-gnu-emacs@gnu.org>
  2002-10-22 15:29         ` Tony
@ 2002-10-22 16:39         ` Tony
  2002-10-23  7:32           ` Charles Muller
  1 sibling, 1 reply; 9+ messages in thread
From: Tony @ 2002-10-22 16:39 UTC (permalink / raw)


"Charles Muller" <acmuller@gol.com> wrote in message
news:mailman.1035290480.5132.help-gnu-emacs@gnu.org...
>
> Thanks, Henrik, for your suggestion.
>
> Henrik wrote:
>
> > Hmm, the tabs.el I looked at on google has no `provide' statement.  Try
> > adding the following line at the bottom of tabs.el
> >
> > (provide 'tabs)
> >
> > And then do
> >
> > (require 'tabs)
> > (tabs-mode 1)
>
> After doing this, the Emacs startup errors ceased. But I still don't get
any
> tabs at the top of my window. My .emacs file currently has
>
>      (setq load-path (cons "/home/chuck/lisp/" load-path))
>      (require 'recentf)
>      (recentf-mode 1)
>      (require 'tabs)
>      (load "tabs.el")
>      (tabs-mode 1)
>
> And my lisp file is like this:
>
>       /home/chuck/lisp:
>       used 172 available 2311292
>       drwxrwxr-x    2 chuck    chuck        4096 Oct 22 21:34 .
>        drwx------   48 chuck    chuck        4096 Oct 22 21:37 ..
>        -rw-rw-rw-    1 chuck    chuck       55908 Oct  2 18:15 recentf.el
>        -rw-rw-r--    1 chuck    chuck        6163 Oct 22 21:34 tabs.el
>        -rw-rw-r--    1 chuck    chuck         324 Sep 28 15:41 w3mstuff.el
>
> Does anyone have any further ideas on this?
>
> Chuck
>
>
> ---------------------------
> Charles Muller  <acmuller@gol.com>
> Faculty of Humanities,  Toyo Gakuen University
> Digital Dictionary of Buddhism and CJKV-English Dictionary
> [http://www.acmuller.net]
> Mobile Phone: 090-9310-1787
>
>

i figured this out. use (global-tabs-mode 1) instead of tabs-mode.

but there seam to still be too many bugs for it to be useable (the main one
being that tabs aren't removed when a buffer is killed so you get a bunch of
ghost tabs).

-Tony

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

* Re: Configuring TABS.EL
  2002-10-22 16:39         ` Tony
@ 2002-10-23  7:32           ` Charles Muller
  0 siblings, 0 replies; 9+ messages in thread
From: Charles Muller @ 2002-10-23  7:32 UTC (permalink / raw)
  Cc: help-gnu-emacs

Tony wrote:

> i figured this out. use (global-tabs-mode 1) instead of tabs-mode.
> 
> but there seam to still be too many bugs for it to be useable (the main one
> being that tabs aren't removed when a buffer is killed so you get a bunch of
> ghost tabs).

Yes, that worked for me too. But as you say, it's terribly buggy. When I
open up a few buffers and click on a tab, the tab rarely opens up the buffer
it's supposed to. Well, I hope someone will be interested in working on this
in the future, because I would love to have this feature. I'm not a
programmer, so I can't offer my own help.


Chuck

---------------------------
Charles Muller  <acmuller@gol.com>
Faculty of Humanities,  Toyo Gakuen University
Digital Dictionary of Buddhism and CJKV-English Dictionary 
[http://www.acmuller.net]
Mobile Phone: 090-9310-1787

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

end of thread, other threads:[~2002-10-23  7:32 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-20 16:40 Can emacs show the opened files' list as tabs like XEmacs? Alan Jiang
2002-10-22  0:34 ` Jesper Harder
2002-10-22  6:24   ` Configuring TABS.EL Charles Muller
     [not found]   ` <mailman.1035267738.7289.help-gnu-emacs@gnu.org>
2002-10-22  6:46     ` Henrik Enberg
2002-10-22 12:43       ` Charles Muller
     [not found]       ` <mailman.1035290480.5132.help-gnu-emacs@gnu.org>
2002-10-22 15:29         ` Tony
2002-10-22 16:39         ` Tony
2002-10-23  7:32           ` Charles Muller
2002-10-22 14:34     ` Stefan Monnier <foo@acm.com>

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.