From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1452 invoked by alias); 10 Jan 2011 09:43:06 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 28614 Received: (qmail 15304 invoked from network); 10 Jan 2011 09:42:52 -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.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at csr.com does not designate permitted sender hosts) Date: Mon, 10 Jan 2011 09:42:19 +0000 From: Peter Stephenson To: Subject: Re: PATCH: fix vi-goto-mark to allow jumps to the last mark Message-ID: <20110110094219.1c0add8c@pwslap01u.europe.root.pri> In-Reply-To: <110109155812.ZM28079@torch.brasslantern.com> References: <201101090911.07314.bitsed@gmail.com> <20110109210956.04976fe2@pws-pc.ntlworld.com> <110109155812.ZM28079@torch.brasslantern.com> Organization: Cambridge Silicon Radio X-Mailer: Claws Mail 3.7.8 (GTK+ 2.20.1; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 10 Jan 2011 09:42:20.0341 (UTC) FILETIME=[ACFD6E50:01CBB0AA] X-Scanned-By: MailControl A_10_80_00 (www.mailcontrol.com) on 10.68.0.118 On Sun, 9 Jan 2011 15:58:10 -0800 Bart Schaefer wrote: > On Jan 9, 9:09pm, Peter Stephenson wrote: > } > } I've never understood what the code you've modified is actually for, > } since mark 26 never gets set. > > Isn't 26 supposed to be the unnamed default mark that e.g. '' (two > single quotes in succession) jumps you back to? > > In effect, it's supposed to be the same as emacs-mode $MARK. Possibly, but it's never set; the vi mark code is only set by vi-set-mark where the range is restricted to 'a' to 'z' (0 to 25). -- Peter Stephenson Software Engineer Tel: +44 (0)1223 692070 Cambridge Silicon Radio Limited Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, UK Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom