unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo <sdl.web@gmail.com>
To: martin rudalics <rudalics@gmx.at>
Cc: emacs-devel@gnu.org
Subject: Re: New features in windowing
Date: Tue, 20 Mar 2012 19:02:40 +0800	[thread overview]
Message-ID: <m1limvilgv.fsf@gmail.com> (raw)
In-Reply-To: <4F683847.2010301@gmx.at> (martin rudalics's message of "Tue, 20 Mar 2012 08:56:55 +0100")

On 2012-03-20 15:56 +0800, martin rudalics wrote:
>> I am playing with the new features in windows (as in emacs). I found
>> some window-parameters aren't documented such as window-side and
>> window-atom.
>
> Hopefully they will make it into Emacs 24.2.

Do you mean those features are yet to be implemented? BTW, they were
mentioned in the elisp info file.

>> I tried to make a speedbar-window-mode i.e. embed the speedbar buffer in
>> a frame unlike speedbar-frame-mode which uses a separate frame. I want
>> the speedbar window to stay on screen without being deleted by
>> delete-window and the like.
>
> What precisely do you mean here?  `delete-window' should, in principle,
> delete its argument (unless it has a special `delete-window' parameter).

Let me use this for illustration:
          ______________________________________
         | ______  ____________________________ |
         ||      || __________________________ ||
         ||      |||                          |||
         ||      |||                          |||
         ||      |||                          |||
         ||      |||____________W4____________|||
         ||      || __________________________ ||
         ||      |||                          |||
         ||      |||                          |||
         ||      |||____________W5____________|||
         ||__W2__||_____________W3_____________ |
         |__________________W1__________________|


If I put speedbar buffer in W2, I want those window operations to think
as if W3 is the ``frame root window''. So for example, C-x 1 should not
delete W2. C-x 0 should never have W2 occupy the whole frame.

Is this currently possible?

>> Any idea whether the new features in
>> windowing can handle this without advising a bunch of functions? Thanks.
>
> The basic idea is to do what you want without any advising.  Meanwhile I
> have revised the assignment of side window parameters to handle window
> configuration management easier but I don't intend to incoporate these
> changes in 24.1.  If you want to use them, I can send you a bundle or a
> separate file.  (BTW, it would be nice if someone wrote code in order to
> handle > 1 speedbar buffers simultaneously.)
>
> martin

Unfortunately that would mean difficulty to try it out but I guess I can
wait until 24.1 is released.

Leo



  reply	other threads:[~2012-03-20 11:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-20  5:06 New features in windowing Leo
2012-03-20  7:56 ` martin rudalics
2012-03-20 11:02   ` Leo [this message]
2012-03-20 19:11     ` martin rudalics
2012-03-21  0:06       ` Leo
2012-03-21  0:16         ` Glenn Morris
2012-03-20 12:37   ` Stefan Monnier
2012-03-20 19:11     ` 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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=m1limvilgv.fsf@gmail.com \
    --to=sdl.web@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=rudalics@gmx.at \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).