Re: New package `outline-occur'
Juri Linkov <[email protected]>
| Newsgroups | gmane.emacs.devel |
|---|---|
| Organization | LINKOV.NET |
| Message-ID | <[email protected]> |
>> The problem is that the call '(display-buffer occur-buf)' >> is deeply inside 'occur-1'. We could add a category to this call >> for better customizability. > > Add a 'display-occur-buffer-action' variable and use it as ACTION > argument in that call. Something that IMHO should have been used > wherever we currently bind 'display-buffer-overriding-action'. Adding user options for every display-buffer call is not a solution. We already removed some hastily added options and replaced them with a category. >> But still we need a better way for a command to override the >> default behavior (popup or not) using some let-bound variable. > > Any such let-binding would affect nested 'display-buffer' calls that are > completely unrelated to the action you want to fix. Unless we will narrow the overridden settings to a specific category, i.e. to add a new way to override only a category instead of all 'display-buffer' calls.