Subject: Re: bug#32543: 26.1; list-matching-lines-jump-to-current breaks revert-buffer in occur-mode

From: Juri Linkov <[email-masked]>
Date: Tue, 04 Sep 2018 01:41:29 +0300

> How about we store such info in the *Occur* header line as text
> properties?
> Then we don't need to modify `occur-revert-arguments'.

I agree it's one of legitimate places to store information about the buffer.

> +    (let* ((region (occur--parse-occur-buffer))
> +           (region-start (car region))
> +           (region-end (cadr region))
> +           (orig-line (caddr region))
> +           (buffer (cadddr region))

Better to use (nth 1), (nth 2), (nth 3), ...