GNU bug report logs - #32543
26.1; list-matching-lines-jump-to-current breaks revert-buffer in occur-mode

Previous Next

Package: emacs;

Reported by: Andrey Kolomoets <andreyk.mad <at> gmail.com>

Date: Mon, 27 Aug 2018 14:52:03 UTC

Severity: normal

Found in version 26.1

Done: Tino Calancha <tino.calancha <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 32543 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: Tino Calancha <tino.calancha <at> gmail.com>
Cc: 32543 <at> debbugs.gnu.org, Andrey Kolomoets <andreyk.mad <at> gmail.com>
Subject: Re: 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
> 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), ...




This bug report was last modified 6 years and 329 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.