unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Tabs in Emacs?
@ 2009-11-17 12:26 Angelo Graziosi
  2009-11-17 13:32 ` Deniz Dogan
  2009-11-17 18:37 ` Andrey Paramonov
  0 siblings, 2 replies; 18+ messages in thread
From: Angelo Graziosi @ 2009-11-17 12:26 UTC (permalink / raw)
  To: Emacs

I would ask if there are plans to add tabs, as many modern applications 
have, for Emacs 23.2.

Cheers,
Angelo.





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

* Re: Tabs in Emacs?
  2009-11-17 12:26 Angelo Graziosi
@ 2009-11-17 13:32 ` Deniz Dogan
  2009-11-17 13:59   ` AW: " Berndl, Klaus
                     ` (2 more replies)
  2009-11-17 18:37 ` Andrey Paramonov
  1 sibling, 3 replies; 18+ messages in thread
From: Deniz Dogan @ 2009-11-17 13:32 UTC (permalink / raw)
  To: Angelo Graziosi; +Cc: Emacs

2009/11/17 Angelo Graziosi <angelo.graziosi@alice.it>:
> I would ask if there are plans to add tabs, as many modern applications
> have, for Emacs 23.2.
>
> Cheers,
> Angelo.
>

There is already e.g. tab bar mode, but it's not part of "core" Emacs today:
http://www.emacswiki.org/emacs/TabBarMode

-- 
Deniz Dogan




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

* Re: Tabs in Emacs?
  2009-11-17 13:32 ` Deniz Dogan
  2009-11-17 13:59   ` AW: " Berndl, Klaus
@ 2009-11-17 17:41   ` Angelo Graziosi
  2009-11-17 23:43   ` Xavier Maillard
  2 siblings, 0 replies; 18+ messages in thread
From: Angelo Graziosi @ 2009-11-17 17:41 UTC (permalink / raw)
  To: Deniz Dogan; +Cc: Emacs

Deniz Dogan ha scritto:

> 
> There is already e.g. tab bar mode, but it's not part of "core" Emacs today:
> http://www.emacswiki.org/emacs/TabBarMode
> 

Not belonging to CVS, yet. Right?


Cheers,
Angelo.




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

* Re: Tabs in Emacs?
  2009-11-17 13:59   ` AW: " Berndl, Klaus
  2009-11-17 14:47     ` Miles Bader
  2009-11-17 16:09     ` AW: " Jason Rumney
@ 2009-11-17 17:52     ` Juri Linkov
  2 siblings, 0 replies; 18+ messages in thread
From: Juri Linkov @ 2009-11-17 17:52 UTC (permalink / raw)
  To: Berndl, Klaus; +Cc: Angelo Graziosi, Emacs, Deniz Dogan

>>> I would ask if there are plans to add tabs, as many modern applications
>>> have, for Emacs 23.2.
>>
>> There is already e.g. tab bar mode, but it's not part of "core" Emacs today:
>> http://www.emacswiki.org/emacs/TabBarMode
>
> IMHO this tabbar-mode has nothing to do with "real" tabs (as e.g.
> in Firefox) because the header-line is (mis-)used as tab-title/handle,
> so when using this mechanism to *simulate* tabs i have no headerline
> within the tabs... IMHO nothing what i would call "Tabs"...

The last time I looked at the possibility to implement "real" tabs
in GTK, there was a problem of attaching GtkNotebook to a widget.
It's possible to bind a Gtk tab to a fake widget or to the same
basic frame.  This produces a warning, but should basically work
by binding GCallback from a tab to any function that we can use
to implement Emacs-specific tab handling.

-- 
Juri Linkov
http://www.jurta.org/emacs/




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

* Re: Tabs in Emacs?
  2009-11-17 12:26 Angelo Graziosi
  2009-11-17 13:32 ` Deniz Dogan
@ 2009-11-17 18:37 ` Andrey Paramonov
  1 sibling, 0 replies; 18+ messages in thread
