unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: martin rudalics <rudalics@gmx.at>
Cc: bug-gnu-emacs@gnu.org, dashteacup@insightbb.com
Subject: Re: View-quit in *Help* restores wrong window when	display-buffer-reuse-frames is t
Date: Thu, 18 Oct 2007 14:27:49 -0400	[thread overview]
Message-ID: <ax3aw8uvkq.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <4717174B.2040103@gmx.at> (martin rudalics's message of "Thu, 18 Oct 2007 10:20:27 +0200")

martin rudalics wrote:

> (1) The one window one frame minimalist has `pop-up-frames' and
>     `pop-up-windows' both and would like exiting view-mode to restore
>     the window shown before.

Seems to work fine (I assume there's a missing "nil" here).

> (2) The one window per frame type has `pop-up-frames' non-nil and
>     `pop-up-windows' nil and expects view-mode to pop up a new or reuse
>     an existing frame.

Quitting view mode iconifies the frame, which seems odd to me. This issue?

http://lists.gnu.org/archive/html/emacs-devel/2007-07/msg00103.html

> (3) The at most two windows per frame user has `pop-up-windows' non-nil
>     and `split-height-threshold' the default.  Such users expect
>     view-mode to reuse any "other window" on the present frame
>     regardless of its mode.

Seems to work fine.

> (4) The many windows per frame user has `pop-up-windows' non-nil and
>     customized `split-height-threshold' appropriately.  Users in this
>     group expect view-mode to reuse an existing window on the same frame
>     iff it's a view-mode window.

Seems to work fine.

> My changes should set up information for exiting view mode correctly for
> all of them.  The message printed when entering view-mode should be
> correct with respect to how to scroll the help window and how to get rid
> of its contents.

Yes, AFAICS.

> - Exiting view-mode should ideally (1) kill a window that has been
>   popped up for view-mode purposes and (2) show the earlier contents of
>   the window when it has been usurpated by view-mode.

Yes, AFAICS.

> - Exit information should not get overwritten when following links,
>   hitting backward/forward buttons and the like (including Nick's
>   `help-xref-go-forward').

Not sure what you mean. If you mean the "type foo to quit" message, it
seems to disappear on scrolling, clicking a link, indeed any key
press. That doesn't seem like a big problem to me though.

> - Something reasonable should be done when a user manually switches to a
>   view-mode buffer and types `q' in that buffer.  Hard to get right for
>   a type (2) user who intermittently displays some unrelated buffer in a
>   view-mode window, manually switches back to the view-mode buffer, and
>   types `q'.  What should I do here?  Kill the frame, display the other
>   buffer and possibly lower the frame, iconify the frame, `bury-buffer',
>   `quit-window', ...

Probably not too important. I would guess either kill the frame, or
display the other buffer, but it's not my use pattern.

> - Is the `help-window-select' option useful?

Looks like it could be.




  parent reply	other threads:[~2007-10-18 18:27 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <D64B7FD7-2C5F-4A87-8F0B-61EB47217262@insightbb.com>
2007-10-13 17:28 ` View-quit in *Help* restores wrong window when display-buffer-reuse-frames is t David Reitter
2007-10-14  8:42   ` martin rudalics
2007-10-17 20:58     ` Glenn Morris
2007-10-18  8:20       ` martin rudalics
2007-10-18 16:05         ` Drew Adams
2007-10-18 22:01           ` martin rudalics
2007-10-18 22:58             ` Drew Adams
2007-10-19  8:23               ` martin rudalics
2007-10-19 15:17                 ` Drew Adams
2007-10-20  9:45                   ` martin rudalics
2007-10-18 18:27         ` Glenn Morris [this message]
2007-10-18 22:03           ` martin rudalics
2007-10-18 23:44             ` Glenn Morris
2007-10-19  8:14               ` martin rudalics
2007-10-19 17:52                 ` Glenn Morris
2007-10-20  9:45                   ` martin rudalics
2007-10-23 23:30                     ` Glenn Morris
2007-10-24  6:32                       ` martin rudalics
2007-10-22 21:45     ` David Reitter
2007-11-29  9:05     ` David Reitter
2007-11-29 10:22       ` martin rudalics
     [not found]       ` <mailman.4303.1196332542.18990.bug-gnu-emacs@gnu.org>
2007-12-01  8:01         ` David Reitter
2007-12-01  9:20           ` martin rudalics
2007-12-01 14:44             ` David Reitter

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=ax3aw8uvkq.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=dashteacup@insightbb.com \
    --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).