unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* ediff and tool-bar-mode
@ 2005-08-03 17:18 Bob Henz
  0 siblings, 0 replies; only message in thread
From: Bob Henz @ 2005-08-03 17:18 UTC (permalink / raw)


This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.

In GNU Emacs 21.4.1 (i686-pc-linux-gnu, X toolkit)
 of 2005-08-02 on venture
configured using `configure  --prefix=/users/rivers/gnu/emacs-21.4'
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

I have the following statements in my .emacs file. (I'm running 21.4 I think?)
(tool-bar-mode      -1)
...


(require 'ediff)

;; Get rid of the annoying little (separate) ediff window and
;; turn it into a 3rd pane in the main emacs window.
(setq ediff-window-setup-function 'ediff-setup-windows-plain)

;; Put files side-by-side
(setq ediff-split-window-function 'split-window-horizontally)

Then do the following a the command line:

1) emacs '--eval=(ediff-files "api.c" "api.c")'

At this point emacs launches and ediff starts, but the ediff control window that usually appears at the bottom of the frame is missing.

If I do the following command instead (enabling the tool bar, THEN calling ediff) it works, but I've got that big honkin' tool bar taking up space.
2) emacs --funcall tool-bar-mode '--eval=(ediff-files "api.c" "api.c")'

If I do command (2), and then type M-x tool-bar-mode, the toolbar disappears and the ediff control window stays and everything is how I want it.

That prompted me to attempt a 3rd variation of the command...
3) emacs --funcall tool-bar-mode '--eval=(ediff-files "api.c" "api.c")' --funcall tool-bar-mode 

but command (3) ends up like command (1).   :-(

Recent input:
SPC i n SPC 2 . <backspace> <backspace> e m a c s SPC 
v e r s i o n SPC 2 . 3 <left> <left> 1 <right> <delete> 
4 SPC t h a t SPC w o n ' t SPC a l l o w SPC e d i 
f f SPC t o SPC r u n SPC w i t h o u t SPC t h t <backspace> 
e SPC t o o l b a r . C-x C-s C-x k <return> <next> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <menu-bar> <help-menu> <re
port-emacs-bug>

Recent messages:
Mark set
Wrote /users/bhenz/bin/mediff [3 times]
Mark set
Wrote /users/bhenz/.emacs
Mark set [5 times]
Wrote /users/bhenz/bin/mediff [2 times]
Wrote /users/bhenz/.emacs
Mark set
Wrote /users/bhenz/bin/mediff [2 times]
Loading emacsbug...done

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-08-03 17:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-03 17:18 ediff and tool-bar-mode Bob Henz

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).