nanorc.sample updates: add missing mouse entry, and add backupdir and
mouse entries to the nanorc sample regexes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1729 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
diff --git a/ChangeLog b/ChangeLog
index 250d53f..2ec995e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -134,6 +134,9 @@
- Fix version number inaccuracies: Search/replace history and
sorting/uniqueness filtering for the internal spell chacker
were added in nano 1.1.99pre1. (DLR)
+- nanorc.sample:
+ - Add missing mouse entry, and update the nanorc sample regexes
+ to account for the backupdir and mouse options. (DLR)
GNU nano 1.3.2 - 2004.03.31
- General:
diff --git a/doc/nanorc.sample b/doc/nanorc.sample
index 98bb6a8..83cddaf 100644
--- a/doc/nanorc.sample
+++ b/doc/nanorc.sample
@@ -8,10 +8,10 @@
## For the options that take parameters, the default value is given.
## Other options are unset by default.
-## Use auto-indentation
+## Use auto-indentation.
# set autoindent
-## Backup files to filename~
+## Backup files to filename~.
# set backup
## The directory to put the backup files in.
@@ -20,7 +20,7 @@
## Constantly display the cursor position in the status bar.
# set const
-## Use cut to end of line with ^K by default
+## Use cut to end of line with ^K by default.
# set cut
## Set the line length for wrapping text and justifying paragraphs.
@@ -32,22 +32,26 @@
## Enable ~/.nano_history for saving and reading search/replace strings.
# set historylog
-## Allow multiple file buffers (using ^R inserts into separate buffer).
-## You must have configured with --enable-multibuffer or --enable-extra
-## for this to work.
-##
-## set multibuffer
+## Enable mouse support so that mouse clicks can be used to set the mark
+## and run shortcuts.
+# set mouse
-## Don't convert files from DOS/Mac format
+## Allow multiple file buffers (using ^R will insert into a separate
+## buffer). You must have configured with --enable-multibuffer or
+## --enable-extra for this to work.
+##
+# set multibuffer
+
+## Don't convert files from DOS/Mac format.
# set noconvert
-## Don't follow symlinks when writing files
+## Don't follow symlinks when writing files.
# set nofollow
-## Don't display the help lists at the bottom of the screen
+## Don't display the helpful shortcut lists at the bottom of the screen.
# set nohelp
-## Don't wrap text at all
+## Don't wrap text at all.
# set nowrap
## Set operating directory. nano will not read or write files outside
@@ -57,7 +61,7 @@
##
# set operatingdir ""
-## Preserve the XON and XOFF keys (^Q and ^S)
+## Preserve the XON and XOFF keys (^Q and ^S).
# set preserve
## The email-quote string, used to justify email-quoted paragraphs.
@@ -69,13 +73,13 @@
## You can get old nano quoted-justify behavior via:
# set quotestr "(> )+"
-## Fix Backspace/Delete confusion problem
+## Fix Backspace/Delete confusion problem.
# set rebinddelete
-## Do extended regular expression searches by default
+## Do extended regular expression searches by default.
# set regexp
-## Use smooth scrolling as the default
+## Use smooth scrolling as the default.
# set smooth
## Use this spelling checker instead of the internal one. This option
@@ -83,13 +87,13 @@
##
# set speller "aspell -c"
-## Allow nano to be suspended with ^Z
+## Allow nano to be suspended with ^Z.
# set suspend
-## Use this tab size instead of the default; it must be greater than 0
+## Use this tab size instead of the default; it must be greater than 0.
# set tabsize 8
-## Save automatically on exit, don't prompt
+## Save automatically on exit, don't prompt.
# set tempfile
## Disallow file modification, why would you want this in an rc file? ;)
@@ -204,7 +208,7 @@
## highlight possible errors and parameters
#color brightwhite "^ *(set|unset|syntax|color).*$"
## set, unset and syntax
-#color cyan "^ *(set|unset) +(autoindent|backup|const|cut|fill|historylog|multibuffer|noconvert|nofollow|nohelp|nowrap|operatingdir|preserve|quotestr|rebinddelete|regexp|smooth|speller|suspend|tabsize|tempfile|view)"
+#color cyan "^ *(set|unset) +(autoindent|backup|backupdir|const|cut|fill|historylog|mouse|multibuffer|noconvert|nofollow|nohelp|nowrap|operatingdir|preserve|quotestr|rebinddelete|regexp|smooth|speller|suspend|tabsize|tempfile|view)"
#color green "^ *(set|unset|syntax)\>"
## colors
#color yellow "^ *color +(bright)?(white|black|red|blue|green|yellow|magenta|cyan)(,(white|black|red|blue|green|yellow|magenta|cyan))?\>"