[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
- Re: goto-char doesn't stick, (continued)
RE: goto-char doesn't stick, Drew Adams, 2017/06/14
Re: goto-char doesn't stick, Stefan Monnier, 2017/06/15
- Re: goto-char doesn't stick, Noam Postavsky, 2017/06/15
- Re: goto-char doesn't stick, martin rudalics, 2017/06/15
- Re: goto-char doesn't stick, Stefan Monnier, 2017/06/15
- Re: goto-char doesn't stick, Eli Zaretskii, 2017/06/15
- Re: goto-char doesn't stick,
Stefan Monnier <=
- Re: goto-char doesn't stick, Eli Zaretskii, 2017/06/15
- Re: goto-char doesn't stick, Elias MÃ¥rtenson, 2017/06/15
- Re: goto-char doesn't stick, Eli Zaretskii, 2017/06/15
Re: goto-char doesn't stick, martin rudalics, 2017/06/15
Re: goto-char doesn't stick, Stefan Monnier, 2017/06/15
Re: goto-char doesn't stick, Eli Zaretskii, 2017/06/15