From: Stefan Monnier <monnier@iro.umontreal.ca>
To: emacs-devel@gnu.org
Subject: Re: Fwd: pcomplete bug with special display buffers
Date: Wed, 07 Mar 2007 13:12:29 -0500 [thread overview]
Message-ID: <jwvr6s10whq.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87mz2phu0w.fsf@localhorst.mine.nu> (David Hansen's message of "Wed\, 07 Mar 2007 17\:56\:31 +0100")
>>> + (let ((window (get-buffer-window "*Completions*" t)))
>>
>> I recommend to use 0 rather than t as last arg to get-buffer-window
>> otherwise you may find the buffer but in a frame that can't be seen (at
>> least not without first explicitly making it visible).
> Shouldn't it be 'visible then? But i don't think I'm the right
> person to check this, my window manager (ion3) is a bit different
> from what most other users have.
Could be. The difference is that `visible' would not notice if the
buffer is displayed in an iconified frame, even though the frame will be
de-iconified automatically by display-buffer, pop-to-buffer,
raise-frame, and maybe a few other common operations.
To be honest: there's a bit of confusion around all this. Part of the
confusion comes from the fact that the `invisible' property of a window has
been poorly specified and that most things have been defined in the context
of a single display. With multiple-displays it makes sense to distinguish
frames that are merely not currently shown (typically: iconified) from
frames that simply can't be displayed on the current display.
Given the current situation, the most sensible way to go is to declare that
`invisible' indicates a frame that Emacs should consider as "currently
unshowable" (either because it's on another display, or because the user
has told Emacs not to show it by setting the `invisible' property).
I have some patches waiting to be applied to try and straighten things out.
Stefan
next prev parent reply other threads:[~2007-03-07 18:12 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-05 7:59 Fwd: pcomplete bug with special display buffers David Hansen
2007-03-05 17:33 ` Chong Yidong
2007-03-06 3:05 ` David Hansen
2007-03-06 14:48 ` Stefan Monnier
2007-03-07 15:04 ` David Hansen
2007-03-07 16:30 ` Stefan Monnier
2007-03-07 16:56 ` David Hansen
2007-03-07 18:12 ` Stefan Monnier [this message]
2007-03-05 21:50 ` Richard Stallman
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=jwvr6s10whq.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.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.