[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Erc-discuss] [PATCH] Fix a few typos in the doc(string)s.
From: |
Štěpán Němec |
Subject: |
[Erc-discuss] [PATCH] Fix a few typos in the doc(string)s. |
Date: |
Wed, 28 Oct 2009 00:55:21 +0100 |
User-agent: |
Mutt/1.5.20 (2009-08-27) |
Also fix `\<' being misinterpreted as start of `\<keymap>', causing
garbled docstring in the *Customize* buffer.
---
ChangeLog | 6 ++++++
erc-backend.el | 2 +-
erc-button.el | 12 ++++++------
erc-fill.el | 4 ++--
erc-netsplit.el | 2 +-
erc-stamp.el | 9 ++++-----
erc.el | 6 +++---
erc.texi | 5 ++---
8 files changed, 25 insertions(+), 21 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 2005833..2cd77f2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-10-28 Štěpán Němec <address@hidden>
+ * erc-backend.el, erc-button.el, erc-fill.el, erc-netsplit.el,
+ erc-stamp.el, erc.el, erc.texi: Fix a few typos in the doc(string)s.
+ Also fix `\<' being misinterpreted as start of `\<keymap>', causing
+ garbled docstring in the *Customize* buffer.
+
2009-01-18 Michael Olson <address@hidden>
* erc.el (erc-header-line-uses-tabbar-p): Set to nil by default.
diff --git a/erc-backend.el b/erc-backend.el
index 01b9527..14dfa3d 100644
--- a/erc-backend.el
+++ b/erc-backend.el
@@ -367,7 +367,7 @@ It should take same arguments as `open-network-stream'
does."
(defcustom erc-server-prevent-duplicates '("301")
"*Either nil or a list of strings.
Each string is a IRC message type, like PRIVMSG or NOTICE.
-All Message types in that list of subjected to duplicate prevention."
+All Message types in that list will be subjected to duplicate prevention."
:type '(choice (const nil) (list string))
:group 'erc-server)
diff --git a/erc-button.el b/erc-button.el
index f0fa72f..fcbb642 100644
--- a/erc-button.el
+++ b/erc-button.el
@@ -161,9 +161,9 @@ Each entry has the form (REGEXP BUTTON FORM CALLBACK
PAR...), where
REGEXP is the string matching text around the button or a symbol
indicating a variable holding that string, or a list of
- strings, or an alist with the strings in the car. Note that
+ strings, or an alist with the strings in its car. Note that
entries in lists or alists are considered to be nicks or other
- complete words. Therefore they are enclosed in \\< and \\>
+ complete words. Therefore they are enclosed in \\=\\< and \\>
while searching. REGEXP can also be the quoted symbol
'nicknames, which matches the nickname of any user on the
current server.
@@ -172,11 +172,11 @@ BUTTON is the number of the regexp grouping actually
matching the
button, This is ignored if REGEXP is 'nicknames.
FORM is a lisp expression which must eval to true for the button to
- be added,
+ be added.
-CALLBACK is the function to call when the user push this button.
- CALLBACK can also be a symbol. Its variable value will be used
- as the callback function.
+CALLBACK is the function to call when user pushes this button.
+ CALLBACK can also be a symbol. Its value will be used as the
+ callback function.
PAR is a number of a regexp grouping whose text will be passed to
CALLBACK. There can be several PAR arguments. If REGEXP is
diff --git a/erc-fill.el b/erc-fill.el
index e3dd313..7d6519d 100644
--- a/erc-fill.el
+++ b/erc-fill.el
@@ -105,8 +105,8 @@ nick names right and text left."
:type 'integer)
(defcustom erc-fill-variable-maximum-indentation 17
- "If we indent a line after a long nick, don't indent more then this
-characters. Set to nil to disable."
+ "If we indent a line after a long nick, don't indent more than this
+amount of characters. Set to nil to disable."
:group 'erc-fill
:type 'integer)
diff --git a/erc-netsplit.el b/erc-netsplit.el
index 1ea9a91..c68b7b6 100644
--- a/erc-netsplit.el
+++ b/erc-netsplit.el
@@ -58,7 +58,7 @@ track of netsplits, so that it can filter the JOIN messages
on a netjoin too."
(defcustom erc-netsplit-debug nil
"If non-nil, debug messages will be shown in the
-sever buffer."
+server buffer."
:group 'erc-netsplit
:type 'boolean)
diff --git a/erc-stamp.el b/erc-stamp.el
index deba5e1..5083caa 100644
--- a/erc-stamp.el
+++ b/erc-stamp.el
@@ -88,11 +88,10 @@ If nil, timestamping is turned off."
(defcustom erc-insert-timestamp-function 'erc-insert-timestamp-left-and-right
"*Function to use to insert timestamps.
-It takes a single argument STRING which is the final string
-which all text-properties already appended. This function only cares about
-inserting this string at the right position. Narrowing is in effect
-while it is called, so (point-min) and (point-max) determine the region to
-operate on.
+It takes a single argument STRING which is the final string with all
+text-properties already appended. This function only cares about inserting
+this string at the right position. Narrowing is in effect while it is called,
+so (point-min) and (point-max) determine the region to operate on.
You will probably want to set
`erc-insert-away-timestamp-function' to the same value."
diff --git a/erc.el b/erc.el
index 6e37f36..5a897ca 100644
--- a/erc.el
+++ b/erc.el
@@ -289,7 +289,7 @@ See also `erc-server-JOIN-functions', `erc-part-hook'."
:type 'hook)
(defcustom erc-quit-hook nil
- "Hook run when processing a quit command directed at our nick.
+ "Hook run when processing a QUIT command directed at our nick.
The hook receives one argument, the current PROCESS.
See also `erc-server-QUIT-functions' and `erc-disconnected-hook'."
@@ -3175,7 +3175,7 @@ Otherwise leave the channel indicated by LINE."
(defun erc-cmd-QUOTE (line)
"Send LINE directly to the server.
-All the text given as argument is sent to the sever as unmodified,
+All the text given as argument is sent to the server unmodified,
just as you provided it. Use this command with care!"
(cond
((string-match "^ ?\\(.+\\)$" line)
@@ -4082,7 +4082,7 @@ See also `erc-format-nick-function'."
(defun erc-echo-notice-in-default-buffer (s parsed buffer sender)
"Echos a private notice in the default buffer, namely the
-target buffer specified by BUFFER, or there is no target buffer,
+target buffer specified by BUFFER, or if there is no target buffer,
the server buffer. This function is designed to be added to
either `erc-echo-notice-hook' or `erc-echo-notice-always-hook',
and always returns t."
diff --git a/erc.texi b/erc.texi
index 17f3d92..1ab9a72 100644
--- a/erc.texi
+++ b/erc.texi
@@ -739,9 +739,8 @@ Non-interactively, it takes the following keyword arguments.
@end itemize
That is, if called with the following arguments, @var{server} and
address@hidden will be set to those values, whereas
address@hidden, @code{erc-compute-nick} and
address@hidden will be invoked for the values of the other
address@hidden will be set to those values, whereas @code{erc-compute-port}
+and @code{erc-compute-nick} will be invoked for the values of the other
parameters.
@example
--
1.6.5.2.74.g610f9.dirty
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Erc-discuss] [PATCH] Fix a few typos in the doc(string)s.,
Štěpán Němec <=