all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@linkov.net>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 46552@debbugs.gnu.org, ynyaaa@gmail.com
Subject: bug#46552: 27.1; image-mode should not move current point
Date: Tue, 16 Feb 2021 19:17:54 +0200	[thread overview]
Message-ID: <87blck0w6x.fsf@mail.linkov.net> (raw)
In-Reply-To: <87y2foufsb.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 16 Feb 2021 17:40:52 +0100")

> 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.





  parent reply	other threads:[~2021-02-16 17:17 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-16  9:21 bug#46552: 27.1; image-mode should not move current point ynyaaa
2021-02-16 12:36 ` Lars Ingebrigtsen
2021-02-16 16:32   ` Eli Zaretskii
2021-02-16 16:40     ` Lars Ingebrigtsen
2021-02-16 16:43       ` Lars Ingebrigtsen
2021-02-16 17:04       ` Eli Zaretskii
2021-02-16 17:09         ` Lars Ingebrigtsen
2021-02-16 17:39           ` Eli Zaretskii
2021-02-16 17:41             ` Lars Ingebrigtsen
2021-02-16 17:53               ` Eli Zaretskii
2021-02-16 21:46                 ` Lars Ingebrigtsen
2021-02-16 17:57           ` Eli Zaretskii
2021-02-16 18:10             ` Lars Ingebrigtsen
2021-02-16 17:17       ` Juri Linkov [this message]
2021-02-16 16:24 ` Eli Zaretskii

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87blck0w6x.fsf@mail.linkov.net \
    --to=juri@linkov.net \
    --cc=46552@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    --cc=ynyaaa@gmail.com \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.