Subject: Re: bug#16181: 23.1; losing track of point

From: Lars Ingebrigtsen <[email-masked]>
Date: Sun, 30 May 2021 07:26:43 +0200

John Chandler <[email-masked]> writes:

> The following macro is a short example:
>
> (defun ttt() "add tag from start" (interactive)
>   (save-excursion
>     (goto-char 0)
>     (copy-to-register 26 (point) (progn (forward-word 1)(point)) t))
>   (insert-register 26)
>   (forward-line 1))
>
> The file to be edited using this macro should begin with a line
> containing a list of words to be inserted in front of a succession of
> lines in the file.  If the lines in the file generally wrap,
> especially if they wrap multiple times each, the successive
> application of the macro should quickly trigger the bug.

(I'm going through old bug reports that unfortunately got no response at
the time.)

I've tried to reproduce this problem in Emacs 28, but things seem to be
working as expected for me.  Are you still seeing this problem in more
recent versions of Emacs?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no