bug#81512: [PATCH] Add command `outline-occur'

martin rudalics via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <[email protected]> Sun, 2 Aug 2026 09:43:49 +0200
Newsgroups gmane.emacs.bugs
Message-ID <[email protected]>
 > Or 'display-buffer-default-alist' for symmetry with:
 >
 >    completion-category-defaults  -> display-buffer-default-alist
 >    completion-category-overrides -> display-buffer-alist
 >                                     display-buffer-overriding-action

OK with me.

 > It's unlikely that two packages will use the same category.
 > Even in this case the user can change the order of package loading
 > the get the desired behavior for the same category.

Suppose we provide a 'display-buffer' call for jumping to a bookmark in
a canonical function 'bookmark-jump'.  Then that call would set
'category' to a symbol like 'bookmark-jump'.  Now if there are two
different packages that call 'bookmark-jump' independently from each
other and they both set 'display-buffer-default-alist' to a different
value with category 'bookmark-jump', the result becomes unpredictable.
Or am I missing something?

martin