nano

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

commit a2cb22faab24d8f6295f9aa9fcaab43284982e4e
parent 9f8309fba8fbb7170d2825c685f45bc2dd5e4a0f
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Tue, 15 Jun 2021 09:49:18 +0200

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

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

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,65 @@ +Changes between v5.7 and v5.8: +------------------------------ + +Benno Schulenberg (53): + bindings: show either "^/" or "^-" in the help lines, instead of "^_" + bump version numbers and add a news item for the 5.8 release + display: when a message gets overwritten, note that it is cleared + docs: add a relevant item to the news for the 4.3 release + docs: add example bindings for uppercasing and lowercasing a word + docs: improve the contact info and some line spacing in the PDF + docs: make ^E access the Execute menu in the example CUA bindings + docs: mention that "grey"/"gray" may be used as a synonym of "lightblack" + docs: mention the new 'set minicolor' option + docs: say thanks to the Icelandic and Slovak translators + feedback: ensure that the reporting of DOS/Mac format is truthful + gnulib: update to its current upstream state + help: use smaller triangles for the arrows + linter: block the resizing signal while reading output from the linter + linter: strip filename and line plus column number from the message + memory: move the correct number of bytes, and not one too many + memory: prevent a leak when copying the leading quoting to the next line + minibar: stay out of sight when the terminal has just one row + options: accept 'set minicolor' for setting the color of the minibar + rcfile: allow using "grey" or "gray" as a synonym for "lightblack" + rcfile: do not allow color name "normal" to have a prefix + replacing: report the number of replacements also on a one-row terminal + search: automatically drop the spotlighting after a few moments + search: show "This is the only occurrence" also on a one-row terminal + startup: allow using a bare "+" to mean put-cursor-on-last-line + startup: do not accept stray characters after a "+" on the command line + startup: skip drawing edit window when having message on one-row terminal + startup: suppress "Search Wrapped" when using +? to search from EOF + statusbar: ensure that "No further matches" does not get overwritten + statusbar: on a one-row terminal, drop light messages after a few moments + statusbar: suppress --constantshow when the terminal has just one row + statusbar: suppress the cursor when the terminal has just one row + syntax: nanohelp: avoid colorizing M-) in (M-) and M-" in "M-" + syntax: nanorc: colorize "light" as valid only for the eight basic colors + syntax: nanorc: colorize literal control codes, to make them stand out + syntax: php: colorize the full short tag for echo (<?=) + tweaks: avoid the subtraction of two size_t variables becoming negative + tweaks: condense and correct a comment, and move another + tweaks: condense some code by putting all color names in a single array + tweaks: drop an assignment that is already part of the called function + tweaks: frob some whitespace, and rewrap a line + tweaks: improve a comment, remove unneeded braces, reshuffle some lines + tweaks: normalize the indentation after the previous change + tweaks: prevent two more size_t subtractions from going negative + tweaks: redraw only the affected line instead of doing a full refresh + tweaks: remove a check that has become superfluous + tweaks: remove a check that is not needed + tweaks: rename a variable, for contrast with the function name + tweaks: rename two functions, to get rid of an ugly _void suffix + tweaks: reshuffle the coloring of color names, to remove some duplication + tweaks: use a symbol instead of a hard-coded number + tweaks: use two symbolic names instead of TRUE and FALSE, for clarity + wrapping: when copying the quoting part, adjust the file size accordingly + +Hussam al-Homsi (1): + bindings: allow copying text (with M-6) also when in view mode + + Changes between v5.6.1 and v5.7: -------------------------------- diff --git a/NEWS b/NEWS @@ -1,3 +1,12 @@ +2021.06.15 - GNU nano 5.8 "Why is it necessary to be special?" +• After a search, the spotlighting is dropped after 1.5 seconds (0.8 + seconds with --quick) to avoid the idea that the text is selected. +• A + and a space before a filename on the command line will put the + cursor at the end of the corresponding buffer. +• Linter messages no longer include filename and line/column numbers. +• Color name "grey" or "gray" can be used instead of "lightblack". +• The color of the minibar can be chosen with 'set minicolor'. + 2021.04.29 - GNU nano 5.7 "Toți ceilalți arau câmpurile" • The output of --constantshow (without --minibar) is more stable. • When opening multiple buffers and there is an error message, this 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], [5.7], [nano-devel@gnu.org], [nano]) +AC_INIT([GNU nano], [5.8], [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 @@ -89,7 +89,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>5.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> +<blockquote><p>The current version of nano <i>should</i> be <b>5.8</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 5.7" "April 2021" +.TH NANO 1 "version 5.8" "June 2021" .SH NAME nano \- Nano's ANOther editor, inspired by Pico diff --git a/doc/nano.texi b/doc/nano.texi @@ -7,9 +7,9 @@ @documentencoding UTF-8 @smallbook -@set EDITION 0.5 -@set VERSION 5.7 -@set UPDATED April 2021 +@set EDITION 0.6 +@set VERSION 5.8 +@set UPDATED June 2021 @dircategory Editors @direntry @@ -23,7 +23,7 @@ @titlepage @title GNU @command{nano} @subtitle a small and friendly text editor -@subtitle version 5.7 +@subtitle version 5.8 @author Chris Allegretta @page @@ -65,7 +65,7 @@ For suggesting improvements: @email{nano-devel@@gnu.org}@* @node Top @top -This manual documents the GNU @command{nano} editor, version 5.7. +This manual documents the GNU @command{nano} editor, version 5.8. @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 5.7 "April 2021" +.TH NANORC 5 "version 5.8 "June 2021" .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 5.7" "April 2021" +.TH RNANO 1 "version 5.8" "June 2021" .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="5.7" +VERSION="5.8" ./configure -C --enable-tiny && make && ./configure -C &&