Next: , Previous: , Up: eMerge   [Index]


8.15.4.2 Submodes in Emerge

There are two modes for giving merge commands: Fast Mode and Edit Mode. The mode line indicates Edit and Fast modes with ‘E’ and ‘F’.

There are two additional submodes that affect how particular merge commands work: Auto Advance Mode, and Skip Prefers Mode.

Fast Mode

C-c C-c f

switch to Fast mode (from Edit mode)

In Fast mode, basic merge commands are single characters, but ordinary Emacs commands are disabled.

Edit Mode

e

swith to Edit mode (from Fast mode)

In Edit mode, all merge commands start with the prefix key ‘C-c C-c’, and the normal Emacs commands are also available. This allows editing the merge buffer, but slows down Emerge operations.

Auto Advance Mode

If Auto Advance mode is in effect, the ‘a’ and ‘b’ commands advance to the next difference. This lets you go through the merge faster as long as you simply choose one of the alternatives from the input. The mode line indicates Auto Advance mode with ‘A’.

Skip Prefers Mode

If Skip Prefers mode is in effect, the ‘n’ and ‘p’ commands skip over differences in states “prefer-A” and “prefer-B” (*note State of Difference::). Thus you see only differences for which neither version is presumed correct. The mode line indicates Skip Prefers mode with ‘S’. This mode is only relevant when there is an ancestor.

Use the command ‘s a’ (‘emerge-auto-advance’) to set or clear Auto Advance mode. Use ‘s s’ (‘emerge-skip-prefers’) to set or clear Skip Prefers mode. These commands turn on the mode with a positive argument, turn it off with a negative or zero argument, and toggle the mode with no argument.


Next: State of a Difference, Previous: Interactive Merging, Up: eMerge   [Index]