Customizing the Mode Line Customization Notes on Heavy-duty Customization
Here are a few other variables for customizing Ediff:
ediff-split-window-function
|
Controls the way you want the window be split between file-A and file-B
(and file-C, if applicable). It defaults to the vertical split
( Note that if Ediff detects that all the buffers it compares are displayed in separate frames, it assumes that the user wants them to be so displayed and stops splitting windows. Instead, it arranges for each buffer to be displayed in a separate frame. You can switch to the one-frame mode by hiding one of the buffers A/B/C. You can also swap the windows where buffers are displayed by typing ~. |
ediff-merge-split-window-function
|
Controls how windows are
split between buffers A and B in the merge mode.
This variable is like |
ediff-make-wide-display-function
|
The value is a function to be called to widen the frame for displaying
the Ediff buffers. See the on-line documentation for
You can toggle wide/regular display by typing m. In the wide display mode, buffers A, B (and C, when applicable) are displayed in a single frame that is as wide as the entire workstation screen. This is useful when files are compared side-by-side. By default, the display is widened without changing its height. |
ediff-use-last-dir
|
Controls the way Ediff presents the
default directory when it prompts the user for files to compare. If
|
ediff-no-emacs-help-in-control-buffer
|
If |
ediff-toggle-read-only-function
|
This variable's value is a function that Ediff uses to toggle the read-only property in its buffers. The default function that Ediff uses simply toggles the read-only property, unless the file is under version control. For a checked-in file under version control, Ediff first tries to check the file out. |
ediff-make-buffers-readonly-at-startup nil
|
If t, all variant buffers are made read-only at Ediff startup. |
ediff-keep-variants
|
The default is
However, Ediff temporarily resets this variable to
Using |
ediff-grab-mouse
|
Default is t . Normally, Ediff grabs mouse and puts it in its
control frame. This is useful since the user can be sure that when he
needs to type an Ediff command the focus will be in an appropriate Ediff's
frame. However, some users prefer to move the mouse by themselves. The
above variable, if set to maybe , will prevent Ediff from grabbing
the mouse in many situations, usually after commands that may take more
time than usual. In other situation, Ediff will continue grabbing the mouse
and putting it where it believes is appropriate. If the value is
nil , then mouse is entirely user's responsibility.
Try different settings and see which one is for you.
|