GNU bug report logs -
#74361
[PATCH] New option xref-navigation-display-window-action
Previous Next
Full log
View this message in rfc822 format
>> > If someone explains to me in small words how this works in comint (and
>> > other modes which provide a similar category symbol), I will see about
>> > improving and clarifying the docs.
>>
>> '(category . comint)' is used in 'display-comint-buffer-action'
>> that is marked obsolete. So for Emacs 31 its defcustom could be
>> downgraded to a simple defvar, and moved to comint.el, and maybe
>> also autoloaded when it's used by modes independent from comint.el.
>
> But nothing in comint.el uses this category when calling
> display-buffer, AFAICS. So how can users use this category to
> customize the way comint buffers are displayed?
This category is used by modes that inherit from comint-mode, e.g.:
cmuscheme.el:
(define-derived-mode inferior-scheme-mode comint-mode "Inferior Scheme"
...
(pop-to-buffer "*scheme*" display-comint-buffer-action)
inf-lisp.el:
(define-derived-mode inferior-lisp-mode comint-mode "Inferior Lisp"
...
(pop-to-buffer "*inferior-lisp*" display-comint-buffer-action)
shell.el:
(define-derived-mode shell-mode comint-mode "Shell"
...
(pop-to-buffer buffer display-comint-buffer-action)
This bug report was last modified 171 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.