X-Git-Url: https://git.wh0rd.org/?p=nano-editor.git;a=blobdiff_plain;f=news.php;h=6bf6d9c4b55180072b5186817d72115afb5044c4;hp=7e966ddc970b6c77e8f25ec08141491a0d28ae1b;hb=refs%2Fheads%2Fmaster;hpb=d2d41a837001909d07604e8721be6cb8c420852f diff --git a/news.php b/news.php index 7e966dd..911f25b 100644 --- a/news.php +++ b/news.php @@ -1,47 +1,472 @@ - -GNU nano: News - - -
- - - - -
- -
News
+ + + + +
+

+
News
+

+ +2023 January 18 - GNU nano 7.2 "Boer doe mij 't hekke lös!" +
+
    +
  • <Shift+Insert> is prevented from pasting in view mode.
  • +
+

+ +2022 December 14 - GNU nano 7.1 "And the devices shall be made of wood"
+
    +
  • When --autoindent and --breaklonglines are combined, pressing
    + <Enter> at a specific position no longer eats characters.
  • +
+

-2019 March 24 - GNU nano 4.0 "Thy Rope of Sands" +2022 November 15 - GNU nano 7.0 "Una existencia simple bajo el sol"
-
    -
  • An overlong line is no longer automatically hard-wrapped.
  • -
  • Smooth scrolling (one line at a time) has become the default.
  • -
  • A newline character is no longer automatically added at end of buffer.
  • -
  • The line below the title bar is by default part of the editing space.
  • -
  • Option --breaklonglines (-b) turns automatic hard-wrapping back on.
  • -
  • Option --jumpyscrolling (-j) gives the chunky, half-screen scrolling.
  • -
  • Option --finalnewline (-f) brings back the automatic newline at EOF.
  • -
  • Option --emptyline (-e) leaves the line below the title bar unused.
  • -
  • and now do a linewise scroll instead of a findnext.
  • -
  • Any number of justifications can be undone (like all other operations).
  • -
  • When marked text is justified, it becomes a single, separate paragraph.
  • -
  • Option --guidestripe= draws a vertical bar at the given column.
  • -
  • Option --fill= no longer turns on automatic hard-wrapping.
  • -
  • When a line continues offscreen, it now ends with a highlighted ">".
  • -
  • The halfs of a split two-column character are shown as "[" and "]".
  • -
  • A line now scrolls horizontally one column earlier.
  • -
  • The bindable functions 'cutwordleft' and 'cutwordright' were renamed to
    - 'chopwordleft' and 'chopwordright' as they don't use the cutbuffer.
  • -
  • The paragraph-jumping functions were moved from Search to Go-to-Line.
  • -
  • Option --rebinddelete is able to compensate for more misbindings.
  • -
  • Options --morespace and --smooth are obsolete and thus ignored.
  • -
  • The --disable-wrapping-as-root configure option was removed.
  • -
