From: martin rudalics <rudalics@gmx.at>
To: Drew Adams <drew.adams@oracle.com>
Cc: Bug-Gnu-Emacs <bug-gnu-emacs@gnu.org>
Subject: Re: q doesn't always quit *Help*
Date: Fri, 28 Sep 2007 08:35:46 +0200 [thread overview]
Message-ID: <46FCA0C2.1020405@gmx.at> (raw)
In-Reply-To: <DNEMKBNJBGPAOPIJOOICMEDAEAAA.drew.adams@oracle.com>
>>`quit-window' deletes the frame iff it's a minibuffer-window - which
>>should not hold here - or it's a dedicated window - do you set that?
>
>
> As I said, it deletes the frame in my code. And yes, *Help* is probably also
> a dedicated window for me - it is a special-display frame for me, in any
> case.
If you change this manually I can't help you. Any solution I provide
here must rely on the standard settings. `view-mode-exit' has the
following code to cope with stand-alone frames:
((not (eq frame (next-frame)))
;; Not the only frame, so can safely be removed.
(if view-remove-frame-by-deleting
(delete-frame frame)
(setq notlost t) ; Keep the window. See below.
(iconify-frame frame))))))
Hence if your view-mode frame is not the only frame it should get
deleted provided you have set `view-remove-frame-by-deleting' to
non-nil. `quit-window' should never delete such frames. Did you
customize `view-remove-frame-by-deleting'?
>>But I agree that the behavior you describe is logical and desirable (as
>>long as you never display anything else in that window).
>
>
> I don't the part in parentheses is needed - so what if you do at some time
> display another buffer in that window?
If it's a view-mode buffer it should always rely on the _latest_
information established by `with-help-window'. This information should
be kept when you follow links or xrefs. For any other buffer "q"
hopefully has the effect the respective major mode assigns it.
>> Hence, I have to invent something here. Did you try this with
>>`help-window-select' customized?
>
>
> No, I never heard of it. And I don't see it in Emacs 22.1 (or in 21 or 20),
> which is what I use. What is it, and how might it help here?
That's the new option I wrote for help.el. With pop-up frames it
shouldn't make much difference I suppose.
next prev parent reply other threads:[~2007-09-28 6:35 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <DNEMKBNJBGPAOPIJOOICIECPEAAA.drew.adams@oracle.com>
2007-09-27 21:21 ` q doesn't always quit *Help* martin rudalics
2007-09-27 21:36 ` Drew Adams
2007-09-28 6:35 ` martin rudalics [this message]
2007-09-28 14:26 ` Drew Adams
2007-09-28 18:17 ` martin rudalics
2007-09-28 19:17 ` Drew Adams
2007-09-29 9:05 ` martin rudalics
2007-09-26 18:54 Drew Adams
2007-09-27 9:05 ` 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=46FCA0C2.1020405@gmx.at \
--to=rudalics@gmx.at \
--cc=bug-gnu-emacs@gnu.org \
--cc=drew.adams@oracle.com \
/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).