Raising the Emacs frame when ed/debugger/inspector pop up

Helmut Eller eller.helmut at gmail.com
Thu Jan 16 19:02:05 UTC 2014


On Thu, Jan 16 2014, Luís Oliveira wrote:

> On Thu, Jan 16, 2014 at 6:33 PM, Helmut Eller <eller.helmut at gmail.com> wrote:
>> These decisions should be left to Emacs's display-buffer function, which
>> can be customized with stuff like display-buffer-overriding-action and
>> related variables.  Frame/window management is a can of worms that's
>> better left outside of SLIME's scope.
>
> So, you mean I could make Emacs raise the frame everytime a new buffer
> is displayed? (I suppose that would cover ed, sldb, inspector.) Can
> you give me an hint on how to set that up?

(setq display-buffer-alist
      '(("^\\*sldb" . ((lambda (buffer alist) (raise-frame)) . nil))))

Helmut



More information about the slime-devel mailing list