From: Andrey Kolomoets <andreyk.mad@gmail.com>
To: 32543@debbugs.gnu.org
Subject: bug#32543: 26.1; list-matching-lines-jump-to-current breaks revert-buffer in occur-mode
Date: Mon, 27 Aug 2018 14:49:41 +0300 [thread overview]
Message-ID: <84223559-4256-4BC9-A603-4D6C11A8EF06@gmail.com> (raw)
0. emacs -Q
1. M-: (setq list-matching-lines-jump-to-current-line t) <RET>
2. M-s o text <RET>
3. C-x o
4. g
(wrong-type-argument number-or-marker-p nil)
occur-engine("text" (#<buffer *scratch*>) #<buffer *Occur*> 0 t underline shadow match t)
occur-1("text" nil (#<buffer *scratch*>) "*Occur*")
apply(occur-1 ("text" nil (#<buffer *scratch*>) "*Occur*"))
occur-revert-function(t nil)
revert-buffer(t)
funcall-interactively(revert-buffer t)
call-interactively(revert-buffer nil nil)
command-execute(revert-buffer)
I think it's because occur--orig-line not initialized in occur-revert-function and it fails on
(when (and list-matching-lines-jump-to-current-line
(null orig-line-shown-p)
(> curr-line orig-line))
In GNU Emacs 26.1 and still in 27.0.50
next reply other threads:[~2018-08-27 11:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-27 11:49 Andrey Kolomoets [this message]
2018-09-01 22:49 ` bug#32543: 26.1; list-matching-lines-jump-to-current breaks revert-buffer in occur-mode Juri Linkov
2018-09-03 12:34 ` Tino Calancha
2018-09-03 22:41 ` Juri Linkov
2018-09-06 10:55 ` Tino Calancha
2018-09-18 12:33 ` Tino Calancha
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=84223559-4256-4BC9-A603-4D6C11A8EF06@gmail.com \
--to=andreyk.mad@gmail.com \
--cc=32543@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.