From 737f4057fb83e78b1caf0df83926f58d1d4d3c7f Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Thu, 12 Jun 2025 09:07:05 +0200 Subject: [PATCH] bump version numbers and add a news item for the 8.5 release --- ChangeLog | 53 +++++++++++++++++++++++++++++++++++++++++++++++ IMPROVEMENTS | 2 ++ NEWS | 8 +++++++ 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, 74 insertions(+), 11 deletions(-) diff --git a/ChangeLog b/ChangeLog index 140905d1..7def3825 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,56 @@ +Changes between v8.4 and v8.5: +------------------------------ + +Benno Schulenberg (44): + anchor: change the aspect of any anchor to a dagger (†) + bindings: always bind ^Q in the WriteOut menu, not only for --saveonexit + bindings: do not list ^L twice (in main help text and help lines) + bindings: let ^L just center the cursor, not cycle it -- let M-% cycle it + bindings: lowercase an ASCII character in a locale-proof manner + build: fix compilation for config with --enable-tiny --enable-histories + build: fix compilation when configured with --disable-histories + build: fix compilation when configured with --disable-utf8 + build: swap two linker arguments, to enable compilation on Cygwin + bump version numbers and add a news item for the 8.5 release + docs: add a suggested key combo for wiping all anchors to sample nanorc + docs: in cheatsheet, equalize the spacing in three consecutive blocks + docs: mention that --positionlog also saves the positions of anchors + docs: reword the descriptions of --operatingdir and 'set operatingdir' + feedback: change the appearance of anchors when they will be saved + feedback: change the level of a certain message, to show it is special + feedback: report the setting and removing of an anchor just once + feedback: show in mini bar the presence of an anchor on the cursor line + feedback: suppress "Jumped to anchor" when line numbers are active + feedback: suppress "Removed anchor" when the mini bar is hidden + gnulib: pull in the fix for a cross-compilation failure + gnulib: update to its current upstream state + history: always save the last cursor position, also for line=1,column=1 + history: always save the positions of any anchors + history: reverse the order in the file-positions list, to latest first + menus: reshuffle an item, to avoid truncating its help-line label + moving: make cycling (M-%) independent from centering (^L) + new feature: exit with an error status (2) for ^X^Q and ^O^Q + new feature: save and restore anchors when the first line has an anchor + options: accept --whitespacedisplay and 'set whitespacedisplay' + syntax: default: show hard spaces with a lightgrey background + syntaxes: add a license line to files that were created by Mike Frysinger + syntaxes: use character classes instead of range expressions + tweaks: avoid using toupper() and tolower() where easily possible + tweaks: elide an auxiliary variable that is no longer needed + tweaks: elide the unneeded passing around of three parameters + tweaks: elide the unneeded use of an auxiliary function + tweaks: in the browser, implement M-\ and M-/ in a slightly denser way + tweaks: properly tag some keywords in texi doc, instead of using quotes + tweaks: random unimportant edits here and there + tweaks: rename 'use_utf8' to 'using_utf8', and make it a global variable + tweaks: shorten a URL, and update it to use https + tweaks: use reallocations, instead of new allocations plus frees + tweaks: use the correct modifier, to avoid a warning on 32-bit machines + +Peter Michaux (1): + build: add the 'm4/host-cpu-c-abi.m4' file to .gitignore + + Changes between v8.3 and v8.4: ------------------------------ diff --git a/IMPROVEMENTS b/IMPROVEMENTS index 685f0011..a5fabd39 100644 --- a/IMPROVEMENTS +++ b/IMPROVEMENTS @@ -9,6 +9,8 @@ Since 8.0: - With `nano filename:number` the given file will be opened with the cursor on the given line number (when 'set colonparsing' is used). - Option --listsyntaxes lists the names of available syntaxes. + - Anchors are saved and restored (when --positionlog is active). + - Key combos ^O^Q and ^X^Q cause an exit status of 2. Since 7.0: - String binds may contain bindable function names between braces. diff --git a/NEWS b/NEWS index 698ecb58..26595d16 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,11 @@ +2025.06.12 - GNU nano 8.5 "" +• Anchors are now saved when a file is closed, and restored when + the file is reopened -- if and when --positionlog is active. +• Nano exits with an error status upon keystrokes ^O^Q and ^X^Q. +• Keystroke ^L just centers the cursor, while M-% cycles it. +• Option --whitespace is accepted, but left undocumented. +• Syntax coloring now works correctly in more locales. + 2025.04.02 - GNU nano 8.4 "Five Miles Out" • Bracketed pastes over a slow connection are more reliable. • Tabs in an external paste at a prompt are not dropped. diff --git a/README b/README index 08c04c9d..072f49fc 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.4 filename Modified | + | GNU nano 8.5 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 a08b7937..813c2d61 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.4], [nano-devel@gnu.org], [nano]) +AC_INIT([GNU nano], [8.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 index 0a61d86e..761d711c 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.4. 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.5. 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 0d15ce6f..bb185bad 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.4" "April 2025" +.TH NANO 1 "version 8.5" "June 2025" .SH NAME nano \- Nano's ANOther text editor, inspired by Pico diff --git a/doc/nano.texi b/doc/nano.texi index 761ab6d0..9bfe049e 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.4 -@set UPDATED April 2025 +@set VERSION 8.5 +@set UPDATED June 2025 @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.4 +@subtitle version 8.5 @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.4. +This manual documents GNU @command{nano}, version 8.5. @menu * Introduction:: diff --git a/doc/nanorc.5 b/doc/nanorc.5 index b0ec8e02..d73de26f 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.4" "April 2025" +.TH NANORC 5 "version 8.5" "June 2025" .SH NAME nanorc \- GNU nano's configuration file diff --git a/doc/rnano.1 b/doc/rnano.1 index 8f6d4463..3d195679 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.4" "April 2025" +.TH RNANO 1 "version 8.5" "June 2025" .SH NAME rnano \- a restricted nano diff --git a/roll-a-release.sh b/roll-a-release.sh index d97b3b8e..b8e79e9e 100755 --- a/roll-a-release.sh +++ b/roll-a-release.sh @@ -1,6 +1,6 @@ #!/bin/bash -VERSION="8.4" +VERSION="8.5" ./configure -C --enable-tiny && make && ./configure -C &&