all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alin Soare <as1789@gmail.com>
To: "Stephen J. Turnbull" <stephen@xemacs.org>
Cc: Juri Linkov <juri@jurta.org>, martin rudalics <rudalics@gmx.at>,
	Emacs Dev <emacs-devel@gnu.org>
Subject: Re: Tabs are ready? -> Let us give a definition of tabs.
Date: Mon, 6 Feb 2012 18:18:08 +0200	[thread overview]
Message-ID: <CA+Xtq3W6_bJ5rfa-r_+_o-AD1gBsdJ8nwHC+sCr9y8G+ztU1vw@mail.gmail.com> (raw)
In-Reply-To: <877h00yq7z.fsf@uwakimon.sk.tsukuba.ac.jp>

[-- Attachment #1: Type: text/plain, Size: 4115 bytes --]

2012/2/6 Stephen J. Turnbull <stephen@xemacs.org>

> Alin Soare writes:
>
>  > > > 3. when grep finds something, and the tab is hidden , the tab
> widget to
>  > > > change the color
>  > >
>  > > What sense does it make to have a hidden tab change color?  And what
>  > > kind of event is this in your nomenclature?
>
> Alin, in English the physical metaphor that "tab" invokes refers to
> the small piece of a folder or notebook divider that sticks out where
> you can find it in a stack.  It specifically does *not* refer to the
> content area that is linked with the tab.  So if the tab is hidden
> (eg, by another row of tabs), you can't see it change color!  This
> precise definition may be difficult to understand from the way native
> speakers use the term, but I assure you your usage is confusing the
> hell out of the native speakers here.
>

In 'konsole of KDE there are tabs. In each such tab can e run a process
(not necessrily 'bash) .

In konsole, when a tab is hidden and its process gave output, the tab
changed the color.

The same happens to alll chat programs.





> As well as some of the non-native speakers, as I presume Martin is.
>
>  > Tabs should register a callback for an event , for example, when i/o
>  > arrives in  the given process...
>
> You're going around in circles.  Martin knows how events and callbacks
> work.
>
>  > Quite so, you can do this functionality using only M-x and calling lisp
>  > functions. Or menu entries. But I am sure most people would be happy to
> be
>  > able to define a tab that shows a 'grep process.
>
> I doubt it.  In real life as defined in the English language, a tab is
> a way to quickly find a flat object in a neat stack of flat objects of
> similar size and shape, such as pages of an address book or file
> folders in a file cabinet.  It is very similar to a bookmark (I mean
> things the ribbon you find in a nicely bound book or some odd scrap of
> paper, not the web browser sort), except that bookmarks are ad hoc and
> tend to have no fixed relationship to the content that they mark,
> while tabs are systematic, and have a fixed relationship to content.
> Eg, a common tabbed object is an address book, and the tabs are small
> areas that stick out, have labels such as "A", "B", "C", and the
> related content is "names that start with A," and so on.  Another
> example is a product manual divided into sections, such as the well
> known Unix manual with "Commands", "OS entry points", "Standard
> library", and so on.
>
> In computers, because software is more dynamic than printed books
> (even looseleaf notebooks), tabs tend to be more ad hoc.  Still,
> they're really just glorified bookmarks, usually coming in sets with
> some sort of relationship to each other.
>
> So basically a tab control is just a set of windows (or frames) that
> share the same screen real estate, with a visible but nonobtrusive GUI
> to switch windows (frames) quickly.[1]
>
> I can easily believe that *you* might use a tab to invoke a grep
> process, and there's nothing wrong with that if you want that
> .
> However, that is not the way most people think of tabs.  Most people
> would invoke the grep process with M-! or a menu item or maybe a
> toolbar button, and then -- if the output was to be referred to
> frequently -- they *might* use a tab to navigate to *Shell Command
> Output* buffer that holds that output.  I doubt very many people would
> find it natural to invoke commands with a tab.
>
> In practice, the only things that a tab needs is a Lisp object to
> represent it and to keep track of its screen real estate, and a small
> API to control its appearance.  Everything else can be defined in
> terms of existing Lisp primitives (eg, your grep example with the tab
> changing color when the associated process buffer receives output
> could be implemented with a process sentinel).
>


I propose to find a definition of tabs, such they are programmablem 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.

[-- Attachment #2: Type: text/html, Size: 5150 bytes --]

  reply	other threads:[~2012-02-06 16:18 UTC|newest]

Thread overview: 71+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-04 22:36 Tabs are ready? -> Let us give a definition of tabs Alin Soare
2012-02-05 10:42 ` martin rudalics
2012-02-05 12:44   ` Alin Soare
2012-02-05 13:17     ` martin rudalics
2012-02-05 13:39       ` Alin Soare
     [not found]         ` <CA+Xtq3U5PkH=m1ZRMMm2LJQ_BHZXc08Vk4TbhNyyFLta+1EkBw@mail.gmail.com>
2012-02-05 13:44           ` Fwd: " Alin Soare
2012-02-05 14:50             ` Alin Soare
2012-02-05 17:56               ` Andy Moreton
2012-02-05 18:51                 ` Drew Adams
2012-02-06  3:35                   ` Stephen J. Turnbull
2012-02-05 18:16               ` martin rudalics
2012-02-05 21:33                 ` Alin Soare
2012-02-06 10:35                   ` martin rudalics
2012-02-06 13:21                     ` Alin Soare
2012-02-05 23:56                 ` Alin Soare
2012-02-06 10:36                   ` martin rudalics
2012-02-06 13:34                     ` Alin Soare
2012-02-06 14:46                       ` Stephen J. Turnbull
2012-02-06 16:18                         ` Alin Soare [this message]
2012-02-06 16:21                           ` Alin Soare
2012-02-06 17:53                           ` Stephen J. Turnbull
2012-02-06 22:51                             ` Alin Soare
2012-02-06 22:55                               ` Alin Soare
2012-02-07 16:15                               ` Stephen J. Turnbull
2012-02-09 15:55                               ` PJ Weisberg
2012-02-09 16:11                                 ` Alin Soare
2012-02-09 16:16                                   ` Alin Soare
2012-02-10 19:04                                     ` Alin Soare
2012-02-10 19:08                                       ` Alin Soare
2012-02-11 14:16                                     ` Nix
2012-02-11 14:41                                       ` Alin Soare
2012-02-12 13:40                                         ` Nix
2012-02-12 16:23                                           ` Alin Soare
2012-02-12 18:48                                             ` Alin Soare
2012-02-13  6:06                                       ` Stephen J. Turnbull
2012-02-13 12:29                                         ` Nix
2012-02-13 15:53                                           ` Tom Tromey
2012-02-13 16:21                                             ` Nix
2012-02-13 16:30                                               ` Tom Tromey
2012-02-13 18:50                                                 ` Nix
2012-02-15 20:35                                                   ` Tom Tromey
2012-02-15 22:59                                                     ` Stefan Monnier
2012-02-15 23:03                                                     ` Nix
2012-02-28 15:13                                                       ` Alin Soare
2012-02-28 15:16                                                         ` Alin Soare
2012-02-13 13:24                                         ` Stefan Monnier
2012-02-13 13:49                                           ` Nix
2012-02-13 15:20                                             ` Stefan Monnier
2012-02-13 16:21                                               ` Nix
2012-02-06 18:00                         ` martin rudalics
2012-02-06 17:05                       ` martin rudalics
2012-02-05 18:15         ` martin rudalics
2012-02-05 21:38           ` Alin Soare
2012-02-05 22:30             ` joakim
2012-02-05 22:53               ` Alin Soare
2012-02-06 10:35             ` martin rudalics
2012-02-06 13:25               ` Alin Soare
2012-02-06 17:03                 ` martin rudalics
2012-02-06 19:19                   ` Nix
2012-02-06 19:43                     ` martin rudalics
2012-02-06 19:45                       ` Nix
2012-02-06 19:54                       ` Drew Adams
2012-02-08 23:43                         ` Alin Soare
2012-02-09 11:19                           ` Nix
2012-02-09 13:05                             ` Alin Soare
2012-02-09 13:07                               ` Alin Soare
2012-02-07 15:57                     ` Stephen J. Turnbull
2012-02-07 17:15                       ` Nix
2012-02-06 20:05                   ` Alin Soare
2012-02-07 16:03                     ` Stephen J. Turnbull
2012-02-06 17:04                 ` martin rudalics

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CA+Xtq3W6_bJ5rfa-r_+_o-AD1gBsdJ8nwHC+sCr9y8G+ztU1vw@mail.gmail.com \
    --to=as1789@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=juri@jurta.org \
    --cc=rudalics@gmx.at \
    --cc=stephen@xemacs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.