From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9953 invoked by alias); 24 Sep 2011 06:26:56 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 16413 Received: (qmail 25742 invoked from network); 24 Sep 2011 06:26:55 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW, T_TO_NO_BRKTS_FREEMAIL autolearn=ham version=3.3.1 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 209.85.215.171 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=FUDNvjl57PQBn6tdmdIcoP/0WluIVOe2hvQBLLo/YvA=; b=rZop09O8UzsvQxkfn+kuHPIkXtz/acQmipZDQiF96S5EKM3oI0Ee0US0/spIOLGWSD g/f0Qu4nl6yitTcTHuuXnlE6g20/pnDZ4dkyRHMCtoOuNv7TpgIKuH1EUTzB37ALrXUQ DmJjpBRfBd2E/QS7R+DiI6KS1GgTw2SPpnlRM= MIME-Version: 1.0 Date: Sat, 24 Sep 2011 14:26:49 +0800 Message-ID: Subject: are there some ways to get things like isearch-{start,end}-position? From: md 1983 To: zsh-users@zsh.org Content-Type: multipart/alternative; boundary=00151749f7f0c6718a04adaa0232 --00151749f7f0c6718a04adaa0232 Content-Type: text/plain; charset=ISO-8859-1 I want to upon exiting isearch mode always place the cursor in ZLE at the position as specified by the variable "isearch_start" in zsh's source code, no matter it's a forward or backward search. Now ZLE has special parameters like CURSOR and MARK but it seems there are currently no special parameters about the range for "the area of the command line matched by the search string or pattern". Or are there some other configuration that I could use to achieve this goal (to place the cursor at the start position of matched isearch area independent of the search direction)? thanks!! --00151749f7f0c6718a04adaa0232--