[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Some questions about nanorc.5
From: |
Mario Blättermann |
Subject: |
Re: Some questions about nanorc.5 |
Date: |
Sat, 15 Aug 2020 18:24:50 +0200 |
Hello Benno,
Am Sa., 15. Aug. 2020 um 15:47 Uhr schrieb Benno Schulenberg
<bensberg@telfort.nl>:
>
>
> Hello Mario,
>
> Op 14-08-2020 om 22:22 schreef Mario Blättermann:
> > while translating nanorc.5, I stumbled upon some things which I don't
> > understand:
> >
> > older
> > Retrieves the previous (earlier) entry at a prompt.
> >
> > newer
> > Retrieves the next (later) entry at a prompt.
> >
> > Which »prompt« is meant here? A shell prompt or anything else?
>
> It refers to a prompt within nano, like "Search:" or "Command to execute:",
> not a shell prompt.
>
> > findbracket
> > Moves the cursor to the bracket (brace, parenthesis, etc.)
> > that
> > matches (pairs) with the one under the cursor.
> >
> > Are the words »brace« and »parenthesis« meant as alternative terms for
> > »bracket«, or do they point to different bracket types, like curly,
> > square or angle brackets?
>
> The latter, I suppose. In nano, "bracket" refers to anything that is used
> in pairs in order to group things together. See 'set matchbrackets'.
>
> Also « and », and “ and ” can be treated as brackets if you add them
> to 'matchbrackets'. (This even allows silly things like making "a"
> the matching counterpart for "z", or "•" for ".".)
>
OK, thanks for the explanation. Maybe the descriptions should be a bit extended?
Retrieves the previous (earlier) entry at a prompt.
→
Retrieves the previous (earlier) entry at an internal prompt (not the
shell prompt).
Moves the cursor to the bracket (brace, parenthesis, etc.) …
→
Moves the cursor to the bracket (curly brace, parenthesis, square
brackets, etc.) …
Best Regards,
Mario