emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: goto-char doesn't stick


From: Stefan Monnier
Subject: Re: goto-char doesn't stick
Date: Thu, 15 Jun 2017 13:11:13 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

> You need to switch to "z" so that it is displayed in a window,
> e.g. with "C-x b".  switch-to-buffer-preserve-window-point does its
> thing at that time.

Ah, so the OP wants to affect the future window-point?

I don't think there's ever been a reliable way to do that, short of
having your own variable `my-planned-cursor-position` (probably
a marker), moving it by hand, and then passing it to set-window-point
manually after displaying the buffer.


        Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]