]> git.wh0rd.org - nano-editor.git/commitdiff
add missing markup for the 3.x and 2.9.x news items
authorBenno Schulenberg <bensberg@telfort.nl>
Wed, 19 Aug 2026 11:38:06 +0000 (13:38 +0200)
committerBenno Schulenberg <bensberg@telfort.nl>
Wed, 19 Aug 2026 11:38:06 +0000 (13:38 +0200)
news.php

index 712d8cc9bd059049fe72f43de3b35b9c6d978b39..0c87c1f9e6de8d109017e490064b1906114bbe6c 100644 (file)
--- a/news.php
+++ b/news.php
 
 <div class="title">2018 November 11 - <b>GNU nano 3.2</b> <i>"Het kromme hout"</i></div>
 <div class="details">
-This release changes the default binding
-for the linter to M-B so that the spell checker (^T) can
+This release changes the default binding for the linter to
+<tt>M-B</tt> so that the spell checker (<tt>^T</tt>) can
 always be used, and changes (when linting) the text in the
 title bar and the color of the status bar to make linting
 mode more obvious.  It also adds a bindable 'zap' function
 for deleting a line or marked region without changing the
-cutbuffer, adds --zap to bind the &lt;Del&gt; and &lt;Backspace&gt;
+cutbuffer, adds <tt>--zap</tt> to bind the &lt;Del&gt; and &lt;Backspace&gt;
 keys to the zap function when something is marked, and
 hard-binds &lt;Alt+Del&gt; to 'zap'.  Furthermore, it shows the
-cursor also in the help viewer (when --showcursor is used),
+cursor also in the help viewer (when <tt>--showcursor</tt> is used),
 renames the bindable functions 'prevhistory' to 'older' and
 'nexthistory' to 'newer' (update your nanorcs when needed),
 reads the nanorc files also in restricted mode to allow
 customization by the user (if this should not be allowed,
-use --ignorercfiles in addition to --restricted), allows
+use <tt>--ignorercfiles</tt> in addition to <tt>--restricted</tt>), allows
 in view mode to open also other files (if this should not
-be allowed, use --restricted in addition to --view), makes
-resizes respect a relative --fill again, no longer binds
-F13...F15 by default, properly re-highlights a misspelled
+be allowed, use <tt>--restricted</tt> in addition to <tt>--view</tt>), makes
+resizes respect a relative <tt>--fill</tt> again, no longer binds
+<tt>F13</tt>...<tt>F15</tt> by default, properly re-highlights a misspelled
 word after invoking help in the internal spell checker,
 and does not skip Unicode characters in string binds.
 </div>
 
 <div class="title">2018 September 18 - <b>GNU nano 3.1</b> <i>"Je faisais des bonds comme &ccedil;a!"</i></div>
 <div class="details">
-This release fixes a
-misbinding of ^H on some terminals and some systems,
-does not leave stray stuff after the prompt upon exit
-when having suspended nano while using --constantshow,
+This release fixes a misbinding of <tt>^H</tt> on some terminals and
+some systems, does not leave stray stuff after the prompt upon exit
+when having suspended nano while using <tt>--constantshow</tt>,
 and does not allow to toggle to Replace in view mode.
 </div>
 
@@ -564,13 +563,13 @@ This release speeds up the
 reading of a file by seventy percent, roughly doubles the
 speed of handling ASCII text, changes the way words at line
 boundaries are deleted, makes &lt;Ctrl+Delete&gt; wipe the next
-word and &lt;Ctrl+Shift+Delete&gt; the preceding word, binds M-Q
+word and &lt;Ctrl+Shift+Delete&gt; the preceding word, binds <tt>M-Q</tt>
 to 'findprevious' by default (the Tabs-to-Spaces toggle is
-placed on M-O, and the More-Space toggle is fully removed),
+placed on <tt>M-O</tt>, and the More-Space toggle is fully removed),
 makes an external spell check undoable, shows the correct
 number of lines on the status bar when opening multiple
 files, removes the 'formatter' command, removes the
