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

This commit is contained in:
Benno Schulenberg
2026-06-22 08:27:06 +02:00
parent 982bca3bd3
commit 21d5d8707f
10 changed files with 127 additions and 11 deletions

105
ChangeLog
View File

@@ -1,3 +1,108 @@
Changes between v9.0 and v9.1:
------------------------------
Benno Schulenberg (83):
build: fix compilation when configured with --enable-tiny
bump version numbers and add a news item for the 9.1 release
docs: add an `xclip` example binding for copying text to system clipboard
docs: fix a typo made a month ago, in commit 269b96b7
docs: italicize 'nanorc' in the rnano manpage, like in the other manpages
docs: mention that M-Ins and M-Del are valid keynames
docs: more precisely describe what --restricted forbids and allows
docs: move the notices in the main man page to after the description
docs: prevent highlighted words in the man pages from getting hyphenated
docs: prevent some keywords and compound keywords from getting hyphenated
docs: remove all mention of the old Mac file format
docs: remove the description of the `flipgoto` toggle
docs: replace the e.g. and i.e. abbreviations with plain English words
docs: reword a description to make it clearer what typeface applies
docs: use curly double quotes when scare quotes are meant
files: allow editing a file named ~ (a lone tilde)
files: always make a backup when the WriteOut prompt says "[Backup]"
files: do not call chmod() and chown() on a .save emergency file
files: don't bother updating notes when closing the buffer right after
files: drop an unneeded call of real_dir_from_tilde()
files: for a backup, use the full timestamp, not just the seconds
files: make get_full_path() work properly also for nonexistent files
files: remove the code for reading and writing old Mac files
files: report an error when the given filename ends in a slash
files: use the correct timestamp for the backup file
gnulib: update to its current upstream state
help: further improve and modernize the Spellcheck help text
help: remember, clear, and restore the value of 'spotlighted'
help: reshuffle the Backup toggle, to keep Append and Prepend paired
help: unabbreviate three words, in three different help items
help: use a better word in the Spellcheck help text
history: don't leave NUL bytes in the string of anchors
linting: properly check for a negative return value from read()
menus: remove the ^T toggle between the Where-Is and Go-To-Line menus
rcfile: allow rebinding M-Ins and M-Del
search: place the viewport flush left when a match easily fits within it
spelling: properly check for a negative return value from read()
syntax: c: add several missing C++23 keywords
syntax: c: colorize hexadecimal and binary numbers, and boolean constants
syntax: default: colorize the release motto for the 9.* series too
syntax: lua: add new keywords and drop long-deprecated ones
syntax: lua: colorize also multiline strings
syntax: lua: colorize also various backslash escapes specially
syntax: man: colorize also the \[xx] special-character syntax
tweaks: adjust the suggested max help-item length in six translator hints
tweaks: adjust two translator hints and add two after the previous change
tweaks: avoid miscompilation on macOS, where 'st_atim' is unknown
tweaks: check calls of stat() for success instead of for not-failure
tweaks: compare two syntaxes directly, instead of comparing their names
tweaks: condense a comment, rename a function, and reshuffle four lines
tweaks: don't use index 0 when no higher indexes are used
tweaks: drop an inconsistent space before a closing parenthesis
tweaks: drop most `!= '\0'` comparisons
tweaks: drop most `!= NULL` comparisons
tweaks: elide an unneeded parameter, and improve the related comment
tweaks: elide a parameter from write_file() and write_region_to_file()
tweaks: fold two fragments of code together
tweaks: harmonize checking the exit status of a child process
tweaks: harmonize seven more error checks with similar ones
tweaks: harmonize the form of five error messages
tweaks: harmonize the form of two error messages with two others
tweaks: harmonize three error checks with those of similar calls
tweaks: improve a comment, add one, and move one
tweaks: in the C syntax, gather all type specifiers into one regex
tweaks: just check for negativeness instead of for exactly minus one
tweaks: make three different error messages identical to an existing one
tweaks: modernize a URL
tweaks: move a condition out of a function, to avoid unneeded calls
tweaks: move a function, improve three comments, and rename a parameter
tweaks: move two assignments to where they are used
tweaks: normalize the indentation after the previous change
tweaks: remove a fragment of code that is redundant since previous commit
tweaks: rename a few variables, to harmonize with the general scheme
tweaks: rename a function, to better describe what it does
tweaks: rename a variable, for aptness, and remove unneeded braces
tweaks: rename three variables, to be more descriptive
tweaks: reshuffle and adjust a comment while dropping an unneeded 'else'
tweaks: reshuffle two lines of code, to avoid a memory leak
tweaks: shorten four conditions, clarify a fifth, and improve a comment
tweaks: slightly adjust two wordings in the main man page
tweaks: slightly improve a sentence in the nanorc manpage
tweaks: swap the two arms of an 'if', to have the positive case first
tweaks: unwrap some seventy lines that don't need to be wrapped
G. Branden Robinson (11):
docs: consistently set file names in italics
docs: consistently use minus sign for M- notation
docs: favor the `\[ti]` special character over a literal `~`
docs: fix three unescaped hyphens before option names
docs: more consistently set nano's name in bold
docs: set "foreign" software in italics, not bold
docs: style function names with bold, not backticks
docs: swap the left and middle footer of the man pages
docs: sync rnano's synopsis markup with nano's
docs: use a better word in the description of the 'locking' option
docs: use groff-style special-character syntax: \[xx] instead of \(xx
Vincent Yang (1):
syntax: c: add new C23 keywords and preprocessor directives
Changes between v8.7 and v9.0:
------------------------------

11
NEWS
View File

@@ -1,3 +1,14 @@
2026.96.23 - GNU nano 9.1 "met een hongerig paard aan ons been"
• When searching, the viewport is placed snug left where possible.
• The ability to read and write files in old Mac format was removed
(that is: files that use a lone carriage return as line ending).
• The ^T toggle between WhereIs and GotoLine has been dropped.
• When --backup is active, in some situations no backup was made,
or it had a wrong timestamp. Both issues are fixed now.
• When nano crashes or is killed, any .save file is not chmodded
to the permissions of the base file, nor chowned to its owner.
• M-Ins and M-Del have become rebindable.
2026.04.08 - GNU nano 9.0 "Le bonheur est dans le pré"
• When the cursor almost goes offscreen to the right, all lines are
now scrolled sideways together, by just the amount needed to keep

2
README
View File

@@ -15,7 +15,7 @@ Appearance
In rough ASCII graphics, this is what nano's screen looks like:
____________________________________________________________________
| GNU nano 9.0 filename Modified |
| GNU nano 9.1 filename Modified |
--------------------------------------------------------------------
| This is the text window, displaying the contents of a 'buffer', |
| the contents of the file you are editing. |

View File

@@ -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], [9.0], [nano-devel@gnu.org], [nano])
AC_INIT([GNU nano], [9.1], [nano-devel@gnu.org], [nano])
AC_CONFIG_SRCDIR([src/nano.c])
AC_CANONICAL_HOST
AM_INIT_AUTOMAKE([1.14])

