Benno Schulenberg
1c307bc1be
docs: add a clarifying note to the description of --tabstospaces
2023-01-26 17:01:48 +01:00
Jordi Mallach
d19915ea44
docs: fix "availabilty" typo in the manual and the nanorc manpage
2023-01-19 09:24:58 +01:00
Benno Schulenberg
7b48a9f671
bump version numbers and add a news item for the 7.2 release
2023-01-18 09:07:41 +01:00
Benno Schulenberg
c33f0b7d8d
docs: give ^K and ^U some useful function in the alternative bindings
...
Make them behave like in a shell: let ^K delete till end-of-line,
and let ^U delete to beginning-of-line.
2023-01-12 15:55:38 +01:00
Benno Schulenberg
fd51fee424
docs: put the binding of ^Y after its unbinding, for it to be effective
...
The misordering existed since commit 16ee4636
from a year ago.
2023-01-12 15:44:01 +01:00
Benno Schulenberg
6e88389fb8
copyright: update the years for the FSF
2023-01-06 10:37:15 +01:00
Benno Schulenberg
3791ed86a3
bump version numbers and add a news item for the 7.1 release
2022-12-14 10:50:32 +01:00
Benno Schulenberg
972be2df04
bump version numbers and add a news item for the 7.0 release
2022-11-15 11:17:34 +01:00
Benno Schulenberg
baa4edc6ca
docs: improve the legibility of an itemized list
...
Also, mention my email address in the colophon of the PDF,
to avoid the impression that Chris is the sole responsible.
And improve the general layout by adding three blank lines.
2022-10-20 15:44:44 +02:00
Benno Schulenberg
5b654ce9fb
docs: suggest a key binding for snipping trailing blanks
...
This addresses https://savannah.gnu.org/bugs/?63062 .
2022-09-18 10:44:05 +02:00
Benno Schulenberg
98e9a881c0
docs: mention in the man page how M-V can insert any Unicode code point
...
This addresses https://savannah.gnu.org/bugs/?63055 .
Inspired-by: Tasos Papastylianou <tpapastylianou@hotmail.com>
2022-09-18 09:05:28 +02:00
Benno Schulenberg
bdaec3f934
docs: clarify the distinction between binding a function and "{function}"
...
This addresses https://savannah.gnu.org/bugs/?63010 .
Inspired-by: Tasos Papastylianou <tpapastylianou@hotmail.com>
2022-09-11 16:29:18 +02:00
Benno Schulenberg
e7491920fd
docs: explain how to include a double quote plus space in a nanorc regex
...
As double-quote-plus-space indicates the end of a regular expression
in a nanorc file, the inclusion of this combination *in* a regular
expression requires breaking the juxtaposition of the two, which
can be achieved by putting either of them between square brackets.
(It can also be achieved by preceding the space with a backslash,
which is shorter, but... the above method is more symmetrical.)
This addresses https://savannah.gnu.org/bugs/?62997 .
2022-09-01 17:29:04 +02:00
Benno Schulenberg
80f7852941
docs: describe --disable-formatter and --disable-linter configure options
2022-08-29 08:30:30 +02:00
Benno Schulenberg
8b4bf2bb8d
docs: mention that string binds may contain function names between braces
2022-08-18 09:11:49 +02:00
Benno Schulenberg
2a515058be
docs: replace control codes in the examples with {command} cartouches
...
This avoids https://savannah.gnu.org/bugs/?61720 .
Problem existed since version 5.8, commit 74c6bdac
.
2022-08-18 09:11:49 +02:00
Benno Schulenberg
f4a2e7efe2
tweaks: move the --magic option up, so that --zero comes last
...
This makes that the three options that change the default layout
of the interface (--stateflags, --minibar, --zero) come last.
Also, sort the option letters into a consistent order in the code.
2022-08-17 14:31:44 +02:00
Benno Schulenberg
f1651abdac
bump version numbers and add a news item for the 6.4 release
2022-08-02 08:44:50 +02:00
Benno Schulenberg
b60a26d40b
tweaks: reshuffle a description and rewrap another
...
The reshuffling places the detailed descriptions of some commands
in the same section.
2022-07-25 10:45:02 +02:00
Benno Schulenberg
36fcdce886
docs: concisely describe how the linter behaves
2022-07-25 10:27:15 +02:00
Benno Schulenberg
18a40caa48
docs: remove the two notices about the changed defaults
...
It has been more than three years since version 4.0 was released,
the moment that the defaults for line wrapping, smooth scrolling,
and the size of the editing window were changed.
Keep the note in the texi manual, though, as it is less in the way,
and the manual generally contains more info than the man pages.
2022-06-19 10:30:44 +02:00
Benno Schulenberg
1980f1b2ba
docs: stop mentioning the obsoleted keywords that were removed
...
But keep the note about --suspendable, as it has been obsoleted rather
recentl. Move it to the NOTES section.
2022-06-19 10:29:46 +02:00
Benno Schulenberg
80a924edfa
docs: rename README.GIT to README.hacking, so it's clearer what is meant
2022-06-12 17:29:32 +02:00
Benno Schulenberg
a6b534d760
bump version numbers and add a news item for the 6.3 release
2022-04-28 10:08:34 +02:00
Benno Schulenberg
c022c4cc6d
docs: add an example binding for copying text to the system clipboard
2022-04-12 11:18:25 +02:00
Benno Schulenberg
a1ba7ee786
bump version numbers and add a news item for the 6.2 release
2022-02-18 10:44:22 +01:00
Benno Schulenberg
a58efa70bc
tweaks: consistently backslash-escape the dash in M-letter keystrokes
2022-02-16 12:19:31 +01:00
Benno Schulenberg
a6dc5c963c
bump version numbers and add a news item for the 6.1 release
2022-02-09 11:31:03 +01:00
Benno Schulenberg
f9f0a8fd67
copyright: update the years for the FSF
2022-02-02 17:10:09 +01:00
Benno Schulenberg
16ee4636bc
tweaks: reshuffle some sample bindings, to group them differently
2021-12-26 17:44:42 +01:00
Benno Schulenberg
6831b37b43
tweaks: drop foreign M-U and M-R from among the sample CUA bindings
...
M-U and M-R are not usual bindings for Undo and Redo.
2021-12-26 17:35:30 +01:00
Benno Schulenberg
4a7bc73e03
docs: mention 'set guidestripe' and 'set unix' in the sample nanorc
...
Somehow these entries were missed when those options were added.
Reported-by: Tasos Papastylianou <tpapastylianou@hotmail.com>
2021-12-24 17:38:10 +01:00
Benno Schulenberg
caf583ec4b
docs: mention bindable function 'zero', for toggling the interface bars
...
This should have been part of commit a623f583
from six weeks ago.
Reported-by: Tasos Papastylianou <tpapastylianou@hotmail.com>
2021-12-23 16:14:21 +01:00
Benno Schulenberg
e20880da21
docs: remove obsolete Ctrl+Z from the cheatsheet; mention Alt+X instead
...
This should have been part of commit d0c2c1e6
from seven weeks ago.
Reported-by: Tasos Papastylianou <tpapastylianou@hotmail.com>
2021-12-23 15:48:15 +01:00
Benno Schulenberg
33ba6be91f
bump version numbers and add a news item for the 6.0 release
2021-12-15 12:04:56 +01:00
Benno Schulenberg
9c1c6c18ae
docs: explain what it means when --rawsequences is needed
2021-12-13 16:45:42 +01:00
Benno Schulenberg
c00c12b64b
docs: list the new color names, from 'rosy' to 'crimson'
2021-12-12 12:01:45 +01:00
Benno Schulenberg
a43ee17ad0
docs: document the effect of --quickblank together with --zero/--minibar
2021-11-29 10:47:49 +01:00
Benno Schulenberg
9ebee362a5
tweaks: fix typo, and improve description of 'set zero' in sample nanorc
2021-11-27 16:52:54 +01:00
Benno Schulenberg
27928e47be
docs: mention that --zero and 'set zero' hide also the help lines
2021-11-26 11:01:33 +01:00
Brad Town
9a778f9a00
docs: add a description of the hexadecimal #rgb color specification
...
Also, update the syntax to colorize these codes the same as color names.
Signed-off-by: Brad Town <brad@bradtown.com>
2021-11-23 11:56:06 +01:00
Benno Schulenberg
b66a040828
tweaks: shorten the description of --zero in the manuals a bit
2021-11-16 16:23:23 +01:00
Benno Schulenberg
b76b5b9967
tweaks: use a few fewer capitals, and drop an unneeded synonym
2021-11-13 16:33:47 +01:00
Benno Schulenberg
1007ca5af8
docs: mention M-Z (for toggling the interface) among the Feature Toggles
...
And rephrase the M-Y description a bit, for shortness and variety.
2021-11-13 16:30:38 +01:00
Benno Schulenberg
a623f5836c
docs: explain the effect of --zero / -0 / 'set zero'
...
Also, colorize 'set zero' as valid option in a nanorc file.
2021-11-09 16:31:04 +01:00
Benno Schulenberg
dfbe3ce6dc
docs: clarify that --enable options do not fully counteract --enable-tiny
...
This addresses https://savannah.gnu.org/bugs/?61441 .
Reported-by: Hannu Nyman <hannu.nyman@iki.fi>
2021-11-09 10:50:29 +01:00
Benno Schulenberg
cc24e8b86b
docs: give more examples of things that --enable-tiny excludes
2021-11-08 17:20:15 +01:00
Benno Schulenberg
d0c2c1e6b9
suspension: leave ^Z unbound by default -- just ^T^Z will suspend nano
...
Suggest in the documentation how to get a one-keystroke Suspend.
2021-11-05 15:24:45 +01:00
Benno Schulenberg
7365ef4092
docs: mention "grey" also at the other place where color names are listed
...
And harmonize the wrapping of the phrase.
Indirectly-reported-by: Brad Town <brad@bradtown.com>
2021-11-03 11:21:39 +01:00
Benno Schulenberg
fc5d58ad97
tweaks: add two spaces and two comments, and drop an internal check
2021-10-31 16:45:43 +01:00
Benno Schulenberg
a373fa500a
docs: add a suggested rebind and three suggested unbinds to the sample rc
2021-10-31 11:14:09 +01:00
Benno Schulenberg
52d4b96639
docs: mark options -z, --suspendable, and 'set suspendable' as obsolete
2021-10-31 10:55:07 +01:00
Benno Schulenberg
0f40752139
docs: add a hint about making ^L do just 'refresh' to the sample nanorc
...
Just for the sake of completeness -- I doubt anyone ever uses Refresh.
2021-10-22 11:50:04 +02:00
Benno Schulenberg
f368e2732d
docs: reword several of the descriptions in the chapter on building nano
2021-10-20 16:12:48 +02:00
Benno Schulenberg
ad13746da9
docs: reword the beginning of the chapter on nanorc files
...
Also, move the text about valid color names to another item,
for shorter cross references.
2021-10-20 16:05:01 +02:00
Benno Schulenberg
440f39e558
docs: correct the description of the layout -- four areas, not five
...
Also, remove the concept of "shortcut list", as there is no need.
Just use "two help lines" instead, like elsewhere.
2021-10-19 16:17:53 +02:00
Benno Schulenberg
108c84daf8
docs: move the chapter about editor basics into third position
...
Or rather, move the chapter about command-line options to between
the chapters on file browser and feature toggles. Also, rename the
chapter about the built-in help, and move the section about screen
layout to be the first in the editor-basics chapter.
2021-10-19 15:53:49 +02:00
Benno Schulenberg
e63fe3be69
tweaks: reword a paragraph, and use usual M- to depict Meta keystrokes
2021-10-19 15:36:38 +02:00
Benno Schulenberg
bc4a141cba
tweaks: mark keystrokes consistently with @kbd in the manual
...
The @key command has the same visual result in the Info output, but
looks different (non-italic) from @kbd in the HTML and PDF outputs.
2021-10-19 14:21:28 +02:00
Benno Schulenberg
1f36d5411a
docs: improve the title of the manual, away from the bare "nano"
...
Also, suppress two unwanted blank lines in the HTML output, and
use a macro to avoid repeating the same three lines eight times.
2021-10-18 10:47:32 +02:00
Benno Schulenberg
46f76ca8b8
docs: avoid large Table of Contents at top of HTML version of manual
...
Texinfo-6.8 (that was used to build the docs of nano-5.9) changed
the way the @contents command is processed for HTML output, with as
result a detailed table of contents at the start of the HTML page.
That is ugly and too much detail. To avoid that, produce a table
of contents only when generating output meant for printing.
This fixes https://savannah.gnu.org/bugs/?61344 .
Bug existed since version 5.9.
2021-10-17 16:55:24 +02:00
Benno Schulenberg
3a09577e0c
tweaks: replace the obscure @* with the slightly clearer @sp
...
What @* does is guesswork when you don't use Texinfo regularly.
That the "sp" in the @sp command refers to vertical space is not
very clear either, but the command is used on nearby lines too,
so better use it more.
Also, improve two wordings and fix a four-year old typo.
2021-10-17 12:36:57 +02:00
Benno Schulenberg
557d8131ca
docs: prevent a black square in the PDF after the long synopsis line
...
Also, prevent an unwanted break in a keystroke.
2021-10-16 17:46:33 +02:00
Benno Schulenberg
89fd11109d
docs: add a meta description for the HTML rendering of the manual
...
Also, drop the Emacs mode line -- we don't use Emacs,
and Emacs doesn't need it.
2021-10-16 17:03:45 +02:00
Benno Schulenberg
af757d3b3f
docs: reshuffle a GNU marker, to make the title clearer in search engines
2021-10-11 09:27:56 +02:00
Benno Schulenberg
ba9e5ac05d
bump version numbers and add a news item for the 5.9 release
2021-10-06 10:04:22 +02:00
Benno Schulenberg
bc7e7d847e
docs: list the default color combo for 'spotlightcolor' in sample nanorc
...
The comment says that only 'errorcolor' and 'spotlightcolor' have
a default value. Better list the default value for both of them.
2021-10-01 09:47:45 +02:00
Benno Schulenberg
88f7ec38f8
docs: spell "filename" as a single word, like in most other occurrences
2021-09-15 10:27:31 +02:00
Benno Schulenberg
0010cd4443
tweaks: slightly reword or rewrap some comments in the sample nanorc
2021-09-15 09:55:14 +02:00
Benno Schulenberg
7d6ffd9e78
docs: don't use "light" after "bold", as the latter often implies "light"
...
On most terminals "bold" also makes the relevant text lighter (or just
makes it lighter, like on a Linux console). Only some terminals allow
the user to switch this coupling of bold to light off.
Suggested-by: Hussam al-Homsi <sawuare@gmail.com>
2021-09-14 12:40:32 +02:00
Hussam al-Homsi
b8daf1fb0b
docs: correct the default value of the errorcolor option
...
It should be "bold,white,red" instead of "brightwhite,red"
because "bright" is deprecated and not documented.
Signed-off-by: Hussam al-Homsi <sawuare@gmail.com>
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
2021-09-14 12:03:04 +02:00
Benno Schulenberg
0ac2dfd920
docs: refer to the FAQ when <Alt+Up> does nothing on a Linux console
2021-09-04 12:29:31 +02:00
Benno Schulenberg
aa553ee5d6
docs: correct the descriptions of how to invoke the spell checker
...
The keystrokes to invoke it changed in version 5.0.
2021-08-30 17:09:41 +02:00
Benno Schulenberg
abce19b0e4
docs: improve the recipe in the FAQ for dealing with Alt+Up on a console
2021-08-25 11:53:27 +02:00
Benno Schulenberg
fc317660cb
tweaks: harmonize the indentations in the FAQ somewhat
2021-08-25 11:28:45 +02:00
Benno Schulenberg
949fcde6f7
docs: indent the paragraphs in the FAQ that list commands to be typed
...
And use a monospaced font for them.
2021-08-25 11:27:26 +02:00
Benno Schulenberg
c6ba4ae89a
docs: improve the descriptions of several bindable functions
...
Some functions behave differently when some lines or a region is marked.
2021-08-23 10:12:55 +02:00
Benno Schulenberg
dab3f95c71
tweaks: instead of "one" use "you", like in the rest of the man page
2021-08-23 10:04:01 +02:00
Benno Schulenberg
840ad5890f
docs: move the notice in the main man page, to try and catch other eyes
2021-08-23 10:00:44 +02:00
Benno Schulenberg
d3a7f3abed
tweaks: restore a quote that was accidentally deleted four months ago
...
Commit a69a8ce3
unintentionally removed the double quote that should
terminate the version string.
2021-08-23 09:39:12 +02:00
Benno Schulenberg
296c5a32c7
docs: replace a non-problem in the FAQ with something possibly useful
...
Opening a file whose name starts with a plus is not a problem at all.
Instead describe how to get the Alt+Up keystroke to scroll on a Linux
console (on Debian and friends).
This addresses https://savannah.gnu.org/bugs/?57294 .
2021-08-18 11:54:54 +02:00
Benno Schulenberg
0694255893
tweaks: adjust a description of 'showcursor', to match the other ones
2021-07-01 16:12:06 +02:00
Benno Schulenberg
5563c710d0
docs: improve the description of the 'tabstospaces' option
...
It never mentioned to how many spaces a tab would be converted.
2021-07-01 09:52:10 +02:00
Benno Schulenberg
a2cb22faab
bump version numbers and add a news item for the 5.8 release
2021-06-15 09:52:45 +02:00
Benno Schulenberg
101dc4e805
docs: make ^E access the Execute menu in the example CUA bindings
...
Also, add the normal CUA bindings for Undo (^Z) and Redo (^Y),
and drop the M-X thinko.
With these more "usual" alternative bindings, ^X will now do a Cut
(putting the cut text into the cutbuffer) only when in the main menu
-- in the other places it did not put anything into the cutbuffer,
so it's better to have only the default ^K ("kill") for that.
Suspension is now accessible with ^E^Z, and the Speller with ^E^S.
This fixes https://savannah.gnu.org/bugs/?60766 .
Bug existed since version 3.2, commit 33d67d5c
,
since the more usual example bindings were introduced.
2021-06-11 11:10:28 +02:00
Benno Schulenberg
74c6bdac9f
docs: add example bindings for uppercasing and lowercasing a word
...
(The diff looks weird in 'less' -- the "c" before the "^T" hides
two escape sequences.)
2021-06-10 10:40:49 +02:00
Benno Schulenberg
73168bb1b9
docs: improve the contact info and some line spacing in the PDF
2021-06-08 11:31:18 +02:00
Benno Schulenberg
f895f1beba
docs: mention the new 'set minicolor' option
2021-06-08 10:51:19 +02:00
Benno Schulenberg
b27efce732
docs: mention that "grey"/"gray" may be used as a synonym of "lightblack"
...
Also, colorize "grey" and "gray" as valid names in a nanorc file.
2021-05-26 15:31:04 +02:00
Benno Schulenberg
a69a8ce3ca
bump version numbers and add a news item for the 5.7 release
2021-04-29 11:28:21 +02:00
Benno Schulenberg
5efb6836a8
options: retire the obsolete 'smooth', 'morespace', and 'nopauses'
2021-04-15 11:43:39 +02:00
Benno Schulenberg
b72d9af52c
bump version numbers and add a news item for the 5.6.1 release
2021-03-03 09:47:41 +01:00
Benno Schulenberg
ac5e5179fb
options: rename 'highlightcolor' to the more distinct 'spotlightcolor'
...
This way there cannot be any confusion with syntax highlighting,
and it indicates better that a single place will be highlighted.
2021-03-03 09:31:46 +01:00
Benno Schulenberg
1e9d12abc5
bump version numbers and add a news item for the 5.6 release
2021-02-24 09:23:50 +01:00
Benno Schulenberg
0a57da42e0
docs: correct the description of --quickblank for the changed base value
...
And mention that --minibar overrides the option too.
2021-02-22 12:24:06 +01:00
Benno Schulenberg
282f438967
color: use bright yellow to highlight a search match
...
Plain yellow is too dark (more like brown) on some machines.
Lightyellow is a bit loud, but... very visible.
2021-02-15 12:29:15 +01:00
Benno Schulenberg
1b01adfa9f
docs: mention the new 'set highlightcolor' option
2021-02-14 12:51:09 +01:00
Benno Schulenberg
eb0962fb06
docs: remove all mentions of --markmatch and 'set markmatch'
2021-02-07 09:18:15 +01:00
Benno Schulenberg
0d11964503
docs: say that --minibar is modified by --constantshow and --stateflags
...
The previous two commits reduced what is shown by default on the minibar.
Mention which extra options are needed to show the extra information.
2021-02-02 11:10:09 +01:00
Benno Schulenberg
0122119a44
docs: correct the word order for Alt+D in the cheat sheet -- it changed
2021-01-20 19:25:29 +01:00