unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Kai Grossjohann <kai@emptydomain.de>
Subject: viper manual: viper-search-char example
Date: Mon, 02 Feb 2004 10:17:39 +0100	[thread overview]
Message-ID: <874qu9zvpo.fsf@emptyhost.emptydomain.de> (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

                 reply	other threads:[~2004-02-02  9:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874qu9zvpo.fsf@emptyhost.emptydomain.de \
    --to=kai@emptydomain.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).