From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#46552: 27.1; image-mode should not move current point Date: Tue, 16 Feb 2021 19:17:54 +0200 Organization: LINKOV.NET Message-ID: <87blck0w6x.fsf@mail.linkov.net> References: <86v9astljs.fsf@gmail.com> <87blckxk8t.fsf@gnus.org> <83y2fo7z39.fsf@gnu.org> <87y2foufsb.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30496"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: 46552@debbugs.gnu.org, ynyaaa@gmail.com To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 16 18:21:54 2021 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 1lC42r-0007nf-JX for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Feb 2021 18:21:53 +0100 Original-Received: from localhost ([::1]:51296 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lC42q-0005Od-Ig for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Feb 2021 12:21:52 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41288) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lC423-0005Mh-0N for bug-gnu-emacs@gnu.org; Tue, 16 Feb 2021 12:21:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58145) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lC422-0006EO-Nf for bug-gnu-emacs@gnu.org; Tue, 16 Feb 2021 12:21:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lC422-0007Gq-LZ for bug-gnu-emacs@gnu.org; Tue, 16 Feb 2021 12:21:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Feb 2021 17:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46552 X-GNU-PR-Package: emacs Original-Received: via spool by 46552-submit@debbugs.gnu.org id=B46552.161349601127845 (code B ref 46552); Tue, 16 Feb 2021 17:21:02 +0000 Original-Received: (at 46552) by debbugs.gnu.org; 16 Feb 2021 17:20:11 +0000 Original-Received: from localhost ([127.0.0.1]:41455 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lC41C-0007F1-Ot for submit@debbugs.gnu.org; Tue, 16 Feb 2021 12:20:10 -0500 Original-Received: from relay6-d.mail.gandi.net ([217.70.183.198]:55465) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lC41B-0007Ek-3Z for 46552@debbugs.gnu.org; Tue, 16 Feb 2021 12:20:09 -0500 X-Originating-IP: 91.129.98.178 Original-Received: from mail.gandi.net (m91-129-98-178.cust.tele2.ee [91.129.98.178]) (Authenticated sender: juri@linkov.net) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id F2300C0010; Tue, 16 Feb 2021 17:20:01 +0000 (UTC) In-Reply-To: <87y2foufsb.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 16 Feb 2021 17:40:52 +0100") 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:200139 Archived-At: > Right. It is pretty odd that `M-: (call-interactively > 'image-toggle-display)' works differently here than `C-c C-c', but that > what happens with heuristics, I guess. `C-c C-c' as a function `image-toggle-display' moves point to the end of the image buffer (this is the bug fixed by Eli). But when invoked via `M-: (image-toggle-display) RET', exiting the minibuffer restores the previous window configuration where point was at the beginning of the buffer, thus restoring the previous point position. This is related to bug#45072 that is a request for an option to not restore a previous window configuration after exiting the minibuffer.