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

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

bug#32543: 26.1; list-matching-lines-jump-to-current breaks revert-buffe


From: Juri Linkov
Subject: bug#32543: 26.1; list-matching-lines-jump-to-current breaks revert-buffer in occur-mode
Date: Tue, 04 Sep 2018 01:41:29 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu)

> 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), ...





reply via email to

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