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

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

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


From: bhenz
Subject: how are tool-bar-mode and the ediff control window related?
Date: Wed, 8 Mar 2006 11:22:55 -0500


I'm having a bizarre problem that the bug-guys couldn't reproduce when I first contacted them with it. Can anyone out there try the following...

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).

Can anyone try this and tell me if you can reproduce this problem on your setup?

Thanks,
Bob
reply via email to

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