Re: New package `outline-occur'

Stefan Monnier via "Emacs development discussions." <[email protected]>
Newsgroups gmane.emacs.devel
Message-ID <[email protected]>
>> Also overriding 'occur-hook' with 'pop-to-buffer' is not
>> the right way to customize the buffer display behavior.
>> Either the command can override with 'display-buffer-overriding-action',
>> or we can leave the customization to users with 'display-buffer-alist'.
>
> I'd like the Occur buffer to pop up by default, so I'll take a look at
> `display-buffer-overriding-action' and change the code accordingly.

`display-buffer-overriding-action` is not appropriate for defaults
(since, as the name implies, it *overrides* other settings, incuding
user settings).

Instead, pass the default ACTION directly to `display/pop-to-buffer`.


=== Stefan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.