bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#5042: bug#9917: bug#5042: bug#9917: 24.0.90; Make `goto-line' consis


From: Dmitry Gutov
Subject: bug#5042: bug#9917: bug#5042: bug#9917: 24.0.90; Make `goto-line' consistent with the line number from the minibuffer
Date: Wed, 28 Oct 2020 13:58:03 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

On 28.10.2020 11:48, Lars Ingebrigtsen wrote:
Juri Linkov <juri@linkov.net> writes:

Here is the fix for xref:

[...]

-          (goto-char (or (cdr buffer-point) (point-min)))
-          (point-marker))))))
+          (save-restriction
+            (widen)
+            (goto-char (or (cdr buffer-point) (point-min)))
+            (point-marker)))))))

If this works, sure, please install. This piece by itself makes sense.

Hm...  Does Dmitry have any comments here?  (Added to Cc.)

I'm subscribed to the bug tracker, but I skip over a number of discussions automatically (and an extra email in a thread is relatively easy to miss, too).

In case I don't respond in similar circumstances in the future, may I ask for a personal email? One without 'debbugs.gnu.org' in the From/To/Cc.





reply via email to

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