+
    +
  • String binds may contain bindable function names between braces.
    + For example, to move the current line down to after the next one:
    + bind ^D "{cut}{down}{paste}{up}" main. Of course, braced function
    + names may be mixed with literal text. If an existing string bind
    + contains a literal {, replace it with {{}.
  • +
  • Unicode codes can be entered (via M-V) without leading zeroes,
    + by finishing short codes with <Space> or <Enter>.
  • +
  • Word completion (^]) looks for candidates in all open buffers.
  • +
  • No regular expression matches the final empty line any more.
  • +
+

+ + +2022 August 2 - GNU nano 6.4 "Regentag Dunkelbunt Hundertwasser"
+
    +
  • The file browser does not crash when moving up to the root folder.
  • +
  • Softwrapping very long lines is done more efficiently.
  • +
  • Invoking the formatter does not blink the screen.
  • +
+

+ +2022 April 28 - GNU nano 6.3 "Wat zullen we drinken? Wat een dorst!" +
+
    +
  • For multiline regexes, text is now colored as soon as 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.
  • +
+

+ +2022 February 18 - GNU nano 6.2 "Kamperfoelie" +
+
    +
  • The file browser clears the prompt bar also when using --minibar.
  • +
  • Linting now works also with a newer 'pyflakes'.
  • +
+

+ +2022 February 9 - GNU nano 6.1 "Rețelele de socializare sunt ca un frigider" +
+
    +
  • The behavior of ^K at a prompt has been enhanced: when there
    + is text after the cursor, just this text is erased. (In the usual
    + situation, however, when the cursor is at the end of the answer,
    + the behavior is as before: the whole answer is erased.)
  • +
  • At a prompt, M-6 copies the current answer into the cutbuffer.
  • +
  • Large external pastes into nano are handled more quickly.
  • +
+

+ +2021 December 15 - GNU nano 6.0 "Humor heeft ook zijn leuke kanten" +
+
    +
  • Option --zero hides the title bar, status bar and help lines, and
    + uses all rows of the terminal as editing area. The title bar and
    + status bar can be toggled with M-Z.
  • +
  • Colors can now be specified also as three-digit hexadecimal numbers,
    + in the format #rgb. This picks from the 216 index colors (that most
    + terminals know) the color that is nearest to the given values.
  • +
  • For users who dislike numbers, there are fourteen new color names:
    + rosy, beet, plum, sea, sky, slate, teal, sage, brown, ocher, sand,
    + tawny, brick, and crimson.
  • +
  • Suspension is enabled by default, invokable with ^T^Z. The options
    + -z, --suspendable, and 'set suspendable' are obsolete and ignored.
    + (In case you want to be able to suspend nano with a single keystroke,
    + you can put 'bind ^Z suspend main' in your nanorc.)
  • +
  • When automatic hard-wrapping is in effect, pasting just a few words
    + (without a line break) will now hard-wrap the line when needed.
  • +
  • Toggling Append or Prepend clears the current filename.
  • +
  • The word count as shown by M-D is now affected by option --wordbounds;
    + with it, nano counts words as 'wc' does; without it (the new default),
    + words are counted in a more human way: seeing punctuation as space.
  • +
  • The YAML syntax file is now actually included in the tarball.
  • +
+

+ + +2021 October 6 - 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.
  • +
+

+ +2021 June 15 - GNU nano 5.8 "Why is it necessary to be special?" +
+
    +
  • After a search, the spotlighting is dropped after 1.5 seconds (0.8
    + seconds with --quick) to avoid the idea that the text is selected.
  • +
  • A + and a space before a filename on the command line will put
    + the cursor at the end of the corresponding buffer.
  • +
  • Linter messages no longer include filename and line/column numbers.
  • +
  • Color name "grey" or "gray" can be used instead of "lightblack".
  • +
  • The color of the minibar can be chosen with 'set minicolor'.
  • +
+

+ +2021 April 29 - GNU nano 5.7 "Toți ceilalți arau câmpurile" +
+
    +
  • The output of --constantshow (without --minibar) is more stable.
  • +
  • When opening multiple buffers and there is an error message, this
    + message is shown again upon first switch to the relevant buffer.
  • +
  • The position and size of the indicator now follow actual lines,
    + instead of visual lines when in softwrap mode, meaning that the
    + size of the indicator can change when scrolling in softwrap mode.
  • +
+

+ +2021 March 3 - GNU nano 5.6.1 "Geelgors" +
+
    +
  • Search matches are properly colorized in softwrap mode too.
  • +
  • Option 'highlightcolor' has been renamed to 'spotlightcolor'.
  • +
+

+ +2021 February 24 - GNU nano 5.6 "Wielewaal" +
+
    +
  • A search match gets highlighted (in black on yellow by default),
    + in addition to placing the cursor at the start of the match.
    + The color combination can be changed with 'set highlightcolor'.
    + By default the cursor is hidden until the next keystroke, but
    + it can be forced on with --showcursor / 'set showcursor'.
  • +
  • Option --markmatch / 'set markmatch' has been removed.
  • +
  • Cursor position and character code are displayed in the minibar
    + only when option --constantshow / 'set constantshow' is used,
    + and their display can be toggled with M-C.
  • +
  • The state flags are displayed in the minibar only when option
    + --stateflags / 'set stateflags' is used.
  • +
+

+ +2021 January 14 - GNU nano 5.5 "Rebecca" +
+
    +
  • Option 'set minibar' makes nano suppress the title bar and instead
    + show a bar with basic editing information at the bottom: file name
    + (plus an asterisk when the buffer is modified), the cursor position
    + (line,column), the character under the cursor (U+xxxx), the flags
    + that --stateflags normally shows, plus the percentage of the buffer
    + that is above the cursor.
  • +
  • With 'set promptcolor' the color combination of the prompt bar can
    + be changed, to allow contrasting it with the mini bar (which always
    + has the same color as the title bar).
  • +
  • Option 'set markmatch' highlights the result of a successful search
    + by putting the mark at the end of the match, making the match more
    + visible. It also suppresses the cursor until the next keystroke.
    + (If you dislike the hiding of the cursor, use 'set showcursor'.)
  • +
  • The bindable toggle 'nowrap' has been renamed to 'breaklonglines',
    + to match the corresponding option, like for all other toggles.
  • +
  • Support for Slang has been removed.
  • +
