all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alin Soare <as1789@gmail.com>
To: Nix <nix@esperi.org.uk>
Cc: Juri Linkov <juri@jurta.org>, martin rudalics <rudalics@gmx.at>,
	"Stephen J. Turnbull" <stephen@xemacs.org>,
	Emacs Dev <emacs-devel@gnu.org>,
	PJ Weisberg <pjweisberg@gmail.com>
Subject: Re: Tabs are ready? -> Let us give a definition of tabs.
Date: Sat, 11 Feb 2012 16:41:56 +0200	[thread overview]
Message-ID: <CA+Xtq3V=S_JFLOorjGcss5r2rjjga4PZbZTk_j42+LY=Lg=6tA@mail.gmail.com> (raw)
In-Reply-To: <87k43t1mm7.fsf@spindle.srvr.nix>

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

>
>
> >> The way I'm picturing it, the tab's internal state consists of four
> pieces
> >>> of data: a title, a window (or possibly window configuration), a
> function
> >>> that's called when it becomes active, and another function that's
> called
> >>> when it becomes inactive.  That *seems* like it's meeting all your
> >>> requirements, as I've understood them.
> >>
> > The title must also a tab-local variable.
>
> I've already pointed out that true tab-local variables would have nasty
> consequences for critical code in Emacs, confusing the semantics of
> variable lookup. Look at the sad history of frame-local variables and
> their interaction with buffer-local variables for an indication of the
> subtle problems you'll be inviting. (The problem is simple: if a buffer
> and its frame *both* declare a variable to be 'local', which takes
> precedence? There is probably code that depends on *each* taking
> precedence, so any answer will be wrong.)
>
> Now a list of 'tab parameters', like frame parameters, which have to be
> explicitly looked up when needed, is more likely to be accweptable.
>
>

Please follow the previous messages; I pointed the fact that tabs could be
conceived  as object oriented system.

If a tab needs to create a process, it needs to keep the process variable
TABPROC somewhere. This 'somewhere does not belong to global env, but to a
tab-env.

The system will never see the variable  TABPROC.

The variable tabproc is evaluated only by the callbacks associated with the
events of the tab.

Only the callbacks of the tab need to evaluate that variable.

Frame local and buffer-local works on another env which is accessible to
Eval, so to global env. In object oriented, the envs are separated.

For me it is clear that we will never agree on a common solution . The
conclusion is that only 1 person will have to write the code for
console/gtk/athena/motif. I can write it, and need to read the manual of
motif and athena. I know GTK at beginning level.

I will not be abe to cope with this problem in the near future.

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

  reply	other threads:[~2012-02-11 14:41 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
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 [this message]
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+Xtq3V=S_JFLOorjGcss5r2rjjga4PZbZTk_j42+LY=Lg=6tA@mail.gmail.com' \
    --to=as1789@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=juri@jurta.org \
    --cc=nix@esperi.org.uk \
    --cc=pjweisberg@gmail.com \
    --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.