From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#38164: quit-restore-window doesn't restore point in man Date: Mon, 18 Nov 2019 23:21:27 +0200 Organization: LINKOV.NET Message-ID: <874kz0vq20.fsf@mail.linkov.net> References: <8ea0a3fa-5169-4493-bd54-3ebe47836a35@default> <87r3i9nped.fsf@gnus.org> <87wps1m7co.fsf@web.de> <87r22gbquk.fsf@mail.linkov.net> <875zjrzgoz.fsf_-_@mail.linkov.net> <02f0564a-baf3-b15c-bcc5-98d37f510d7a@gmx.at> <877e45ksaz.fsf@mail.linkov.net> <37ad920d-a8ca-8cc4-33c7-ecec4792eb61@gmx.at> <87sgmrjwih.fsf@mail.linkov.net> <874kz6aw5x.fsf@mail.linkov.net> <3e9a7418-3b89-c404-5242-cb5716215d87@gmx.at> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="81107"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: 38164@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 18 22:52:18 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iWowT-000KyX-LO for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Nov 2019 22:52:18 +0100 Original-Received: from localhost ([::1]:39866 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iWowS-0004Ky-E8 for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Nov 2019 16:52:16 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40085) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iWowJ-0004HG-Q7 for bug-gnu-emacs@gnu.org; Mon, 18 Nov 2019 16:52:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iWowI-0007wa-Sw for bug-gnu-emacs@gnu.org; Mon, 18 Nov 2019 16:52:07 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37545) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iWowI-0007wN-PM for bug-gnu-emacs@gnu.org; Mon, 18 Nov 2019 16:52:06 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iWowI-0005GT-NA for bug-gnu-emacs@gnu.org; Mon, 18 Nov 2019 16:52:06 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 18 Nov 2019 21:52:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38164 X-GNU-PR-Package: emacs Original-Received: via spool by 38164-submit@debbugs.gnu.org id=B38164.157411392220216 (code B ref 38164); Mon, 18 Nov 2019 21:52:06 +0000 Original-Received: (at 38164) by debbugs.gnu.org; 18 Nov 2019 21:52:02 +0000 Original-Received: from localhost ([127.0.0.1]:46363 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iWowE-0005Ft-1l for submit@debbugs.gnu.org; Mon, 18 Nov 2019 16:52:02 -0500 Original-Received: from chocolate.birch.relay.mailchannels.net ([23.83.209.35]:35273) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iWowC-0005Ff-Nh for 38164@debbugs.gnu.org; Mon, 18 Nov 2019 16:52:01 -0500 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 0DA32501BAE; Mon, 18 Nov 2019 21:51:59 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a6.g.dreamhost.com (100-96-4-107.trex.outbound.svc.cluster.local [100.96.4.107]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 9AA7950128A; Mon, 18 Nov 2019 21:51:58 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a6.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.5); Mon, 18 Nov 2019 21:51:58 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Irritate-Harbor: 5a34704b098b6c3d_1574113918847_456782077 X-MC-Loop-Signature: 1574113918847:3825775941 X-MC-Ingress-Time: 1574113918846 Original-Received: from pdx1-sub0-mail-a6.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a6.g.dreamhost.com (Postfix) with ESMTP id 55E24A7010; Mon, 18 Nov 2019 13:51:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=IhC3pPhzoXtwJ5KElvUAUUKV8CM=; b= RS8Nos0PDqf4IhTYRzcDZ+IqpQUzSs7bDTYcBgJyv7HEyoUPKyLXMXZZV0DYXYIx U3Zpdbr0wIir/t8Q46LT8GdezWBYFPHzLp7N6IBuSw2FeREBLVKW7yNKY1l2Xmo7 qihZQKIqIbqgiue0n6F2FgzxKSl6vVCvEMXffi4EjWU= Original-Received: from mail.jurta.org (m91-129-102-1.cust.tele2.ee [91.129.102.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a6.g.dreamhost.com (Postfix) with ESMTPSA id 7D0D5A7011; Mon, 18 Nov 2019 13:51:50 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a6 In-Reply-To: <3e9a7418-3b89-c404-5242-cb5716215d87@gmx.at> (martin rudalics's message of "Fri, 15 Nov 2019 09:13:09 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:171940 Archived-At: >> Is it possible to not restore the previous window configuration >> when quitting the minibuffer? > > No. It's a very elaborate scheme in read_minibuf triggered by > > record_unwind_protect (restore_buffer, Fcurrent_buffer ()); Why should quitting the minibuffer restore the previous window configuration? Sometimes to get help on a previously run M-x command, typing M-x M-p C-h f RET displays the function Help window about the previous command. Then clicking on the link with the source file name in the Help buffer opens its source code. This creates a nice window layout with the Help window and the source window. But quitting the minibuffer destroys this nice layout, and returns some old obsolete layout. Why should it do this?