Benno Schulenberg
39ed865043
docs: improve the descriptions of --softwrap and 'set softwrap'
2020-03-19 13:10:28 +01:00
Benno Schulenberg
3690d60b71
rcfile: rename bindable function 'suspendenable' to 'suspendable'
...
The name of a toggle function should match the name of the corresponding
option, like for 'mouse' and 'linenumbers' and 'smarthome' and such.
2020-03-15 11:17:46 +01:00
Benno Schulenberg
067ee1a6b1
tweaks: highlight keystrokes in the documentation more consistently
2020-03-13 16:40:34 +01:00
Benno Schulenberg
0c1db4879e
docs: update the missed occurrences of --suspendable / 'set suspendable'
2020-03-13 16:34:41 +01:00
Benno Schulenberg
a91bc04e04
docs: update the form of an option, --suspendable / 'set suspendable'
2020-03-13 15:58:56 +01:00
Benno Schulenberg
639f37669a
docs: remove the note saying that nanorc files must be in Unix format
...
Since commit 98f038ad
from a month ago, nanorc files do not need to be
in Unix format (LF) but may also be in DOS (CR+LF) and Mac (CR) format.
2020-03-12 19:03:02 +01:00
Benno Schulenberg
c65fa25ce2
docs: mention that ^[ (Esc) is unbindable, and explain why
2020-03-10 15:55:19 +01:00
Benno Schulenberg
f2ae08ab19
bump version numbers and add a news item for the 4.8 release
2020-02-07 10:50:44 +01:00
Benno Schulenberg
7f0bfdfeb2
docs: put the three new behaviors in a bulletted list, to catch the eye
...
Also, move the relevant section down in the nanorc man page, to increase
the contrast between the two pages.
2020-02-06 16:07:11 +01:00
Benno Schulenberg
d141e849a3
tweaks: unabbreviate "argument" in the documentation
...
Also, show that the argument in the extendsyntax format is not optional,
as any command requires at least one argument. Also mention 'tabgives'
among the commands that are allowed in an included file.
2020-02-04 12:23:58 +01:00
Benno Schulenberg
6cd98e32f7
docs: document the new Sh-M-X format for binding <Shift+Meta+letter>
2020-01-23 11:11:34 +01:00
Benno Schulenberg
aac3126183
docs: improve the description of which rc-files are read during startup
2020-01-19 13:27:41 +01:00
Benno Schulenberg
afa4c6b9fc
copyright: update the years for the FSF
2020-01-15 11:42:38 +01:00
Benno Schulenberg
c00431134f
bump version numbers and add a news item for the 4.7 release
2019-12-23 11:15:53 +01:00
Benno Schulenberg
b56db25a35
docs: mention that all keywords in a nanorc file should be in lowercase
2019-12-12 19:19:07 +01:00
Benno Schulenberg
154742c5e3
bump version numbers and add a news item for the 4.6 release
2019-11-29 11:08:22 +01:00
Benno Schulenberg
8637acb106
docs: correct the description of the 'spell' menu
2019-11-25 17:42:40 +01:00
Benno Schulenberg
51a3f78d69
docs: mention that 'hunspell' is now the first default spelling program
2019-11-25 17:38:50 +01:00
Benno Schulenberg
4281b6becb
commands: rename 'fixer' to 'formatter', to be less misleading
...
The word "fixer" sounds too much as if the command would be able
to fix mistakes or correct errors. Especially when seen next to
"linter", it sounds as if one does a syntax check and the other
fixes the found mistakes. (Although the command might in theory
be used for this, it is not its intended purpose.)
2019-10-25 17:24:28 +02:00
Benno Schulenberg
c51f5f4bff
docs: mention that the 'nopauses' option is obsolete
2019-10-15 11:23:05 +02:00
Benno Schulenberg
c63f4c1f58
docs: remove the note about the formatter having been removed
...
The 'fixer' command has taken the place of the 'formatter' command.
(Also, normalize a double blank line before a chapter.)
2019-10-14 10:30:04 +02:00
Benno Schulenberg
b5c5cde0d4
docs: document the 'fixer' command, a per-syntax content arranger
2019-10-14 10:28:45 +02:00
Benno Schulenberg
f813fd0f4d
rcfile: allow binding also F17...F24
...
For historical reasons the rebinding code allows binding F13...F16,
which on most terminals are typable with Shift plus F1...F4. But,
at least on an Xfce Terminal, Shift plus F1...F12 produce F13...F24.
On a Linux console, Shift plus F1...F8 produce F13...F20. So: allow
to bind the full shifted F13...F24 range. It costs no extra code
and makes things more rounded.
2019-10-07 16:23:40 +02:00
Benno Schulenberg
e90b40e651
docs: add a note saying that rebinding ^M or ^I is not advisable
...
Also say that rebinding ^H is sometimes impossible, or when it's
made possible, that it rebinds the Backspace key too.
This addresses https://savannah.gnu.org/bugs/?56994 .
Reported-by: Tiago Almeida <tjamadeira@gmail.com>
2019-10-07 13:28:27 +02:00
Benno Schulenberg
07c1e72216
tweaks: slightly reword some fragments in the manual's rebinding section
2019-10-07 13:01:18 +02:00
Benno Schulenberg
c95e5362e6
docs: mention that color rules are applied in the order they are listed
...
Suggested-by: Tiago Almeida <tjamadeira@gmail.com>
2019-10-06 14:27:29 +02:00
Benno Schulenberg
9a2ef3a542
bump version numbers and add a news item for the 4.5 release
2019-10-04 11:31:29 +02:00
Benno Schulenberg
310c971d50
docs: describe the new syntax-specific 'tabgives' command
2019-09-25 19:42:16 +02:00
Benno Schulenberg
aecbc6faa9
bump version numbers and add a news item for the 4.4 release
2019-08-25 10:29:14 +02:00
Benno Schulenberg
55983ee9d1
docs: make the synopsis of --speller and 'set speller' more accurate
2019-08-16 18:50:49 +02:00
Benno Schulenberg
94c9defde1
docs: slightly reword some of the descriptions around syntax highlighting
2019-08-09 19:16:16 +02:00
Benno Schulenberg
895d2b8e9c
bump version numbers and add a news item for the 4.3 release
2019-06-18 10:04:16 +02:00
Benno Schulenberg
3bf04afa6d
tweaks: specifically refer to the manual of GNU grep for more regex info
2019-06-09 12:30:35 +02:00
Benno Schulenberg
fea1901592
docs: remove "--" from the default value of 'quotestr'
...
Adjust the documentation to the removal of "--" in the previous commit.
2019-06-08 17:48:44 +02:00
Benno Schulenberg
f2c61c4b9a
docs: mention the default value for 'errorcolor'
2019-06-07 11:24:51 +02:00
Benno Schulenberg
c4e04eb682
docs: show double quotes where they are needed
...
Instead of saying that string parameters should be enclosed in
double quotes, just show the quotes in the relevant commands.
Also, rename the parameters, to better fit the subsequent description.
2019-06-07 11:15:02 +02:00
Benno Schulenberg
941637615b
docs: clarify that in nano regexes are extended regular expressions
...
And add a concise summary of the most important special characters.
This addresses https://savannah.gnu.org/bugs/?56438 .
2019-06-06 15:16:56 +02:00
Benno Schulenberg
378aa8bc41
docs: slightly reword the notice about the changed defaults since 4.0
2019-06-05 19:40:15 +02:00
Benno Schulenberg
edbdcb9b9a
docs: add a light warning to the explanation of --nonewlines
2019-06-04 19:54:58 +02:00
Benno Schulenberg
1ca9241eaa
bump version numbers and add a news item for the 4.2 release
2019-04-24 10:55:23 +02:00
Benno Schulenberg
8a4639cdd6
docs: put the 'set guidestripe' option into its alphabetical position
2019-04-16 10:05:35 +02:00
Benno Schulenberg
3a0a6b5db8
bump version numbers and add a news item for the 4.1 release
2019-04-15 09:33:07 +02:00
Benno Schulenberg
82f1ce8ebf
bindings: remove the jumpy-scrolling toggle entirely
...
It is still possible to use --jumpyscrolling on the command line or
'set jumpyscrolling' in a nanorc file, but a user will have to restart
nano when they decide they want chunky instead of smooth scrolling,
a decision that should be rather rare.
This frees up the M-S keystroke to be reused for toggling softwrap.
2019-04-09 17:46:21 +02:00
Benno Schulenberg
209531a761
docs: remove all mention of --finalnewline, and undefault --nonewlines
2019-04-07 10:02:22 +02:00
Benno Schulenberg
84d21b0972
tweaks: consistently use .sp instead of .PP to insert a blank line
...
And use plain .P to start a new paragraph.
2019-04-01 17:31:35 +02:00
Benno Schulenberg
a1375474d9
docs: remove the AUTHOR section, per advice from 'man man-pages'
...
Also because most of nano has meanwhile been written by other people
than Chris. And because authorship is meta-information, irrelevant
for knowing how to operate nano.
2019-03-25 15:55:34 +01:00
Benno Schulenberg
d0cc75f197
docs: put paths and filenames in italics, per 'man man-pages'
...
Plus a few other text and formatting tweaks.
2019-03-25 15:31:47 +01:00
Benno Schulenberg
0fccfc0373
docs: re-title the temporary section about the changed defaults
...
To avoid having both a NOTE and a NOTES section.
2019-03-25 15:22:30 +01:00
Benno Schulenberg
3e4edb2a5a
bump version numbers and add a news item for the 4.0 release
2019-03-24 12:14:12 +01:00
Benno Schulenberg
92ad431be4
tweaks: escape hyphens that must be hard hyphens in the man pages
2019-03-24 11:32:01 +01:00
Benno Schulenberg
37477bfbb5
tweaks: slightly reword, for esthetics of the resulting Info document
2019-03-24 10:57:55 +01:00
Benno Schulenberg
69601315c4
docs: add notes to draw attention to the changed defaults
2019-03-18 20:08:01 +01:00
Benno Schulenberg
d5b21d7bd0
copyright: update the years for the FSF in the documentation too
2019-03-11 08:27:19 +01:00
Benno Schulenberg
6e04d697a1
docs: describe the new options -J, --guidestripe, and 'set stripecolor'
2019-03-09 09:27:08 +01:00
Benno Schulenberg
2c7d336711
bindings: rename 'cutwordleft' to 'chopwordleft', and similar for right
...
These bindable functions should not connote cutting, as they don't put
anything into the cutbuffer.
2019-02-24 17:31:40 +01:00
Benno Schulenberg
5e769686fb
docs: mention that 'cutwordleft' is bound to <Shift+Ctrl+Delete>
...
The default binding was made in commit e6429e78
, half a year ago,
but the documentation was not adjusted.
2019-02-24 11:25:35 +01:00
Benno Schulenberg
df4d181987
help, docs: say "Delete" when things don't go into the cutbuffer
...
Reported-by: Božidar Putanec <bozidarp@yahoo.com>
2019-02-24 11:00:06 +01:00
Benno Schulenberg
00713a7c47
docs: deprecate the use of morespace, smooth, nonewlines, and nowrap
2019-02-20 16:34:29 +01:00
Benno Schulenberg
60bdac2bbc
docs: describe breaklonglines, emptyline, finalnewline, jumpyscrolling
2019-02-19 19:06:26 +01:00
Benno Schulenberg
6c89815e8b
docs: stop saying that --fill switches on automatic hard-wrapping
...
The two were decoupled in the previous commit. Just say that --fill
sets the target width for both justifying and automatic hard-wrapping.
2019-02-18 09:41:56 +01:00
Benno Schulenberg
2eb1960523
docs: mention that 'quotestr' enables the rewrapping of comment blocks
...
Inspired-by: David Griffith <dave@661.org>
2019-01-23 20:01:49 +01:00
Benno Schulenberg
63db58cbfd
docs: adjust for the enhancement of the default quoting regex
2019-01-22 20:06:14 +01:00
Benno Schulenberg
0213f412d1
docs: say that --rebinddelete can correct both <Backspace> and <Delete>
2018-12-28 19:48:54 +01:00
Benno Schulenberg
dc99610c36
docs: reword and reshuffle the description of --rawsequences
...
It's not just about the numeric keypad, but about the interpretation
of all editing keys (arrows, Home, End, PageUp, PageDown, Insert, and
Delete), of the escape sequences that they produce.
2018-12-28 19:29:38 +01:00
Benno Schulenberg
67c69b2298
options: rename long version of -K from --rebindkeypad to --rawsequences
...
To better describe what it does, and to have full contrast with the
--rebinddelete option: the latter can now be shortened to --rebind
without getting a conflict, and --rawsequences can be abbreviated
to simply --raw and still make sense.
2018-12-28 17:35:55 +01:00
Benno Schulenberg
3121ee4b2e
options: stop recognizing and mentioning --quiet and 'set quiet'
...
Those options have been a no-op and obsolete for over a year.
Just continue to accept and ignore -q, for some "compatibility"
with Pico.
2018-12-18 19:29:40 +01:00
Benno Schulenberg
9dd6407bea
docs: correct the descriptions of 'speller' and 'linter' functions
...
Since the last release, the linter function is bound separately and
no longer masks or overrides the speller function.
2018-12-17 16:05:35 +01:00
Benno Schulenberg
c0abcc6018
docs: harmonize the style of bindable-function descriptions
2018-12-10 11:57:14 +01:00
Benno Schulenberg
3a79766da6
rcfile, docs: remove deprecated forms of two options and five bindables
...
This addresses https://savannah.gnu.org/bugs/?53785 .
2018-12-03 10:25:55 +01:00
Benno Schulenberg
31fdd2908b
bump version numbers and add a news item for the 3.2 release
2018-11-11 16:42:46 +01:00
Benno Schulenberg
2404474dce
tweaks: change a bunch of URLs to use 'https' instead of 'http'
2018-11-11 14:46:23 +01:00
Brand Huntsman
252f14796e
bindings: hard-bind the zap function to M-Del (Alt+Delete)
...
So that the function is available in a default setup.
Signed-off-by: Brand Huntsman <alpha@qzx.com>
2018-11-04 11:47:03 +01:00
Brand Huntsman
ae3ec1784d
options: add --zap, that makes <Bsp> and <Del> erase a marked region
...
Using --zap or -Z on the command line, or 'set zap' in a nanorc file,
makes the <Bsp> and <Del> keys erase selected text (a marked region)
as they do in some other editors, and without affecting the cutbuffer.
This fulfills https://savannah.gnu.org/bugs/?54837 .
Requested-by: Liu Hao <lh_mouse@126.com>
Signed-off-by: Brand Huntsman <alpha@qzx.com>
2018-11-04 11:46:57 +01:00
Brand Huntsman
5662a38802
new feature: a bindable 'zap', to erase text without changing cutbuffer
...
This function allows the user to "make space": annihilating lines or
regions while keeping intact for pasting the stuff in the cutbuffer
that was cut or copied earlier.
Signed-off-by: Brand Huntsman <alpha@qzx.com>
2018-11-04 11:46:19 +01:00
Benno Schulenberg
91155486c7
docs: document the slightly changed workings of the --view option
2018-10-23 19:29:18 +02:00
Benno Schulenberg
f442f91187
bindings: rename 'prevhistory' to 'older' and 'nexthistory' to 'newer'
...
Rename not only the bindable functions, but more importantly reword the
tags that are shown for ^P and ^N in the help lines: "Older" / "Newer",
because these are clearer and not awkward abbreviations.
2018-10-15 17:31:40 +02:00
Benno Schulenberg
031f255ffd
bump version numbers and add a news item for the 3.1 release
2018-09-18 19:27:31 +02:00
Benno Schulenberg
8efdd08a86
bump version numbers and add a news item for the 3.0 release
2018-09-09 11:29:00 +02:00
Benno Schulenberg
80bea3eb9b
docs: slightly reword the description of four bindable functions
2018-08-26 09:41:27 +02:00
Benno Schulenberg
63b15275bd
bindings: remove the More-Space toggle entirely
...
It is so unlikely that a user will want to bind it that it
just clutters the help text (and the documentation).
2018-08-25 10:10:27 +02:00
Benno Schulenberg
772c324f25
bindings: remove backup and new-buffer toggles (M-B, M-F) from main menu
...
These are available in the menus where they are relevant: the Write-Out
and the Insert menu, respectively. Having them duplicated in the main
menu is inconsistent and eats precious keystrokes. (Sorry, Chris.)
2018-08-25 10:07:28 +02:00
Benno Schulenberg
bc42ae42a9
docs: the 'noconvert' bindable function was renamed to 'flipconvert'
...
Also, move it to sit with the other toggles of the Insert menu, and
remove its mention from among the main-menu toggles.
2018-08-25 10:05:21 +02:00
Benno Schulenberg
8560a0a225
docs: mention that "normal" can be used to give things the default color
2018-08-10 19:42:31 +02:00
Benno Schulenberg
5c179aae7d
docs: mention that the 'formatter' command has been superseded
2018-08-09 20:29:30 +02:00
Benno Schulenberg
975b491235
dropping a feature: remove the ability to use the 'formatter' command
...
Since the last version, the user can filter an entire buffer through
an external command. This external command can also be a formatting
program, so there is no longer any need for this specific and special
formatter command.
2018-08-09 20:29:30 +02:00
Benno Schulenberg
418bd3be34
rcfile: allow to rebind the Cancel function in the yesno menu
...
This fixes the first part of https://savannah.gnu.org/bugs/?54447 .
2018-08-05 20:01:47 +02:00
Benno Schulenberg
9a47a9c4c0
rcfile, docs: no longer recognize nor mention 'set backwards'
...
The option has been a no-op since 2.9.0. And now that the
^W/^Q/M-W/M-Q set is available, 'set backwards' is entirely
outdated.
2018-07-29 21:00:12 +02:00
Benno Schulenberg
54a4123d4c
bindings: remove the 'searchagain' function entirely
...
The user is obliged to make use of 'findprevious' and 'findnext' instead.
Also, adjust the description of 'wherewas' to its wider availability.
2018-07-29 11:43:13 +02:00
Benno Schulenberg
d04c8f88f1
docs: say that 'cutwordright' is now bound to <Ctrl+Delete> by default
...
Also, suggest to rebind ^H to 'cutwordleft' so that <Ctrl+Backspace>
will delete the word to the left of the cursor (on some terminals).
2018-07-22 19:27:50 +02:00
Benno Schulenberg
7c9a4793dd
tweaks: properly escape "\" in a man page and "@" in a texi document
...
Also make the involved sentences more precise.
2018-07-19 20:17:27 +02:00
Benno Schulenberg
eb84205426
bindings: rename two bindable functions: copytext to copy, uncut to paste
...
To match the common names used for these functions, for consistency,
and because 'uncut' sounds too much like "undo the cut".
2018-07-13 19:46:56 +02:00
Benno Schulenberg
c2593c1c5a
docs: reshuffle a bindable function to a slightly better position
2018-07-13 19:46:56 +02:00
David Lawrence Ramsey
4c02329205
docs: mention that "Ins" and "Del" are valid rebindable keys
...
Also, consistently refer to Latin letters and ASCII characters
where needed, and document more accepted characters.
This addresses https://savannah.gnu.org/bugs/?54071 .
2018-07-11 14:10:35 +02:00
Benno Schulenberg
1057ca7a16
bump version numbers and add a news item for the 2.9.8 release
2018-06-02 09:51:16 +02:00
Benno Schulenberg
54cab02030
docs: improve the description of --nonewlines, and properly sort it
2018-06-01 15:54:08 +02:00
Benno Schulenberg
2633114b8e
docs: add a missing double quote in the default brackets string
...
It was accidentally lost three years ago, in commit 7e1bc82d
.
Also improve the description of this option in the other documents.
2018-06-01 15:53:57 +02:00
Benno Schulenberg
856322b01e
main: interpret only a double slash (//) as quoting, not a single one
...
Otherwise the first line of a multiline /*...*/-comment would be
seen as quoted and thus *not* as the first line of a paragraph.
In the code, use "/{2}" to prevent the remainder of the line
getting colored as a comment.
2018-06-01 09:21:03 +02:00
Benno Schulenberg
a4e353799b
docs: make quotes around regexes bold, as they are part of the command
2018-05-31 12:07:12 +02:00
Benno Schulenberg
64f28515fd
docs: remove quotes around the name of a syntax -- they are not needed
2018-05-31 11:25:21 +02:00
Benno Schulenberg
b84dea9898
docs: improve description of 'speller' and related bindable functions
2018-05-30 20:38:27 +02:00
Benno Schulenberg
a1dc1376be
docs: describe what constitutes a paragraph
...
Also fix a typo.
2018-05-30 10:32:26 +02:00
Benno Schulenberg
6fe132194c
docs: improve the description of the --autoindent option
2018-05-30 10:29:31 +02:00
Benno Schulenberg
cd8e932c65
main: add "/" to the quoting regex, to allow justifying //-comments
...
And adjust the documentation accordingly.
2018-05-27 20:29:52 +02:00
David Lawrence Ramsey
a6c0212158
bindings: add the "flippipe" bindable function
...
So the toggle for piping to an external command can be rebound.
This fixes https://savannah.gnu.org/bugs/?53987 .
2018-05-27 10:36:33 +02:00
Benno Schulenberg
299e710845
docs, usage: make it clear that the argument of --quotestr is a regex
...
In the past, the argument could be either a regex or a literal string,
so the wording was kind of vague. But nowadays we can count on having
regex support (through gnulib), so be more precise in the description.
2018-05-22 18:45:58 +02:00
Benno Schulenberg
3628863f90
docs: remove mention of the quotestr for when regex support is lacking
...
Since version 2.8.0, nano will use (wnen needed) the regex routines
from gnulib, so mentioning the quotestr for when regex support is
lacking, has been obsolete and pointless for more than a year.
Also, remove some superfluous backslashes, use a non-breaking space
in the texinfo document, and order the regex consistently.
2018-05-21 20:08:19 +02:00
Benno Schulenberg
09d8ee82b7
bump version numbers and add a news item for the 2.9.7 release
2018-05-15 08:48:00 +02:00
Mark-Weston
858663444e
new feature: an option to make the 'nextword' function stop at word ends
...
When 'afterends' is set and Ctrl+Right or Shift+Ctrl+Right is pressed,
nano will stop at the ends of words instead of their beginnings.
Signed-off-by: Mark-Weston <markweston@cock.li>
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
2018-05-10 11:32:01 +02:00
Benno Schulenberg
f1530c7ba0
docs: add notes about deprecated options and function names
...
Also remove two notes that are obsolete by now.
2018-04-30 15:28:47 +02:00
Benno Schulenberg
4d92dffb3a
bindings: rename constupdate to constantshow, cuttoend to cutfromcursor
...
This makes the names of these bindable functions equal to the names of
their corresponding options -- like for all the other toggles that have
a corresponding option.
2018-04-28 12:01:23 +02:00
Benno Schulenberg
4c1c425bbb
bindings: add the 'linenumbers' bindable function
...
This makes the line-numbers toggle rebindable, like all the others.
2018-04-28 11:44:53 +02:00
Benno Schulenberg
a0147c5a72
bump version numbers and add a news item for the 2.9.6 release
2018-04-27 10:56:10 +02:00
Benno Schulenberg
27eccbec23
bump version numbers and add a news item for the 2.9.5 release
2018-03-29 09:59:13 +02:00
Benno Schulenberg
e01bcddf16
docs: document the newly added color name "normal"
2018-03-28 14:03:52 +02:00
Benno Schulenberg
336fa40055
docs: clarify what the scrollup and scrolldown bindable functions do
2018-03-17 14:27:23 +01:00
Benno Schulenberg
c782b4cb72
bump version numbers and add a news item for the 2.9.4 release
2018-03-08 10:59:32 +01:00
Benno Schulenberg
7f88eff96f
docs: mention that a key can be bound to a string
2018-02-28 17:28:16 +01:00
Benno Schulenberg
cb0289f0dc
tweaks: fix a copy-and-paste error
2018-02-24 13:31:59 +01:00
Benno Schulenberg
b027263a37
small addition: allow customizing the color of an error message
...
The new option 'set errorcolor' allows the user to specify the color
combination for the status bar when an error message is displayed.
2018-02-23 12:35:17 +01:00
Benno Schulenberg
467cc8edf3
tweaks: remove two deprecated options and six rebindable function names
...
This addresses https://savannah.gnu.org/bugs/?48992 .
2018-02-04 13:51:13 +01:00
Benno Schulenberg
bb667beb5a
bindings: rename the bindable function 'gototext' to 'flipgoto'
...
This brings it in line with the other three "flip" toggles.
2018-02-04 10:34:39 +01:00
Benno Schulenberg
ae7366616f
bump version numbers and add a news item for the 2.9.3 release
2018-01-29 09:31:12 +01:00
Benno Schulenberg
30f367e0db
bump version numbers and add a news item for the 2.9.2 release
2018-01-02 15:51:12 +01:00
Benno Schulenberg
66fd6a5ab1
options: rename 'justifytrim' to 'trimblanks', because it has morphed
...
The option now causes nano to trim trailing whitespace also when
hardwrapping occurs while the user is typing.
2017-12-06 20:38:13 +01:00
Benno Schulenberg
800a997008
bump version numbers and add a news item for the 2.9.1 release
2017-11-27 19:06:26 +01:00
Benno Schulenberg
0465adb9ce
bump version numbers and add a news item for the 2.9.0 release
2017-11-18 11:33:28 +01:00
Benno Schulenberg
7ea13d4269
tweaks: correct two minor things in the documentation
2017-11-17 21:52:31 +01:00
Benno Schulenberg
06049f5141
docs: update references to the nanorc files for the XDG changes
2017-11-17 21:40:54 +01:00
Benno Schulenberg
c3a11fb7ed
options: remove '--quiet' and 'set quiet', because they hide problems
...
If the user uses a single version of nano, they have no need for
--quiet. If they do sometimes use an older version and don't want
to see the warnings, they can use 2>/dev/null (they could make an
alias for that and put it before the call of nano).
2017-11-02 17:27:53 +01:00
David Lawrence Ramsey
2356693b81
docs: document the more everyday names of three bindable functions
...
List "browser", "pageup" and "pagedown" in the manuals; the first
because it matches "speller", and the latter two because they are
what these functions are commonly known by. The names "tofiles",
"prevpage" and "nextpage" are now undocumented, but they are still
recognized by the code, as they match the tags for these functions.
2017-10-25 17:44:13 +02:00
David Lawrence Ramsey
4d35835189
docs: decribe the bindable functions 'recordmacro' and 'runmacro'
2017-10-19 21:37:41 +02:00
Benno Schulenberg
fc36ff7275
options: retire 'set backwards' -- it's still recognized but a no-op
2017-10-15 10:45:22 +02:00
Benno Schulenberg
c7eecd74de
new feature: a bindable function that starts always a backward search
2017-10-14 20:30:46 +02:00
Benno Schulenberg
80ed2568fc
tweaks: remove a comment from the docs that is no longer accurate
...
Date and version are updated to match each release, so the user does
not have to wonder whether the man page really describes the binary.
Also remove a bit of superfluous markup.
2017-10-12 21:17:39 +02:00
Benno Schulenberg
a09eedf0a3
bump version numbers and add a news item for the 2.8.7 release
2017-08-27 09:37:01 +02:00
David Lawrence Ramsey
1c1cbae6bc
small addition: allow customizing the color of selected text
...
The new option 'set selectedcolor' applies to marked text, to the
currently selected file in the file browser, and to the highlighted
match during interactive search-and-replace.
2017-08-06 09:30:32 +02:00
Benno Schulenberg
8f2ac1b7f6
bump version numbers and add a news item for the 2.8.6 release
2017-07-21 09:51:22 +02:00
Benno Schulenberg
e4a69f8b94
docs: move the descriptions of 'header' and 'magic' next to 'syntax'
...
And reword them too, so that it is clearer what the mechanism is
for determining which syntax to use for a file.
2017-07-15 12:32:57 +02:00
Benno Schulenberg
63c428ad08
options: rename --cut to --cutfromcursor, to be clearer
...
Rename the corresponding rc-file option too, of course.
2017-07-14 16:06:52 +02:00
Benno Schulenberg
f4c3670f64
docs: reword the explanation of the 'syntax' command
2017-07-14 15:21:30 +02:00
David Lawrence Ramsey
bb4d0d548a
new feature: allow lines to be softwrapped at whitespace
...
Extend get_softwrap_breakpoint() to break softwrapped lines on
whitespace when a flag is set. This flag is controlled by the new
rcfile option "atblanks". The '>' characters marking two-column
characters at the edge of the screen are disabled when it's on.
If get_softwrap_breakpoint() can't find whitespace in screen range, it
will break the line on the screen edge. (In this case, a blank can be
on the last column of the screen, but text can't, so that a blank on the
last column doesn't become invisible and possibly break the display.)
This fulfills https://savannah.gnu.org/bugs/index.php?49959 .
Requested-by: Nicholas Boel <axxisd@gmail.com>
2017-07-07 13:07:10 +02:00
David Lawrence Ramsey
30986db708
docs: mention that boldtext can be overridden also for function tags
2017-07-07 10:27:18 +02:00
Benno Schulenberg
79971a309f
docs: remove the mention of backslashes for the argument of 'comment'
...
Also remove the backslashes from the two syntaxes that contained them.
This completes the fix for https://savannah.gnu.org/bugs/?51370 .
2017-07-07 10:15:17 +02:00
Benno Schulenberg
1ae97076cd
docs: make the guillemot and the middle dot appear correctly in HTML
...
For the man page, encode them properly, and for the Info stuff,
just set the right document encoding.
This fixes https://savannah.gnu.org/bugs/?51369 .
2017-07-03 13:03:54 +02:00
Benno Schulenberg
09f516a58b
syntax: man, groff: fix the string that introduces a comment
...
The comment marker is not «."» but «.\"», which requires three
backslashes to specify. Also adjust the documentation.
2017-07-03 11:07:21 +02:00
David Lawrence Ramsey
025232b25b
docs: mention the default values for comment and whitespace directives
...
Also, use proper mark-up for the examples.
2017-07-03 10:43:09 +02:00
David Lawrence Ramsey
9ffd3c0222
docs: consistently describe the -U/-c and -r/-w overrides
2017-06-29 17:48:50 +02:00
Benno Schulenberg
6520aa0079
bump version numbers and add a news item for the 2.8.5 release
2017-06-25 10:37:17 +02:00
Benno Schulenberg
b4a955512e
docs: spell "title bar" and "status bar" correctly
2017-06-18 20:09:30 +02:00
Benno Schulenberg
5907f8801b
bump version numbers and add a news item for the 2.8.4 release
2017-05-21 10:21:03 +02:00