aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMichael Kifer2009-08-15 06:00:38 +0000
committerMichael Kifer2009-08-15 06:00:38 +0000
commit9ff0b02b3a91a32c76a99a984f5d48cd77efa561 (patch)
treedf7c602584be6b632c540a8fddfd8dd52bc024ba /doc
parent68b962d42a9cc126759448484d23e10e2102d622 (diff)
downloademacs-9ff0b02b3a91a32c76a99a984f5d48cd77efa561.tar.gz
emacs-9ff0b02b3a91a32c76a99a984f5d48cd77efa561.zip
2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
* ediff.texi (ediff-current-file): added information about this new function. * viper.text: Added information about C-s in viper's search command.
Diffstat (limited to 'doc')
-rw-r--r--doc/misc/ChangeLog6
-rw-r--r--doc/misc/ediff.texi202
-rw-r--r--doc/misc/viper.texi71
3 files changed, 154 insertions, 125 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index e0fbe264175..6722fbd4705 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,3 +1,9 @@
12009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
2
3 * ediff.texi (ediff-current-file): added information about this new function.
4
5 * viper.text: Added information about C-s in viper's search command.
6
12009-08-09 Colin Williams <lackita@gmail.com> (tiny change) 72009-08-09 Colin Williams <lackita@gmail.com> (tiny change)
2 8
3 * calc.texi (Date Forms): Fix typos. 9 * calc.texi (Date Forms): Fix typos.
diff --git a/doc/misc/ediff.texi b/doc/misc/ediff.texi
index 80540ea19e8..53259f9bbf6 100644
--- a/doc/misc/ediff.texi
+++ b/doc/misc/ediff.texi
@@ -158,6 +158,11 @@ Compare a file with its backup. If there are several numerical backups, use
158the latest. If the file is itself a backup, then compare it with its 158the latest. If the file is itself a backup, then compare it with its
159original. 159original.
160 160
161@item ediff-current-file
162@findex ediff-current-file
163Compare the buffer with its file on disk. This function can be used as a
164safe version of @code{revert-buffer}.
165
161@item ediff-buffers 166@item ediff-buffers
162@findex ediff-buffers 167@findex ediff-buffers
163Compare two buffers. 168Compare two buffers.
@@ -2425,104 +2430,105 @@ Without them, Ediff would not be nearly as useful as it is today.
2425Here is a hopefully full list of contributors: 2430Here is a hopefully full list of contributors:
2426 2431
2427@example 2432@example
2428Adrian Aichner (aichner@@ecf.teradyne.com), 2433Adrian Aichner (aichner at ecf.teradyne.com),
2429Drew Adams (drew.adams@@oracle.com), 2434Drew Adams (drew.adams at oracle.com),
2430Steve Baur (steve@@xemacs.org), 2435Steve Baur (steve at xemacs.org),
2431Neal Becker (neal@@ctd.comsat.com), 2436Neal Becker (neal at ctd.comsat.com),
2432E.@: Jay Berkenbilt (ejb@@ql.org), 2437E.@: Jay Berkenbilt (ejb at ql.org),
2433Alastair Burt (burt@@dfki.uni-kl.de), 2438Lennart Borgman (ennart.borgman at gmail.com)
2434Paul Bibilo (peb@@delcam.co.uk), 2439Alastair Burt (burt at dfki.uni-kl.de),
2435Kevin Broadey (KevinB@@bartley.demon.co.uk), 2440Paul Bibilo (peb at delcam.co.uk),
2436Harald Boegeholz (hwb@@machnix.mathematik.uni-stuttgart.de), 2441Kevin Broadey (KevinB at bartley.demon.co.uk),
2437Bradley A.@: Bosch (brad@@lachman.com), 2442Harald Boegeholz (hwb at machnix.mathematik.uni-stuttgart.de),
2438Michael D.@: Carney (carney@@ltx-tr.com), 2443Bradley A.@: Bosch (brad at lachman.com),
2439Jin S.@: Choi (jin@@atype.com), 2444Michael D.@: Carney (carney at ltx-tr.com),
2440Scott Cummings (cummings@@adc.com), 2445Jin S.@: Choi (jin at atype.com),
2441Albert Dvornik (bert@@mit.edu), 2446Scott Cummings (cummings at adc.com),
2442Eric Eide (eeide@@asylum.cs.utah.edu), 2447Albert Dvornik (bert at mit.edu),
2443Paul Eggert (eggert@@twinsun.com), 2448Eric Eide (eeide at asylum.cs.utah.edu),
2444Urban Engberg (ue@@cci.dk), 2449Paul Eggert (eggert at twinsun.com),
2445Kevin Esler (esler@@ch.hp.com), 2450Urban Engberg (ue at cci.dk),
2446Robert Estes (estes@@ece.ucdavis.edu), 2451Kevin Esler (esler at ch.hp.com),
2447Jay Finger (jayf@@microsoft.com), 2452Robert Estes (estes at ece.ucdavis.edu),
2448Xavier Fornari (xavier@@europe.cma.fr), 2453Jay Finger (jayf at microsoft.com),
2449Eric Freudenthal (freudent@@jan.ultra.nyu.edu), 2454Xavier Fornari (xavier at europe.cma.fr),
2450Job Ganzevoort (Job.Ganzevoort@@cwi.nl), 2455Eric Freudenthal (freudent at jan.ultra.nyu.edu),
2451Felix Heinrich Gatzemeier (felix.g@@tzemeier.info), 2456Job Ganzevoort (Job.Ganzevoort at cwi.nl),
2452Boris Goldowsky (boris@@cs.rochester.edu), 2457Felix Heinrich Gatzemeier (felix.g at tzemeier.info),
2453Allan Gottlieb (gottlieb@@allan.ultra.nyu.edu), 2458Boris Goldowsky (boris at cs.rochester.edu),
2454Aaron Gross (aaron@@bfr.co.il), 2459Allan Gottlieb (gottlieb at allan.ultra.nyu.edu),
2455Thorbjoern Hansen (thorbjoern.hansen@@mchp.siemens.de), 2460Aaron Gross (aaron at bfr.co.il),
2456Marcus Harnisch (marcus_harnisch@@mint-tech.com), 2461Thorbjoern Hansen (thorbjoern.hansen at mchp.siemens.de),
2457Steven E. Harris (seh@@panix.com), 2462Marcus Harnisch (marcus_harnisch at mint-tech.com),
2458Aaron S. Hawley (Aaron.Hawley@@uvm.edu), 2463Steven E. Harris (seh at panix.com),
2459Xiaoli Huang (hxl@@epic.com), 2464Aaron S. Hawley (Aaron.Hawley at uvm.edu),
2460Andreas Jaeger (aj@@suse.de), 2465Xiaoli Huang (hxl at epic.com),
2461Lars Magne Ingebrigtsen (larsi@@ifi.uio.no), 2466Andreas Jaeger (aj at suse.de),
2462Larry Gouge (larry@@itginc.com), 2467Lars Magne Ingebrigtsen (larsi at ifi.uio.no),
2463Karl Heuer (kwzh@@gnu.org), 2468Larry Gouge (larry at itginc.com),
2464(irvine@@lks.csi.com), 2469Karl Heuer (kwzh at gnu.org),
2465(jaffe@@chipmunk.cita.utoronto.ca), 2470(irvine at lks.csi.com),
2466David Karr (dkarr@@nmo.gtegsc.com), 2471(jaffe at chipmunk.cita.utoronto.ca),
2467Norbert Kiesel (norbert@@i3.informatik.rwth-aachen.de), 2472David Karr (dkarr at nmo.gtegsc.com),
2468Steffen Kilb (skilb@@gmx.net), 2473Norbert Kiesel (norbert at i3.informatik.rwth-aachen.de),
2469Leigh L Klotz (klotz@@adoc.xerox.com), 2474Steffen Kilb (skilb at gmx.net),
2470Fritz Knabe (Fritz.Knabe@@ecrc.de), 2475Leigh L Klotz (klotz at adoc.xerox.com),
2471Heinz Knutzen (hk@@informatik.uni-kiel.d400.de), 2476Fritz Knabe (Fritz.Knabe at ecrc.de),
2472Andrew Koenig (ark@@research.att.com), 2477Heinz Knutzen (hk at informatik.uni-kiel.d400.de),
2473Hannu Koivisto (azure@@iki.fi), 2478Andrew Koenig (ark at research.att.com),
2474Ken Laprade (laprade@@dw3f.ess.harris.com), 2479Hannu Koivisto (azure at iki.fi),
2475Will C Lauer (wcl@@cadre.com), 2480Ken Laprade (laprade at dw3f.ess.harris.com),
2476Richard Levitte (levitte@@e.kth.se), 2481Will C Lauer (wcl at cadre.com),
2477Mike Long (mike.long@@analog.com), 2482Richard Levitte (levitte at e.kth.se),
2478Dave Love (d.love@@dl.ac.uk), 2483Mike Long (mike.long at analog.com),
2479Martin Maechler (maechler@@stat.math.ethz.ch), 2484Dave Love (d.love at dl.ac.uk),
2480Simon Marshall (simon@@gnu.org), 2485Martin Maechler (maechler at stat.math.ethz.ch),
2481Paul C. Meuse (pmeuse@@delcomsys.com), 2486Simon Marshall (simon at gnu.org),
2482Richard Mlynarik (mly@@adoc.xerox.com), 2487Paul C. Meuse (pmeuse at delcomsys.com),
2483Stefan Monnier (monnier@@cs.yale.edu), 2488Richard Mlynarik (mly at adoc.xerox.com),
2484Chris Murphy (murphycm@@sun.aston.ac.uk), 2489Stefan Monnier (monnier at cs.yale.edu),
2485Erik Naggum (erik@@naggum.no), 2490Chris Murphy (murphycm at sun.aston.ac.uk),
2486Eyvind Ness (Eyvind.Ness@@hrp.no), 2491Erik Naggum (erik at naggum.no),
2487Ray Nickson (nickson@@cs.uq.oz.au), 2492Eyvind Ness (Eyvind.Ness at hrp.no),
2488Dan Nicolaescu (dann@@ics.uci.edu), 2493Ray Nickson (nickson at cs.uq.oz.au),
2489David Petchey (petchey_david@@jpmorgan.com), 2494Dan Nicolaescu (dann at ics.uci.edu),
2490Benjamin Pierce (benjamin.pierce@@cl.cam.ac.uk), 2495David Petchey (petchey_david at jpmorgan.com),
2491Francois Pinard (pinard@@iro.umontreal.ca), 2496Benjamin Pierce (benjamin.pierce at cl.cam.ac.uk),
2492Tibor Polgar (tlp00@@spg.amdahl.com), 2497Francois Pinard (pinard at iro.umontreal.ca),
2493David Prince (dave0d@@fegs.co.uk), 2498Tibor Polgar (tlp00 at spg.amdahl.com),
2494Paul Raines (raines@@slac.stanford.edu), 2499David Prince (dave0d at fegs.co.uk),
2495Stefan Reicher (xsteve@@riic.at), 2500Paul Raines (raines at slac.stanford.edu),
2496Charles Rich (rich@@merl.com), 2501Stefan Reicher (xsteve at riic.at),
2497Bill Richter (richter@@math.nwu.edu), 2502Charles Rich (rich at merl.com),
2498C.S.@: Roberson (roberson@@aur.alcatel.com), 2503Bill Richter (richter at math.nwu.edu),
2499Kevin Rodgers (kevin.rodgers@@ihs.com), 2504C.S.@: Roberson (roberson at aur.alcatel.com),
2500Sandy Rutherford (sandy@@ibm550.sissa.it), 2505Kevin Rodgers (kevin.rodgers at ihs.com),
2501Heribert Schuetz (schuetz@@ecrc.de), 2506Sandy Rutherford (sandy at ibm550.sissa.it),
2502Andy Scott (ascott@@pcocd2.intel.com), 2507Heribert Schuetz (schuetz at ecrc.de),
2503Axel Seibert (axel@@tumbolia.ppp.informatik.uni-muenchen.de), 2508Andy Scott (ascott at pcocd2.intel.com),
2504Vin Shelton (acs@@xemacs.org), 2509Axel Seibert (axel at tumbolia.ppp.informatik.uni-muenchen.de),
2505Scott O. Sherman (Scott.Sherman@@mci.com), 2510Vin Shelton (acs at xemacs.org),
2506Nikolaj Schumacher (n_schumacher@@web.de), 2511Scott O. Sherman (Scott.Sherman at mci.com),
2507Richard Stallman (rms@@gnu.org), 2512Nikolaj Schumacher (n_schumacher at web.de),
2508Richard Stanton (stanton@@haas.berkeley.edu), 2513Richard Stallman (rms at gnu.org),
2509Sam Steingold (sds@@goems.com), 2514Richard Stanton (stanton at haas.berkeley.edu),
2510Ake Stenhoff (etxaksf@@aom.ericsson.se), 2515Sam Steingold (sds at goems.com),
2511Stig (stig@@hackvan.com), 2516Ake Stenhoff (etxaksf at aom.ericsson.se),
2512Peter Stout (Peter_Stout@@cs.cmu.edu), 2517Stig (stig at hackvan.com),
2513Chuck Thompson (cthomp@@cs.uiuc.edu), 2518Peter Stout (Peter_Stout at cs.cmu.edu),
2514Ray Tomlinson (tomlinso@@bbn.com), 2519Chuck Thompson (cthomp at cs.uiuc.edu),
2515Raymond Toy (toy@@rtp.ericsson.se), 2520Ray Tomlinson (tomlinso at bbn.com),
2516Stephen J. Turnbull (stephen@@xemacs.org), 2521Raymond Toy (toy at rtp.ericsson.se),
2517Jan Vroonhof (vroonhof@@math.ethz.ch), 2522Stephen J. Turnbull (stephen at xemacs.org),
2518Colin Walters (walters@@cis.ohio-state.edu), 2523Jan Vroonhof (vroonhof at math.ethz.ch),
2519Philippe Waroquiers (philippe.waroquiers@@eurocontrol.be), 2524Colin Walters (walters at cis.ohio-state.edu),
2520Klaus Weber (gizmo@@zork.north.de), 2525Philippe Waroquiers (philippe.waroquiers at eurocontrol.be),
2521Ben Wing (ben@@xemacs.org), 2526Klaus Weber (gizmo at zork.north.de),
2522Tom Wurgler (twurgler@@goodyear.com), 2527Ben Wing (ben at xemacs.org),
2523Steve Youngs (youngs@@xemacs.org), 2528Tom Wurgler (twurgler at goodyear.com),
2524Ilya Zakharevich (ilya@@math.ohio-state.edu), 2529Steve Youngs (youngs at xemacs.org),
2525Eli Zaretskii (eliz@@is.elta.co.il) 2530Ilya Zakharevich (ilya at math.ohio-state.edu),
2531Eli Zaretskii (eliz at is.elta.co.il)
2526@end example 2532@end example
2527 2533
2528@node GNU Free Documentation License, Index, Credits, Top 2534@node GNU Free Documentation License, Index, Credits, Top
diff --git a/doc/misc/viper.texi b/doc/misc/viper.texi
index 11f8f214663..bd1f2a7c0f5 100644
--- a/doc/misc/viper.texi
+++ b/doc/misc/viper.texi
@@ -261,8 +261,8 @@ you see @samp{%%} at the beginning of the mode line, it means that the file
261associated with the buffer is write protected. The mode line will also 261associated with the buffer is write protected. The mode line will also
262show the buffer name and current major and minor modes (see below). 262show the buffer name and current major and minor modes (see below).
263A special buffer called @dfn{Minibuffer} is displayed as the last line 263A special buffer called @dfn{Minibuffer} is displayed as the last line
264in a Minibuffer window. The Minibuffer window is used for command input 264in a minibuffer window. The minibuffer window is used for command input
265output. Viper uses Minibuffer window for @kbd{/} and @kbd{:} 265output. Viper uses minibuffer window for @kbd{/} and @kbd{:}
266commands.@refill 266commands.@refill
267 267
268@cindex mode 268@cindex mode
@@ -653,7 +653,7 @@ last history element is the default that can be invoked simply by typing
653easy to override valuable data in another file. Reconstructing the full 653easy to override valuable data in another file. Reconstructing the full
654command, @kbd{:w!@: foo}, from the history is still not that hard, since Viper 654command, @kbd{:w!@: foo}, from the history is still not that hard, since Viper
655has a separate history for file names. By typing @kbd{: M-p}, you will get 655has a separate history for file names. By typing @kbd{: M-p}, you will get
656@kbd{:w!} in the Minibuffer. Then, repeated @kbd{M-p} will get you through 656@kbd{:w!} in the minibuffer. Then, repeated @kbd{M-p} will get you through
657the file history, inserting one file name after another. 657the file history, inserting one file name after another.
658 658
659In contrast to @kbd{:w!@: foo}, if the command were @kbd{:r foo}, the entire 659In contrast to @kbd{:w!@: foo}, if the command were @kbd{:r foo}, the entire
@@ -663,7 +663,7 @@ argument.
663@refill 663@refill
664@end table 664@end table
665@noindent 665@noindent
666As Vi, Viper's destructive commands can be re-executed by typing `@kbd{.}'. 666As in Vi, Viper's destructive commands can be re-executed by typing `@kbd{.}'.
667However, in addition, Viper keeps track of the history of such commands. This 667However, in addition, Viper keeps track of the history of such commands. This
668history can be perused by typing @kbd{C-c M-p} and @kbd{C-c M-n}. 668history can be perused by typing @kbd{C-c M-p} and @kbd{C-c M-n}.
669Having found the appropriate command, it can be then executed by typing 669Having found the appropriate command, it can be then executed by typing
@@ -767,7 +767,7 @@ region.
767 767
768@cindex Minibuffer 768@cindex Minibuffer
769 769
770The Minibuffer is where commands are entered in. Editing can be done 770The minibuffer is where commands are entered in. Editing can be done
771by commands from Insert state, namely: 771by commands from Insert state, namely:
772 772
773@table @kbd 773@table @kbd
@@ -788,23 +788,28 @@ explanation.
788These keys are bound to functions that peruse minibuffer history. The 788These keys are bound to functions that peruse minibuffer history. The
789precise history to be perused depends on the context. It may be the history 789precise history to be perused depends on the context. It may be the history
790of search strings, Ex commands, file names, etc. 790of search strings, Ex commands, file names, etc.
791@item C-s
792If the minibuffer is entered via the Viper search commands @kbd{/} or
793@kbd{?}, then this key inserts the last search string used by the
794Emacs incremental search command
795(which is bound to @kbd{C-s} everywhere except in this case).
791@end table 796@end table
792 797
793Most of the Emacs keys are functional in the Minibuffer. While in the 798Most of the Emacs keys are functional in the minibuffer. While in the
794Minibuffer, Viper tries to make editing resemble Vi's behavior when the 799minibuffer, Viper tries to make editing resemble Vi's behavior when the
795latter is waiting for the user to type an Ex command. In particular, you 800latter is waiting for the user to type an Ex command. In particular, you
796can use the regular Vi commands to edit the Minibuffer. You can switch 801can use the regular Vi commands to edit the minibuffer. You can switch
797between the Vi state and Insert state at will, and even use the replace mode. 802between the Vi state and Insert state at will, and even use the replace mode.
798Initially, the Minibuffer comes up in Insert state. 803Initially, the minibuffer comes up in Insert state.
799 804
800Some users prefer plain Emacs bindings in the Minibuffer. To this end, set 805Some users prefer plain Emacs bindings in the minibuffer. To this end, set
801@code{viper-vi-style-in-minibuffer} to @code{nil} in @file{.viper}. 806@code{viper-vi-style-in-minibuffer} to @code{nil} in @file{.viper}.
802@xref{Customization}, to learn how to do this. 807@xref{Customization}, to learn how to do this.
803 808
804When the Minibuffer changes Viper states, you will notice that the appearance 809When the minibuffer changes Viper states, you will notice that the appearance
805of the text there changes as well. This is useful because the Minibuffer 810of the text there changes as well. This is useful because the minibuffer
806has no mode line to tell which Vi state it is in. 811has no mode line to tell which Vi state it is in.
807The appearance of the text in the Minibuffer can be changed. 812The appearance of the text in the minibuffer can be changed.
808@xref{Viper Specials}, for more details. 813@xref{Viper Specials}, for more details.
809 814
810@node Multiple Files in Viper,Unimplemented Features,The Minibuffer,Overview 815@node Multiple Files in Viper,Unimplemented Features,The Minibuffer,Overview
@@ -859,7 +864,7 @@ The current directory name for a file is automatically prepended to the
859file name in any 864file name in any
860@kbd{:e}, @kbd{:r}, @kbd{:w}, etc., command (in Emacs, each buffer has a 865@kbd{:e}, @kbd{:r}, @kbd{:w}, etc., command (in Emacs, each buffer has a
861current directory). 866current directory).
862This directory is inserted in the Minibuffer once you type space after 867This directory is inserted in the minibuffer once you type space after
863@kbd{:e, r}, etc. Viper also supports completion of file names and Ex 868@kbd{:e, r}, etc. Viper also supports completion of file names and Ex
864commands (@key{TAB}), and it keeps track of 869commands (@key{TAB}), and it keeps track of
865command and file history (@kbd{M-p}, @kbd{M-n}). 870command and file history (@kbd{M-p}, @kbd{M-n}).
@@ -1044,7 +1049,7 @@ destructive commands in Vi state. These are
1044useful for fixing those small typos that screw up searches and @kbd{:s}, 1049useful for fixing those small typos that screw up searches and @kbd{:s},
1045and for eliminating routine associated with repeated typing of file names 1050and for eliminating routine associated with repeated typing of file names
1046or pieces of text that need to be inserted frequently. 1051or pieces of text that need to be inserted frequently.
1047At the @kbd{:} or @kbd{/} prompts in the Minibuffer, you can do the following: 1052At the @kbd{:} or @kbd{/} prompts in the minibuffer, you can do the following:
1048 1053
1049@table @kbd 1054@table @kbd
1050@item M-p and M-n 1055@item M-p and M-n
@@ -1170,7 +1175,7 @@ Search,emacs,The GNU Emacs Manual} @refill
1170@cindex query replace 1175@cindex query replace
1171 1176
1172Viper also provides a query replace function that prompts through the 1177Viper also provides a query replace function that prompts through the
1173Minibuffer. It is invoked by the @kbd{Q} key in Vi state. 1178minibuffer. It is invoked by the @kbd{Q} key in Vi state.
1174 1179
1175@cindex mouse search 1180@cindex mouse search
1176 1181
@@ -1332,7 +1337,7 @@ that @kbd{:se nomagic} turns Regexps off completely, unlike Vi).
1332@kindex @kbd{V} 1337@kindex @kbd{V}
1333@kindex @kbd{C-v} 1338@kindex @kbd{C-v}
1334These keys are used to visit files. @kbd{v} will switch to a buffer 1339These keys are used to visit files. @kbd{v} will switch to a buffer
1335visiting file whose name can be entered in the Minibuffer. @kbd{V} is 1340visiting file whose name can be entered in the minibuffer. @kbd{V} is
1336similar, but will use a window different from the current window. 1341similar, but will use a window different from the current window.
1337@kbd{C-v} is like @kbd{V}, except that a new frame (X window) will be used 1342@kbd{C-v} is like @kbd{V}, except that a new frame (X window) will be used
1338instead of a new Emacs window. 1343instead of a new Emacs window.
@@ -1432,9 +1437,16 @@ this function.
1432@item M-p and M-n 1437@item M-p and M-n
1433@kindex @kbd{M-p} 1438@kindex @kbd{M-p}
1434@kindex @kbd{M-n} 1439@kindex @kbd{M-n}
1435In the Minibuffer, these commands navigate through the minibuffer 1440In the minibuffer, these commands navigate through the minibuffer
1436histories, such as the history of search strings, Ex commands, etc. 1441histories, such as the history of search strings, Ex commands, etc.
1437 1442
1443@item C-s
1444@kindex @kbd{C-s}
1445If the minibuffer is entered via a Viper search commands @kbd{/} or @kbd{?},
1446then typing this key inserts the last search string used by the
1447Emacs incremental search command (that is bound to @kbd{C-s} everywhere
1448except in this case).
1449
1438@item C-c M-p and C-c M-n 1450@item C-c M-p and C-c M-n
1439@kindex @kbd{C-c M-p} 1451@kindex @kbd{C-c M-p}
1440@kindex @kbd{C-c M-n} 1452@kindex @kbd{C-c M-n}
@@ -1716,8 +1728,8 @@ If not @code{nil}, @kbd{C-h} is bound to @code{help-command};
1716otherwise, @kbd{C-h} is bound as usual in Vi. 1728otherwise, @kbd{C-h} is bound as usual in Vi.
1717@item viper-vi-style-in-minibuffer t 1729@item viper-vi-style-in-minibuffer t
1718If not @code{nil}, Viper provides a high degree of compatibility with Vi 1730If not @code{nil}, Viper provides a high degree of compatibility with Vi
1719insert mode when you type text in the Minibuffer; if @code{nil}, typing in 1731insert mode when you type text in the minibuffer; if @code{nil}, typing in
1720the Minibuffer feels like plain Emacs. 1732the minibuffer feels like plain Emacs.
1721@item viper-no-multiple-ESC t 1733@item viper-no-multiple-ESC t
1722If you set this to @code{nil}, you can use @key{ESC} as Meta in Vi state. 1734If you set this to @code{nil}, you can use @key{ESC} as Meta in Vi state.
1723Normally, this is not necessary, since graphical displays have separate 1735Normally, this is not necessary, since graphical displays have separate
@@ -2455,7 +2467,7 @@ direction, you can either bind an unused key to
2455@kbd{f31}. 2467@kbd{f31}.
2456 2468
2457One should not bind the above functions to @kbd{M-p} or @kbd{M-n}, since 2469One should not bind the above functions to @kbd{M-p} or @kbd{M-n}, since
2458this will interfere with the Minibuffer histories and, possibly, other 2470this will interfere with the minibuffer histories and, possibly, other
2459major modes. 2471major modes.
2460 2472
2461@item viper-command-ring-size 14 2473@item viper-command-ring-size 14
@@ -2485,7 +2497,7 @@ direction, you can either bind an unused key to
2485@code{viper-next-destructive-command} or hit any digit (1 to 9) then @kbd{f31}. 2497@code{viper-next-destructive-command} or hit any digit (1 to 9) then @kbd{f31}.
2486 2498
2487One should not bind the above functions to @kbd{M-p} or @kbd{M-n}, since 2499One should not bind the above functions to @kbd{M-p} or @kbd{M-n}, since
2488this will interfere with the Minibuffer histories and, possibly, other 2500this will interfere with the minibuffer histories and, possibly, other
2489major modes. 2501major modes.
2490 2502
2491@item viper-minibuffer-vi-face 'viper-minibuffer-vi-face 2503@item viper-minibuffer-vi-face 'viper-minibuffer-vi-face
@@ -2501,7 +2513,7 @@ subgroup of the @emph{Editing} group. All Viper faces are grouped together
2501in Viper's @emph{Highlighting} customization subgroup. 2513in Viper's @emph{Highlighting} customization subgroup.
2502 2514
2503Note that only the text you type in is affected by the above faces. 2515Note that only the text you type in is affected by the above faces.
2504Prompts and Minibuffer messages are not affected. 2516Prompts and minibuffer messages are not affected.
2505 2517
2506Purists who do not like adornments in the minibuffer can always zap them by 2518Purists who do not like adornments in the minibuffer can always zap them by
2507putting 2519putting
@@ -2960,7 +2972,7 @@ Since Viper macros are much more powerful than Vi's it is impossible to
2960detect such loops. In practice, this is not really a limitation but, 2972detect such loops. In practice, this is not really a limitation but,
2961rather, a feature. 2973rather, a feature.
2962 2974
2963We should also note that Vi macros are disabled in the Minibuffer, which 2975We should also note that Vi macros are disabled in the minibuffer, which
2964helps keep some potential troubles away. 2976helps keep some potential troubles away.
2965 2977
2966The rate at which the user must type keys in order for them to be 2978The rate at which the user must type keys in order for them to be
@@ -3534,7 +3546,7 @@ these commands help peruse the history of Vi's destructive commands.
3534Successive typing of @kbd{C-c M-p} causes Viper to search the history in 3546Successive typing of @kbd{C-c M-p} causes Viper to search the history in
3535the direction 3547the direction
3536of older commands, while hitting @kbd{C-c M-n} does so in reverse 3548of older commands, while hitting @kbd{C-c M-n} does so in reverse
3537order. Each command in the history is displayed in the Minibuffer. The 3549order. Each command in the history is displayed in the minibuffer. The
3538displayed command can 3550displayed command can
3539then be executed by typing `@kbd{.}'. 3551then be executed by typing `@kbd{.}'.
3540 3552
@@ -3564,7 +3576,7 @@ functions doing the perusing can be bound to unused keyboard keys in the
3564 3576
3565Minibuffer can be edited similarly to Insert state, and you can switch 3577Minibuffer can be edited similarly to Insert state, and you can switch
3566between Insert/Replace/Vi states at will. 3578between Insert/Replace/Vi states at will.
3567Some users prefer plain Emacs feel in the Minibuffer. To this end, set 3579Some users prefer plain Emacs feel in the minibuffer. To this end, set
3568@var{viper-vi-style-in-minibuffer} to @code{nil}. 3580@var{viper-vi-style-in-minibuffer} to @code{nil}.
3569 3581
3570@cindex Insert state 3582@cindex Insert state
@@ -3754,6 +3766,11 @@ Viper does not parse search patterns and does not expand special symbols
3754found there (e.g., @samp{~} is not expanded to the result of the previous 3766found there (e.g., @samp{~} is not expanded to the result of the previous
3755substitution). 3767substitution).
3756 3768
3769After typing @kbd{/} or @kbd{?} all the usual Emacs minibuffer commands, such as
3770@kbd{M-p} and @kbd{M-n} are available. In addition, typing @kbd{C-s} will
3771insert the last search string used by the Emacs incremental search command
3772(which is bound to @kbd{C-s} everywhere except in this case).
3773
3757@item <count> ?<string> 3774@item <count> ?<string>
3758To the <count>th previous occurrence of <string>. 3775To the <count>th previous occurrence of <string>.
3759@item <count> g<move> 3776@item <count> g<move>
@@ -4057,7 +4074,7 @@ Like @kbd{:b}, but the meaning of @var{ex-cycle-other-window} is reversed.
4057Read the file <name> into the buffer after the line <address>. 4074Read the file <name> into the buffer after the line <address>.
4058@item v, V, C-v 4075@item v, V, C-v
4059Edit a file in current or another window, or in another frame. File name 4076Edit a file in current or another window, or in another frame. File name
4060is typed in Minibuffer. File completion and history are supported. 4077is typed in minibuffer. File completion and history are supported.
4061@end table 4078@end table
4062@kindex @kbd{v} 4079@kindex @kbd{v}
4063@kindex @kbd{V} 4080@kindex @kbd{V}