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

Helmut Eller eller.helmut at gmail.com
Thu Jan 16 19:29:31 UTC 2014


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

> On Thu, Jan 16, 2014 at 7:02 PM, Helmut Eller <eller.helmut at gmail.com> wrote:
>> (setq display-buffer-alist
>>       '(("^\\*sldb" . ((lambda (buffer alist) (raise-frame)) . nil))))
>
> Cool. How do you feel about a slime-raise-frame contrib that sets this
> up?

I wouldn't spend my time on window management because it's a difficult
problem. But don't let me stop you.

> (I'll probably have to resort to defadvice for slime-ed, though.)

defadvice shouldn't be needed if you can change the source, e.g., you
could add a hook.  Maybe it would be better to delegate everything to
server-visit-files.

Helmut



More information about the slime-devel mailing list