[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 02:59:12 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
>> (progn
>> (set-buffer "z")
>> (goto-char LOCATION))
[...]
> It's a feature, new in Emacs 26. If you don't like it, turn off
> switch-to-buffer-preserve-window-point.
Really? Why would set-buffer+goto-char be affected by a variable named
switch-to-buffer-* ?
To me it sounds like Noam is right: Elias just needs to set-window-point
instead of goto-char (or additionally to, if he needs goto-char for some
other reason).
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 <=
- 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, 2017/06/15
- 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