[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#40919: 27.0.91; next-error-select-buffer does not always behave as d
From: |
Dmitry Gutov |
Subject: |
bug#40919: 27.0.91; next-error-select-buffer does not always behave as documented |
Date: |
Thu, 11 Jun 2020 02:32:44 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 |
On 11.06.2020 02:05, Juri Linkov wrote:
Actually, people already want to customize it to a list (at least, I know one
such user:)
Say hello to the user to me. ;-)
And maybe ask a question: what kind of functions do they want to put on
there?
And/or would they be content to advice-add on
next-error-find-buffer-function instead?
-(defcustom next-error-find-buffer-function #'ignore
+(defcustom next-error-find-buffer-function '(ignore)
^s, maybe?
+ (or (and (functionp next-error-find-buffer-function)
+ (funcall next-error-find-buffer-function avoid-current
+ extra-test-inclusive extra-test-exclusive))
+ (and (listp next-error-find-buffer-function)
+ (run-hook-with-args-until-success
+ 'next-error-find-buffer-function avoid-current
+ extra-test-inclusive extra-test-exclusive)))
Looks like run_hook_with_args can deal with the case where the value of
the hook is a single function.
;; 2. If next-error-last-buffer is an acceptable buffer, use that.
(if (and next-error-last-buffer
(next-error-buffer-p next-error-last-buffer avoid-current
Should we take the rest of the cases in next-error-find-buffer and move
them to the default value of the above hook?
- bug#40919: 27.0.91; next-error-select-buffer does not always behave as documented, Juri Linkov, 2020/06/01
- bug#40919: 27.0.91; next-error-select-buffer does not always behave as documented, Dmitry Gutov, 2020/06/01
- bug#40919: 27.0.91; next-error-select-buffer does not always behave as documented, Juri Linkov, 2020/06/10
- bug#40919: 27.0.91; next-error-select-buffer does not always behave as documented,
Dmitry Gutov <=
- bug#40919: 27.0.91; next-error-select-buffer does not always behave as documented, Juri Linkov, 2020/06/11
- bug#40919: 27.0.91; next-error-select-buffer does not always behave as documented, Dmitry Gutov, 2020/06/14
- bug#40919: 27.0.91; next-error-select-buffer does not always behave as documented, Juri Linkov, 2020/06/14
- bug#40919: 27.0.91; next-error-select-buffer does not always behave as documented, Dmitry Gutov, 2020/06/15
- bug#40919: 27.0.91; next-error-select-buffer does not always behave as documented, Juri Linkov, 2020/06/24