From fe39d137c7aa6012351567715aae5fa866156680 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Fri, 12 Jul 2024 10:44:18 +0200 Subject: [PATCH] bump version numbers and add a news item for the 8.1 release --- ChangeLog | 65 +++++++++++++++++++++++++++++++++++++++++++++++ IMPROVEMENTS | 3 ++- NEWS | 10 ++++++++ README | 2 +- configure.ac | 2 +- doc/faq.html | 2 +- doc/nano.1 | 2 +- doc/nano.texi | 8 +++--- doc/nanorc.5 | 2 +- doc/rnano.1 | 2 +- roll-a-release.sh | 2 +- 11 files changed, 88 insertions(+), 12 deletions(-) diff --git a/ChangeLog b/ChangeLog index 20d85b1f..5c82b598 100644 --- 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 + 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 index dd75af55..685f0011 100644 --- 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 index 2fc5f7cd..83e5542c 100644 --- 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 index b8f6f8bf..769f47ad 100644 --- 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 index 720826cf..d67eae2f 100644 --- 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 index da764a29..3502b1eb 100644 --- a/doc/faq.html +++ b/doc/faq.html @@ -92,7 +92,7 @@

1.3. Why the name change from TIP?

On January 10, 2000, TIP was officially renamed to nano because of a namespace conflict with another program called 'tip'. The original 'tip' program "establishes a full duplex terminal connection to a remote host", 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).

1.4. What is the current version of nano?

-

The current version of nano should be 8.0. Of course, you should always check the nano homepage to see what the latest and greatest version is.

+

The current version of nano should be 8.1. Of course, you should always check the nano homepage to see what the latest and greatest version is.

1.5. I want to read the man page without having to download the program!

Jeez, demanding, aren't we? Okay, look here.


diff --git a/doc/nano.1 b/doc/nano.1 index 147ab18f..dcbedf62 100644 --- a/doc/nano.1 +++ b/doc/nano.1 @@ -16,7 +16,7 @@ .\" Documentation License along with this program. If not, see .\" . .\" -.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 index 11becf2d..18a39d6a 100644 --- 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 index af3f1479..5ca96c9e 100644 --- a/doc/nanorc.5 +++ b/doc/nanorc.5 @@ -16,7 +16,7 @@ .\" Documentation License along with this program. If not, see .\" . .\" -.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 index 69c188b0..36ac5704 100644 --- a/doc/rnano.1 +++ b/doc/rnano.1 @@ -16,7 +16,7 @@ .\" Documentation License along with this program. If not, see .\" . .\" -.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 index 1640cfee..e219cfd3 100755 --- 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 &&