From: tlaronde@polynum.com
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] sam, shorten dot by 1 line
Date: Mon, 6 Aug 2012 12:53:53 +0200 [thread overview]
Message-ID: <20120806105353.GA530@polynum.com> (raw)
In-Reply-To: <CAOEdRO1Jr7Qoe7PR4Rid3r4bTa6gbz4hfdhdmLDTmL+N6+Xd9g@mail.gmail.com>
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 <tlaronde +AT+ polynum +dot+ com>
http://www.kergis.com/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89 250D 52B1 AE95 6006 F40C
next prev parent reply other threads:[~2012-08-06 10:53 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-01 16:37 Rudolf Sykora
2012-08-01 19:09 ` Rob Pike
2012-08-01 20:21 ` Rudolf Sykora
2012-08-01 20:51 ` Rudolf Sykora
2012-08-01 22:21 ` Rob Pike
2012-08-02 8:45 ` Rudolf Sykora
2012-08-05 8:19 ` Rudolf Sykora
2012-08-06 0:52 ` Rob Pike
2012-08-06 7:04 ` Rudolf Sykora
2012-08-06 10:53 ` tlaronde [this message]
2012-08-06 15:05 ` Rob Pike
2012-08-10 9:32 ` Rudolf Sykora
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120806105353.GA530@polynum.com \
--to=tlaronde@polynum.com \
--cc=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).