+

+ +2020 December 2 - GNU nano 5.4 "Terre des hommes" +
+
    +
  • Moving the cursor now skips over combining characters (and
    + other zero-width characters). Deleting a character deletes
    + also any succeeding zero-width characters, but backspacing
    + deletes just one character at a time.
  • +
+

+ +2020 October 7 - GNU nano 5.3 "Revolution!" +
+
    +
  • Option 'set stateflags' makes nano show the state of auto-indenting,
    + the mark, hard-wrapping, macro recording, and soft-wrapping in the
    + title bar. The flags take the place of "Modified", and a modified
    + buffer is instead indicated by an asterisk (*) after its name.
  • +
  • Nano no longer by default tries using libmagic to determine the type
    + of a file (when neither filename nor first line gave a clue), because
    + in most cases it is a waste of time. It requires using the option
    + --magic or -! or 'set magic' to make nano try libmagic.
  • +
  • The color of the indicator can be changed with 'set scrollercolor'.
  • +
+

+ +2020 August 24 - GNU nano 5.2 "Ranrapalca" +
+
    +
  • Making certain replacements after a large paste does not crash.
  • +
  • Hitting a toggle at the Search prompt does not clear the answer.
  • +
  • Using --positionlog does not complain at the first start.
  • +
  • A macro containing a Search command will not sometimes fail.
  • +
+