From: Andrey Paramonov @ 2009-11-17 18:37 UTC (permalink / raw)
  To: emacs-devel

Angelo Graziosi <angelo.graziosi <at> alice.it> writes:
> I would ask if there are plans to add tabs, as many modern applications 
> have, for Emacs 23.2.
> 

Dear Emacs developers, please do *not* spend your valuable time on features like
this. Tabs feature is already very well implemented in worthy window managers
(for example Fluxbox), and it works. Instead, please focus on things which are
broken, for example printing (http://thread.gmane.org/gmane.emacs.devel/109887).

Sorry for not being constructive.
 
Andrey Paramonov






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

* Re: Tabs in Emacs?
  2009-11-17 13:32 ` Deniz Dogan
  2009-11-17 13:59   ` AW: " Berndl, Klaus
  2009-11-17 17:41   ` Angelo Graziosi
@ 2009-11-17 23:43   ` Xavier Maillard
  2009-11-18  1:57     ` Miles Bader
  2009-11-18  3:30     ` Stefan Monnier
  2 siblings, 2 replies; 18+ messages in thread
From: Xavier Maillard @ 2009-11-17 23:43 UTC (permalink / raw)
  To: Deniz Dogan; +Cc: emacs-devel, angelo.graziosi


   2009/11/17 Angelo Graziosi <angelo.graziosi@alice.it>:
   > I would ask if there are plans to add tabs, as many modern applications
   > have, for Emacs 23.2.
   >
   > Cheers,
   > Angelo.
   >

   There is already e.g. tab bar mode, but it's not part of "core" Emacs today:
   http://www.emacswiki.org/emacs/TabBarMode

Why would someone need tabs in GNU Emacs exactly ? I am
curious. Buffers and related functions (browsing, navigating,
filtering ... ) are so powerful that I do not clearly understand
the need for such features.

	Xavier
-- 
http://www.gnu.org
http://www.april.org
http://www.lolica.org




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

* Re: Tabs in Emacs?
  2009-11-17 23:43   ` Xavier Maillard
@ 2009-11-18  1:57     ` Miles Bader
  2009-11-18 17:20       ` Xavier Maillard
  2009-11-18  3:30     ` Stefan Monnier
  1 sibling, 1 reply; 18+ messages in thread
From: Miles Bader @ 2009-11-18  1:57 UTC (permalink / raw)
  To: Xavier Maillard; +Cc: emacs-devel, angelo.graziosi, Deniz Dogan

Xavier Maillard <xma@gnu.org> writes:
> Why would someone need tabs in GNU Emacs exactly ? I am
> curious. Buffers and related functions (browsing, navigating,
> filtering ... ) are so powerful that I do not clearly understand
> the need for such features.

If implemented well, tabs can be a nice visual reminder of recently used
buffers and UI for simple and quick mouse use.

They clearly aren't a _replacement_ for the more powerful underlying
functions, but I think they can be a useful addition (and make people
used to tabs in other programs feel warm&cozy).

-Miles

-- 
gravity a demanding master ... soft soft snow




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

* Re: Tabs in Emacs?
  2009-11-17 23:43   ` Xavier Maillard
  2009-11-18  1:57     ` Miles Bader
@ 2009-11-18  3:30     ` Stefan Monnier
  1 sibling, 0 replies; 18+ messages in thread
From: Stefan Monnier @ 2009-11-18  3:30 UTC (permalink / raw)
  To: Xavier Maillard; +Cc: emacs-devel, angelo.graziosi, Deniz Dogan

> Why would someone need tabs in GNU Emacs exactly ? I am
> curious. Buffers and related functions (browsing, navigating,
> filtering ... ) are so powerful that I do not clearly understand
> the need for such features.

Actually, to manage window-configs, I think it might make sense.
I use frames for that (and if your WM supports tabs, you may end up
with the same functionality), but not everyone likes it that way.

This doesn't mean it's a high-priority feature, but if someone writes it
cleanly, I'll happily accept it.  IIUC Alin Soare <as1789@gmail.com> has
already started work on it.


        Stefan




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

* Re: Tabs in Emacs?
  2009-11-18  8:49       ` AW: " Berndl, Klaus
@ 2009-11-18  9:26         ` Teemu Likonen
  2009-11-18  9:30           ` Miles Bader
  0 siblings, 1 reply; 18+ messages in thread
From: Teemu Likonen @ 2009-11-18  9:26 UTC (permalink / raw)
  To: Berndl, Klaus; +Cc: Emacs, Jason Rumney

On 2009-11-18 09:49 (+0100), Klaus Berndl wrote:

> Simulating means, simulating tabs by using the headerline (AFAIK this
> is how tabbar-mode is implemented, isn't it?)... Real would mean,
> there is a headerline available in the tab-window...

I think that speaking of functional differences and usage patterns is
more useful in this discussion.

Anyway, previously I used Vim editor and found its tab feature handy and
very intuitive way for maintaining and switching between different
window configurations. With Emacs I use frames but I'd prefer having a
nice tab-like functionality within a single X Window frame. I don't care
if it is called "tabs", but just an intuitive way to switch between
different window configurations would be very useful.

> Please correct me if i write nonsense...

Ending sentences with just one period is enough. :-)




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

* Re: Tabs in Emacs?
  2009-11-18  9:26         ` Teemu Likonen
@ 2009-11-18  9:30           ` Miles Bader
  0 siblings, 0 replies; 18+ messages in thread
From: Miles Bader @ 2009-11-18  9:30 UTC (permalink / raw)
  To: Teemu Likonen; +Cc: Berndl, Klaus, Jason Rumney, Emacs

Teemu Likonen <tlikonen@iki.fi> writes:
>> Please correct me if i write nonsense...
>
> Ending sentences with just one period is enough. :-)