-'searchagain' bindable function (M-W is now bound to
+'searchagain' bindable function (<tt>M-W</tt> is now bound to
 'findnext' by default), moves the No-Convert toggle to the
 Insert menu, removes the Backup and New-Buffer toggles from
 the main menu (they remain in the Write-Out and Insert
@@ -587,7 +586,7 @@ bindable functions 'copytext' to 'copy' and 'uncut' to
 <div class="details">
 This release brings the ability to filter the
 buffer (or the marked region) through an external command
-(^R^X and prefix the command with the pipe symbol, "|"), is
+(<tt>^R^X</tt> and prefix the command with the pipe symbol, "|"), is
 better at detecting and maintaining paragraphs, is able to
 justify //-style comments, fixes a crash when the binding
 of a key to a string lacks a closing quote, gives feedback
@@ -597,8 +596,8 @@ appending, and fixes a couple of bugs with the linter.
 
 <div class="title">2018 May 15 - <b>GNU nano 2.9.7</b> <i>"Hvide Sande"</i></div>
 <div class="details">
-This release adds the option '--afterends'
-for making Ctrl+Right (the nextword function) stop at word
+This release adds the option <tt>--afterends</tt> for making
+&lt;Ctrl+Right&gt; (the nextword function) stop at word
 ends instead of beginnings, accepts multibyte letters for
 the Yes/No/All answers, does emergency saves of changed
 buffers in the unlikely event that nano crashes, adds the
@@ -610,20 +609,20 @@ corresponding options -- adjust your nanorc files soon.
 
 <div class="title">2018 April 27 - <b>GNU nano 2.9.6</b> <i>"Gomance"</i></div>
 <div class="details">
-This release fixes a crash in word completion,
-makes --enable-altrcname work again, improves the fluidity
+This release fixes a crash in word completion, makes
+<tt>--enable-altrcname</tt> work again, improves the fluidity
 of scrolling when using the touchpad, tweaks the syntaxes
 for shell scripts and PO files, makes a replacing session
 go always forward by default, no longer inserts a newline
-after an external spell check of a selected region, always
-accepts the English Y and N (and A) at a yes-no prompt in
-any locale, and solves a few hypothetical bugs.
+after an external spell check of a selected region, always accepts
+the English <tt>Y</tt> and <tt>N</tt> (and <tt>A</tt>) at a yes-no
+prompt in any locale, and solves a few hypothetical bugs.
 </div>
 
 <div class="title">2018 March 29 - <b>GNU nano 2.9.5</b> <i>"Ki&scaron;a pada"</i></div>
 <div class="details">
-This release changes the way the Scroll-Up
-and Scroll-Down commands work (M-- and M-+): instead of
+This release changes the way the Scroll-Up and Scroll-Down
+commands work (<tt>M--</tt> and <tt>M-+</tt>): instead of
 keeping the cursor in the same screen position they now
 keep the cursor in the same text position (if possible).
 This version further adds a new color name, "normal",
@@ -631,10 +630,9 @@ which gives the default foreground or background color,
 which is useful when you want to undo some overzealous
 painting by earlier syntax regexes.  Bug fixes include:
 a segfault when trying to insert a file in restricted
-mode, the reading in of a new file being "undoable", a
-slight miswrapping of help texts when --linenumbers was
-used, and the shell syntax coloring the word "tar" in
-file names.
+mode, the reading in of a new file being "undoable", a slight
+miswrapping of help texts when <tt>--linenumbers</tt> was used,
+and the shell syntax coloring the word "tar" in file names.
 </div>
 
 <div class="title">2018 March 8 - <b>GNU nano 2.9.4</b> <i>"Isabel"</i></div>
@@ -644,8 +642,8 @@ This release allows binding a key to a string
 the color of error messages with 'set errorcolor', colors
 those error messages by default in bright white on red,
 makes &lt;Enter&gt; at the bottom of the screen scroll just one
-row when --smooth is used, does not fail when redoing a
-file insertion, and cancels a Shift-selection when any
+row when <tt>--smooth</tt> is used, does not fail when redoing
+file insertion, and cancels a Shift-selection when any
 cursor key is pressed without Shift even when the cursor
 cannot move.  Further, it treats tabs fully the same as
 spaces when doing automatic hard-wrapping, allows syntax
@@ -659,12 +657,12 @@ This release fixes a segfault with trimblanks
 that could occur when a typed space caused the word after
 it to be pushed to the next line.  It further makes macros
 work also when your keyboard still emits escape sequences,
-adds the options -M and --trimblanks for the command line,
+adds the options <tt>-M</tt> and <tt>--trimblanks</tt> for the command line,
 recognizes key combos with Shift on a few more terminals,
 no longer shows dots in certain prompt texts when visible
 whitespace is turned on, fixes two corner cases when doing
 replacements in a marked region, allows to open a named
-pipe again when using --noread, and accurately detects
+pipe again when using <tt>--noread</tt>, and accurately detects
 a needed color change when a line contains a start match
 but not a corresponding end match any more.  Plus some
 other small fry.
@@ -676,9 +674,9 @@ This release correctly displays the Modified
 state when undoing/redoing (also when the file was saved
 somewhere midway), improves the undoing of an automatic
 linefeed at EOF, fixes a build issue on the BSDs, shows
-the cursor again when compiled with --withslang, renames
-the option 'justifytrim' to 'trimblanks' because it will
-now snip trailing whitespace also while you are typing
+the cursor again when compiled with <tt>--withslang</tt>,
+renames the option 'justifytrim' to 'trimblanks' because it
+wil now snip trailing whitespace also while you are typing
 (and hard-wrapping is enabled), continues pushing words
 to the next line much longer (when hard-wrapping), makes
 &lt;Tab&gt; and &lt;Shift+Tab&gt; indent and unindent a marked region,
@@ -691,8 +689,8 @@ the last line of the region when it is not visibly marked
 
 <div class="title">2017 November 27 - <b>GNU nano 2.9.1</b> <i>"Damyatta"</i></div>
 <div class="details">
-This release fixes a bug where, when the mark
-is on, ^S would overwrite the file with just the marked
+This release fixes a bug where, when the mark is on,
+<tt>^S</tt> would overwrite the file with just the marked
 region.  This release further clears the "Modified" flag
 when all edits are undone, adds or updates some magic
 strings, and does not forget when the cursor was last
@@ -701,19 +699,19 @@ at line 1, column 1.
 
 <div class="title">2017 November 18 - <b>GNU nano 2.9.0</b> <i>"Eta"</i></div>
 <div class="details">
-This release introduces the ability to record and
-replay keystrokes (M-: to start and stop recording, M-;
-to play the macro back), makes ^Q and ^S do something
-useful by default (^Q starts a backward search, and ^S
-saves the current file), changes ^W to start always a
-forward search, shows the number of open buffers (when
+This release introduces the ability to record and replay keystrokes
+(<tt>M-:</tt> to start and stop recording, <tt>M-;</tt> to play the
+macro back), makes <tt>^Q</tt> and <tt>^S</tt> do something useful
+by default (<tt>^Q</tt> starts a backward search, and <tt>^S</tt>
+saves the current file), changes <tt>^W</tt> to start always
+forward search, shows the number of open buffers (when
 more than one) in the title bar, no longer asks to press
 Enter when there are errors in an rc file, retires the
-options '--quiet' and 'set quiet' and 'set backwards',
+options <tt>--quiet</tt> and 'set quiet' and 'set backwards',
 makes indenting and unindenting undoable, will look in
 $XDG_CONFIG_HOME for a nanorc file and in $XDG_DATA_HOME
 for the history files, adds a history stack for executed
-commands (^R^X), does not overwrite the position-history
+commands (<tt>^R^X</tt>), does not overwrite the position-history
 file of another nano, and fixes a score of tiny bugs.
 </div>