nano

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

commit 1057ca7a1650bb0f0994943e980cf103581b5702
parent 5550d15418f90f380f412dbaf56340ecbb01e676
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Sat,  2 Jun 2018 09:49:51 +0200

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

Diffstat:
MChangeLog | 85+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
MIMPROVEMENTS | 2++
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+-
9 files changed, 105 insertions(+), 9 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,88 @@ +Changes between v2.9.7 and v2.9.8: +---------------------------------- + +Benno Schulenberg (64): + build: fix compilation failure when configured with --enable-tiny + build: fix compilation when configured with --disable-justify + 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.8 release + copyright: update the years for significantly changed files + credits: sort the names roughly according to amount of influence + docs: add a missing double quote in the default brackets string + docs: describe what constitutes a paragraph + docs: improve description of 'speller' and related bindable functions + docs: improve the description of --nonewlines, and properly sort it + docs: improve the description of the --autoindent option + docs: make quotes around regexes bold, as they are part of the command + docs: mark the filtering of text through an external command as done + docs: register Marco as the author of the filtering feature + docs: remove mention of the quotestr for when regex support is lacking + docs: remove quotes around the name of a syntax -- they are not needed + docs: thank Kamil for his bug fixes, and update an email address + docs, usage: make it clear that the argument of --quotestr is a regex + files: give feedback during writeout also when prepending or appending + filtering: pair the cut and the insert, so they can be undone together + gnulib: update to its current upstream state + justification: find the beginning of a paragraph in a better way + justification: limit the amount of recursion to prevent a stack overflow + justification: recognize indented paragraphs also without --autoindent + justification: when leading whitespace exceeds fill width, wrap anyway + linter: don't try to access absent stat info, as that gives a crash + linter: make sure that the margin is updated before displaying a buffer + linter: make sure the shortcuts bar will redrawn when exiting early + main: add "/" to the quoting regex, to allow justifying //-comments + main: interpret only a double slash (//) as quoting, not a single one + rcfile: don't crash when a bind to a string lacks the closing quote + startup: provide a hint for people unfamiliar with the ^char convention + syntaxes: condense and/or correct some extension regexes + syntax: makefile: color all keywords that GNU make recognizes + tweaks: adjust a translator hint + tweaks: avoid an unused-variable warning with --enable-tiny + tweaks: avoid a warning with --enable-{tiny,help,multibuffer} + tweaks: condense a comment, and elide an unneeded 'if' + tweaks: condense some repetitious comments, and check before assigning + tweaks: condense two statements into one, and elide a 'break' + tweaks: elide a function that is called just once + tweaks: elide another function that is called just once + tweaks: exclude an unneeded 'if' from the single-buffer version + tweaks: frob a couple of comments + tweaks: frob some comments, and rename two parameters to make sense + tweaks: give some continuation lines a more obvious indentation + tweaks: improve a couple of comments, and reshuffle a group of lines + tweaks: make better use of an existing variable + tweaks: make better use of an intermediate variable + tweaks: reduce the abundance of the word 'toggle' in the Info manual + tweaks: remove a superfluous assignment -- the lead length never changes + tweaks: remove two superfluous checks, after making one of them so + tweaks: rename a function, for more aptness and extra contrast + tweaks: rename a variable, for contrast, and improve two comments + tweaks: rename a variable, to give it some meaning + tweaks: rename two variables, to better fit their tasks + tweaks: reshuffle a condition, and adjust a comment and some indentation + tweaks: reshuffle a couple of assignments + tweaks: simplify the determining of the prefix for justified lines + tweaks: stop decreasing both the iterator and the limit of a loop + tweaks: use a more meaningful variable name, and avoid a distant 'else' + wrapping: use "smart" autoindenting only when hard-wrapping is enabled + wrapping: when autoindenting, use indentation of next line as example + +Brand Huntsman (1): + tweaks: avoid two unused variable warnings when NLS is disabled + +Cristian Caloghera (1): + syntax: makefile: recognize also an all-lowercase makefile name + +David Lawrence Ramsey (3): + bindings: add the "flippipe" bindable function + tweaks: avoid an unused variable warning with --enable-tiny + tweaks: fix some grammar plus a typo in the comments + +Marco Diego Aurélio Mesquita (2): + linter: check all open buffers, instead of just the next one + new feature: allow piping (selected) text to an external command + + Changes between v2.9.6 and v2.9.7: ---------------------------------- diff --git a/IMPROVEMENTS b/IMPROVEMENTS @@ -2,6 +2,8 @@ Improvements in GNU nano ======================== Since 2.9.0: + - The ability to filter text through an external command. + - Better detection of paragraphs, allowing a less indented beginning. - Option 'set afterends' for making Ctrl+Right stop at word ends. - A crash handler that saves changed buffers in case of a crash. - Addition of the color name "normal", meaning the default color. diff --git a/NEWS b/NEWS @@ -1,3 +1,12 @@ +2018.06.02 - GNU nano 2.9.8 "Espresso" brings the ability to filter the + buffer (or the marked region) through an external command + (^R^X and prefix the command with the pipe symbol, "|"), is + better at detecting and maintaining paragraphs, is able to + justify //-style comments, fixes a crash when the binding + of a key to a string lacks a closing quote, gives feedback + about the number of lines written also when prepending or + appending, and fixes a couple of bugs with the linter. + 2018.05.15 - GNU nano 2.9.7 "Hvide Sande" adds the option '--afterends' for making Ctrl+Right (the nextword function) stop at word ends instead of beginnings, accepts multibyte letters for 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.7], [nano-devel@gnu.org], [nano]) +AC_INIT([GNU nano], [2.9.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 @@ -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.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>2.9.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 .\" <http://www.gnu.org/licenses/>. .\" -.TH NANO 1 "version 2.9.7" "May 2018" +.TH NANO 1 "version 2.9.8" "June 2018" .SH NAME nano \- Nano's ANOther editor, an enhanced free Pico clone diff --git a/doc/nano.texi b/doc/nano.texi @@ -8,8 +8,8 @@ @smallbook @set EDITION 0.5 -@set VERSION 2.9.7 -@set UPDATED May 2018 +@set VERSION 2.9.8 +@set UPDATED June 2018 @dircategory Editors @direntry @@ -23,7 +23,7 @@ @titlepage @title GNU @command{nano} @subtitle a small and friendly text editor -@subtitle version 2.9.7 +@subtitle version 2.9.8 @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.7. +This manual documents the GNU @command{nano} editor, version 2.9.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 .\" <http://www.gnu.org/licenses/>. .\" -.TH NANORC 5 "version 2.9.7" "May 2018" +.TH NANORC 5 "version 2.9.8" "June 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.7" "May 2018" +.TH RNANO 1 "version 2.9.8" "June 2018" .SH NAME rnano \- a restricted nano