Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: fix vi-goto-mark to allow jumps to the last mark



On Sun, 9 Jan 2011 15:58:10 -0800
Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> 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 <pws@xxxxxxx>            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



Messages sorted by: Reverse Date, Date, Thread, Author