From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#38164: quit-restore-window doesn't restore point in man Date: Mon, 21 Sep 2020 15:08:10 +0200 Message-ID: <874knrp9ad.fsf@gnus.org> 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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3707"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 38164@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 21 15:09:30 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kKLZO-0000gZ-Hv for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 21 Sep 2020 15:09:29 +0200 Original-Received: from localhost ([::1]:52262 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kKLZN-0001le-Id for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 21 Sep 2020 09:09:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44722) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kKLZ0-0001Js-J3 for bug-gnu-emacs@gnu.org; Mon, 21 Sep 2020 09:09:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42312) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kKLZ0-0007a6-8Q for bug-gnu-emacs@gnu.org; Mon, 21 Sep 2020 09:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kKLZ0-00008M-1i for bug-gnu-emacs@gnu.org; Mon, 21 Sep 2020 09:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 21 Sep 2020 13:09:01 +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.1600693711455 (code B ref 38164); Mon, 21 Sep 2020 13:09:01 +0000 Original-Received: (at 38164) by debbugs.gnu.org; 21 Sep 2020 13:08:31 +0000 Original-Received: from localhost ([127.0.0.1]:53851 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKLYU-00007G-Kx for submit@debbugs.gnu.org; Mon, 21 Sep 2020 09:08:30 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:47998) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKLYS-00006y-Cf for 38164@debbugs.gnu.org; Mon, 21 Sep 2020 09:08:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=cyu5xPZTJLOGDb/X7oXnXo1CyAy9SKcB/2N53x6BohY=; b=BRMHhcMLZ0Km4lQNzQrVT0jVwY K/vkb6inOl1Mhu6YK1ULGNTMt5izxsVSb8yoCWxYy/gDmhIzIQsUjpTSzpNyVzdKEzJqfD5usYldm Ul33S7EZkXIRpoX6LAZ+t+Vn/+LfV1AleCUf+4uZyvCIU3EYsUvWaxR5D24B6y5D4SfE=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kKLYB-0004Yo-Vj; Mon, 21 Sep 2020 15:08:21 +0200 X-Now-Playing: LCD Soundsystem's _LCD Soundsystem (2)_: "Yeah (Pretentious Version)" In-Reply-To: <877e45ksaz.fsf@mail.linkov.net> (Juri Linkov's message of "Tue, 12 Nov 2019 22:50:12 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:188575 Archived-At: Juri Linkov writes: > - (quit-restore-window > - (get-buffer-window Man-buffer t) 'kill) > + (progn > + (quit-restore-window > + (get-buffer-window Man-buffer t) 'kill) > + (select-window (old-selected-window))) The discussion then dealt mostly with general quit-restore-windows issues, but I think this patch should be applied, since it fixes an annoying problem in Man. So I've now pushed it to Emacs 28. Skimming the rest of this thread, there doesn't seem to be a lot of hope for making any progress on the general issue, so I'm closing this bug report, and perhaps a new one (or an emacs-devel) discussion would be appropriate. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no