From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kai Grossjohann Newsgroups: gmane.emacs.devel Subject: viper manual: viper-search-char example Date: Mon, 02 Feb 2004 10:17:39 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <874qu9zvpo.fsf@emptyhost.emptydomain.de> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1075714345 22617 80.91.224.253 (2 Feb 2004 09:32:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 2 Feb 2004 09:32:25 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Feb 02 10:32:20 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AnaRI-0006Iz-00 for ; Mon, 02 Feb 2004 10:32:20 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AnaRI-0002JQ-00 for ; Mon, 02 Feb 2004 10:32:20 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AnaOL-0000CH-36 for emacs-devel@quimby.gnus.org; Mon, 02 Feb 2004 04:29:17 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AnaLX-0008Gp-KV for emacs-devel@gnu.org; Mon, 02 Feb 2004 04:26:23 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AnaKp-0007yc-HR for emacs-devel@gnu.org; Mon, 02 Feb 2004 04:26:10 -0500 Original-Received: from [80.91.224.249] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AnaCq-0006BE-Up for emacs-devel@gnu.org; Mon, 02 Feb 2004 04:17:25 -0500 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AnaCq-0001c1-00 for ; Mon, 02 Feb 2004 10:17:24 +0100 Original-Received: from 213-203-244-156.kunde.vdserver.de ([213.203.244.156]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon Feb 2 09:17:24 2004 Original-Received: from kai by 213-203-244-156.kunde.vdserver.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon Feb 2 09:17:24 2004 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 32 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 213-203-244-156.kunde.vdserver.de User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.2 (gnu/linux) Cancel-Lock: sha1:i1wuwdeI1xRjHC8RFvtjbNsnU3k= X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:19643 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:19643 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 ) 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 is not a character. Does anyone know what to do? Kai