View File

@@ -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>9.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>9.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%">

View File

@@ -16,7 +16,7 @@
.\" Documentation License along with this program. If not, see
.\" <https://www.gnu.org/licenses/>.
.\"
.TH NANO 1 "April 2026" "GNU nano 9.0"
.TH NANO 1 "June 2026" "GNU nano 9.1"
.SH NAME
nano \- Nano's ANOther text editor, inspired by Pico

View File

@@ -13,8 +13,8 @@ The complete manual for the GNU nano text editor.
@smallbook
@set EDITION 0.9
@set VERSION 9.0
@set UPDATED April 2026
@set VERSION 9.1
@set UPDATED June 2026
@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 9.0
@subtitle version 9.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 9.0.
This manual documents GNU @command{nano}, version 9.1.
@menu
* Introduction::

View File

@@ -16,7 +16,7 @@
.\" Documentation License along with this program. If not, see
.\" <https://www.gnu.org/licenses/>.
.\"
.TH NANORC 5 "April 2026" "GNU nano 9.0"
.TH NANORC 5 "June 2026" "GNU nano 9.1"
.SH NAME
nanorc \- GNU nano's configuration file

View File

@@ -16,7 +16,7 @@
.\" Documentation License along with this program. If not, see
.\" <https://www.gnu.org/licenses/>.
.\"
.TH RNANO 1 "April 2026" "GNU nano 9.0"
.TH RNANO 1 "June 2026" "GNU nano 9.1"
.SH NAME
rnano \- a restricted nano

View File

@@ -1,6 +1,6 @@
#!/bin/bash
VERSION="9.0"
VERSION="9.1"
./configure -C --enable-tiny && make && ./configure -C &&