GNU bug report logs -
#13594
24.2.92; [PATCH] compilation-start doesn't consider nil OUTWIN
Previous Next
Reported by: Leo Liu <sdl.web <at> gmail.com>
Date: Thu, 31 Jan 2013 10:45:02 UTC
Severity: normal
Tags: patch
Found in version 24.2.92
Done: Leo Liu <sdl.web <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
On 2013-11-18 21:19 +0800, martin rudalics wrote:
> (1) Provide two actions designators may-fail and do-fail, say.
>
> (2) When may-fail is set and no window is found, return nil. When
> may-fail is not set, return the most suitable window.
>
> (3) When may-fail and do-fail are both set, break the
>
> (while (and functions (not window))
> (setq window (funcall (car functions) buffer alist)
> functions (cdr functions)))
>
> loop in `display-buffer' (for example, by having the function called
> return 'fail) and return nil.
>
> martin
Hi Martin,
I wonder if at this point you can take over fixing this bug. I am
unfamiliar with windowing. So I might not be able to propose a fix in
perspective.
BTW I use this action to suppress displaying the compilation window and
it works.
(cons (lambda (buf action)
(and (assq 'may-fail (cdr action))
(with-current-buffer buf
(derived-mode-p 'ggtags-global-mode))))
(list (lambda (&rest _) t)))
The only thing I want is a way to tell compile.el not to pop up the
window.
Leo
This bug report was last modified 11 years and 234 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.