[Top][All Lists]

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

Re: Gtk tabs in emacs, new branch.

From: Stefan Monnier
Subject: Re: Gtk tabs in emacs, new branch.
Date: Sat, 10 Apr 2010 14:51:44 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

>> It's not just making them more general.  It's making them work in the
>> "right/natural" way.  In Emacs this usually means among other things
>> that clicks on it should generate Elisp events caught via a keymap and
>> that the list of tabs should be specified by Elisp code.
> If clicking on a tab is to act via keybindings, maybe the neatest way to
> handle this is to allow keys to be bound to window configurations, with
> the meaning of "impose this window configuration".

I don't think we need any such new feature.  It's easy to use a binding

   (define-key map <foo>
     `(lambda () (interactive) (restore-window-configuration ,bar)))

-- Stefan

reply via email to

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