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
Benno Schulenberg
afd8a4e804
bump version numbers and add a news item for the 2.8.3 release
2017-05-18 11:53:19 +02:00
Benno Schulenberg
e1e15fd0f4
bump version numbers and add a news item for the 2.8.2 release
2017-05-04 10:24:54 +02:00
Benno Schulenberg
ac1444578c
docs: harmonize the nanorc man page and Info document a bit
...
And make the strings after "start=" and "end=" more readable.
2017-04-21 11:29:19 +02:00
Benno Schulenberg
9a4c384afa
docs: reword the main paragraph of the man page
...
Mention some things that really set nano apart from Pico.
Plus some other small tweaks here and there.
2017-04-19 20:31:04 +02:00
David Lawrence Ramsey
bbc718633e
docs: mention that also numbercolor overrides boldtext
2017-04-16 19:30:40 +02:00
Benno Schulenberg
1e8f6fd7a9
bump version numbers and add a news item for the 2.8.1 release
2017-04-12 10:11:45 +02:00
Benno Schulenberg
754c62c5cc
copyright: update the years, use ranges, and explain this usage
...
The interval 2013-2017 for the Free Software Foundation is valid
because in those years there were releases with changes by either
Chris or David, and the GNU maintainers guide advises to mention
a new year in all files of a package, not just in the ones that
actually changed, and be done with it for the rest of the year.
2017-04-09 12:09:23 +02:00
Benno Schulenberg
032030566c
bump version numbers and add a news item for the 2.8.0 release
2017-03-31 10:54:55 +02:00
Benno Schulenberg
6d873d3760
startup: add option 'nopauses' to disable pausing after a warning
...
This addresses a followup of https://savannah.gnu.org/bugs/?50362 .
Reported-by: Mike Frysinger <vapier@gentoo.org>
2017-03-16 19:26:39 +01:00
Benno Schulenberg
926fe5f789
bump version numbers and add a news item for the 2.7.5 release
2017-02-23 11:33:45 +01:00
Benno Schulenberg
f119a90fe5
bump version numbers and add a news item for the 2.7.4 release
2017-01-10 11:29:34 +01:00
Benno Schulenberg
6981294c9d
build: move all documentation into a single directory
...
There are just a handful of source files for the documentation --
it is wasteful and cumbersome to have these in separate directories.
Also: remove the French man pages -- they are too far out of date.
(And anyway, we should acquire a general framework for translating
the documentation.)
2016-12-30 22:05:00 +01:00