info-nano
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Info-nano] [ANNOUNCE] nano-5.9 is released


From: Benno Schulenberg
Subject: [Info-nano] [ANNOUNCE] nano-5.9 is released
Date: Wed, 6 Oct 2021 11:17:29 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

2021.10.06 - GNU nano 5.9  "El manicomio ha decidido: mañana sol!"

• The extension of a filename is added to the name of a corresponding
  temporary file, so that spell checking a C file, for example, will
  check only the comments and strings (when using 'aspell').
• The process number is added to the name of an emergency save file,
  so that when multiple nanos die they will not fight over a filename.
• Undoing a cutting operation will restore an anchor that was located
  in the cut area to its original line.
• When using --locking, saving a new buffer will create a lock file.
• Syntax highlighting for YAML files has been added.


GNU nano is a simple and easy-to-use editor for on the terminal.
  https://nano-editor.org/
  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/v5/nano-5.9.tar.xz
  https://nano-editor.org/dist/v5/nano-5.9.tar.xz.asc

Some extra syntax files can be found at:
  https://nano-editor.org/more-syntaxes/


Specific issues that were addressed in this release:
  https://savannah.gnu.org/bugs/?60853  (dying on an unwritable file looped)
  https://savannah.gnu.org/bugs/?60868  (strange description of --positionlog)
  https://savannah.gnu.org/bugs/?60902  ("Out of curses" when two nanos died)
  https://savannah.gnu.org/bugs/?61056  (add extension to temp file  [wish])

  https://savannah.gnu.org/bugs/?61064  (hypothetical crash when prepending)
  https://savannah.gnu.org/bugs/?61146  (no lock file when saving new buffer)
  https://savannah.gnu.org/bugs/?61147  ("Someone else..." goes too quickly)
  https://savannah.gnu.org/bugs/?61162  (undoing a cut didn't restore anchors)

  https://savannah.gnu.org/bugs/?61234  (saving to a fifo gave error message)
  https://savannah.gnu.org/bugs/?61235  (with --backup, saving to a fifo hung)
  https://savannah.gnu.org/bugs/?61236  (prepending to a fifo hung)
  https://savannah.gnu.org/bugs/?61237  (killing nano could disable Ctrl+C)

  https://savannah.gnu.org/bugs/?61273  (^W^V did not work in file browser)
  https://savannah.gnu.org/bugs/?61274  (^W^V did not work in help viewer)


A plot of the number of bugs that were fixed in the last three years against
the version (or group of versions) in which they were introduced:

                     x
                     x
                     x
                     x
                     x         x
                     x         x
                     x         x
                     x         x                    x
                     x         x                    x
                     x         x                    x
                     x         x                    x
               x   x x         x                    x
               x   x x         x               x x  x
               x   x x         x     x         x x  x
         x     x x x x      x  x     x         x x  x
         x x   x x x x      x  x     x x       x x  x
         x x   x x x x  x   x  x     x x       x x  x
       x x x   x x x x  x   x  x     x x   x   x x  x           x
       x x x x x x x x  x   x  x x   x x   x   x x  x x   x   x x
   x x x x x x x x x x  x x x  x x   x x x x   x x  x x   x x x x x
   ------------------------------------------------------------------
   2 2 2 2 2 2 2 2 2 2  3 3 3  4 4 4 4 4 4 4 4 4 4  5 5 5 5 5 5 5 5 5
   0 1 2 3 4 5 6 7 8 9  0 1 2  0 1 2 3 4 5 6 7 8 9  0 1 2 3 4 5 6 7 8


Changes between v5.8 and v5.9:
------------------------------

Hussam al-Homsi (3):
      docs: correct the default value of the errorcolor option
      syntax: perl, ruby: remove arbitrary highlighting of here documents
      tweaks: change 'return ++var;' to 'return var + 1;'

David Michael (2):
      syntax: gentoo: highlight additional EAPI 7/8 variables
      syntax: gentoo: remove some obsolete keywords and add some new ones