+ +2020 August 12 - GNU nano 5.1 "Cantabria" +
+
    +
  • M-Bsp (Alt+Backspace) deletes a word backwards, like in Bash.
  • +
  • M-[ has become bindable. (Be careful, though: as it is the
    + starting combination of many escape sequences, avoid gluing
    + it together with other keystrokes, like in a macro.)
  • +
  • With --indicator and --softwrap, the first keystroke in an
    + empty buffer does not crash.
  • +
  • Invoking the formatter while text is marked does not crash.
  • +
  • In UTF-8 locales, an anchor is shown as a diamond.
  • +
+

+ +2020 July 29 - GNU nano 5.0 "Among the fields of barley" +
+
    +
  • With --indicator (or -q or 'set indicator') nano will show a kind
    + of scrollbar on the righthand side of the screen to indicate where
    + in the buffer the viewport is located and how much it covers.
  • +
  • With <Alt+Insert> any line can be "tagged" with an anchor, and
    + <Alt+PageUp> and <Alt+PageDown> will jump to the nearest anchor.
    + When using line numbers, an anchor is shown as "+" in the margin.
  • +
  • The Execute Command prompt is now directly accessible from the
    + main menu (with ^T, replacing the Spell Checker). The Linter,
    + Formatter, Spell Checker, Full Justification, Suspension, and
    + Cut-Till-End functions are available in this menu too.
  • +
  • On terminals that support at least 256 colors, nine new color
    + names are available: pink, purple, mauve, lagoon, mint, lime,
    + peach, orange, and latte. These do not have lighter versions.
  • +
  • For the color names red, green, blue, yellow, cyan, magenta,
    + white, and black, the prefix 'light' gives a brighter color.
    + Prefix 'bright' is deprecated, as it means both bold AND light.
  • +
  • All color names can be preceded with "bold," and/or "italic,"
    + (in that order) to get a bold and/or italic typeface.
  • +
  • With --bookstyle (or -O or 'set bookstyle') nano considers any
    + line that begins with whitespace as the start of a paragraph.
  • +
  • Refreshing the screen with ^L now works in every menu.
  • +
  • In the main menu, ^L also centers the line with the cursor.
  • +
  • Toggling the help lines with M-X now works in all menus except
    + in the help viewer and the linter.
  • +
  • At a filename prompt, the first <Tab> lists the possibilities,
    + and these are listed near the bottom instead of near the top.
  • +
  • Bindable function 'curpos' has been renamed to 'location'.
  • +
  • Long option --tempfile has been renamed to --saveonexit.
  • +
  • Short option -S is now a synonym of --softwrap.
  • +
  • The New Buffer toggle (M-F) has become non-persistent. Options
    + --multibuffer and 'set multibuffer' still make it default to on.
  • +
  • Backup files will retain their group ownership (when possible).
  • +
  • Data is synced to disk before "... lines written" is shown.
  • +
  • The raw escape sequences for F13 to F16 are no longer recognized.
  • +
  • Distro-specific syntaxes, and syntaxes of less common languages,
    + have been moved down to subdirectory syntax/extra/. The affected
    + distros and others may wish to move wanted syntaxes one level up.
  • +
  • Syntaxes for Markdown, Haskell, and Ada were added.
  • +
+

+ +2020 May 23 - GNU nano 4.9.3 "Almendras" +

+
+ One more bug introduced in version 4.9 is fixed: a crash when
+ the terminal screen is resized while at a lock-file prompt. +
+

+ +2020 April 7 - GNU nano 4.9.2 "Mali Lošinj" +

+
+ Another bug introduced in version 4.9 is fixed: a likely crash
+ after undoing an <Enter> at the end of leading whitespace. +
+

+ +2020 March 31 - GNU nano 4.9.1 "Sapperdeflap" +

+
+ Two bugs introduced in version 4.9 are fixed: the cursor
+ getting misplaced when undoing line cuts, and filtering
+ of the whole buffer to a new buffer not working. +
+

+ +2020 March 24 - GNU nano 4.9 "die fetten Jahre sind vorbei" +
+
    +
  • When justifying a selection, the new paragraph and the
    + succeeding one get the appropriate first-line indent.
  • +
  • Trying to justify an empty selection does not crash.
  • +
  • Redoing the insertion of an empty file does not crash.
  • +
  • On the BSDs and macOS, ^H has become rebindable again
    + (in most terminal emulators, not on the console).
  • +
  • DOS line endings in nanorc files are accepted.
  • +
  • Option --suspend / 'set suspend' has been renamed to
    + the more logical --suspendable / 'set suspendable'.
  • +
+

+ +2020 February 7 - GNU nano 4.8 "Jaška" +
+
    +
  • When something is pasted into nano, auto-indentation is suppressed,
    + and the paste can be undone as a whole with a single M-U.
  • +
  • When a lock file is encountered during startup, pressing ^C/Cancel
    + quits nano. (Pressing 'No' just skips the file and continues.)
  • +
  • Shift+Meta+letter key combos can be bound with 'bind Sh-M-letter'.
    + Making any such binding dismisses the default behavior of ignoring
    + Shift for all Meta+letter keystrokes.
  • +
  • The configuration option --with-slang (to be avoided when possible)
    + can now be used only together with --enable-tiny.
  • +
  • A custom nanorc file can be specified on the command line, with
    + -f filename or --rcfile=filename.
  • +
+

+ +2019 December 23 - GNU nano 4.7 "Havikskruid" +
+
    +
  • A <Tab> will indent a marked region only when mark and cursor are
    + on different lines.
  • +
  • Two indentations (any mix of tabs and spaces) are considered the
    + same when they look the same (that is: indent to the same level).
  • +
  • When using --breaklonglines or ^J, a line will never be broken in
    + its leading whitespace or quoting.
  • +
  • The keywords in nanorc files must be in lowercase.
  • +
+

+ +2019 November 29 - GNU nano 4.6 "And don't you eat that yellow snow" +
+
    +
  • The 'formatter' command has returned, bound by default to M-F.
    + It allows running a syntax-specific command on the contents of
    + the buffer.
  • +
  • ^T will try to run 'hunspell' before 'spell', because it checks
    + spelling for the locale's language and understands UTF-8.
  • +
  • Multiple errors or warnings on startup will no longer slow nano
    + down but will be indicated on the status bar with trailing dots.
  • +
+

+ +2019 October 4 - GNU nano 4.5 "Košice" +
+
    +
  • The new 'tabgives' command allows you to specify per syntax what
    + the <Tab> key should produce: some spaces, a hard TAB, ...
  • +
  • The output of --help is properly aligned again for all languages.
  • +
  • <Tab> will indent a marked region also when M-} has been rebound.
  • +
+

