[ANNOUNCE] nano-8.1 is released

Benno Schulenberg <[email protected]> Fri, 12 Jul 2024 12:21:48 +0200
Newsgroups gmane.org.fsf.announce
Message-ID <7fb6fba9-4783-4dff-a696-492c76ecf68e__14744.3275361852$1720791005$gmane$org@telfort.nl>
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.


GNU nano is a simple and easy-to-use editor for on the terminal.
   https://nano-editor.org/manual.html

A concise overview of nano's shortcut keystrokes:
   https://nano-editor.org/cheatsheet.html

The tarball and its signature are here:
   https://nano-editor.org/dist/v8/nano-8.1.tar.xz
   https://nano-editor.org/dist/v8/nano-8.1.tar.xz.asc


Specific issues that were addressed in this release:
   https://sv.gnu.org/bugs/?65676  (wrong feedback with --mini plus new file)
   https://sv.gnu.org/bugs/?65779  (option to list available syntaxes [wish])
   https://sv.gnu.org/bugs/?65781  (behavior for file:40:20 was inconsistent)

   https://sv.gnu.org/bugs/?65782  (--colonparsing could mangle a path)
   https://sv.gnu.org/bugs/?65810  (sniffing "e" broke Debian's editor symlink)
   https://sv.gnu.org/bugs/?65819  ({backup} could sidestep --restricted)

   https://sv.gnu.org/bugs/?65832  (a string bind choked on non-ASCII initial)
   https://sv.gnu.org/bugs/?65859  ({tab} did not indent marked region)
   https://sv.gnu.org/bugs/?65860  (--softwrap could misplace cursor)


Changes between v8.0 and v8.1:
------------------------------

Jaroslav Fowkes (1):
       syntax: fortran: fix a typo (a missing backslash)

Benno Schulenberg (57):
       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
       po: update translations and regenerate POT file and PO files
       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


-- 

Benno
OpenPGP_signature.asc (application/pgp-signature, 840 B)
-----BEGIN PGP SIGNATURE-----

wsF5BAABCAAjFiEEFo5vQpe/16ea/USWUUu+Lrjhlh8FAmaRA70FAwAAAAAACgkQUUu+Lrjhlh/M
WA/8Chpp0xsYnBR9L9bp+Lwx96YY9WKnXVXjx2EiJtNRB957MZ7BUPtH/IdGXHGOkXiGke7IDDfm
QfJ2SbSg1dL+eiHba4MuvK6UsaRII563fvTt9df/Vn54wt/Kgyba5XWjukes9E6Zoo0yzfd3c2BU
mYSrXGxHjvegztvGWMoyhBCJVzU4FS574sNRuRPgIce9kzMizn2lh0QFRedVubSzfmUJ9ae8tA/N
C6g3LJo7rc8Bb+bL5qgLVSqxO79y2vTOckrknyozmJ+O+bdgaAyzB1lb0ER//xEZqFQ1cHWZwXbg
Xc6i6LaBInBkzJ4Pj4hXqB4UN9maaHt2dYmiJmEl1YgZ/imVTEAIKiAXi2qgBHG0ROMPUPUYSuos
mA9a69gu1yrGiThojS5v+KpXygDZoGKH/lyVxhHbFWyafi5W+64Os10kxbbrx+IK0T+BvVknq8VE
oqTJe7jj3DmiuW7ym7xuQlaXQE5vq8hPh4VBGSzlbaDMz/1c2arCvTUDDsBSO6E+fTjcdUSrigbR
d6VO68wi1ZupXqYgwvaR/mAE6ZXKENyLQYQKXjWMfTRRTgaS9b7lbcnfsFpQbuSxOVc4yIZ8d+c7
L8FX6SsvxnhqAKK6UZ/vbbdpzYas0acK2BDE1oDxncAjQBua8dZk2IOk67AI7QWazM/0wL9aNl0H
cc8=
=EaGx
-----END PGP SIGNATURE-----