Benno Schulenberg
586a7d22e7
docs: add the customary (1) after the name of command-line programs
...
Also, don't format the wrapping quotes of strings,
and normalize the formatting of default values.
This addresses https://savannah.gnu.org/bugs/?59064 .
Reported-by: Helge Kreutzmann <debian@helgefjell.de>
2020-09-05 19:43:51 +02:00
Benno Schulenberg
63ac050733
bump version numbers and add a news item for the 5.2 release
2020-08-24 09:53:07 +02:00
Benno Schulenberg
b1a0f5e65a
bump version numbers and add a news item for the 5.1 release
2020-08-12 07:57:31 +02:00
Benno Schulenberg
5b56791aef
docs: mention that anchors are visible when line numbers are shown
...
Suggested-by: Tomáš Mudruňka <mudrunka@spoje.net>
2020-08-03 10:27:57 +02:00
Benno Schulenberg
df9ca85961
bump version numbers and add a news item for the 5.0 release
2020-07-29 09:44:39 +02:00
Benno Schulenberg
2261377309
docs: complete the renaming of 'tempfile' to 'saveonexit'
...
This should have been part of commit d4ee6a2b
from two months ago.
2020-07-05 10:53:57 +02:00
Benno Schulenberg
da0ac58ecc
docs: document the new -O/--bookstyle and 'set bookstyle' options
2020-06-27 11:12:21 +02:00
Benno Schulenberg
b1b89f01b7
docs: mention that M-X toggle is special, because available in most menus
2020-06-24 09:30:08 +02:00
Benno Schulenberg
32ee39e44a
docs: document the --indicator (-q) and 'set indicator' options
2020-06-04 18:52:28 +02:00
Benno Schulenberg
d4ee6a2b53
options: rename --tempfile to --saveonexit, to be far clearer
...
A long option should describe what it does, not vaguely hint at it.
Also, in several places of nano's code we deal with actual temp files,
and then having a flag called TEMP_FILE that doesn't have anything to
do with temp files is somewhat confusing.
2020-04-30 19:12:54 +02:00
Benno Schulenberg
5755ecdbfc
options: let --afterends affect also the deleting of words (Ctrl+Delete)
...
It makes more sense that <Ctrl+Delete> deletes the same thing as what
<Shift+Ctrl+Right> would select.
Suggested-by: Liu Hao <lh_mouse@126.com>
2020-04-14 12:14:49 +02:00
Benno Schulenberg
2d4bacf61d
docs: stop mentioning that --wordchars overrides --wordbounds
...
Since the previous commit, it no longer does. Instead, the two
interfere, and the user probably wants to use just one of them.
2020-04-06 19:07:02 +02:00
Benno Schulenberg
7d3aad403d
options: make -S the short synonym of --softwrap
...
The form -$ is still accepted, but is deprecated.
2020-03-27 17:02:55 +01:00
Benno Schulenberg
aa70f3d95e
options: stop recognizing the obsolete --morespace and --smooth
...
They have been no-ops for a year.
Also remove their documentation entries.
(The nanorc options still remain -- to be removed next year.)
2020-03-27 16:54:09 +01:00
Benno Schulenberg
49a84f9e8a
bump version numbers and add a news item for the 4.9 release
2020-03-24 11:11:22 +01:00
Benno Schulenberg
39ed865043
docs: improve the descriptions of --softwrap and 'set softwrap'
2020-03-19 13:10:28 +01:00
Benno Schulenberg
067ee1a6b1
tweaks: highlight keystrokes in the documentation more consistently
2020-03-13 16:40:34 +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
f2ae08ab19
bump version numbers and add a news item for the 4.8 release
2020-02-07 10:50:44 +01:00
Benno Schulenberg
0856f53703
docs: mention that -D/--boldtext gets overridden by some nanorc options
...
Also, remove an obsolete anchor, and add a missing word.
2020-02-06 16:07:11 +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
aac3126183
docs: improve the description of which rc-files are read during startup
2020-01-19 13:27:41 +01:00
Benno Schulenberg
63cddceeaa
docs: document the new -f/--rcfile option
2020-01-19 12:55:43 +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
076eb6f6af
docs: mention that a negative number after "+" counts from the end
...
A negative line number given on the command line counts from the end
of the relevant file (-1 meaning the first line from the bottom),
and a negative column number from the end of the relevant line.
The feature was added in version 2.8.5 but not mentioned in the manual.
This addresses https://savannah.gnu.org/bugs/?57342 .
Suggested-by: Andreas Schamanek <schamane@fam.tuwien.ac.at>
2019-12-02 17:00:35 +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
51a3f78d69
docs: mention that 'hunspell' is now the first default spelling program
2019-11-25 17:38:50 +01: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
aecbc6faa9
bump version numbers and add a news item for the 4.4 release
2019-08-25 10:29:14 +02:00
Benno Schulenberg
a06b921f12
docs: document the search-at-startup feature (+/string or +?string)
2019-08-20 19:22:25 +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
895d2b8e9c
bump version numbers and add a news item for the 4.3 release
2019-06-18 10:04:16 +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
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
3a0a6b5db8
bump version numbers and add a news item for the 4.1 release
2019-04-15 09:33:07 +02:00
Benno Schulenberg
1fe3e2ed69
docs: mention that -b is the opposite of -w also in the latter's item
2019-04-14 08:49:25 +02:00
Benno Schulenberg
90cbdbbe75
docs: mention that M-S now toggles softwrap and M-N line numbers
2019-04-11 17:46:19 +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
d0a7e6e6a6
docs: give the FILES section in the man page its canonical title
...
Suggested-by: Michael Siegel <msi@malbolge.net>
2019-03-25 14:59:28 +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
3270250184
docs: mention that --morespace and --smooth are obsolete and ignored
2019-02-19 19:34:34 +01:00
Benno Schulenberg
f6c767a372
docs: describe the four new options (-b, -f, -j, -e)
2019-02-19 17:48:43 +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
98b1f8f059
options: stop recognizing and ignoring -b, -e, -f, -j, and -q
...
This signals our break from trying to be as compatible with Pico as
possible. We were already incompatible with modern Pico in the -n
and -W options, and in several character-set and color options, so
ignoring those five options brought us very little.
Anyway, soon some of those options will be reused and will have the
effect of making nano look and behave more like Pico.
2019-01-25 11:22:56 +01:00
Benno Schulenberg
6aad99bd81
docs: stop implying that nano wants to be fully compatible with Pico
2019-01-25 10:50:14 +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
David Lawrence Ramsey
44ea37573a
docs: remove references to not being able to undo justifications
...
Any series of justifications (and other edits) is now undoable.
2018-11-20 19:21:35 +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
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
Benno Schulenberg
91155486c7
docs: document the slightly changed workings of the --view option
2018-10-23 19:29:18 +02:00
Benno Schulenberg
f9134af504
docs, usage: mention that --showcursor now covers help texts too
2018-10-07 10:38:11 +02:00
Benno Schulenberg
eb9111a575
docs: update the description of -R/--restricted, as it now reads nanorc
2018-10-02 19:30:51 +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
078265456c
docs: mention that also Ctrl increases the stride when selecting text
...
The Alt key together with Shift is a special workaround for when
Shift+PgUp and Shift+PgDn don't work on the user's terminal. But
probably it is more common to use the Ctrl key together with Shift
to select larger pieces of text. So mention this possibility.
2018-07-10 15:58:41 +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
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
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
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
c0b15c2982
signals: don't trap segfault/abort when envvar NANO_NOCATCH is defined
...
When the user wants to get a backtrace, the crash handler shouldn't
kick in.
2018-05-09 11:53:34 +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
f9415e347a
docs: clarify how the Linux console is deficient: in the arrow keys
2018-03-28 19:34:26 +02: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
48749a9500
docs: note also in the Info manual that text can be selected with Shift
...
And remove a detail that is untrue when 'set selectedcolor' is used.
2018-02-27 09:50:45 +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
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
ddc1de1939
docs: remove the note about needing a recent ncurses for macros to work
...
After commit e739448c
, macros should work also when ncurses produces
escape sequences instead of keycodes.
2018-01-27 17:54:32 +01:00
Benno Schulenberg
cb56a575fd
options: recognize -M and --trimblanks on the command line
2018-01-23 13:49:48 +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
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
06049f5141
docs: update references to the nanorc files for the XDG changes
2017-11-17 21:40:54 +01:00
Benno Schulenberg
4220854367
docs: mention that macros work correctly only on terminal emulators
2017-11-13 21:08:36 +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
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