nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit b60a26d40b151473180cb3cf37be002fe4537605
parent 36fcdce88635a9aec3b42f91407c70039e152b0a
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Mon, 25 Jul 2022 10:34:49 +0200

tweaks: reshuffle a description and rewrap another

The reshuffling places the detailed descriptions of some commands
in the same section.

Diffstat:
Mdoc/nano.texi | 12++++++------
Mdoc/nanorc.5 | 12++++++------
2 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/doc/nano.texi b/doc/nano.texi @@ -1238,9 +1238,6 @@ on the system and will be silently ignored otherwise.) @item formatter @var{program} [@var{argument} @dots{}] Run the given @var{program} on the full contents of the current buffer. -(The current buffer is written out to a temporary file, the program is -run on it, and then the temporary file is read back in, replacing the -contents of the buffer.) @item linter @var{program} [@var{argument} @dots{}] Use the given @var{program} to do a syntax check on the current buffer. @@ -1479,6 +1476,9 @@ or GNU @command{spell}, or the one defined by @option{--speller} or @item formatter Invokes a full-buffer-processing program (if the active syntax defines one). +(The current buffer is written out to a temporary file, the program +is run on it, and then the temporary file is read back in, replacing +the contents of the buffer.) @item linter Invokes a syntax-checking program (if the active syntax defines one). @@ -1490,9 +1490,9 @@ and leave linting mode with @kbd{^C} or @kbd{Enter}. @item justify Justifies the current paragraph (or the marked region). -A paragraph is a group of contiguous lines -that, apart from possibly the first line, all have the same indentation. The -beginning of a paragraph is detected by either this lone line with a differing +A paragraph is a group of contiguous lines that, apart from possibly +the first line, all have the same indentation. The beginning of a +paragraph is detected by either this lone line with a differing indentation or by a preceding blank line. @item fulljustify diff --git a/doc/nanorc.5 b/doc/nanorc.5 @@ -461,9 +461,6 @@ system and will be silently ignored otherwise.) .TP .BI formatter " program " \fR[ "argument " \fR...] Run the given \fIprogram\fR on the full contents of the current buffer. -(The current buffer is written out to a temporary file, the program is -run on it, and then the temporary file is read back in, replacing the -contents of the buffer.) .TP .BI linter " program " \fR[ "argument " \fR...] Use the given \fIprogram\fR to run a syntax check on the current buffer. @@ -688,6 +685,9 @@ Invokes a spell-checking program, either the default \fBhunspell\fR(1) or GNU .TP .B formatter Invokes a full-buffer-processing program (if the active syntax defines one). +(The current buffer is written out to a temporary file, the program +is run on it, and then the temporary file is read back in, replacing +the contents of the buffer.) .TP .B linter Invokes a syntax-checking program (if the active syntax defines one). @@ -699,9 +699,9 @@ and leave linting mode with \fB^C\fR or <Enter>. .TP .B justify Justifies the current paragraph (or the marked region). -A paragraph is a group of contiguous lines -that, apart from possibly the first line, all have the same indentation. The -beginning of a paragraph is detected by either this lone line with a differing +A paragraph is a group of contiguous lines that, apart from possibly +the first line, all have the same indentation. The beginning of a +paragraph is detected by either this lone line with a differing indentation or by a preceding blank line. .TP .B fulljustify