GNU bug report logs -
#20489
25.0.50; next-error-find-buffer chooses non-current buffer without good reason
Previous Next
Reported by: Dmitry Gutov <dgutov <at> yandex.ru>
Date: Sat, 2 May 2015 23:19:01 UTC
Severity: normal
Found in version 25.0.50
Done: Juri Linkov <juri <at> linkov.net>
Bug is archived. No further changes may be made.
Full log
Message #14 received at 20489 <at> debbugs.gnu.org (full text, mbox):
On Sun, 3 May 2015 15:56:11 +0300 Dmitry Gutov <dgutov <at> yandex.ru> wrote:
DG> Why don't we prioritize, in next-error-find-buffer,
DG> next-error-last-buffer over everything else (change the order to 2 3 1
DG> 4 5 6)?
For reference, here are the steps:
;; 1. If one window on the selected frame displays such buffer, return it.
;; 2. If next-error-last-buffer is an acceptable buffer, use that.
;; 3. If the current buffer is acceptable, choose it.
;; 4. Look for any acceptable buffer.
;; 5. Use the current buffer as a last resort if it qualifies,
;; 6. Give up.
How about a `next-error-priority' which can be numerically:
* local (each position refers to the file itself) = 0 (occur)
* finder (each position refers to other files) = 100 (compile, grep)
* or can be set by the mode to something else
Then (1) can become "if one window on the selected frame has the highest
priority, return it."
Ted
This bug report was last modified 7 years and 72 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.