[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tabs are ready? -> Let us give a definition of tabs.

From: Alin Soare
Subject: Re: Tabs are ready? -> Let us give a definition of tabs.
Date: Tue, 7 Feb 2012 00:51:46 +0200

 > such they are programmable, and give whatever default behaviour of
 > tabs you wish, give the LIBERTY to those programmers who wish to
 > define other kind of tabs for themselves, to be able to do so.

But this does not require all of the junk (events, callbacks, etc)
that you've talked about.  All that *needs* to be added to Emacs is
the very limited API needed to associate tabs with a window or frame,
displayable content and a label with each tab, and to query that
information.  The rest can be implemented with existing Emacs Lisp
facilities, such as faces (to change the color of a tab) and process
sentinels (one sort of event callback).  If you want a GTK-like API,
that should be easy to write in Lisp.

Without events, do you have a concrete idea how to signal to a hidden tab that something changed , such that it changes the color?   

I do not need a very limited API. I need a programmable tab bar.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]