nano

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

commit c00431134fbe76e9f66778890be7f5479be18e6b
parent 51065ff24b83b6185baa0092aaeefadd796dfad7
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Sun, 22 Dec 2019 15:34:04 +0100

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

Diffstat:
MChangeLog | 45+++++++++++++++++++++++++++++++++++++++++++++
MNEWS | 9+++++++++
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+-
9 files changed, 64 insertions(+), 10 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,48 @@ +Changes between v4.6 and v4.7: +------------------------------ + +Benno Schulenberg (39): + build: add the uploading of PDF and cheatsheet to the release script + build: avoid three compiler warnings when using gcc-9.2 or newer + build: fix compilation for --enable-tiny --enable-wrapping + build: fix compilation on macOS, where 'st_mtim' is unknown + build: fix compilation when configured with --disable-justify + bump version numbers and add a news item for the 4.7 release + display: don't color the space that separates line numbers from text + docs: add or improve the 'description' meta tag in the two HTML pages + docs: add the 'lang' attribute in the right place to the two HTML pages + docs: mention that all keywords in a nanorc file should be in lowercase + docs: mention that a negative number after "+" counts from the end + gnulib: update to its current upstream state + input: make <Tab> indent only when mark and cursor are on different lines + justify: distinguish between tabs and spaces when comparing indentation + justify: treat consecutive indentations that look the same as the same + linter: beep when trying to go beyond first or last message + rcfile: accept also function names and menu names only in lowercase + rcfile: accept only keywords in all lowercase, for speed of comparison + rcfile: demand that function 'exit' is bound in the file browser + syntax: nanohelp: colorize also ^/ as a possible keystroke + syntax: sh: recognize shell rc files also in dedicated directories + tweaks: avoid using strlen() where it is not needed + tweaks: drop M-Space and ^Space from the browser's key list + tweaks: improve two comments and the ordering of some operands + tweaks: move three functions to the file where they are used + tweaks: optimize the trimming of trailing whitespace + tweaks: remove a stray space + tweaks: rename a function, to get out of the way for another rename + tweaks: rename a function, to get rid of a useless suffix + tweaks: reshuffle a few lines, for brevity or speed or consistency + tweaks: reshuffle a few lines, for symmetry with the preceding function + tweaks: reshuffle a fragment of code, for efficiency + tweaks: reshuffle and rename a few things, to elide duplication + tweaks: reshuffle an item, to avoid a lone 'else' + tweaks: reshuffle two declarations, for compactness + tweaks: slightly streamline the search for a possible wrapping point + tweaks: trim or adjust some whitespace in HTML, and add two keywords + tweaks: unwrap a few lines, and move some strings to among their peers + wrapping: never break in the quoting part nor in the indentation part + + Changes between v4.5 and v4.6: ------------------------------ diff --git a/NEWS b/NEWS @@ -1,3 +1,12 @@ +2019.12.23 - GNU nano 4.7 "Havikskruid" +• A <Tab> will indent a marked region only when mark and cursor are + on different lines. +• Two indentations (any mix of tabs and spaces) are considered the + same when they look the same (that is: indent to the same level). +• When using --breaklonglines or ^J, a line will never be broken in + its leading whitespace or quoting. +• The keywords in nanorc files must be in lowercase. + 2019.11.29 - GNU nano 4.6 "And don't you eat that yellow snow" • The 'formatter' command has returned, bound by default to M-F. It allows running a syntax-specific command on the contents of 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], [4.6], [nano-devel@gnu.org], [nano]) +AC_INIT([GNU nano], [4.7], [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 @@ -88,7 +88,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>4.6</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>4.7</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 4.6" "November 2019" +.TH NANO 1 "version 4.7" "December 2019" .SH NAME nano \- Nano's ANOther editor, inspired by Pico diff --git a/doc/nano.texi b/doc/nano.texi @@ -8,8 +8,8 @@ @smallbook @set EDITION 0.5 -@set VERSION 4.6 -@set UPDATED November 2019 +@set VERSION 4.7 +@set UPDATED December 2019 @dircategory Editors @direntry @@ -23,7 +23,7 @@ @titlepage @title GNU @command{nano} @subtitle a small and friendly text editor -@subtitle version 4.6 +@subtitle version 4.7 @author Chris Allegretta @page @@ -63,7 +63,7 @@ e-mail: @email{chrisa@@asty.org}@* @node Top @top -This manual documents the GNU @command{nano} editor, version 4.6. +This manual documents the GNU @command{nano} editor, version 4.7. @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 4.6" "November 2019" +.TH NANORC 5 "version 4.7" "December 2019" .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 4.6" "November 2019" +.TH RNANO 1 "version 4.7" "December 2019" .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="4.6" +VERSION="4.7" ./configure -C --enable-tiny && make && ./configure -C &&