[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#28864: 25.3.50; next-error-no-select does select
From: |
Juri Linkov |
Subject: |
bug#28864: 25.3.50; next-error-no-select does select |
Date: |
Sun, 22 Oct 2017 23:32:14 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (build 1, x86_64-pc-linux-gnu) |
>> It's really a hack though, right? Maybe no major modes should set
>> next-error-last-buffer by itself, no matter the current command.
> That sounds better.
>> I'd like to know what Juri thinks about this.
> In case Juri think that change-log-mode should keep seting
> next-error-last-buffer for other reasons we could just
> bind next-error-last-buffer:
Visiting a buffer should not set next-error-last-buffer,
it should be set only by an explicit user request,
like M-x compile/grep/rgrep/occur and other commands do.
So please just remove setting of next-error-last-buffer
from change-log-mode. After that, next-error will still remain
available in ChangeLog buffers by running ‘next-error’ (when
there are no other next-error capable buffers such as *grep*)
or explicit C-c C-c that will set next-error-last-buffer
and continue visiting matches from the ChangeLog buffer.
We also have other issues with next-error in bug#20489
where I'm waiting when Dmitry will send a comprehensive list
of possible scenarios, so we could find a solution that fits
all of them.
Regarding the ChangeLog buffers, I have a solution for
the following ChangeLog-related scenario:
1. M-x grep-find RET
find . -type f -name ChangeLog\* -exec grep --color -nH -e baz {} + RET
2. C-x o RET M-n RET
3. M-g M-n should continue visiting next grep hits from the *grep* buffer
4. When the user needs to switch to visiting ChangeLog entries
from the ChangeLog buffer, this can be achieved by typing
C-c C-c (change-log-goto-source) once, then all subsequent
M-g M-n will continue visiting next ChangeLog entries
in the source files.
- bug#28864: 25.3.50; next-error-no-select does select, Tino Calancha, 2017/10/16
- bug#28864: 25.3.50; next-error-no-select does select, Dmitry Gutov, 2017/10/17
- bug#28864: 25.3.50; next-error-no-select does select, Tino Calancha, 2017/10/17
- bug#28864: 25.3.50; next-error-no-select does select, Dmitry Gutov, 2017/10/18
- bug#28864: 25.3.50; next-error-no-select does select, Tino Calancha, 2017/10/20
- bug#28864: 25.3.50; next-error-no-select does select, Dmitry Gutov, 2017/10/20
- bug#28864: 25.3.50; next-error-no-select does select, Tino Calancha, 2017/10/20
- bug#28864: 25.3.50; next-error-no-select does select,
Juri Linkov <=
- bug#28864: 25.3.50; next-error-no-select does select, Dmitry Gutov, 2017/10/22
- bug#28864: 25.3.50; next-error-no-select does select, Juri Linkov, 2017/10/23
- bug#28864: 25.3.50; next-error-no-select does select, Dmitry Gutov, 2017/10/23
- bug#28864: 25.3.50; next-error-no-select does select, Juri Linkov, 2017/10/24
- bug#28864: 25.3.50; next-error-no-select does select, Dmitry Gutov, 2017/10/24
- bug#28864: 25.3.50; next-error-no-select does select, Dmitry Gutov, 2017/10/25
- bug#28864: 25.3.50; next-error-no-select does select, Juri Linkov, 2017/10/28
- bug#28864: 25.3.50; next-error-no-select does select, Dmitry Gutov, 2017/10/28
- bug#28864: 25.3.50; next-error-no-select does select, Juri Linkov, 2017/10/29
- bug#28864: 25.3.50; next-error-no-select does select, Dmitry Gutov, 2017/10/30