Subject: bug#71466: 30.0.50; Buffer-menu-group-by non-nil resets point when Buffer List is reverted

From: Dmitry Gutov <[email-masked]>
Date: Mon, 17 Jun 2024 15:32:14 +0300

On 17/06/2024 09:35, Juri Linkov wrote:
> +(defun xref-revert-buffer-restore-point ()
> +  (let ((current-line (buffer-substring-no-properties (pos-bol) (pos-eol))))
> +    (lambda ()
> +      (goto-char (point-min))
> +      (when (search-forward current-line)
> +        (goto-char (pos-bol))))))

Perhaps it would make sense to save the current group as well, for 
additional precision.