all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tassilo@member.fsf.org>
To: martin rudalics <rudalics@gmx.at>
Cc: Stefan Monnier <monnier@iro.umontreal.ca>, emacs-devel@gnu.org
Subject: Re: Usage examples of dedicated windows and popup frames?
Date: Sun, 10 Jul 2011 18:00:01 +0200	[thread overview]
Message-ID: <87iprat9by.fsf@fastmail.fm> (raw)
In-Reply-To: 4E19C59E.9000705@gmx.at

martin rudalics <rudalics@gmx.at> writes:

>> However, `other-frame' raises and selects correctly.
>
> Does `pop-to-buffer-other-frame' raise and select correctly when the
> buffer argument is already shown on an iconified frame?

Yes, it does.

>>> Maybe we could make the *Completions* frame (optionally) invisible
>>> instead of iconfying it?
>>
>> What's "invisible" in this respect?  (In any case, I'd try it out.)
>
> Hmm, invisible is invisible, see section 28.10 of the Elisp manual.
> That is, we could make the frame optionally invisible and make it
> visible again when it's needed.  For example, when I evaluate the
> following three forms step by step
>
> (setq my-frame (make-frame))
> (make-frame-invisible my-frame)
> (make-frame-visible my-frame)
>
> my-frame is visible and has input focus after the third step.

Yes, that's nice.  I think that's better as a default action for frames
showing completion, because it's less distracting if iconification is
animated, and it doesn't clutter the window manager switcher with
temporary frames you usually don't want to switch to anyway.

> If I do
>
> (let ((frame (selected-frame)))
>   (make-frame-visible my-frame)
>   (raise-frame frame))
>
> as third step, the original frame is in the foreground,

Yes, here, too.

> and if I do
>
> (let ((frame (selected-frame)))
>   (make-frame-visible my-frame)
>   (redirect-frame-focus my-frame frame))
>
> as third step, my-frame is risen but typing input goes to the original
> frame.

After evaluating that form, my emacs froze so that I had to kill it.
C-g didn't work anymore.  However, I cannot reproduce that with emacs
-Q...

Bye,
Tassilo



  reply	other threads:[~2011-07-10 16:00 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-08 14:19 Usage examples of dedicated windows and popup frames? Tassilo Horn
2011-07-08 14:47 ` Richard Riley
2011-07-08 14:49 ` John Yates
2011-07-08 16:11 ` Stefan Monnier
2011-07-08 16:34   ` Drew Adams
2011-07-08 16:51     ` Stefan Monnier
2011-07-08 17:38       ` Drew Adams
2011-07-08 17:54   ` Tassilo Horn
2011-07-08 18:55     ` Stefan Monnier
2011-07-09 13:00       ` martin rudalics
2011-07-09 15:03         ` Drew Adams
2011-07-10  0:43           ` chad
2011-07-10  9:00             ` martin rudalics
2011-07-10  9:43             ` Drew Adams
2011-07-12 17:47               ` chad
2011-07-12 18:55                 ` Drew Adams
2011-07-13  6:24                 ` martin rudalics
2011-07-13 23:09                   ` chad
2011-07-10 23:45           ` undisplay temporary dialog buffers when done [was: ... dedicated windows and popup frames] Drew Adams
2011-07-09 17:22         ` Usage examples of dedicated windows and popup frames? Tassilo Horn
2011-07-10  9:00           ` martin rudalics
2011-07-10  9:39             ` Tassilo Horn
2011-07-10 15:30               ` martin rudalics
2011-07-10 16:00                 ` Tassilo Horn [this message]
2011-07-10 21:13                   ` Drew Adams
2011-07-08 16:11 ` Drew Adams

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=87iprat9by.fsf@fastmail.fm \
    --to=tassilo@member.fsf.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --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 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.