unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* viper manual: viper-search-char example
@ 2004-02-02  9:17 Kai Grossjohann
  0 siblings, 0 replies; only message in thread
From: Kai Grossjohann @ 2004-02-02  9:17 UTC (permalink / raw)


The viper manual has this:

    @node Improved Search, Abbreviation Facilities, Completion, Improvements over Vi
    @section Improved Search

    @cindex buffer search
    @cindex word search

    Viper provides buffer search, the ability to search the buffer for a region
    under the cursor.  You have to turn this on in @file{.viper} either by calling

    @example
    (viper-buffer-search-enable)
    @end example

    @noindent
    or by setting @code{viper-buffer-search-char} to, say, @kbd{f3}:
    @example
    (setq viper-buffer-search-char ?g)
    @end example

It is obvious that the last sentence (referring to <f3>) and the Lisp
code (referring to g) do not match.

However, I hesitate to just replace @kbd{f3} with @kbd{g} because g is
the default setting.  I also hesitate to change the Lisp example
because the docstring for viper-buffer-search-char says that it needs
to be a character, and <f3> is not a character.

Does anyone know what to do?

Kai

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

only message in thread, other threads:[~2004-02-02  9:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-02  9:17 viper manual: viper-search-char example Kai Grossjohann

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