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: Eli Zaretskii
Subject: Re: goto-char doesn't stick
Date: Thu, 15 Jun 2017 17:32:24 +0300

> From: Noam Postavsky <address@hidden>
> Date: Thu, 15 Jun 2017 07:37:01 -0400
> Cc: Emacs developers <address@hidden>
> 
> > Really?  Why would set-buffer+goto-char be affected by a variable named
> > switch-to-buffer-* ?
> 
> The switch-to-buffer-preserve-window-point affects point when you
> switch to buffer "z" later.

Right.

> Maybe we should provide set-preserved-window-point? Or
> set-user-visible-point which would set all of point, window-point, and
> preserved window-point (although I'm not sure how to deal with the
> multi-window case cleanly)?

How would set-preserved-window-point set all of those variables, and
at what time?  And how will it be different from turning off
switch-to-buffer-preserve-window-point while switching to the
offending buffer?



reply via email to

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