From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alin Soare Newsgroups: gmane.emacs.devel Subject: Re: Tabs are ready? -> Let us give a definition of tabs. Date: Mon, 6 Feb 2012 15:21:33 +0200 Message-ID: References: <4F2E5D33.6020406@gmx.at> <4F2E8185.4080706@gmx.at> <4F2EC768.4050603@gmx.at> <4F2FACEF.8050107@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d0447875b93bf4804b84b8a14 X-Trace: dough.gmane.org 1328534513 11340 80.91.229.3 (6 Feb 2012 13:21:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 6 Feb 2012 13:21:53 +0000 (UTC) Cc: Juri Linkov , Emacs Dev To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 06 14:21:52 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RuOVt-0006Jo-D0 for ged-emacs-devel@m.gmane.org; Mon, 06 Feb 2012 14:21:45 +0100 Original-Received: from localhost ([::1]:52626 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RuOVq-0002qP-0r for ged-emacs-devel@m.gmane.org; Mon, 06 Feb 2012 08:21:42 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:37461) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RuOVk-0002qI-1H for emacs-devel@gnu.org; Mon, 06 Feb 2012 08:21:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RuOVi-00069r-Sd for emacs-devel@gnu.org; Mon, 06 Feb 2012 08:21:35 -0500 Original-Received: from mail-iy0-f169.google.com ([209.85.210.169]:33840) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RuOVi-00069n-Ny for emacs-devel@gnu.org; Mon, 06 Feb 2012 08:21:34 -0500 Original-Received: by iagz16 with SMTP id z16so10943958iag.0 for ; Mon, 06 Feb 2012 05:21:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Q0uRUqHuUJnQ7RHKeDz/imf/I/zxAYfwK94iDJ+NNOM=; b=AJXPGnbKjbE06qI4/4AyWCcLjrKKIN89F0cuzY1LEFeKdXv41RpOV7KlbZtu8IEYdh YUcOOfm8WJiPAN6jGs5VPRALb7TkQK0n7MaRWmP0j/Pu7dne74jDE6eBNV/wsS26pldy m/ZuCNsl1BImW6ZitVxgyzWI7b8PXtKSWmBkA= Original-Received: by 10.50.179.8 with SMTP id dc8mr4706141igc.19.1328534493839; Mon, 06 Feb 2012 05:21:33 -0800 (PST) Original-Received: by 10.231.42.209 with HTTP; Mon, 6 Feb 2012 05:21:33 -0800 (PST) In-Reply-To: <4F2FACEF.8050107@gmx.at> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.210.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:148252 Archived-At: --f46d0447875b93bf4804b84b8a14 Content-Type: text/plain; charset=UTF-8 > >>> There is the conception of mozilla and many text editors that changing > a > >>> tab means to pass to other web page or other file to edit. > >> What does "changing a tab" mean? Do you mean pushing some graphical > >> object with the mouse or replacing one graphical object with another? > > > > > > Yes. Not necessarily with the mouse. You can call a lisp function to > > commute to a new tab. In firefox you can commute to the next tab using > > C-PgDn . > > IIUC in firefox you have something like a "currently active tab" which > is higlighted and confers to the page currently shown in the firefox > frame. In Emacs we can do something similar for tabs conferring to the > buffer currently shown in a window or the selected window. Highlighting > This is one possibility. > the tab conferring to "save the current window configuration" doesn't > make much sense to me. So if the last tab action we activated was such > a save we probably shouldn't highlight the associated tab. But then > moving ("commuting") to the next tab will happen without visual feedback > from where we started moving. Think of doing C-PgDn and the next tab is > a "restore window configuration" tab. In order to be able to restore a window configuration you have to save it first. > > > > Every time when you commute to a tab, the lisp function associated to the > > 'show event is called. > > In firefox moving to the next tab means showing the associated page. > What is the 'show event for "restore window configuration"? Restoring the saved window configuration, for example. > > In mozilla you can install lots of kind of bars. And there is no doubt > that > > the tabs are still useful. In mozilla the tabs are used for current-open > > pages. > > And that's well-defined IMHO. Doing something different might be > tricky. > > Emacs-devel is created for people to talk and take a decision how to define the tabs Alin --f46d0447875b93bf4804b84b8a14 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

>>> There is the conception of mozilla and many text editors = that changing a
>>> tab means to pass to other web page or other file to edit.
>> What does "changing a tab" mean? =C2=A0Do you mean pushi= ng some graphical
>> object with the mouse or replacing one graphical object with anoth= er?
>
>
> Yes. Not necessarily with the mouse. You can call a lisp function to > commute to a new tab. In firefox you can commute to the next tab using=
> C-PgDn .

IIUC in firefox you have something like a "currently active tab" = which
is higlighted and confers to the page currently shown in the firefox
frame. =C2=A0In Emacs we can do something similar for tabs conferring to th= e
buffer currently shown in a window or the selected window. =C2=A0Highlighti= ng

This is one possibility.
= =C2=A0
the tab conferring to "save the current window configuration" doe= sn't
make much sense to me. =C2=A0So if the last tab action we activated was suc= h
a save we probably shouldn't highlight the associated tab. =C2=A0But th= en
moving ("commuting") to the next tab will happen without visual f= eedback
from where we started moving. =C2=A0Think of doing C-PgDn and the next tab = is
a "restore window configuration" tab.

=
In order to be able to restore a window configuration you have to save= it first.

=C2=A0


> Every time when you commute to a tab, the lisp function associated to = the
> 'show event is called.

In firefox moving to the next tab means showing the associated page.
What is the 'show event for "restore window configuration"?

Restoring the saved window configuration, fo= r example.


=C2=A0
> In mozilla you can install lots of kind of bars. And there is no doubt= that
> the tabs are still useful. In mozilla the tabs are used for current-op= en
> pages.

And that's well-defined IMHO. =C2=A0Doing something different might be<= br> tricky.


Emacs-devel is created for people to talk= and take a decision how to define the tabs=C2=A0

= =C2=A0
Alin --f46d0447875b93bf4804b84b8a14--