help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how are tool-bar-mode and the ediff control window related?


From: Anselm Helbig
Subject: Re: how are tool-bar-mode and the ediff control window related?
Date: Sat, 11 Mar 2006 12:33:56 +0100
User-agent: Wanderlust/2.11.30 (Wonderwall) Emacs/21.4 Mule/5.0 (SAKAKI)

At Wed, 8 Mar 2006 11:22:55 -0500,
bhenz@Lexmark.com wrote:
> [...]
> In my .emacs file I have the following 3 lines...
> 
> (tool-bar-mode nil)
> ...
> (require 'ediff)
> (setq ediff-window-setup-function 'ediff-setup-windows-plain)
> ...
> 
> (Note: ediff-setup-windows-plain sets up ediff to use a 3rd window for the 
> controls instead of opening a new floating frame which is what I prefer.)
> 
> Now, when I invoke ediff from emacs I get a nice 3 window ediff session in 
> one frame (without a toolbar). Exactly what I want.
> 
> But if I invoke ediff from the command line like this...
> 
> emacs --eval='(ediff-files "/tmp/x" "/tmp/y")'
> 
> ... the control window is gone!
> 
> Now here's the crazy part: If I get rid of the (tool-bar-mode nil) line in my 
> .emacs OR if on the command line I add the command (tool-bar-mode t) I
> get the 3rd window back, but I also have a tool bar (which I don't want).

I was not able to reproduce your problem with Gnu Emacs 21.4 on Debian
Sarge, using the 3-line .emacs you suggested. 

regards, 

Anselm


reply via email to

[Prev in Thread] Current Thread [Next in Thread]