+ +2019 August 25 - GNU nano 4.4 "Hagelslag" +
+
    +
  • At startup, the cursor can be put on the first or last occurrence
    + of a string by preceding the filename with +/string or +?string.
  • +
  • When automatic hard-wrapping occurs (--breaklonglines), any leading
    + quoting characters will be automatically copied to the new line.
  • +
  • M-6 works again also when the cursor is at end of buffer.
  • +
+

+ +2019 June 18 - GNU nano 4.3 "Musa Kart" +
+
    +
  • The ability to read from and write to a FIFO has been regained.
  • +
  • Opening a file no longer triggers an inotify CLOSE_WRITE event.
  • +
  • Startup time is reduced by fully parsing a syntax only when needed.
  • +
  • Asking for help (^G) when using --operatingdir does not crash.
  • +
  • The reading of a huge or slow file can be stopped with ^C.
  • +
  • Cut, zap, and copy operations are undone separately when intermixed.
  • +
  • M-D reports the correct number of lines (zero for an empty buffer).
  • +
+

+ +2019 April 24 - GNU nano 4.2 "Tax the rich, pay the teachers" +
+
    +
  • The integrated spell checker does not crash when 'spell' is missing.
  • +
  • Option --breaklonglines works also when --ignorercfiles is used.
  • +
  • Automatic hard-wrapping is more persistent in pushing words to the
    + same overflow line.
  • +
+

+ +2019 April 15 - GNU nano 4.1 "Qué corchos será eso?" +
+
    +
  • By default, a newline character is again automatically added at the
    + end of a buffer, to produce valid POSIX text files by default, but
    + also to get back the easy adding of text at the bottom.
  • +
  • The now unneeded option --finalnewline (-f) has been removed.
  • +
  • Syntax files are read in alphabetical order when globbing, so that
    + the precedence of syntaxes becomes predictable.
  • +
  • In the C syntax, preprocessor directives are highlighted differently.
  • +
  • M-S now toggles soft wrapping, and M-N toggles line numbers.
  • +
  • The jumpy-scrolling toggle has been removed.
  • +
  • The legacy keystrokes ^W^Y and ^W^V are recognized again.
  • +
  • Executing an external command is disallowed when in view mode.
  • +
  • Problems with resizing during external or speller commands were fixed.
  • +
+

+ +2019 March 24 - GNU nano 4.0 "Thy Rope of Sands" +
+
    +
  • An overlong line is no longer automatically hard-wrapped.
  • +
  • Smooth scrolling (one line at a time) has become the default.
  • +
  • A newline character is no longer automatically added at end of buffer.
  • +
  • The line below the title bar is by default part of the editing space.
  • +
  • Option --breaklonglines (-b) turns automatic hard-wrapping back on.
  • +
  • Option --jumpyscrolling (-j) gives the chunky, half-screen scrolling.
  • +
  • Option --finalnewline (-f) brings back the automatic newline at EOF.
  • +
  • Option --emptyline (-e) leaves the line below the title bar unused.
  • +
  • <Alt+Up> and <Alt+Down> now do a linewise scroll instead of a findnext.
  • +
  • Any number of justifications can be undone (like all other operations).
  • +
  • When marked text is justified, it becomes a single, separate paragraph.
  • +
  • Option --guidestripe=<number> draws a vertical bar at the given column.
  • +
  • Option --fill=<number> no longer turns on automatic hard-wrapping.
  • +
  • When a line continues offscreen, it now ends with a highlighted ">".
  • +
  • The halves of a split two-column character are shown as "[" and "]".
  • +
  • A line now scrolls horizontally one column earlier.
  • +
  • The bindable functions 'cutwordleft' and 'cutwordright' were renamed
    + to 'chopwordleft' and 'chopwordright' as they don't use the cutbuffer.
  • +
  • The paragraph-jumping functions were moved from Search to Go-to-Line.
  • +
  • Option --rebinddelete is able to compensate for more misbindings.
  • +
  • Options --morespace and --smooth are obsolete and thus ignored.
  • +
  • The --disable-wrapping-as-root configure option was removed.
  • +

@@ -457,7 +882,7 @@ holds when dying, doesn't abort when a word contains digits
 (when using the default speller), fixes a small sorting bug
 in the file browser, makes searching case-insensitively in
 a UTF-8 locale a little faster, and doesn't enter invalid
-bytes when holding down both Alt keys.  Santé!
+bytes when holding down both Alt keys.  Santé!
 
 
 
@@ -512,12 +937,4 @@ Bye!  And thanks for all the grass!
 
- - -
-