[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Some questions about nanorc.5
From: |
Benno Schulenberg |
Subject: |
Re: Some questions about nanorc.5 |
Date: |
Sat, 15 Aug 2020 15:46:54 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
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 ".".)
Benno
signature.asc
Description: OpenPGP digital signature