From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 6 Aug 2012 12:53:53 +0200 From: tlaronde@polynum.com To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Message-ID: <20120806105353.GA530@polynum.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Subject: Re: [9fans] sam, shorten dot by 1 line Topicbox-Message-UUID: a816877a-ead7-11e9-9d60-3106f5b1d025 On Mon, Aug 06, 2012 at 09:04:13AM +0200, Rudolf Sykora wrote: > > This pertains to the example I gave: > > Having > > | asdfasdf asdfasdf asdfasdf asdfasdfa asfdsfasdf > > where | represents an empty dot at the beginning of a line (line as > drawn in the editor), .+0 does nothing. According to what .+0 should > do, I'd expect it should select the whole line. I'm definitively not an expert, but I always thought that there was only one legitimate direction of the stream or the string i.e. the direction of the sequence (addressing lines "3,2" is not legitimate). If this is handled like a circular buffer, with only one legitimate direction, .+0 goes from the end to the beginning, but in the correct direction in the circular buffer, and selects nothing (since next to end you have dot). Hoping not saying too much nonsense. -- Thierry Laronde http://www.kergis.com/ Key fingerprint = 0FF7 E906 FBAF FE95 FD89 250D 52B1 AE95 6006 F40C