Haven'''t you heard???  Three is the new one...

---Miles

-- 
Quack, n. A murderer without a license.




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

* Re: Tabs in Emacs?
  2009-11-18  1:57     ` Miles Bader
@ 2009-11-18 17:20       ` Xavier Maillard
  2009-11-18 19:12         ` Juri Linkov
  0 siblings, 1 reply; 18+ messages in thread
From: Xavier Maillard @ 2009-11-18 17:20 UTC (permalink / raw)
  To: Miles Bader; +Cc: emacs-devel, angelo.graziosi, deniz.a.m.dogan


   Xavier Maillard <xma@gnu.org> writes:
   > Why would someone need tabs in GNU Emacs exactly ? I am
   > curious. Buffers and related functions (browsing, navigating,
   > filtering ... ) are so powerful that I do not clearly understand
   > the need for such features.

   If implemented well, tabs can be a nice visual reminder of recently used
   buffers and UI for simple and quick mouse use.

Hum yes. I am always in the linux console thus I do not need more
stuff. But I am pretty sure that even in X, I would not run the
graphic toolkit ;).

Sorry for the digression.

	Xavier
-- 
http://www.gnu.org
http://www.april.org
http://www.lolica.org




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

* Re: Tabs in Emacs?
  2009-11-18 10:19           ` AW: " Berndl, Klaus
@ 2009-11-18 19:08             ` Juri Linkov
  0 siblings, 0 replies; 18+ messages in thread
From: Juri Linkov @ 2009-11-18 19:08 UTC (permalink / raw)
  To: Berndl, Klaus; +Cc: Deniz Dogan, Emacs, Angelo Graziosi, Miles Bader

> Thoughts?

What you describe was implemented in the first prototype of
http://thread.gmane.org/gmane.emacs.devel/93208/focus=94508
that I have later used as the basis of implementing "real" tabs.

In the current implementation, the frame-based tab-bar is located
below the tool-bar.  The C part mostly duplicates code from the
non-tookit implementation of the tool-bar.  So there already exists
a non-tookit version of the tab-bar that works without crashes.

As for the GTK implementation, I still have unresolved problems.
I'd like to share the current code, so all Emacs developers would
be able to contribute to the development of the GTK part or to
improve code to place the tool-bar and the tab-bar anywhere
in the window tree, etc.

Sending a 4000-line patch to emacs-devel@gnu.org doesn't make sense.
Ideally, I'd like to create a new branch in a dVCS.  I regret we still
not switched to bzr where a new branch could be created cheaply.

Any suggestions on how to proceed with the implementation instead
of many years of talking about benefits of this highly useful feature?
(I can't now image how I used Emacs without tabs in a one-frame
configuration.)

-- 
Juri Linkov
http://www.jurta.org/emacs/




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

* Re: Tabs in Emacs?
  2009-11-18 17:20       ` Xavier Maillard
@ 2009-11-18 19:12         ` Juri Linkov
  0 siblings, 0 replies; 18+ messages in thread
From: Juri Linkov @ 2009-11-18 19:12 UTC (permalink / raw)
  To: Xavier Maillard
  Cc: deniz.a.m.dogan, emacs-devel, angelo.graziosi, Miles Bader

>    > Why would someone need tabs in GNU Emacs exactly ? I am
>    > curious. Buffers and related functions (browsing, navigating,
>    > filtering ... ) are so powerful that I do not clearly understand
>    > the need for such features.
>
>    If implemented well, tabs can be a nice visual reminder of recently
>    used buffers and UI for simple and quick mouse use.
>
> Hum yes. I am always in the linux console thus I do not need more
> stuff. But I am pretty sure that even in X, I would not run the
> graphic toolkit ;).

I happily use Emacs tabs in the console since internally tabs are just
a list of window configurations that can be displayed in any way.

-- 
Juri Linkov
http://www.jurta.org/emacs/




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

* Re: Tabs in Emacs?
@ 2009-11-20 11:05 A. Soare
  2009-11-20 11:12 ` Juri Linkov
  0 siblings, 1 reply; 18+ messages in thread
From: A. Soare @ 2009-11-20 11:05 UTC (permalink / raw)
  To: emacs-devel, angelo.graziosi

I resend the message, because I reveived error of the first transmission.


> I would ask if there are plans to add tabs, as many modern applications 
> have, for Emacs 23.2.
> 
> Cheers,
> Angelo.
> 

I did solve the problem. I did write the C code for the tabs of Emacs 1 year ago, but, unfortunately, I had to postpone to send it to emacs.

The code is almost finished, and I believe that in Avril/May I will have time to finish and send it.

I have to add code for Athena/Motif, and that is all.

I attach here a picture of the tabs in GTK and a picture with the tabs in console.

Tabs for Emacs - gtk+ version: http://imagebin.ca/view/hCu302.html

and

Tabs for Emacs - console version: http://imagebin.ca/view/nTtJdHou.html




Alin .







____________________________________________________

Gagnez un séjour au Maroc en découvrant les sketchs désopilants des ReVoila sur http://www.lesrevoila.fr/







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

* Re: Tabs in Emacs?
  2009-11-20 11:05 Tabs in Emacs? A. Soare
@ 2009-11-20 11:12 ` Juri Linkov
  0 siblings, 0 replies; 18+ messages in thread
From: Juri Linkov @ 2009-11-20 11:12 UTC (permalink / raw)
  To: alinsoar; +Cc: angelo.graziosi, emacs-devel

>> I would ask if there are plans to add tabs, as many modern applications
>> have, for Emacs 23.2.
>
> I did solve the problem. I did write the C code for the tabs of Emacs
> 1 year ago, but, unfortunately, I had to postpone to send it to emacs.
>
> The code is almost finished, and I believe that in Avril/May I will
> have time to finish and send it.
>
> I have to add code for Athena/Motif, and that is all.
>
> I attach here a picture of the tabs in GTK and a picture with the tabs
> in console.

Good news that you have implemented GTK and console part of the tabs
implementation as I have implemented only the non-toolkit part.

Any chance to merge with your code soon?

-- 
Juri Linkov
http://www.jurta.org/emacs/




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

* Re: Tabs in Emacs?
@ 2009-11-20 11:52 A. Soare
  2009-11-20 14:25 ` Stefan Monnier
  0 siblings, 1 reply; 18+ messages in thread
From: A. Soare @ 2009-11-20 11:52 UTC (permalink / raw)
  To: Juri Linkov; +Cc: Emacs   Dev  [emacs-devel]


> Good news that you have implemented GTK and console part of the tabs
> implementation as I have implemented only the non-toolkit part.
> 
> Any chance to merge with your code soon?
> 

I will reopen the archives in the first half of the next year. Until then, I do not have time.




Alin.





____________________________________________________

Gagnez un séjour au Maroc en découvrant les sketchs désopilants des ReVoila sur http://www.lesrevoila.fr/







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

* Re: Tabs in Emacs?
  2009-11-20 11:52 A. Soare
@ 2009-11-20 14:25 ` Stefan Monnier
  0 siblings, 0 replies; 18+ messages in thread
From: Stefan Monnier @ 2009-11-20 14:25 UTC (permalink / raw)
  To: alinsoar; +Cc: Juri Linkov, Emacs Dev [emacs-devel]

>> Good news that you have implemented GTK and console part of the tabs
>> implementation as I have implemented only the non-toolkit part.
>> Any chance to merge with your code soon?
> I will reopen the archives in the first half of the next year. Until
> then, I do not have time.

Why don't you send you patch here so others can look at it and maybe
work on it if they have the time (and inclination)?


        Stefan






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

* Re: Tabs in Emacs?
@ 2009-11-20 14:32 A. Soare
  0 siblings, 0 replies; 18+ messages in thread
From: A. Soare @ 2009-11-20 14:32 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: Emacs   Dev  [emacs-devel]

> 
> Why don't you send you patch here so others can look at it and maybe
> work on it if they have the time (and inclination)?

I have changed the definition of a frame, and I was into the point to replace everywhere FOR_EACH_FRAME with the new correct form.

I do not want to send the code before I replace it everywhere where it must be replaced, and this will be some work.



Alin.




____________________________________________________

Gagnez un séjour au Maroc en découvrant les sketchs désopilants des ReVoila sur http://www.lesrevoila.fr/







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

end of thread, other threads:[~2009-11-20 14:32 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-20 11:05 Tabs in Emacs? A. Soare
2009-11-20 11:12 ` Juri Linkov
  -- strict thread matches above, loose matches on Subject: below --
2009-11-20 14:32 A. Soare
2009-11-20 11:52 A. Soare
2009-11-20 14:25 ` Stefan Monnier
2009-11-17 12:26 Angelo Graziosi
2009-11-17 13:32 ` Deniz Dogan
2009-11-17 13:59   ` AW: " Berndl, Klaus
2009-11-17 14:47     ` Miles Bader
2009-11-18  9:40       ` AW: " Berndl, Klaus
2009-11-18  9:52         ` Miles Bader
2009-11-18 10:19           ` AW: " Berndl, Klaus
2009-11-18 19:08             ` Juri Linkov
2009-11-17 16:09     ` AW: " Jason Rumney
2009-11-18  8:49       ` AW: " Berndl, Klaus
2009-11-18  9:26         ` Teemu Likonen
2009-11-18  9:30           ` Miles Bader
2009-11-17 17:52     ` Juri Linkov
2009-11-17 17:41   ` Angelo Graziosi
2009-11-17 23:43   ` Xavier Maillard
2009-11-18  1:57     ` Miles Bader
2009-11-18 17:20       ` Xavier Maillard
2009-11-18 19:12         ` Juri Linkov
2009-11-18  3:30     ` Stefan Monnier
2009-11-17 18:37 ` Andrey Paramonov

Code repositories for project(s) associated with this public inbox

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

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