nano

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

commit fe39d137c7aa6012351567715aae5fa866156680
parent ade975891b3c0d0a3882f37ce8c2623eb5fc4a32
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Fri, 12 Jul 2024 10:44:18 +0200

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

Diffstat:
MChangeLog | 65+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
MIMPROVEMENTS | 3++-
MNEWS | 10++++++++++
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+-
11 files changed, 88 insertions(+), 12 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,68 @@ +Changes between v8.0 and v8.1: +------------------------------ + +Benno Schulenberg (56): + bindings: let ^L put the cursor line at center, then top, then bottom + build: check for the correct function in an #ifdef + build: require version 0.20 of gettext for building nano from git + build: use the standard `autoreconf` invocation + bump version numbers and add a news item for the 8.1 release + docs: add 'set colonparsing' to the sample nanorc + docs: add the Alt+Home/Alt+End shortcuts to the cheatsheet + docs: avert hyphenation of the technical words "ncurses" and "terminfo" + docs: correct the description of --bold, as function tags are unaffected + docs: document the new --listsyntaxes (-z) option + docs: don't say any more that -z was removed, as it has been repurposed + docs: explain the behavior of the new function `cycle` + docs: explain the details of --colonparsing / -@ / 'set colonparsing' + docs: extend the FAQ item about urxvt modified keys, with M-Home/M-End + docs: properly escape a literal '@' in the texi document + docs: remove the 'filename:linenumber' format from the synopsis + files: avoid mistakenly setting the column number to a given line number + files: look for digits and colons starting from the end of the filename + files: when a filename with a colon and digits exists, open that file + files: with --rectrict, prevent invoking the browser and toggling backups + general: disable the type-ahead checking that ncurses normally does + gnulib: update to its current upstream state + help: regroup the `center` item, placing it with the new `cycle` + help: show option -Y/--syntax in --help output also in restricted mode + input: drop recognition of the urxvt escape sequences for M-Home/M-End + input: make sure that a string-bind return value is non-negative + input: provide for urxvt setting a high bit or sending an extra escape + input: recognize the raw Xterm escape sequences for Alt+Home and Alt+End + minibar: do not falsely report that a new, empty file is in Mac format + moving: use edit_scroll() only when scrolling one row is enough + new feature: add bindable function `cycle` that pushes cursor line around + new feature: option -z lists the names of available syntaxes + options: remove the deprecated synonym -$ of -S/--softwrap + options: require --colonparsing/-@ to parse colon+number after a filename + rcfile: remove old bindable function 'nowrap', alias of 'breaklonglines' + startup: do not activate --modernbindings when name starts with "e" + syntaxes: mention the original author of most of the syntax files + syntax: man: colorize some of the things that manipulate hyphenation + syntax: patch: recognize also the .rej extension + text: do not check for <Tab> + mark while getting input but in do_tab() + tweaks: add a space after a '+', for consistent formatting + tweaks: discard a bracketed paste in the help viewer with fewer beeps + tweaks: drop two redundant conditions + tweaks: elide unhelpful occurrences of the word "will" + tweaks: exclude the colon-parsing code from the tiny version + tweaks: extend the deprecation period of 'set nowrap' and prefix 'bright' + tweaks: implement do_center() with a single call instead of three + tweaks: in FAQ, use 'id' attribute instead of empty anchor with 'name' + tweaks: make a comment more accurate, and unabbreviate a variable name + tweaks: make the inclusion condition for do_center() more strict + tweaks: remove the now unneeded special keycode INDENT_KEY + tweaks: reshuffle a declaration, adjust a comment, normalize indentation + tweaks: reshuffle some lines, to put vaguely related things together + tweaks: rewrap some lines, for more even lengths + tweaks: simplify a condition, to match the same condition five lines back + tweaks: slightly reword a phrase in the explanation of --colonparsing + +Jaroslav Fowkes (1): + syntax: fortran: fix a typo (a missing backslash) + + Changes between v7.2 and v8.0: ------------------------------ diff --git a/IMPROVEMENTS b/IMPROVEMENTS @@ -7,7 +7,8 @@ Since 8.0: ^Z undo, ^Y redo, ^O open a file, and ^G find again, among others. - M-Home/M-End put the cursor on the first/last row in the viewport. - With `nano filename:number` the given file will be opened with the - cursor on the given line number. + cursor on the given line number (when 'set colonparsing' is used). + - Option --listsyntaxes lists the names of available syntaxes. Since 7.0: - String binds may contain bindable function names between braces. diff --git a/NEWS b/NEWS @@ -1,3 +1,13 @@ +2024.07.12 - GNU nano 8.1 "de dag van de bitterkoekjespudding" +• The idiom `nano filename:linenumber` is understood only when the + option --colonparsing (or 'set colonparsing') is used. +• Modern bindings are *not* activated when nano's invocation name + starts with "e", as it jars with Debian's alternatives system. +• New bindable function 'cycle' first centers the current row, + then moves it to the top of the viewport, then to the bottom. + It is bound by default to ^L. +• Option --listsyntaxes/-z lists the names of available syntaxes. + 2024.05.01 - GNU nano 8.0 "Grus grus" • By default ^F is bound to starting a forward search, and ^B to starting a backward search, while M-F and M-B repeat the search 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 8.0 filename Modified | + | GNU nano 8.1 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], [8.0], [nano-devel@gnu.org], [nano]) +AC_INIT([GNU nano], [8.1], [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 id="1.3">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 id="1.4">1.4. What is the current version of nano?</h3> -<blockquote><p>The current version of nano <i>should</i> be <b>8.0</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>8.1</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 id="1.5">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 8.0" "May 2024" +.TH NANO 1 "version 8.1" "July 2024" .SH NAME nano \- Nano's ANOther text 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.8 -@set VERSION 8.0 -@set UPDATED May 2024 +@set VERSION 8.1 +@set UPDATED July 2024 @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 8.0 +@subtitle version 8.1 @author Chris Allegretta @@ -79,7 +79,7 @@ For suggesting improvements: @email{nano-devel@@gnu.org} @node Top @top -This manual documents GNU @command{nano}, version 8.0. +This manual documents GNU @command{nano}, version 8.1. @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 8.0" "May 2024" +.TH NANORC 5 "version 8.1" "July 2024" .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 8.0" "May 2024" +.TH RNANO 1 "version 8.1" "July 2024" .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="8.0" +VERSION="8.1" ./configure -C --enable-tiny && make && ./configure -C &&