all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#32543: 26.1; list-matching-lines-jump-to-current breaks revert-buffer in occur-mode
@ 2018-08-27 11:49 Andrey Kolomoets
  2018-09-01 22:49 ` Juri Linkov
  0 siblings, 1 reply; 6+ messages in thread
From: Andrey Kolomoets @ 2018-08-27 11:49 UTC (permalink / raw)
  To: 32543

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





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-09-18 12:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-27 11:49 bug#32543: 26.1; list-matching-lines-jump-to-current breaks revert-buffer in occur-mode Andrey Kolomoets
2018-09-01 22:49 ` 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

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.