nano

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

commit a6b534d76074457997890313f83fff8bef4ca6bd
parent 494b191d55e597675a65267682536cace9b0713a
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Wed, 27 Apr 2022 12:27:52 +0200

bump version numbers and add a news item for the 6.3 release

Diffstat:
MChangeLog | 50++++++++++++++++++++++++++++++++++++++++++++++++++
MNEWS | 13+++++++++++++
MREADME | 2+-
Mconfigure.ac | 2+-
Mdoc/faq.html | 2+-
Mdoc/nano.1 | 2+-
Mdoc/nano.texi | 8++++----
Mdoc/nanorc.5 | 2+-
Mdoc/rnano.1 | 2+-
Mroll-a-release.sh | 2+-
10 files changed, 74 insertions(+), 11 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,53 @@ +Changes between v6.2 and v6.3: +------------------------------ + +Benno Schulenberg (41): + build: add the --disable-maintainer-mode option to ./configure + build: fix compilation for --enable-{tiny,nanorc,color} + build: fix compilation when configured with --disable-color + build: remove an obsolete check -- the dependent code was deleted + bump version numbers and add a news item for the 6.3 release + display: suppress spotlight yellow and error red when NO_COLOR is set + docs: add an example binding for copying text to the system clipboard + execute: clear an anchor only when the whole buffer gets filtered + execute: don't crash when an empty buffer is piped through a command + execute: stay on the same line number when filtering the whole buffer + feedback: show extra warning when writing failed due to "No space left" + files: do not change to a higher directory when the working one is gone + files: show a warning when the working directory is gone (when used) + files: when the working directory exists, still check its accessibility + filtering: close all output descriptors, so that 'xsel' will terminate + formatting: change cursor position only after saving it in the undo item + gnulib: pull in the workaround for a build problem on NetBSD + gnulib: update to its current upstream state + justify: stay at the same line number when doing a full justification + painting: colorize text also after an unterminated start match + painting: look for another start match only after the actual end match + painting: recalculate the multidata when making large strides or changes + painting: stop coloring an extremely long line after 2000 bytes + painting: tighten the check for a lacking end match on a colored line + syntax: xml: colorize /> properly, and colorize prolog tags differently + syntax: xml: colorize user-defined entities differently + tweaks: avoid a function call when two plain assignments will do + tweaks: change the indentation of a list, to match other indentations + tweaks: don't leave an orphaned temporary file behind when writing fails + tweaks: elide an unneeded call of strlen() + tweaks: exclude the extra truncation warning from the tiny version + tweaks: make the triggering of the recalculation of multidata less eager + tweaks: move the saving and restoring of flags to where it is needed + tweaks: normalize the indentation after the previous change + tweaks: prevent the adding of an unwanted newline in a different way + tweaks: remove redundant braces, and add two translator hints + tweaks: remove some stray spaces before a comma + tweaks: simplify a bit of code, eliding two labels and three gotos + tweaks: simplify a fragment of code, and fold two lines together + tweaks: trim a few comments, rename a function, and reshuffle some code + verbatim: with --zero, keep cursor in viewport when it was on bottom row + +Mike Frysinger (1): + general: fix building for Windows + + Changes between v6.1 and v6.2: ------------------------------ diff --git a/NEWS b/NEWS @@ -1,3 +1,16 @@ +2022.04.28 - GNU nano 6.3 "Wat zullen we drinken? Wat een dorst!" +• For multiline regexes, text is now colored as soon a start match + is found, also when there is no end match at all. +• The colorizing of any line is stopped after two thousand bytes, + to avoid frustrating delays. +• When environment variable NO_COLOR is set, the two default colors + (yellow for the spotlight, red for error messages) are suppressed + when no interface colors are specified in a nanorc file. +• Full justification and piping the whole buffer through a command + now keep the cursor at the same line number. +• Utility 'xsel' can be used to copy a marked region to the system's + clipboard. See doc/sample.nanorc for an example. + 2022.02.18 - GNU nano 6.2 "Kamperfoelie" • The file browser clears the prompt bar also when using --minibar. • Linting now works also with a newer 'pyflakes'. diff --git a/README b/README @@ -15,7 +15,7 @@ Appearance In rough ASCII graphics, this is what nano's screen looks like: ____________________________________________________________________ - | GNU nano 6.2 filename Modified | + | GNU nano 6.3 filename Modified | -------------------------------------------------------------------- | This is the text window, displaying the contents of a 'buffer', | | the contents of the file you are editing. | diff --git a/configure.ac b/configure.ac @@ -16,7 +16,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see https://www.gnu.org/licenses/. -AC_INIT([GNU nano], [6.2], [nano-devel@gnu.org], [nano]) +AC_INIT([GNU nano], [6.3], [nano-devel@gnu.org], [nano]) AC_CONFIG_SRCDIR([src/nano.c]) AC_CANONICAL_HOST AM_INIT_AUTOMAKE([1.14]) diff --git a/doc/faq.html b/doc/faq.html @@ -92,7 +92,7 @@ <h3><a name="1.3"></a>1.3. Why the name change from TIP?</h3> <blockquote><p>On January 10, 2000, TIP was officially renamed to nano because of a namespace conflict with another program called 'tip'. The original 'tip' program &quot;establishes a full duplex terminal connection to a remote host&quot;, and was included with many older Unix systems (and newer ones like Solaris). The conflict was not noticed at first because there is no 'tip' utility included with most GNU/Linux distributions (where nano was developed).</p></blockquote> <h3><a name="1.4"></a>1.4. What is the current version of nano?</h3> -<blockquote><p>The current version of nano <i>should</i> be <b>6.2</b>. Of course, you should always check the <a href="https://nano-editor.org/">nano homepage</a> to see what the latest and greatest version is.</p></blockquote> +<blockquote><p>The current version of nano <i>should</i> be <b>6.3</b>. Of course, you should always check the <a href="https://nano-editor.org/">nano homepage</a> to see what the latest and greatest version is.</p></blockquote> <h3><a name="1.5"></a>1.5. I want to read the man page without having to download the program!</h3> <blockquote><p>Jeez, demanding, aren't we? Okay, look <a href="https://nano-editor.org/dist/latest/nano.1.html">here</a>.</p></blockquote> <hr width="100%"> diff --git a/doc/nano.1 b/doc/nano.1 @@ -16,7 +16,7 @@ .\" Documentation License along with this program. If not, see .\" <https://www.gnu.org/licenses/>. .\" -.TH NANO 1 "version 6.2" "February 2022" +.TH NANO 1 "version 6.3" "April 2022" .SH NAME nano \- Nano's ANOther editor, inspired by Pico diff --git a/doc/nano.texi b/doc/nano.texi @@ -13,8 +13,8 @@ The complete manual for the GNU nano text editor. @smallbook @set EDITION 0.6 -@set VERSION 6.2 -@set UPDATED February 2022 +@set VERSION 6.3 +@set UPDATED April 2022 @dircategory Editors @direntry @@ -29,7 +29,7 @@ The complete manual for the GNU nano text editor. @title GNU @command{nano} @subtitle a small and friendly text editor -@subtitle version 6.2 +@subtitle version 6.3 @author Chris Allegretta @@ -76,7 +76,7 @@ For suggesting improvements: @email{nano-devel@@gnu.org} @node Top @top -This manual documents GNU @command{nano}, version 6.2. +This manual documents GNU @command{nano}, version 6.3. @menu * Introduction:: diff --git a/doc/nanorc.5 b/doc/nanorc.5 @@ -16,7 +16,7 @@ .\" Documentation License along with this program. If not, see .\" <https://www.gnu.org/licenses/>. .\" -.TH NANORC 5 "version 6.2" "February 2022" +.TH NANORC 5 "version 6.3" "April 2022" .SH NAME nanorc \- GNU nano's configuration file diff --git a/doc/rnano.1 b/doc/rnano.1 @@ -16,7 +16,7 @@ .\" Documentation License along with this program. If not, see .\" <https://www.gnu.org/licenses/>. .\" -.TH RNANO 1 "version 6.2" "February 2022" +.TH RNANO 1 "version 6.3" "April 2022" .SH NAME rnano \- a restricted nano diff --git a/roll-a-release.sh b/roll-a-release.sh @@ -1,6 +1,6 @@ #!/bin/bash -VERSION="6.2" +VERSION="6.3" ./configure -C --enable-tiny && make && ./configure -C &&