[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#33476: [PATCH] Fix occur revert with list-matching-lines-jump-to-cur
From: |
Eli Zaretskii |
Subject: |
bug#33476: [PATCH] Fix occur revert with list-matching-lines-jump-to-current-line |
Date: |
Sat, 08 Dec 2018 11:25:14 +0200 |
> From: Juri Linkov <juri@linkov.net>
> Date: Sat, 24 Nov 2018 23:54:24 +0200
>
> > I reproduced this bug with Emacs 26.1 and 26.1.90 using -Q option.
> >
> > When pressing 'g' (revert-buffer) in an *Occur* buffer, in the case of
> > having `list-matching-lines-jump-to-current-line' set to non-nil, the
> > function errors as it can't find orig-line.
> >
> > I'm attaching a patch that adds a guard to the list of guards before
> > inserting the current line.
>
> Eli, is it ok to install this submitted patch to the release branch emacs-26?
> At least, it prevents the error signal.
>
> I see that for Emacs 27 in master this feature is completely rewritten.
It was rewritten to fix the same bug, AFAIU, see bug#32543. Why do we
need to solve it again in emacs-26?
> But still I found a bug in master that can be fixed with another patch.
> The following patch is for Emacs 27:
What is the bug you found in the master branch?
And which patch do you propose for the emacs-26 branch?
Thanks.
- bug#33476: [PATCH] Fix occur revert with list-matching-lines-jump-to-current-line,
Eli Zaretskii <=
- bug#33476: [PATCH] Fix occur revert with list-matching-lines-jump-to-current-line, Juri Linkov, 2018/12/08
- bug#33476: [PATCH] Fix occur revert with list-matching-lines-jump-to-current-line, Eli Zaretskii, 2018/12/09
- bug#33476: [PATCH] Fix occur revert with list-matching-lines-jump-to-current-line, Juri Linkov, 2018/12/09
- bug#33476: [PATCH] Fix occur revert with list-matching-lines-jump-to-current-line, Eli Zaretskii, 2018/12/10
- bug#33476: [PATCH] Fix occur revert with list-matching-lines-jump-to-current-line, Richard Stallman, 2018/12/10
- bug#33476: [PATCH] Fix occur revert with list-matching-lines-jump-to-current-line, Glenn Morris, 2018/12/11
- bug#33476: [PATCH] Fix occur revert with list-matching-lines-jump-to-current-line, Eli Zaretskii, 2018/12/12
- bug#33476: [PATCH] Fix occur revert with list-matching-lines-jump-to-current-line, Richard Stallman, 2018/12/12
- bug#33476: [PATCH] Fix occur revert with list-matching-lines-jump-to-current-line, Robert Pluim, 2018/12/13
- bug#33476: [PATCH] Fix occur revert with list-matching-lines-jump-to-current-line, Richard Stallman, 2018/12/13