[ANNOUNCE] nano-6.3 is released

Benno Schulenberg <[email protected]>
Newsgroups gmane.org.fsf.announce
Message-ID <5b3c6300-c485-c603-2d0e-01348cd43e40__177.680740465291$1651152057$gmane$org@telfort.nl>
2022.04.28 - GNU nano 6.3  "Wat zullen we drinken? Wat een dorst!"

• For multiline regexes, text is now colored as soon a start match
  is found, also when there is no end match at all.
• The colorizing of any line is stopped after two thousand bytes,
  to avoid frustrating delays.
• When environment variable NO_COLOR is set, the two default colors
  (yellow for the spotlight, red for error messages) are suppressed
  when no interface colors are specified in a nanorc file.
• Full justification and piping the whole buffer through a command
  now keep the cursor at the same line number.
• Utility 'xsel' can be used to copy a marked region to the system's
  clipboard.  See doc/sample.nanorc for an example.


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/v6/nano-6.3.tar.xz
  https://nano-editor.org/dist/v6/nano-6.3.tar.xz.asc


Specific issues that were addressed in this release:
  https://savannah.gnu.org/bugs/?57248  (let piping keep cursor position [wish])
  https://savannah.gnu.org/bugs/?60041  (some edits could still miscolor things)
  https://savannah.gnu.org/bugs/?61175  (let full-justify keep position [wish])
  https://savannah.gnu.org/bugs/?61799  (coloring extreme lines could take ages)
  https://savannah.gnu.org/bugs/?62056  (drawing of huge XML file was too slow)

  https://savannah.gnu.org/bugs/?62107  (piping an empty buffer crashed)
  https://savannah.gnu.org/bugs/?62244  (an unintended file could be opened)
  https://savannah.gnu.org/bugs/?62276  (piping to xsel hung until typing ^C)
  https://savannah.gnu.org/bugs/?62285  (with --zero, cursor could be misplaced)
  https://savannah.gnu.org/bugs/?62341  (undoing formatting moved the cursor)


Changes between v6.2 and v6.3:
------------------------------

Mike Frysinger (1):
      general: fix building for Windows

Benno Schulenberg (42):
      build: add the --disable-maintainer-mode option to ./configure
      build: fix compilation for --enable-{tiny,nanorc,color}
      build: fix compilation when configured with --disable-color
      build: remove an obsolete check -- the dependent code was deleted
      bump version numbers and add a news item for the 6.3 release
      display: suppress spotlight yellow and error red when NO_COLOR is set
      docs: add an example binding for copying text to the system clipboard
      execute: clear an anchor only when the whole buffer gets filtered
      execute: don't crash when an empty buffer is piped through a command
      execute: stay on the same line number when filtering the whole buffer
      feedback: show extra warning when writing failed due to "No space left"
      files: do not change to a higher directory when the working one is gone
      files: show a warning when the working directory is gone (when used)
      files: when the working directory exists, still check its accessibility
      filtering: close all output descriptors, so that 'xsel' will terminate
      formatting: change cursor position only after saving it in the undo item
      gnulib: pull in the workaround for a build problem on NetBSD
      gnulib: update to its current upstream state
      justify: stay at the same line number when doing a full justification
      painting: colorize text also after an unterminated start match
      painting: look for another start match only after the actual end match
      painting: recalculate the multidata when making large strides or changes
      painting: stop coloring an extremely long line after 2000 bytes
      painting: tighten the check for a lacking end match on a colored line
      po: update translations and regenerate POT file and PO files
      syntax: xml: colorize /> properly, and colorize prolog tags differently
      syntax: xml: colorize user-defined entities differently
      tweaks: avoid a function call when two plain assignments will do
      tweaks: change the indentation of a list, to match other indentations
      tweaks: don't leave an orphaned temporary file behind when writing fails
      tweaks: elide an unneeded call of strlen()
      tweaks: exclude the extra truncation warning from the tiny version
      tweaks: make the triggering of the recalculation of multidata less eager
      tweaks: move the saving and restoring of flags to where it is needed
      tweaks: normalize the indentation after the previous change
      tweaks: prevent the adding of an unwanted newline in a different way
      tweaks: remove redundant braces, and add two translator hints
      tweaks: remove some stray spaces before a comma
      tweaks: simplify a bit of code, eliding two labels and three gotos
      tweaks: simplify a fragment of code, and fold two lines together
      tweaks: trim a few comments, rename a function, and reshuffle some code
      verbatim: with --zero, keep cursor in viewport when it was on bottom row

-- 

Benno
OpenPGP_signature (application/pgp-signature, 840 B) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.