Benno Schulenberg (89):
      browser: make the keystrokes ^W^Y and ^W^V work again
      build: ensure that mkstemps() is available by importing the gnulib module
      build: help Haiku find the header files that define mkstemps()
      bump version numbers and add a news item for the 5.9 release
      copyright: update to the current year for significantly changed files
      cutting: copy anchors into the cutbuffer, so that undo can restore them
      docs: add a paragraph at the start of the README about what nano is
      docs: add a simulated "screenshot" of nano to the README
      docs: add some details to the bug-reporting paragraph in the README
      docs: correct the descriptions of how to invoke the spell checker
      docs: don't use "light" after "bold", as the latter often implies "light"
      docs: improve the description of the spotlighting of a search match
      docs: improve the description of the 'tabstospaces' option
      docs: improve the descriptions of several bindable functions
      docs: improve the recipe in the FAQ for dealing with Alt+Up on a console
      docs: indent the paragraphs in the FAQ that list commands to be typed
      docs: list the default color combo for 'spotlightcolor' in sample nanorc
      docs: mention how to properly colorize all types in nano's source code
      docs: mention in the README which licenses cover nano's code and docs
      docs: move the notice in the main man page, to try and catch other eyes
      docs: refer to the FAQ when <Alt+Up> does nothing on a Linux console
      docs: replace a non-problem in the FAQ with something possibly useful
      docs: spell "filename" as a single word, like in most other occurrences
      feedback: use a smaller diamond to represent an anchor, to not overflow
      feedback: when not in curses mode, just skip displaying any message
      feedback: when not in curses mode, write error messages to the terminal
      files: add the original file's suffix to the name of a temporary file
      files: check for a fifo only when it is an existing file
      files: check the result of fdopen(), to avoid a possible crash
      files: do not call fsync() on a fifo, to avoid a spurious error message
      files: exclude the call of fsync() from the tiny version
      files: give the user time to absorb a warning about someone else editing
      files: making a backup of a fifo makes no sense, so do not try that
      files: prepending to a fifo makes no sense, so do not try that
      files: when the buffer is nameless, include the PID in name of dump file
      files: when there is a slash after the dot, then there is no extension
      files: write a lock file also for a freshly saved buffer
      general: prevent die() from getting recursed into
      gnulib: update to its current upstream state
      help: make the keystrokes ^W^Y and ^W^V work again
      history: emit a warning when file cannot be made private  [coverity]
      input: give up on the input stream only after millions of errors
      memory: free any allocated strings, also in the emergency code path
      po: delete the ancient PO files for Indonesian and Nynorsk
      po: permit the Indonesian PO file to come back -- there was a big update
      po: update translations and regenerate POT file and PO files
      shutdown: when dying, do not install/restore a handler for Ctrl+C
      startup: if TERM is unset, try falling back to VT220 instead of failing
      syntax: nanorc: recognize also the template of the sample nanorc file
      syntax: rust: update the license to GPL3 or newer
      syntax: yaml: allow any character in tags except whitespace
      syntax: yaml: allow double colon in key & do not colorize unspaced colon
      syntax: yaml: allow slash and period in key names
      syntax: yaml: colorize backslash-escaped characters as valid or invalid
      syntax: yaml: colorize the question mark of complex mappings too
      syntax: yaml: colorize the two known directives
      syntax: yaml: new file -- coloring rules for YAML files
      tweaks: add Schiermonnikoog to the list of friendly islands
      tweaks: adjust a description of 'showcursor', to match the other ones
      tweaks: adjust three parameters -- two were mistaken, one superfluous
      tweaks: correct two typos and a spello  [codespell]
      tweaks: fix a typo
      tweaks: fold two lines into two others, for conciseness
      tweaks: harmonize the indentations in the FAQ somewhat
      tweaks: in comments, say "buffer" instead of "file" where appropriate
      tweaks: instead of "one" use "you", like in the rest of the man page
      tweaks: remove a redundant feedback message
      tweaks: rename a defined type, to fit within the general pattern
      tweaks: rename a function, to be more fitting
      tweaks: rename a parameter and invert its logic
      tweaks: rename a parameter, to fit better what it is used for
      tweaks: rename a variable and flip its logic, to avoid two negations
      tweaks: rename a variable, away form an abbreviation
      tweaks: rename a variable, to be more grammatical
      tweaks: rename a variable, to be more visible and to match others
      tweaks: rename a variable, to make more sense
      tweaks: rename three variables, to follow the general scheme
      tweaks: reshuffle a few lines, for esthetics and to elide an #ifdef
      tweaks: reshuffle a few lines to avoid an #ifdef and unbalanced braces
      tweaks: reshuffle a fragment of code, to prepare for the next change
      tweaks: reshuffle some code to elide a variable, and improve a comment
      tweaks: reshuffle some lines and adjust some indentation
      tweaks: reshuffle some lines to elide a variable
      tweaks: restore a quote that was accidentally deleted four months ago
      tweaks: rewrap three lines, for esthetics
      tweaks: slightly reword or rewrap some comments in the sample nanorc
      tweaks: try chmodding a dump file only when it was actually written
      tweaks: use five symbolic names, to make eight function calls clearer
      usage: improve the description of the --positionlog option

-- 

Benno

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]