[Top][All Lists]

[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: Wed, 14 Jun 2017 14:13:56 +0300
User-agent: K-9 Mail for Android

On June 14, 2017 12:45:15 PM GMT+03:00, "Elias Mårtenson" <address@hidden> 
>I have been trying to figure out why M-. in SLIME sometimes doesn't
>point to the correct location in the file, and I discovered the
>strange behaviour:
>Assuming the cursor is at some random position in buffer "z", The SLIME
>code essentially does the following to move the cursor to a given
>    (progn
>      (set-buffer "z")
>      (goto-char LOCATION))
>When I do this, point doesn't move. Or rather, it does move, but after
>conclusion of the ‘progn’ form, the cursor returns to its original
>location. This is what causes the SLIME navigation functions to not
>Has this behaviour changed recently? I haven't seen anyone else
>about this, but then again, I usually run Emacs compiled from git
>so it may be that this has changed in newer versions.

It's a feature, new in Emacs 26.  If you don't like it, turn off
Perhaps we should have a let-bindable variable to momentsrily disable this.

reply via email to

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