nano

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

commit 27eccbec237f7bb9ac84720c272aa786e360808a
parent 0bce5ba4d981311c0a98b2e1509cac92993fd47d
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Wed, 28 Mar 2018 15:05:32 +0200

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

Diffstat:
MChangeLog | 60++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
MIMPROVEMENTS | 1+
MNEWS | 14++++++++++++++
Mconfigure.ac | 2+-
Mdoc/faq.html | 2+-
Mdoc/nano.1 | 2+-
Mdoc/nano.texi | 6+++---
Mdoc/nanorc.5 | 2+-
Mdoc/rnano.1 | 2+-
9 files changed, 83 insertions(+), 8 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,63 @@ +Changes between v2.9.4 and v2.9.5: +---------------------------------- + +Benno Schulenberg (45): + build: exclude more things when configured with --disable-multibuffer + build: fix compilation again when configured with --enable-tiny + build: fix compilation when configured with --disable-multibuffer + build: fix compilation with --enable-{tiny,help,multibuffer} + bump version numbers and add a news item for the 2.9.5 release + cut: avoid calling renumber() on what might be NULL + docs: clarify how the Linux console is deficient: in the arrow keys + docs: clarify what the scrollup and scrolldown bindable functions do + docs: document the newly added color name "normal" + docs: mention in the FAQ that <Shift+Insert> pastes from the clipboard + files: prevent an infinite loop when reading from standard input fails + files: prevent the undo of reading a file into a new buffer + help: describe the Scroll-Up and Scroll-Down commands more precisely + help: do not reserve space for line numbers, as they are absent + linting: drop messages for other files when configured for one buffer + memory: plug a leak, by actually freeing a discarded undo struct + scrolling: first move the cursor before pushing current chunk offscreen + scrolling: let Scroll-Up/Down keep the cursor in the same text position + selecting: don't cancel a softmark when just scrolling the screen + small addition: understand color name "normal" to mean the default color + syntax: sh: color also the 'cut', 'head', 'tail', and 'sort' commands + syntax: sh: color options distinctively, and color also long options + syntax: sh: uncolor "tar" when it's part of a filename + tweaks: adjust a couple of types, to reduce the number of warnings + tweaks: adjust or correct some comments, and rename a function + tweaks: adjust the indentation after the previous changes + tweaks: bundle some settings for a new buffer + tweaks: change a parameter of open_buffer() and invert its logic + tweaks: condense some code, to remove a bit of duplication + tweaks: drop a handful of unhelpful asserts + tweaks: elide an unneeded and shadowing variable + tweaks: elide a parameter, as it's always the inverse of another + tweaks: elide a parameter that is always 1 + tweaks: elide two parameters and thus a pair of wrapper functions + tweaks: factor out the check for 'viewok' into its own function + tweaks: fix a typo and adjust some wording and formatting in the FAQ + tweaks: frob some comments plus miscellaneous other stuff + tweaks: fuse two ifs into one + tweaks: move an 'if' and then remove an unneeded label + tweaks: reduce the font size of the questions in the FAQ + tweaks: remove an inconsistent space from two pointer declarations + tweaks: remove unneeded settings and unsettings of MULTIBUFFER + tweaks: reshuffle some movement code, to reduce the number of conditions + tweaks: revert commit c88a2fd9 -- the extra variable is needed + tweaks: rewrap and amend some lines in the NEWS file + +David Lawrence Ramsey (1): + tweaks: correct several parameter types + +Kamil Dudka (1): + input: do not crash if sctofunc() returns NULL + +Liu Hao (1): + build: fix compilation error when configured with --disable-justify + + Changes between v2.9.3 and v2.9.4: ---------------------------------- diff --git a/IMPROVEMENTS b/IMPROVEMENTS @@ -2,6 +2,7 @@ Improvements in GNU nano ======================== Since 2.9.0: + - Addition of the color name "normal", meaning the default color. - A key can be bound to a string -- any mix of text and commands. - Error messages are shown by default in bright white on red. - <Tab> and <Shift+Tab> can be used to indent/unindent a marked region. diff --git a/NEWS b/NEWS @@ -1,3 +1,17 @@ +2018.03.29 - GNU nano 2.9.5 "Kiša pada" changes the way the Scroll-Up + and Scroll-Down commands work (M-- and M-+): instead of + keeping the cursor in the same screen position they now + keep the cursor in the same text position (if possible). + This version further adds a new color name, "normal", + which gives the default foreground or background color, + which is useful when you want to undo some overzealous + painting by earlier syntax regexes. Bug fixes include: + a segfault when trying to insert a file in restricted + mode, the reading in of a new file being "undoable", a + slight miswrapping of help texts when --linenumbers was + used, and the shell syntax coloring the word "tar" in + file names. + 2018.03.08 - GNU nano 2.9.4 "Isabel" allows binding a key to a string (any piece of text and/or commands), permits customizing the color of error messages with 'set errorcolor', colors 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 http://www.gnu.org/licenses/. -AC_INIT([GNU nano], [2.9.4], [nano-devel@gnu.org], [nano]) +AC_INIT([GNU nano], [2.9.5], [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 @@ -91,7 +91,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>2.9.4</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>2.9.5</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 .\" <http://www.gnu.org/licenses/>. .\" -.TH NANO 1 "version 2.9.4" "March 2018" +.TH NANO 1 "version 2.9.5" "March 2018" .SH NAME nano \- Nano's ANOther editor, an enhanced free Pico clone diff --git a/doc/nano.texi b/doc/nano.texi @@ -8,7 +8,7 @@ @smallbook @set EDITION 0.5 -@set VERSION 2.9.4 +@set VERSION 2.9.5 @set UPDATED March 2018 @dircategory Editors @@ -23,7 +23,7 @@ @titlepage @title GNU @command{nano} @subtitle a small and friendly text editor -@subtitle version 2.9.4 +@subtitle version 2.9.5 @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 2.9.4. +This manual documents the GNU @command{nano} editor, version 2.9.5. @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 .\" <http://www.gnu.org/licenses/>. .\" -.TH NANORC 5 "version 2.9.4" "March 2018" +.TH NANORC 5 "version 2.9.5" "March 2018" .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 .\" <http://www.gnu.org/licenses/>. .\" -.TH RNANO 1 "version 2.9.4" "March 2018" +.TH RNANO 1 "version 2.9.5" "March 2018" .SH NAME rnano \- a restricted nano