all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Juri Linkov <juri@jurta.org>
Cc: 4147@emacsbugs.donarmstrong.com
Subject: bug#4147: 23.1.50: Info-search command strange behaviour
Date: Wed, 16 Dec 2009 16:04:02 +0100	[thread overview]
Message-ID: <4B28F6E2.8020000@gmx.at> (raw)
In-Reply-To: <87hbrrgvq1.fsf@mail.jurta.org>

 > I think no need to relay back because a keymap click in a "header-line"
 > window will call a function that updates `header-line-format' whose new
 > content will be displayed in this window anyway.

But you want to display the buffer the tab stands for in the other
window and not in the window where the tab appears.  That has to be
handled.

 > This means we need extra buffer per every header-line.

Yes.

 > I don't understand how do you intend to ensure that the tabbar
 > of the selected window doesn't disappear if the user types
 > `C-x 1' (`delete-other-windows')?

Windows code can investigate all sorts of window parameters - in the
present case there would be parameters like "nodelete", "noresize",
"nosplit" and "noother" say.  Now consider a configuration like this

  --------------------
| T                  |
|--------------------|
| W                  |
|                    |
|                    |
|                    |
|                    |
  --------------------

where T is the tabbar window and W the window (live or internal) the
tabbar is attached to.  These windows share a parent window which
doesn't contain any other window.


The tabbar window T would have

nodelete 'this ... the only way to delete T is via `delete-window' with
   T as argument or `delete-other-windows' with any but T or W as
   argument.  C-x 1 invoked with either T or W selected will fill the
   frame with T and W and delete all other windows.  C-x 0 in T deletes T
   but leaves W alone.

noresize 'vertical ... means T cannot be resized vertically.

nosplit 'parent ... means C-x 2 on T will split the parent window of T
   and W instead.

noother t ... means `other-window' will skip T.  There should be a
   special command to cycle through the attached windows of W and back to
   W though.  But `other-window' and its clients should not try to pick a
   window like T.


The window W would have

nodelete 'parent ... means C-x 0 in W will delete both T and W.  C-x 1
   in W means only W and T will be left on their frame.  We could add the
   twist that on a frame containing W and T only C-x 1 in W deletes T.

nosplit 'parent ... is as above.


Note that parameter values like 'parent are transitive so you can
attach, for example, another window on the left like:

  -------------------------
| S  | T                  |
|    |--------------------|
|    | W                  |
|    |                    |
|    |                    |
|    |                    |
|    |                    |
  -------------------------

and have C-x 0 in W delete S, T and W (provided there is another window
left), C-x 0 in S or T behave as usual, and C-x 1 in S, T or W delete
all windows but S, T and W.

martin





  reply	other threads:[~2009-12-16 15:04 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-15  3:49 bug#4147: 23.1.50: Info-search command strange behaviour Jamie Lokier
2009-08-15 10:10 ` martin rudalics
2009-12-05  0:48   ` Juri Linkov
2009-12-05 19:50     ` Juri Linkov
2009-12-08 20:12       ` Juri Linkov
2009-12-14 21:54         ` Juri Linkov
2009-12-14 23:00           ` martin rudalics
2009-12-14 23:56             ` Juri Linkov
2009-12-15  8:16               ` martin rudalics
2009-12-16  0:45                 ` Juri Linkov
2009-12-16  7:53                   ` martin rudalics
2009-12-16  9:17                     ` Juri Linkov
2009-12-16 15:04                       ` martin rudalics [this message]
2009-12-16 19:21                         ` Drew Adams
     [not found]                         ` <87my1ibip3.fsf@mail.jurta.org>
     [not found]                           ` <4B29E99D.9060501@gmx.at>
2009-12-17 23:34                             ` Juri Linkov
     [not found]                               ` <4B2B318A.7010300@gmx.at>
2009-12-19  0:30                                 ` Juri Linkov
2009-12-19  9:09                                   ` martin rudalics
2009-12-21  0:34                                     ` Juri Linkov
2009-12-21  8:21                                       ` martin rudalics
2009-12-19  0:45                               ` Juri Linkov
2009-12-19  9:09                                 ` martin rudalics
2009-12-21  0:36                                   ` Juri Linkov
2009-12-21  8:21                                     ` martin rudalics
2009-12-15  4:07           ` Eli Zaretskii
2011-10-06  3:41 ` Glenn Morris

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=4B28F6E2.8020000@gmx.at \
    --to=rudalics@gmx.at \
    --cc=4147@emacsbugs.donarmstrong.com \
    --cc=juri@jurta.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.