From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: Re: View-quit in *Help* restores wrong window when display-buffer-reuse-frames is t Date: Fri, 19 Oct 2007 00:03:35 +0200 Message-ID: <4717D837.6040706@gmx.at> References: <70FBB428-1B37-4C3B-A60D-E3A7139E384C@gmail.com> <4711D670.6060508@gmx.at> <4717174B.2040103@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1192745022 2769 80.91.229.12 (18 Oct 2007 22:03:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Oct 2007 22:03:42 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org, dashteacup@insightbb.com To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 19 00:03:42 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IidSw-0001kV-Ct for geb-bug-gnu-emacs@m.gmane.org; Fri, 19 Oct 2007 00:03:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IidSp-0003wS-6O for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 Oct 2007 18:03:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IidSe-0003sR-43 for bug-gnu-emacs@gnu.org; Thu, 18 Oct 2007 18:03:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IidSd-0003rh-Ak for bug-gnu-emacs@gnu.org; Thu, 18 Oct 2007 18:03:23 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IidSd-0003rc-5H for bug-gnu-emacs@gnu.org; Thu, 18 Oct 2007 18:03:23 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1IidSc-0000xr-Jz for bug-gnu-emacs@gnu.org; Thu, 18 Oct 2007 18:03:22 -0400 Original-Received: (qmail invoked by alias); 18 Oct 2007 22:03:21 -0000 Original-Received: from N811P022.adsl.highway.telekom.at (EHLO [62.47.45.86]) [62.47.45.86] by mail.gmx.net (mp022) with SMTP; 19 Oct 2007 00:03:21 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+jeZIb3BijedNJyP5ebYAoIrbsx1u8apLBJBQzjQ 1053X2R+bJP1dJ User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en In-Reply-To: X-Y-GMX-Trusted: 0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:16781 Archived-At: >>(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). Your assumption is correct (and I enjoyed reading it). >>(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 Yes. Customizing `view-remove-frame-by-deleting' should cut that. But apparently most people don't know about that option (FWIW it's been in view-mode ever since). >>- 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. Badly formulated: I meant that the information view-mode maintains (in `view-return-to-alist') in order to correctly exit a help window must not get overwritten when the user clicks on a link or a button. With other words I have to make sure that quitting help doesn't get me to an earlier (in history) help window. >>- 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. Drew would probably disagree here.