can't get special-display-regexps to work for gdb buffers, but can for help buffers

can't get special-display-regexps to work for gdb buffers, but can for help buffers

Post by pookiebear » Wed, 07 Dec 2005 23:00:59


I am trying to get my debug/gdb window in its own frame. I have this
set:
(setq special-display-regexps '("^\*Help.*" "^\*gdb.*"))

"Help" windows open in their own frames, but "gdb" ones do not. Is a
"gdb" window special in some way?

thanks again
-sal
 
 
 

can't get special-display-regexps to work for gdb buffers, but can for help buffers

Post by Marc Giro » Wed, 07 Dec 2005 23:02:22

>>>>> "pbb" == XXXX@XXXXX.COM

pbb> Is a "gdb" window special in some way?

Tongue-in-cheek: mine is named "*gud-a.out*"
^
universal de ***

--
Marc Girod P.O. Box 370 Voice: +358-71 80 25581
Nokia BI 00045 NOKIA Group Mobile: +358-50 38 78415
Kara RD B 480.2 Finland Fax: +358-71 80 64474

 
 
 

can't get special-display-regexps to work for gdb buffers, but can for help buffers

Post by Reiner Ste » Wed, 07 Dec 2005 23:15:28


You probably meant:

(setq special-display-regexps '("^\\*Help.*" "^\\*gdb.*"))
or
(setq special-display-regexps '("^\\*Help" "^\\*gdb"))

,----[ (info "(emacs)Regexps") ]
| In Lisp syntax, the string constant begins and
| ends with a double-quote. `\"' stands for a double-quote as part of
| the regexp, `\\' for a backslash as part of the regexp, `\t' for a tab,
| and `\n' for a newline.
`----

Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://www.yqcomputer.com/
 
 
 

can't get special-display-regexps to work for gdb buffers, but can for help buffers

Post by pookiebear » Thu, 08 Dec 2005 01:03:29

thanks, but I did a:
(eval-expr (buffer-name))
and I get
"*gdb-a.out*"
 
 
 

can't get special-display-regexps to work for gdb buffers, but can for help buffers

Post by pookiebear » Thu, 08 Dec 2005 01:09:42

thanks, but still doesn't work (and it worked for the Help buffer with
my setup and both of your suggestions).

I start gdb with:
M-x gdb RETURN RETURN

Maybe this bypasses the call to special-display-function (which is set
to special-display-popup-frame)?

-Sal