Backslash cleanup in Elisp source files

This patch should not change behavior.  It typically omits backslashes
where they are redundant (e.g., in the string literal "^\$").
In a few places, insert backslashes where they make regular
expressions clearer: e.g., replace "^\*" (equivalent to "^*") with
"^\\*", which has the same effect as a regular expression.
Also, use ‘\ %’ instead of ‘\%’ when avoiding confusion with SCCS IDs,
and similarly use ‘\ $’ instead of ‘\$’ when avoiding confusion with
RCS IDs, as that makes it clearer that the backslash is intended.
This commit is contained in:
Paul Eggert 2015-09-17 16:08:20 -07:00
parent d149ff5233
commit 284c470ef7
237 changed files with 916 additions and 914 deletions

View file

@ -917,7 +917,7 @@ has been customized to enable this behavior), `allout-mode' will be
automatically activated. The layout dictated by the value will be used to automatically activated. The layout dictated by the value will be used to
set the initial exposure when `allout-mode' is activated. set the initial exposure when `allout-mode' is activated.
\*You should not setq-default this variable non-nil unless you want every *You should not setq-default this variable non-nil unless you want every
visited file to be treated as an allout file.* visited file to be treated as an allout file.*
The value would typically be set by a file local variable. For The value would typically be set by a file local variable. For
@ -1512,7 +1512,7 @@ already associated with a file.
It consists of an encrypted random string useful only to verify that a It consists of an encrypted random string useful only to verify that a
passphrase entered by the user is effective for decryption. The passphrase passphrase entered by the user is effective for decryption. The passphrase
itself is \*not* recorded in the file anywhere, and the encrypted contents itself is *not* recorded in the file anywhere, and the encrypted contents
are random binary characters to avoid exposing greater susceptibility to are random binary characters to avoid exposing greater susceptibility to
search attacks. search attacks.
@ -3721,7 +3721,7 @@ Nuances:
(save-match-data (save-match-data
(let* ((inhibit-field-text-motion t) (let* ((inhibit-field-text-motion t)
(depth (+ (allout-current-depth) relative-depth)) (depth (+ (allout-current-depth) relative-depth))
(opening-on-blank (if (looking-at "^\$") (opening-on-blank (if (looking-at "^$")
(not (setq before nil)))) (not (setq before nil))))
;; bunch o vars set while computing ref-topic ;; bunch o vars set while computing ref-topic
opening-numbered opening-numbered
@ -5909,7 +5909,7 @@ file with topics pending encryption is saved, topics pending
encryption are encrypted. See `allout-encrypt-unencrypted-on-saves' encryption are encrypted. See `allout-encrypt-unencrypted-on-saves'
for auto-encryption specifics. for auto-encryption specifics.
\*NOTE WELL* that automatic encryption that happens during saves will *NOTE WELL* that automatic encryption that happens during saves will
default to symmetric encryption -- you must deliberately (re)encrypt key-pair default to symmetric encryption -- you must deliberately (re)encrypt key-pair
encrypted topics if you want them to continue to use the key-pair cipher. encrypted topics if you want them to continue to use the key-pair cipher.

View file

@ -1265,9 +1265,9 @@ if `inhibit-field-text-motion' is non-nil."
(define-key abbrev-map "e" 'expand-abbrev) (define-key abbrev-map "e" 'expand-abbrev)
(define-key abbrev-map "'" 'expand-abbrev) (define-key abbrev-map "'" 'expand-abbrev)
;; (define-key ctl-x-map "\C-a" 'add-mode-abbrev) ;; (define-key ctl-x-map "\C-a" 'add-mode-abbrev)
;; (define-key ctl-x-map "\+" 'add-global-abbrev) ;; (define-key ctl-x-map "+" 'add-global-abbrev)
;; (define-key ctl-x-map "\C-h" 'inverse-add-mode-abbrev) ;; (define-key ctl-x-map "\C-h" 'inverse-add-mode-abbrev)
;; (define-key ctl-x-map "\-" 'inverse-add-global-abbrev) ;; (define-key ctl-x-map "-" 'inverse-add-global-abbrev)
(define-key esc-map "'" 'abbrev-prefix-mark) (define-key esc-map "'" 'abbrev-prefix-mark)
(define-key ctl-x-map "'" 'expand-abbrev) (define-key ctl-x-map "'" 'expand-abbrev)
(define-key ctl-x-map "\C-b" 'list-buffers) (define-key ctl-x-map "\C-b" 'list-buffers)

View file

@ -138,7 +138,7 @@ This is as opposed to inline text at the top of the buffer."
(defconst bookmark-bmenu-inline-header-height 2 (defconst bookmark-bmenu-inline-header-height 2
"Number of lines used for the *Bookmark List* header "Number of lines used for the *Bookmark List* header
\(only significant when `bookmark-bmenu-use-header-line' is nil\).") \(only significant when `bookmark-bmenu-use-header-line' is nil).")
(defconst bookmark-bmenu-marks-width 2 (defconst bookmark-bmenu-marks-width 2
"Number of columns (chars) used for the *Bookmark List* marks column, "Number of columns (chars) used for the *Bookmark List* marks column,

View file

@ -386,7 +386,7 @@ C-w Describe how there is no warranty for Calc."
(interactive) (interactive)
(calc-quit) (calc-quit)
(view-emacs-news) (view-emacs-news)
(re-search-forward "^\*+ .*\\<Calc\\>" nil t)) (re-search-forward "^\\*+ .*\\<Calc\\>" nil t))
(defvar calc-help-long-names '((?b . "binary/business") (defvar calc-help-long-names '((?b . "binary/business")
(?g . "graphics") (?g . "graphics")

View file

@ -4892,7 +4892,7 @@ With nil or omitted CATEGORY, default to the current category."
(widen) (widen)
(goto-char (point-min)) (goto-char (point-min))
(setq todo-categories (setq todo-categories
(if (looking-at "\(\(\"") (if (looking-at "((\"")
(read (buffer-substring-no-properties (read (buffer-substring-no-properties
(line-beginning-position) (line-beginning-position)
(line-end-position))) (line-end-position)))

View file

@ -126,7 +126,7 @@ file.")
(defvar ede-source-c++ (defvar ede-source-c++
(ede-sourcecode "ede-source-c++" (ede-sourcecode "ede-source-c++"
:name "C++" :name "C++"
:sourcepattern "\\.\\(c\\(pp?\\|c\\|xx\\|++\\)\\|C\\\(PP\\)?\\)$" :sourcepattern "\\.\\(c\\(pp?\\|c\\|xx\\|++\\)\\|C\\(PP\\)?\\)$"
:auxsourcepattern "\\.\\(hpp?\\|hh?\\|hxx\\|H\\)$" :auxsourcepattern "\\.\\(hpp?\\|hh?\\|hxx\\|H\\)$"
:garbagepattern '("*.o" "*.obj" ".deps/*.P" ".lo")) :garbagepattern '("*.o" "*.obj" ".deps/*.P" ".lo"))
"C++ source code definition.") "C++ source code definition.")

View file

@ -604,7 +604,7 @@ PROMPT, INITIAL, HIST, and DEFAULT are the same as for `completing-read'."
;; ;;
(defun overload-docstring-extension (overload) (defun overload-docstring-extension (overload)
"Return the doc string that augments the description of OVERLOAD." "Return the doc string that augments the description of OVERLOAD."
(let ((doc "\n\This function can be overloaded\ (let ((doc "\nThis function can be overloaded\
with `define-mode-local-override'.") with `define-mode-local-override'.")
(sym (overload-obsoleted-by overload))) (sym (overload-obsoleted-by overload)))
(when sym (when sym

View file

@ -1212,7 +1212,7 @@ Returns a list of cooked tags.
The parser returns raw tags with positional data START END at the The parser returns raw tags with positional data START END at the
end of the tag data structure (a list for now). We convert it from end of the tag data structure (a list for now). We convert it from
that to a cooked state that uses an overlay proxy, that is, a vector that to a cooked state that uses an overlay proxy, that is, a vector
\[START END]. [START END].
The raw tag is changed with side effects and maybe expanded in The raw tag is changed with side effects and maybe expanded in
several derived tags when the variable `semantic-tag-expand-function' several derived tags when the variable `semantic-tag-expand-function'

View file

@ -915,7 +915,7 @@ An NVARS by NRULES matrix of bits indicating which rules can help
derive the beginning of the data for each nonterminal. For example, derive the beginning of the data for each nonterminal. For example,
if symbol 5 can be derived as the sequence of symbols 8 3 20, and one if symbol 5 can be derived as the sequence of symbols 8 3 20, and one
of the rules for deriving symbol 8 is rule 4, then the of the rules for deriving symbol 8 is rule 4, then the
\[5 - NTOKENS, 4] bit in FDERIVES is set." [5 - NTOKENS, 4] bit in FDERIVES is set."
(let (i j k) (let (i j k)
(setq fderives (make-vector nvars nil)) (setq fderives (make-vector nvars nil))
(setq i 0) (setq i 0)

View file

@ -364,7 +364,7 @@ automaton has only one entry point."
- START specify the start symbol (nonterminal) used by the parser as - START specify the start symbol (nonterminal) used by the parser as
its goal. It defaults to the start symbol defined in the grammar its goal. It defaults to the start symbol defined in the grammar
\(see also `wisent-compile-grammar')." (see also `wisent-compile-grammar')."
(run-hooks 'wisent-pre-parse-hook) (run-hooks 'wisent-pre-parse-hook)
(let* ((actions (aref automaton 0)) (let* ((actions (aref automaton 0))
(gotos (aref automaton 1)) (gotos (aref automaton 1))

View file

@ -430,7 +430,7 @@ in the next one.")
(file-name-nondirectory file-name))) (file-name-nondirectory file-name)))
(comint-send-string (scheme-proc) (concat "(load \"" (comint-send-string (scheme-proc) (concat "(load \""
file-name file-name
"\"\)\n"))) "\")\n")))
(defun scheme-compile-file (file-name) (defun scheme-compile-file (file-name)
"Compile a Scheme file FILE-NAME in the inferior Scheme process." "Compile a Scheme file FILE-NAME in the inferior Scheme process."
@ -444,7 +444,7 @@ in the next one.")
(file-name-nondirectory file-name))) (file-name-nondirectory file-name)))
(comint-send-string (scheme-proc) (concat "(compile-file \"" (comint-send-string (scheme-proc) (concat "(compile-file \""
file-name file-name
"\"\)\n"))) "\")\n")))
(defvar scheme-buffer nil "The current scheme process buffer. (defvar scheme-buffer nil "The current scheme process buffer.

View file

@ -1581,7 +1581,7 @@ Go to the history element by the absolute history position HIST-POS."
(defun comint-within-quotes (beg end) (defun comint-within-quotes (beg end)
"Return t if the number of quotes between BEG and END is odd. "Return t if the number of quotes between BEG and END is odd.
Quotes are single and double." Quotes are single and double."
(let ((countsq (comint-how-many-region "\\(^\\|[^\\\\]\\)\'" beg end)) (let ((countsq (comint-how-many-region "\\(^\\|[^\\\\]\\)'" beg end))
(countdq (comint-how-many-region "\\(^\\|[^\\\\]\\)\"" beg end))) (countdq (comint-how-many-region "\\(^\\|[^\\\\]\\)\"" beg end)))
(or (= (mod countsq 2) 1) (= (mod countdq 2) 1)))) (or (= (mod countsq 2) 1) (= (mod countdq 2) 1))))

View file

@ -120,7 +120,7 @@
Example: Set this to \"\\\\$\" for programming languages Example: Set this to \"\\\\$\" for programming languages
in which variable names may appear with or without a leading `$'. in which variable names may appear with or without a leading `$'.
\(For example, in Makefiles.\) \(For example, in Makefiles.)
Set this to nil if no characters should be skipped." Set this to nil if no characters should be skipped."
:type '(choice regexp :type '(choice regexp

View file

@ -3107,7 +3107,7 @@ deactivation, which might run hooks and get into other trouble."
"Define a piece of advice for FUNCTION (a symbol). "Define a piece of advice for FUNCTION (a symbol).
The syntax of `defadvice' is as follows: The syntax of `defadvice' is as follows:
\(defadvice FUNCTION (CLASS NAME [POSITION] [ARGLIST] FLAG...) (defadvice FUNCTION (CLASS NAME [POSITION] [ARGLIST] FLAG...)
[DOCSTRING] [INTERACTIVE-FORM] [DOCSTRING] [INTERACTIVE-FORM]
BODY...) BODY...)

View file

@ -615,7 +615,7 @@ is more efficient."
of all elements of TREE. of all elements of TREE.
If REVERSE is non-nil, the stack is sorted in reverse order. If REVERSE is non-nil, the stack is sorted in reverse order.
\(See also `avl-tree-stack-pop'\). \(See also `avl-tree-stack-pop').
Note that any modification to TREE *immediately* invalidates all Note that any modification to TREE *immediately* invalidates all
avl-tree-stacks created before the modification (in particular, avl-tree-stacks created before the modification (in particular,

View file

@ -397,7 +397,7 @@ invoked interactively are excluded from this list."
"Alist of functions and their call tree. "Alist of functions and their call tree.
Each element looks like Each element looks like
\(FUNCTION CALLERS CALLS\) (FUNCTION CALLERS CALLS)
where CALLERS is a list of functions that call FUNCTION, and CALLS where CALLERS is a list of functions that call FUNCTION, and CALLS
is a list of functions for which calls were generated while compiling is a list of functions for which calls were generated while compiling
@ -4529,11 +4529,11 @@ whose definitions have been compiled in this Emacs session, as well as
all functions called by those functions. all functions called by those functions.
The call graph does not include macros, inline functions, or The call graph does not include macros, inline functions, or
primitives that the byte-code interpreter knows about directly \(eq, primitives that the byte-code interpreter knows about directly
cons, etc.\). \(`eq', `cons', etc.).
The call tree also lists those functions which are not known to be called The call tree also lists those functions which are not known to be called
\(that is, to which no calls have been compiled\), and which cannot be \(that is, to which no calls have been compiled), and which cannot be
invoked interactively." invoked interactively."
(interactive) (interactive)
(message "Generating call tree...") (message "Generating call tree...")

View file

@ -162,7 +162,7 @@ def\\(?:un\\|subst\\|foo\\|method\\|class\\|\
ine-\\(?:derived\\|generic\\|\\(?:global\\(?:ized\\)?-\\)?minor\\)-mode\\|\ ine-\\(?:derived\\|generic\\|\\(?:global\\(?:ized\\)?-\\)?minor\\)-mode\\|\
\\(?:ine-obsolete-function-\\)?alias[ \t]+'\\|\ \\(?:ine-obsolete-function-\\)?alias[ \t]+'\\|\
ine-overloadable-function\\)\\)\ ine-overloadable-function\\)\\)\
\[ \t]*%s\\([ \t;]+\\|$\\)") [ \t]*%s\\([ \t;]+\\|$\\)")
(regexp-opt (mapcar 'cadr fnlist) t))) (regexp-opt (mapcar 'cadr fnlist) t)))
(while (re-search-forward re nil t) (while (re-search-forward re nil t)
(skip-chars-forward " \t\n") (skip-chars-forward " \t\n")

View file

@ -136,7 +136,7 @@ BODY contains code to execute each time the mode is enabled or disabled.
:variable PLACE The location to use instead of the variable MODE to store :variable PLACE The location to use instead of the variable MODE to store
the state of the mode. This can be simply a different the state of the mode. This can be simply a different
named variable, or a generalized variable. named variable, or a generalized variable.
PLACE can also be of the form \(GET . SET), where GET is PLACE can also be of the form (GET . SET), where GET is
an expression that returns the current state, and SET is an expression that returns the current state, and SET is
a function that takes one argument, the new state, and a function that takes one argument, the new state, and
sets it. If you specify a :variable, this function does sets it. If you specify a :variable, this function does

View file

@ -3162,12 +3162,12 @@ Do this when stopped before the form or it will be too late.
One side effect of using this command is that the next time the One side effect of using this command is that the next time the
function or macro is called, Edebug will be called there as well." function or macro is called, Edebug will be called there as well."
(interactive) (interactive)
(if (not (looking-at "\(")) (if (not (looking-at "("))
(error "You must be before a list form") (error "You must be before a list form")
(let ((func (let ((func
(save-excursion (save-excursion
(down-list 1) (down-list 1)
(if (looking-at "\(") (if (looking-at "(")
(edebug--form-data-name (edebug--form-data-name
(edebug-get-form-data-entry (point))) (edebug-get-form-data-entry (point)))
(read (current-buffer)))))) (read (current-buffer))))))
@ -3790,10 +3790,10 @@ Otherwise call `debug' normally."
(if t (progn (if t (progn
;; Delete interspersed edebug internals. ;; Delete interspersed edebug internals.
(while (re-search-forward "^ \(?edebug" nil t) (while (re-search-forward "^ (?edebug" nil t)
(beginning-of-line) (beginning-of-line)
(cond (cond
((looking-at "^ \(edebug-after") ((looking-at "^ (edebug-after")
;; Previous lines may contain code, so just delete this line. ;; Previous lines may contain code, so just delete this line.
(setq last-ok-point (point)) (setq last-ok-point (point))
(forward-line 1) (forward-line 1)

View file

@ -137,7 +137,7 @@ the name of the test and the result of NAME-FORM."
This effectively executes This effectively executes
\(apply (car COMMAND) (cdr COMMAND)\) (apply (car COMMAND) (cdr COMMAND))
and returns the same value, but additionally runs hooks like and returns the same value, but additionally runs hooks like
`pre-command-hook' and `post-command-hook', and sets variables `pre-command-hook' and `post-command-hook', and sets variables
@ -189,7 +189,7 @@ test for `called-interactively' in the command will fail."
"Return a copy of S with all matches of REGEXPS removed. "Return a copy of S with all matches of REGEXPS removed.
Elements of REGEXPS may also be two-element lists \(REGEXP Elements of REGEXPS may also be two-element lists \(REGEXP
SUBEXP\), where SUBEXP is the number of a subexpression in SUBEXP), where SUBEXP is the number of a subexpression in
REGEXP. In that case, only that subexpression will be removed REGEXP. In that case, only that subexpression will be removed
rather than the entire match." rather than the entire match."
;; Use a temporary buffer since replace-match copies strings, which ;; Use a temporary buffer since replace-match copies strings, which
@ -215,7 +215,7 @@ property list, or no properties if there is no plist before it.
As a simple example, As a simple example,
\(ert-propertized-string \"foo \" \\='(face italic) \"bar\" \" baz\" nil \ \(ert-propertized-string \"foo \" \\='(face italic) \"bar\" \" baz\" nil \
\" quux\"\) \" quux\")
would return the string \"foo bar baz quux\" where the substring would return the string \"foo bar baz quux\" where the substring
\"bar baz\" has a `face' property with the value `italic'. \"bar baz\" has a `face' property with the value `italic'.

View file

@ -187,7 +187,7 @@ using :expected-result. See `ert-test-result-type-p' for a
description of valid values for RESULT-TYPE. description of valid values for RESULT-TYPE.
\(fn NAME () [DOCSTRING] [:expected-result RESULT-TYPE] \ \(fn NAME () [DOCSTRING] [:expected-result RESULT-TYPE] \
\[:tags '(TAG...)] BODY...)" [:tags '(TAG...)] BODY...)"
(declare (debug (&define :name test (declare (debug (&define :name test
name sexp [&optional stringp] name sexp [&optional stringp]
[&rest keywordp sexp] def-body)) [&rest keywordp sexp] def-body))
@ -887,10 +887,10 @@ Valid result types:
nil -- Never matches. nil -- Never matches.
t -- Always matches. t -- Always matches.
:failed, :passed, :skipped -- Matches corresponding results. :failed, :passed, :skipped -- Matches corresponding results.
\(and TYPES...\) -- Matches if all TYPES match. \(and TYPES...) -- Matches if all TYPES match.
\(or TYPES...\) -- Matches if some TYPES match. \(or TYPES...) -- Matches if some TYPES match.
\(not TYPE\) -- Matches if TYPE does not match. \(not TYPE) -- Matches if TYPE does not match.
\(satisfies PREDICATE\) -- Matches if PREDICATE returns true when called with \(satisfies PREDICATE) -- Matches if PREDICATE returns true when called with
RESULT." RESULT."
;; It would be easy to add `member' and `eql' types etc., but I ;; It would be easy to add `member' and `eql' types etc., but I
;; haven't bothered yet. ;; haven't bothered yet.
@ -946,7 +946,7 @@ a test -- (i.e., an object of the ert-test data-type) Selects that test.
a symbol -- Selects the test that the symbol names, errors if none. a symbol -- Selects the test that the symbol names, errors if none.
\(member TESTS...) -- Selects the elements of TESTS, a list of tests \(member TESTS...) -- Selects the elements of TESTS, a list of tests
or symbols naming tests. or symbols naming tests.
\(eql TEST\) -- Selects TEST, a test or a symbol naming a test. \(eql TEST) -- Selects TEST, a test or a symbol naming a test.
\(and SELECTORS...) -- Selects the tests that match all SELECTORS. \(and SELECTORS...) -- Selects the tests that match all SELECTORS.
\(or SELECTORS...) -- Selects the tests that match any of the SELECTORS. \(or SELECTORS...) -- Selects the tests that match any of the SELECTORS.
\(not SELECTOR) -- Selects all tests that do not match SELECTOR. \(not SELECTOR) -- Selects all tests that do not match SELECTOR.

View file

@ -62,7 +62,7 @@ ine\\(?:-global\\)?-minor-mode\\|ine-compilation-mode\\|un-cvs-mode\\|\
foo\\|\\(?:[^icfgv]\\|g[^r]\\)\\(\\w\\|\\s_\\)+\\*?\\)\\|easy-mmode-define-[a-z-]+\\|easy-menu-define\\|\ foo\\|\\(?:[^icfgv]\\|g[^r]\\)\\(\\w\\|\\s_\\)+\\*?\\)\\|easy-mmode-define-[a-z-]+\\|easy-menu-define\\|\
menu-bar-make-toggle\\)" menu-bar-make-toggle\\)"
find-function-space-re find-function-space-re
"\\('\\|\(quote \\)?%s\\(\\s-\\|$\\|\(\\|\)\\)") "\\('\\|(quote \\)?%s\\(\\s-\\|$\\|[()]\\)")
"The regexp used by `find-function' to search for a function definition. "The regexp used by `find-function' to search for a function definition.
Note it must contain a `%s' at the place where `format' Note it must contain a `%s' at the place where `format'
should insert the function name. The default value avoids `defconst', should insert the function name. The default value avoids `defconst',

View file

@ -233,7 +233,7 @@ turned into calls of the form (SETTER ARGS... VAL).
If FIX-RETURN is non-nil, then SETTER is not assumed to return VAL and If FIX-RETURN is non-nil, then SETTER is not assumed to return VAL and
instead the assignment is turned into something equivalent to instead the assignment is turned into something equivalent to
\(let ((temp VAL)) (let ((temp VAL))
(SETTER ARGS... temp) (SETTER ARGS... temp)
temp) temp)
so as to preserve the semantics of `setf'." so as to preserve the semantics of `setf'."

View file

@ -889,7 +889,7 @@ property `lisp-indent-function' (or the deprecated `lisp-indent-hook'),
it specifies how to indent. The property value can be: it specifies how to indent. The property value can be:
* `defun', meaning indent `defun'-style * `defun', meaning indent `defun'-style
\(this is also the case if there is no property and the function (this is also the case if there is no property and the function
has a name that begins with \"def\", and three or more arguments); has a name that begins with \"def\", and three or more arguments);
* an integer N, meaning indent the first N arguments specially * an integer N, meaning indent the first N arguments specially

View file

@ -44,7 +44,7 @@ Takes args PROMPTER ACTOR LIST, and optional args HELP and ACTION-ALIST.
LIST is a list of objects, or a function of no arguments to return the next LIST is a list of objects, or a function of no arguments to return the next
object or nil. object or nil.
If PROMPTER is a string, the prompt is \(format PROMPTER OBJECT\). If not If PROMPTER is a string, the prompt is \(format PROMPTER OBJECT). If not
a string, PROMPTER is a function of one arg (an object from LIST), which a string, PROMPTER is a function of one arg (an object from LIST), which
returns a string to be used as the prompt for that object. If the return returns a string to be used as the prompt for that object. If the return
value is not a string, it may be nil to ignore the object or non-nil to act value is not a string, it may be nil to ignore the object or non-nil to act
@ -56,7 +56,7 @@ which gets called with each object that the user answers `yes' for.
If HELP is given, it is a list (OBJECT OBJECTS ACTION), If HELP is given, it is a list (OBJECT OBJECTS ACTION),
where OBJECT is a string giving the singular noun for an elt of LIST; where OBJECT is a string giving the singular noun for an elt of LIST;
OBJECTS is the plural noun for elts of LIST, and ACTION is a transitive OBJECTS is the plural noun for elts of LIST, and ACTION is a transitive
verb describing ACTOR. The default is \(\"object\" \"objects\" \"act on\"\). verb describing ACTOR. The default is \(\"object\" \"objects\" \"act on\").
At the prompts, the user may enter y, Y, or SPC to act on that object; At the prompts, the user may enter y, Y, or SPC to act on that object;
n, N, or DEL to skip that object; ! to act on all following objects; n, N, or DEL to skip that object; ! to act on all following objects;

View file

@ -143,7 +143,7 @@ If LAX non-nil, don't output parentheses if it doesn't require them.
Merges keywords to avoid backtracking in Emacs's regexp matcher." Merges keywords to avoid backtracking in Emacs's regexp matcher."
;; The basic idea is to find the shortest common prefix or suffix, remove it ;; The basic idea is to find the shortest common prefix or suffix, remove it
;; and recurse. If there is no prefix, we divide the list into two so that ;; and recurse. If there is no prefix, we divide the list into two so that
;; \(at least) one half will have at least a one-character common prefix. ;; (at least) one half will have at least a one-character common prefix.
;; Also we delay the addition of grouping parenthesis as long as possible ;; Also we delay the addition of grouping parenthesis as long as possible
;; until we're sure we need them, and try to remove one-character sequences ;; until we're sure we need them, and try to remove one-character sequences

View file

@ -768,8 +768,8 @@ of all atomic regexps."
((= l 3) (string-match "\\`\\(?:\\\\[cCsS_]\\|\\[[^^]\\]\\)" r)) ((= l 3) (string-match "\\`\\(?:\\\\[cCsS_]\\|\\[[^^]\\]\\)" r))
((null lax) ((null lax)
(cond (cond
((string-match "\\`\\[^?\]?\\(?:\\[:[a-z]+:]\\|[^\]]\\)*\\]\\'" r)) ((string-match "\\`\\[^?\]?\\(?:\\[:[a-z]+:]\\|[^]]\\)*\\]\\'" r))
((string-match "\\`\\\\(\\(?:[^\\]\\|\\\\[^\)]\\)*\\\\)\\'" r))))))) ((string-match "\\`\\\\(\\(?:[^\\]\\|\\\\[^)]\\)*\\\\)\\'" r)))))))
(defun rx-syntax (form) (defun rx-syntax (form)

View file

@ -68,9 +68,9 @@ This is slower, but filters out some innocuous shadowing."
"Return a list of Emacs Lisp files that create shadows. "Return a list of Emacs Lisp files that create shadows.
This function does the work for `list-load-path-shadows'. This function does the work for `list-load-path-shadows'.
We traverse PATH looking for shadows, and return a \(possibly empty\) We traverse PATH looking for shadows, and return a \(possibly empty)
even-length list of files. A file in this list at position 2i shadows even-length list of files. A file in this list at position 2i shadows
the file in position 2i+1. Emacs Lisp file suffixes \(.el and .elc\) the file in position 2i+1. Emacs Lisp file suffixes \(.el and .elc)
are stripped from the file names in the list. are stripped from the file names in the list.
See the documentation for `list-load-path-shadows' for further information." See the documentation for `list-load-path-shadows' for further information."

View file

@ -213,7 +213,7 @@ one of those elements share the same precedence level and associativity."
(defun smie-bnf->prec2 (bnf &rest resolvers) (defun smie-bnf->prec2 (bnf &rest resolvers)
"Convert the BNF grammar into a prec2 table. "Convert the BNF grammar into a prec2 table.
BNF is a list of nonterminal definitions of the form: BNF is a list of nonterminal definitions of the form:
\(NONTERM RHS1 RHS2 ...) (NONTERM RHS1 RHS2 ...)
where each RHS is a (non-empty) list of terminals (aka tokens) or non-terminals. where each RHS is a (non-empty) list of terminals (aka tokens) or non-terminals.
Not all grammars are accepted: Not all grammars are accepted:
- an RHS cannot be an empty list (this is not needed, since SMIE allows all - an RHS cannot be an empty list (this is not needed, since SMIE allows all

View file

@ -205,7 +205,7 @@ timers). If nil, allocate a new cell."
"Insert TIMER into `timer-idle-list'. "Insert TIMER into `timer-idle-list'.
This arranges to activate TIMER whenever Emacs is next idle. This arranges to activate TIMER whenever Emacs is next idle.
If optional argument DONT-WAIT is non-nil, set TIMER to activate If optional argument DONT-WAIT is non-nil, set TIMER to activate
immediately \(see below\), or at the right time, if Emacs is immediately \(see below), or at the right time, if Emacs is
already idle. already idle.
REUSE-CELL, if non-nil, is a cons cell to reuse when inserting REUSE-CELL, if non-nil, is a cons cell to reuse when inserting

View file

@ -105,7 +105,7 @@
;;; Determine Window System, and X Server Vendor (if appropriate). ;;; Determine Window System, and X Server Vendor (if appropriate).
;;; ;;;
(defconst edt-window-system (if (featurep 'xemacs) (console-type) window-system) (defconst edt-window-system (if (featurep 'xemacs) (console-type) window-system)
"Indicates window system \(in GNU Emacs\) or console type \(in XEmacs\).") "Indicates window system (in GNU Emacs) or console type (in XEmacs).")
(declare-function x-server-vendor "xfns.c" (&optional terminal)) (declare-function x-server-vendor "xfns.c" (&optional terminal))

View file

@ -213,23 +213,23 @@ use within the EDT emulation."
(defcustom edt-word-entities '(?\t) (defcustom edt-word-entities '(?\t)
"Specifies the list of EDT word entity characters. "Specifies the list of EDT word entity characters.
The default list, (\?\\t), contains just the TAB character, which The default list, (?\\t), contains just the TAB character, which
emulates EDT. Characters are specified in the list using their emulates EDT. Characters are specified in the list using their
decimal ASCII values. A question mark, followed by the actual decimal ASCII values. A question mark, followed by the actual
character, can be used to indicate the numerical value of the character, can be used to indicate the numerical value of the
character, instead of the actual decimal value. So, ?A means the character, instead of the actual decimal value. So, ?A means the
numerical value for the letter A, \?/ means the numerical value for /, numerical value for the letter A, ?/ means the numerical value for /,
etc. Several unprintable and special characters have special etc. Several unprintable and special characters have special
representations, which you can also use: representations, which you can also use:
\?\\b specifies BS, C-h ?\\b specifies BS, C-h
\?\\t specifies TAB, C-i ?\\t specifies TAB, C-i
\?\\n specifies LFD, C-j ?\\n specifies LFD, C-j
\?\\v specifies VTAB, C-k ?\\v specifies VTAB, C-k
\?\\f specifies FF, C-l ?\\f specifies FF, C-l
\?\\r specifies CR, C-m ?\\r specifies CR, C-m
\?\\e specifies ESC, C-[ ?\\e specifies ESC, C-[
\?\\\\ specifies \\ ?\\\\ specifies \\
In EDT Emulation movement-by-word commands, each character in the list In EDT Emulation movement-by-word commands, each character in the list
will be treated as if it were a separate word." will be treated as if it were a separate word."
@ -311,10 +311,10 @@ This means that an edt-user.el file was found in the user's `load-path'.")
;;; o edt-emulation-on o edt-load-keys ;;; o edt-emulation-on o edt-load-keys
;;; ;;;
(defconst edt-emacs-variant (if (featurep 'emacs) "gnu" "xemacs") (defconst edt-emacs-variant (if (featurep 'emacs) "gnu" "xemacs")
"Indicates Emacs variant: GNU Emacs or XEmacs \(aka Lucid Emacs\).") "Indicates Emacs variant: GNU Emacs or XEmacs (aka Lucid Emacs).")
(defconst edt-window-system (if (featurep 'emacs) window-system (console-type)) (defconst edt-window-system (if (featurep 'emacs) window-system (console-type))
"Indicates window system \(in GNU Emacs\) or console type \(in XEmacs\).") "Indicates window system (in GNU Emacs) or console type (in XEmacs).")
(declare-function x-server-vendor "xfns.c" (&optional terminal)) (declare-function x-server-vendor "xfns.c" (&optional terminal))

View file

@ -1536,7 +1536,7 @@ as a Meta key and any number of multiple escapes are allowed."
(defun viper-repeat (arg) (defun viper-repeat (arg)
"Re-execute last destructive command. "Re-execute last destructive command.
Use the info in viper-d-com, which has the form Use the info in viper-d-com, which has the form
\(com val ch reg inserted-text command-keys\), \(com val ch reg inserted-text command-keys),
where `com' is the command to be re-executed, `val' is the where `com' is the command to be re-executed, `val' is the
argument to `com', `ch' is a flag for repeat, and `reg' is optional; argument to `com', `ch' is a flag for repeat, and `reg' is optional;
if it exists, it is the name of the register for `com'. if it exists, it is the name of the register for `com'.
@ -3424,7 +3424,7 @@ controlled by the sign of prefix numeric value."
((re-search-backward "[][(){}]" beg-lim t)) ((re-search-backward "[][(){}]" beg-lim t))
(t (t
(error "No matching character on line")))) (error "No matching character on line"))))
(cond ((looking-at "[\(\[{]") (cond ((looking-at "[([{]")
(if com (viper-move-marker-locally 'viper-com-point (point))) (if com (viper-move-marker-locally 'viper-com-point (point)))
(forward-sexp 1) (forward-sexp 1)
(if com (if com
@ -3733,7 +3733,7 @@ With a prefix argument, this function unsets the macros.
If the optional prefix argument is non-nil and specifies a valid major mode, If the optional prefix argument is non-nil and specifies a valid major mode,
this sets the macros only in the macros in that major mode. Otherwise, this sets the macros only in the macros in that major mode. Otherwise,
the macros are set in the current major mode. the macros are set in the current major mode.
\(When unsetting the macros, the second argument has no effect.\)" \(When unsetting the macros, the second argument has no effect.)"
(interactive "P") (interactive "P")
(or noninteractive (or noninteractive
(if (not unset) (if (not unset)
@ -3980,7 +3980,7 @@ Null string will repeat previous search."
(let (buffer buffer-name) (let (buffer buffer-name)
(setq buffer-name (setq buffer-name
(funcall viper-read-buffer-function (funcall viper-read-buffer-function
(format "Kill buffer \(%s\): " (format "Kill buffer (%s): "
(buffer-name (current-buffer))))) (buffer-name (current-buffer)))))
(setq buffer (setq buffer
(if (null buffer-name) (if (null buffer-name)
@ -4588,7 +4588,7 @@ One can use \\=`\\=` and \\='\\=' to temporarily jump 1 step back."
;; Viewing registers ;; Viewing registers
(defun viper-ket-function (arg) (defun viper-ket-function (arg)
"Function called by \], the ket. View registers and call \]\]." "Function called by ], the ket. View registers and call ]]."
(interactive "P") (interactive "P")
(let ((reg (read-char))) (let ((reg (read-char)))
(cond ((viper-valid-register reg '(letter Letter)) (cond ((viper-valid-register reg '(letter Letter))
@ -4605,7 +4605,7 @@ One can use \\=`\\=` and \\='\\=' to temporarily jump 1 step back."
viper-InvalidRegister reg))))) viper-InvalidRegister reg)))))
(defun viper-brac-function (arg) (defun viper-brac-function (arg)
"Function called by \[, the brac. View textmarkers and call \[\[." "Function called by [, the brac. View textmarkers and call [[."
(interactive "P") (interactive "P")
(let ((reg (read-char))) (let ((reg (read-char)))
(cond ((viper= ?\[ reg) (cond ((viper= ?\[ reg)
@ -4981,7 +4981,7 @@ back trace of the execution that leads to the error. Please include this
trace in your bug report. trace in your bug report.
If you believe that one of Viper's commands goes into an infinite loop If you believe that one of Viper's commands goes into an infinite loop
\(e.g., Emacs freezes\), type: \(e.g., Emacs freezes), type:
M-x set-variable <Return> debug-on-quit <Return> t <Return> M-x set-variable <Return> debug-on-quit <Return> t <Return>

View file

@ -396,7 +396,7 @@ reversed."
)) ))
;; Get an ex-token which is either an address or a command. ;; Get an ex-token which is either an address or a command.
;; A token has a type, \(command, address, end-mark\), and a value ;; A token has a type, (command, address, end-mark), and a value
(defun viper-get-ex-token () (defun viper-get-ex-token ()
(save-window-excursion (save-window-excursion
(setq viper-ex-work-buf (get-buffer-create viper-ex-work-buf-name)) (setq viper-ex-work-buf (get-buffer-create viper-ex-work-buf-name))
@ -1658,7 +1658,7 @@ reversed."
(if (and (not (string= ex-file (buffer-file-name))) (if (and (not (string= ex-file (buffer-file-name)))
(buffer-modified-p) (buffer-modified-p)
(not ex-variant)) (not ex-variant))
(error "No write since last change \(:rec! overrides\)")) (error "No write since last change (:rec! overrides)"))
(recover-file ex-file)) (recover-file ex-file))
;; Tell that `rewind' is obsolete and to use `:next count' instead ;; Tell that `rewind' is obsolete and to use `:next count' instead

View file

@ -102,7 +102,7 @@ docstring. The variable becomes buffer-local whenever set."
(declare (indent defun)) (declare (indent defun))
`(progn `(progn
(defvar ,var ,default-value (defvar ,var ,default-value
,(format "%s\n\(buffer local\)" documentation)) ,(format "%s\n(buffer local)" documentation))
(make-variable-buffer-local ',var))) (make-variable-buffer-local ',var)))
;; (viper-loop COUNT BODY) Execute BODY COUNT times. ;; (viper-loop COUNT BODY) Execute BODY COUNT times.
@ -778,7 +778,7 @@ Related buffers can be cycled through via :R and :P commands."
"^\\\\[sb][a-z]*{.*}\\s-*$\\|" ; latex "^\\\\[sb][a-z]*{.*}\\s-*$\\|" ; latex
"^@node\\|@table\\|^@m?enu\\|^@itemize\\|^@if\\|" ; texinfo "^@node\\|@table\\|^@m?enu\\|^@itemize\\|^@if\\|" ; texinfo
"^.+:-") ; prolog "^.+:-") ; prolog
"Regexps for Headings. Used by \[\[ and \]\].") "Regexps for Headings. Used by [[ and ]].")
(defvar viper-heading-end (defvar viper-heading-end
(concat "^}\\|" ; C/C++ (concat "^}\\|" ; C/C++
@ -786,7 +786,7 @@ Related buffers can be cycled through via :R and :P commands."
"^@end \\|" ; texinfo "^@end \\|" ; texinfo
")\n\n[ \t\n]*\\|" ; lisp ")\n\n[ \t\n]*\\|" ; lisp
"\\.\\s-*$") ; prolog "\\.\\s-*$") ; prolog
"*Regexps to end Headings/Sections. Used by \[\].") "*Regexps to end Headings/Sections. Used by [].")
;; These two vars control the interaction of jumps performed by ' and `. ;; These two vars control the interaction of jumps performed by ' and `.

View file

@ -327,8 +327,8 @@ Can be used in `viper-custom-file-name' to define permanent macros.
MACRO-NAME is a string of characters or a vector of keys. STATE is MACRO-NAME is a string of characters or a vector of keys. STATE is
either `vi-state' or `insert-state'. It specifies the Viper state in which to either `vi-state' or `insert-state'. It specifies the Viper state in which to
define the macro. MACRO-BODY is a string that represents the keyboard macro. define the macro. MACRO-BODY is a string that represents the keyboard macro.
Optional SCOPE says whether the macro should be global \(t\), mode-specific Optional SCOPE says whether the macro should be global \(t), mode-specific
\(a major-mode symbol\), or buffer-specific \(buffer name, a string\). \(a major-mode symbol), or buffer-specific \(buffer name, a string).
If SCOPE is nil, the user is asked to specify the scope." If SCOPE is nil, the user is asked to specify the scope."
(let* (state-name keymap (let* (state-name keymap
(macro-alist-var (macro-alist-var
@ -894,7 +894,7 @@ mistakes in macro names to be passed to this function is to use
(set-register reg last-kbd-macro)) (set-register reg last-kbd-macro))
(defun viper-register-macro (count) (defun viper-register-macro (count)
"Keyboard macros in registers - a modified \@ command." "Keyboard macros in registers - a modified @ command."
(interactive "P") (interactive "P")
(let ((reg (downcase (read-char)))) (let ((reg (downcase (read-char))))
(cond ((or (and (<= ?a reg) (<= reg ?z))) (cond ((or (and (<= ?a reg) (<= reg ?z)))

View file

@ -145,7 +145,7 @@ If CLICK-COUNT is 2,then `word' is a Word in Vi sense.
If the character clicked on is a non-separator and is non-alphanumeric but If the character clicked on is a non-separator and is non-alphanumeric but
is adjacent to an alphanumeric symbol, then it is considered alphanumeric is adjacent to an alphanumeric symbol, then it is considered alphanumeric
for the purpose of this command. If this character has a matching for the purpose of this command. If this character has a matching
character, such as `\(' is a match for `\)', then the matching character is character, such as `(' is a match for `)', then the matching character is
also considered alphanumeric. also considered alphanumeric.
For convenience, in Lisp modes, `-' is considered alphanumeric. For convenience, in Lisp modes, `-' is considered alphanumeric.
@ -250,7 +250,7 @@ On single or double click, returns the word as determined by
With prefix argument, N, insert that many words. With prefix argument, N, insert that many words.
This command must be bound to a mouse click. This command must be bound to a mouse click.
The double-click action of the same mouse button must not be bound The double-click action of the same mouse button must not be bound
\(or it must be bound to the same function\). \(or it must be bound to the same function).
See `viper-surrounding-word' for the definition of a word in this case." See `viper-surrounding-word' for the definition of a word in this case."
(interactive "e\nP") (interactive "e\nP")
(if viper-frame-of-focus ;; to handle clicks in another frame (if viper-frame-of-focus ;; to handle clicks in another frame
@ -339,7 +339,7 @@ See `viper-surrounding-word' for the definition of a word in this case."
"Find the word clicked or double-clicked on. Word may be in another window. "Find the word clicked or double-clicked on. Word may be in another window.
With prefix argument, N, search for N-th occurrence. With prefix argument, N, search for N-th occurrence.
This command must be bound to a mouse click. The double-click action of the This command must be bound to a mouse click. The double-click action of the
same button must not be bound \(or it must be bound to the same function\). same button must not be bound \(or it must be bound to the same function).
See `viper-surrounding-word' for the details on what constitutes a word for See `viper-surrounding-word' for the details on what constitutes a word for
this command." this command."
(interactive "e\nP") (interactive "e\nP")

View file

@ -379,7 +379,7 @@ Otherwise return the normal value."
;; Append LIS2 to LIS1, both alists, by side-effect and returns LIS1 ;; Append LIS2 to LIS1, both alists, by side-effect and returns LIS1
;; LIS2 is modified by filtering it: deleting its members of the form ;; LIS2 is modified by filtering it: deleting its members of the form
;; \(car elt\) such that (car elt') is in LIS1. ;; (car elt) such that (car elt') is in LIS1.
(defun viper-append-filter-alist (lis1 lis2) (defun viper-append-filter-alist (lis1 lis2)
(let ((temp lis1) (let ((temp lis1)
elt) elt)
@ -859,7 +859,7 @@ Otherwise return the normal value."
(defsubst viper-is-in-minibuffer () (defsubst viper-is-in-minibuffer ()
(save-match-data (save-match-data
(string-match "\*Minibuf-" (buffer-name)))) (string-match "\\*Minibuf-" (buffer-name))))
@ -1330,7 +1330,7 @@ Works best when set in the hooks to various major modes.
`strict-vi' means Viper words are (hopefully) exactly as in Vi. `strict-vi' means Viper words are (hopefully) exactly as in Vi.
`reformed-vi' means Viper words are like Emacs words \(as determined using `reformed-vi' means Viper words are like Emacs words \(as determined using
Emacs syntax tables, which are different for different major modes\) with two Emacs syntax tables, which are different for different major modes) with two
exceptions: the symbol `_' is always part of a word and typical Vi non-word exceptions: the symbol `_' is always part of a word and typical Vi non-word
symbols, such as `,',:,\",),{, etc., are excluded. symbols, such as `,',:,\",),{, etc., are excluded.
This behaves very close to `strict-vi', but also works well with non-ASCII This behaves very close to `strict-vi', but also works well with non-ASCII

View file

@ -819,7 +819,7 @@ It also can't undo some Viper settings."
;; fundamental ;; fundamental
(defun viper-major-mode-change-sentinel () (defun viper-major-mode-change-sentinel ()
(save-match-data (save-match-data
(or (string-match "\*Minibuf-" (buffer-name)) (or (string-match "\\*Minibuf-" (buffer-name))
(setq viper-new-major-mode-buffer-list (setq viper-new-major-mode-buffer-list
(cons (current-buffer) viper-new-major-mode-buffer-list)))) (cons (current-buffer) viper-new-major-mode-buffer-list))))
;; change the global value of hook ;; change the global value of hook

View file

@ -2199,7 +2199,7 @@ The return value is an alist mapping from types to values."
(if (eq index (string-match "[ \t\n\r]*" string index)) (if (eq index (string-match "[ \t\n\r]*" string index))
(setq index (match-end 0))) (setq index (match-end 0)))
(if (eq index (string-match (if (eq index (string-match
"\\([0-9]+\\(\\.[0-9]+\\)*\\)\[ \t\n\r]*=[ \t\n\r]*" "\\([0-9]+\\(\\.[0-9]+\\)*\\)[ \t\n\r]*=[ \t\n\r]*"
string index)) string index))
(setq type (match-string 1 string) (setq type (match-string 1 string)
index (match-end 0)) index (match-end 0))

View file

@ -1541,7 +1541,7 @@ A server may send more than one 005 message."
(while (erc-response.command-args parsed) (while (erc-response.command-args parsed)
(let ((section (pop (erc-response.command-args parsed)))) (let ((section (pop (erc-response.command-args parsed))))
;; fill erc-server-parameters ;; fill erc-server-parameters
(when (string-match "^\\([A-Z]+\\)\=\\(.*\\)$\\|^\\([A-Z]+\\)$" (when (string-match "^\\([A-Z]+\\)=\\(.*\\)$\\|^\\([A-Z]+\\)$"
section) section)
(add-to-list 'erc-server-parameters (add-to-list 'erc-server-parameters
`(,(or (match-string 1 section) `(,(or (match-string 1 section)

View file

@ -84,7 +84,7 @@ Useful to mark nicks from dangerous hosts."
(defcustom erc-current-nick-highlight-type 'keyword (defcustom erc-current-nick-highlight-type 'keyword
"Determines how to highlight text in which your current nickname appears "Determines how to highlight text in which your current nickname appears
\(does not apply to text sent by you\). \(does not apply to text sent by you).
The following values are allowed: The following values are allowed:

View file

@ -280,7 +280,7 @@ Example of use:
"IDENTIFY" nil nil nil)) "IDENTIFY" nil nil nil))
"Alist of NickServer details, sorted by network. "Alist of NickServer details, sorted by network.
Every element in the list has the form Every element in the list has the form
\(SYMBOL NICKSERV REGEXP NICK KEYWORD USE-CURRENT ANSWER SUCCESS-REGEXP) (SYMBOL NICKSERV REGEXP NICK KEYWORD USE-CURRENT ANSWER SUCCESS-REGEXP)
SYMBOL is a network identifier, a symbol, as used in `erc-networks-alist'. SYMBOL is a network identifier, a symbol, as used in `erc-networks-alist'.
NICKSERV is the description of the nickserv in the form nick!user@host. NICKSERV is the description of the nickserv in the form nick!user@host.

View file

@ -2973,7 +2973,7 @@ VERSION and so on. It is called with ARGS."
If FUNC contains a valid function or variable, help about that If FUNC contains a valid function or variable, help about that
will be displayed. If FUNC is empty, display an apropos about will be displayed. If FUNC is empty, display an apropos about
ERC commands. Otherwise, do `apropos' in the ERC namespace ERC commands. Otherwise, do `apropos' in the ERC namespace
\(\"erc-.*LINE\"\). \(\"erc-.*LINE\").
Examples: Examples:
To find out about erc and bbdb, do To find out about erc and bbdb, do

View file

@ -639,7 +639,7 @@ matched."
;; `!' ;; `!'
;; Start a history substitution, except when followed by a ;; Start a history substitution, except when followed by a
;; space, tab, the end of the line, = or (. ;; space, tab, the end of the line, = or (.
(if (not (string-match "^![^ \t\n=\(]" reference)) (if (not (string-match "^![^ \t\n=(]" reference))
reference reference
(setq eshell-history-index nil) (setq eshell-history-index nil)
(let ((event (eshell-hist-parse-event-designator reference))) (let ((event (eshell-hist-parse-event-designator reference)))

View file

@ -47,7 +47,7 @@ properties to colorize its output based on the setting of
(defcustom eshell-ls-date-format "%Y-%m-%d" (defcustom eshell-ls-date-format "%Y-%m-%d"
"How to display time information in `eshell-ls-file'. "How to display time information in `eshell-ls-file'.
This is passed to `format-time-string' as a format string. This is passed to `format-time-string' as a format string.
To display the date using the current locale, use \"%b \%e\"." To display the date using the current locale, use \"%b \ %e\"."
:version "24.1" :version "24.1"
:type 'string) :type 'string)

View file

@ -517,7 +517,7 @@ Remove the DIRECTORY(ies), if they are empty.")
:usage "[OPTION]... SOURCE DEST :usage "[OPTION]... SOURCE DEST
or: mv [OPTION]... SOURCE... DIRECTORY or: mv [OPTION]... SOURCE... DIRECTORY
Rename SOURCE to DEST, or move SOURCE(s) to DIRECTORY. Rename SOURCE to DEST, or move SOURCE(s) to DIRECTORY.
\[OPTION] DIRECTORY...") [OPTION] DIRECTORY...")
(let ((no-dereference t)) (let ((no-dereference t))
(eshell-mvcpln-template "mv" "moving" 'rename-file (eshell-mvcpln-template "mv" "moving" 'rename-file
eshell-mv-interactive-query eshell-mv-interactive-query

View file

@ -228,7 +228,7 @@ If N or M is nil, it means the end of the list."
(defvar eshell-path-env (getenv "PATH") (defvar eshell-path-env (getenv "PATH")
"Content of $PATH. "Content of $PATH.
It might be different from \(getenv \"PATH\"\), when It might be different from \(getenv \"PATH\"), when
`default-directory' points to a remote host.") `default-directory' points to a remote host.")
(make-variable-buffer-local 'eshell-path-env) (make-variable-buffer-local 'eshell-path-env)

View file

@ -213,7 +213,7 @@
"for" ; foreach "for" ; foreach
(concat (concat
"for ( )\n" "for ( )\n"
"{\n\n\}" "{\n\n}"
) )
(list 7 12)) (list 7 12))
@ -221,7 +221,7 @@
"whi" ; foreach "whi" ; foreach
(concat (concat
"while ( )\n" "while ( )\n"
"{\n\n\}" "{\n\n}"
) )
(list 9 15)) (list 9 15))
@ -233,7 +233,7 @@
"iff" "iff"
(concat (concat
"if ( )\n" "if ( )\n"
"{\n\n\}" "{\n\n}"
) )
(list 6 12)) (list 6 12))

View file

@ -433,7 +433,7 @@ completely specified)."
(defun face-attribute-merged-with (attribute value faces &optional frame) (defun face-attribute-merged-with (attribute value faces &optional frame)
"Merges ATTRIBUTE, initially VALUE, with faces from FACES until absolute. "Merges ATTRIBUTE, initially VALUE, with faces from FACES until absolute.
FACES may be either a single face or a list of faces. FACES may be either a single face or a list of faces.
\[This is an internal function.]" [This is an internal function.]"
(cond ((not (face-attribute-relative-p attribute value)) (cond ((not (face-attribute-relative-p attribute value))
value) value)
((null faces) ((null faces)

View file

@ -43,7 +43,7 @@ A key in this hash table is the descriptor as returned from
`gfilenotify', `inotify', `w32notify' or a file name handler. `gfilenotify', `inotify', `w32notify' or a file name handler.
The value in the hash table is a list The value in the hash table is a list
\(DIR (FILE . CALLBACK) (FILE . CALLBACK) ...) (DIR (FILE . CALLBACK) (FILE . CALLBACK) ...)
Several values for a given DIR happen only for `inotify', when Several values for a given DIR happen only for `inotify', when
different files from the same directory are watched.") different files from the same directory are watched.")
@ -54,7 +54,7 @@ different files from the same directory are watched.")
"Handle file system monitoring event. "Handle file system monitoring event.
If EVENT is a filewatch event, call its callback. It has the format If EVENT is a filewatch event, call its callback. It has the format
\(file-notify (DESCRIPTOR ACTIONS FILE [FILE1-OR-COOKIE]) CALLBACK) (file-notify (DESCRIPTOR ACTIONS FILE [FILE1-OR-COOKIE]) CALLBACK)
Otherwise, signal a `file-notify-error'." Otherwise, signal a `file-notify-error'."
(interactive "e") (interactive "e")

View file

@ -1057,7 +1057,7 @@ Tip: You can use this expansion of remote identifier components
to derive a new remote file name from an existing one. For to derive a new remote file name from an existing one. For
example, if FILE is \"/sudo::/path/to/file\" then example, if FILE is \"/sudo::/path/to/file\" then
\(concat \(file-remote-p FILE) \"/bin/sh\") (concat (file-remote-p FILE) \"/bin/sh\")
returns a remote file name for file \"/bin/sh\" that has the returns a remote file name for file \"/bin/sh\" that has the
same remote identifier as FILE but expanded; a name such as same remote identifier as FILE but expanded; a name such as
@ -3863,7 +3863,7 @@ directories."
However, the mode will not be changed if However, the mode will not be changed if
\(1) a local variables list or the `-*-' line specifies a major mode, or \(1) a local variables list or the `-*-' line specifies a major mode, or
\(2) the current major mode is a \"special\" mode, \(2) the current major mode is a \"special\" mode,
\ not suitable for ordinary files, or not suitable for ordinary files, or
\(3) the new file name does not particularly specify any mode." \(3) the new file name does not particularly specify any mode."
:type 'boolean :type 'boolean
:group 'editing-basics) :group 'editing-basics)

View file

@ -415,10 +415,10 @@ at the last position.
Possible uses: If you don't want to save `filesets-data' in your normal Possible uses: If you don't want to save `filesets-data' in your normal
configuration file, you can add a something like this configuration file, you can add a something like this
\(lambda () (lambda ()
\(insert (format \"(setq-default filesets-data \\='%S)\" (insert (format \"(setq-default filesets-data \\='%S)\"
filesets-data)) filesets-data))
\(newline 2)) (newline 2))
to this hook. to this hook.
@ -550,14 +550,14 @@ will be recursively added to the menu. `filesets-tree-max-level' tells up
to which level the directory structure should be scanned/listed, to which level the directory structure should be scanned/listed,
i.e. how deep the menu should be. Try something like i.e. how deep the menu should be. Try something like
\(\"HOME -- only one level\" (\"HOME -- only one level\"
\(:tree \"~\" \"^[^.].*[^~]$\") (:tree \"~\" \"^[^.].*[^~]$\")
\(:tree-max-level 1) (:tree-max-level 1)
\(:filter-dirs-flag t)) (:filter-dirs-flag t))
\(\"HOME -- up to 3 levels\" (\"HOME -- up to 3 levels\"
\(:tree \"~\" \"^[^.].*[^~]$\") (:tree \"~\" \"^[^.].*[^~]$\")
\(:tree-max-level 3) (:tree-max-level 3)
\(:filter-dirs-flag t)) (:filter-dirs-flag t))
and it should become clear what this option is about. In any case, and it should become clear what this option is about. In any case,
including directory trees to the menu can take a lot of memory." including directory trees to the menu can take a lot of memory."
@ -679,20 +679,20 @@ variables my-ps-viewer, my-pdf-viewer, my-dvi-viewer, my-pic-viewer.
In order to view pdf or rtf files in an Emacs buffer, you could use these: In order to view pdf or rtf files in an Emacs buffer, you could use these:
\(\"^.+\\\\.pdf\\\\\\='\" \"pdftotext\" (\"^.+\\\\.pdf\\\\\\='\" \"pdftotext\"
\((:capture-output t) ((:capture-output t)
\(:args (\"%S - | fmt -w \" window-width)) (:args (\"%S - | fmt -w \" window-width))
\(:ignore-on-read-text t) (:ignore-on-read-text t)
\(:constraintp (lambda () (:constraintp (lambda ()
\(and \(filesets-which-command-p \"pdftotext\") (and (filesets-which-command-p \"pdftotext\")
\(filesets-which-command-p \"fmt\")))))) (filesets-which-command-p \"fmt\"))))))
\(\"^.+\\\\.rtf\\\\\\='\" \"rtf2htm\" (\"^.+\\\\.rtf\\\\\\='\" \"rtf2htm\"
\((:capture-output t) ((:capture-output t)
\(:args (\"%S 2> /dev/null | w3m -dump -T text/html\")) (:args (\"%S 2> /dev/null | w3m -dump -T text/html\"))
\(:ignore-on-read-text t) (:ignore-on-read-text t)
\(:constraintp (lambda () (:constraintp (lambda ()
\(and (filesets-which-command-p \"rtf2htm\") (and (filesets-which-command-p \"rtf2htm\")
\(filesets-which-command-p \"w3m\"))))))" (filesets-which-command-p \"w3m\"))))))"
:set (function filesets-set-default) :set (function filesets-set-default)
:type '(repeat :tag "Viewer" :type '(repeat :tag "Viewer"
(list :tag "Definition" (list :tag "Definition"
@ -756,7 +756,7 @@ In order to view pdf or rtf files in an Emacs buffer, you could use these:
(defcustom filesets-ingroup-patterns (defcustom filesets-ingroup-patterns
'(("^.+\\.tex$" t '(("^.+\\.tex$" t
(((:name "Package") (((:name "Package")
(:pattern "\\\\usepackage\\W*\\(\\[[^\]]*\\]\\W*\\)?{\\W*\\(.+\\)\\W*}") (:pattern "\\\\usepackage\\W*\\(\\[[^]]*\\]\\W*\\)?{\\W*\\(.+\\)\\W*}")
(:match-number 2) (:match-number 2)
(:stub-flag t) (:stub-flag t)
(:get-file-name (lambda (master file) (:get-file-name (lambda (master file)
@ -951,18 +951,18 @@ variable will take effect after rebuilding the menu.
Caveat: Fileset names have to be unique. Caveat: Fileset names have to be unique.
Example definition: Example definition:
\\='\(\(\"My Wiki\" \\='((\"My Wiki\"
\(:ingroup \"~/Etc/My-Wiki/WikiContents\")) (:ingroup \"~/Etc/My-Wiki/WikiContents\"))
\(\"My Homepage\" (\"My Homepage\"
\(:pattern \"~/public_html/\" \"^.+\\\\.html$\") (:pattern \"~/public_html/\" \"^.+\\\\.html$\")
\(:open filesets-find-file)) (:open filesets-find-file))
\(\"User Configuration\" (\"User Configuration\"
\(:files \"~/.xinitrc\" (:files \"~/.xinitrc\"
\"~/.bashrc\" \"~/.bashrc\"
\"~/.bash_profile\")) \"~/.bash_profile\"))
\(\"HOME\" (\"HOME\"
\(:tree \"~\" \"^[^.].*[^~]$\") (:tree \"~\" \"^[^.].*[^~]$\")
\(:filter-dirs-flag t))) (:filter-dirs-flag t)))
`filesets-data' is a list of (NAME-AS-STRING . DEFINITION), DEFINITION `filesets-data' is a list of (NAME-AS-STRING . DEFINITION), DEFINITION
being an association list with the fields: being an association list with the fields:
@ -2450,13 +2450,13 @@ and edit your startup file as shown below:
1. `filesets-data': Edit all :pattern filesets in your startup file and 1. `filesets-data': Edit all :pattern filesets in your startup file and
transform all entries as shown in this example: transform all entries as shown in this example:
\(\"Test\" (:pattern \"~/dir/^pattern$\")) (\"Test\" (:pattern \"~/dir/^pattern$\"))
--> \(\"Test\" (:pattern \"~/dir/\" \"^pattern$\")) --> (\"Test\" (:pattern \"~/dir/\" \"^pattern$\"))
2. `filesets-data': Change all occurrences of \":document\" to \":ingroup\": 2. `filesets-data': Change all occurrences of \":document\" to \":ingroup\":
\(\(\"Test\" \(:document \"~/dir/file\")) ((\"Test\" (:document \"~/dir/file\"))
--> \(\(\"Test\" \(:ingroup \"~/dir/file\")) --> ((\"Test\" (:ingroup \"~/dir/file\"))
3. `filesets-subdocument-patterns': If you already modified the variable 3. `filesets-subdocument-patterns': If you already modified the variable
previously called `filesets-subdocument-patterns', change its name to previously called `filesets-subdocument-patterns', change its name to

View file

@ -140,10 +140,10 @@ the string will be quoted).")
"Initiate the building of a find command. "Initiate the building of a find command.
For example: For example:
\(find-cmd \\='\(prune \(name \".svn\" \".git\" \".CVS\"\)\) \(find-cmd \\='(prune (name \".svn\" \".git\" \".CVS\"))
\\='\(and \(or \(name \"*.pl\" \"*.pm\" \"*.t\"\) \\='(and (or (name \"*.pl\" \"*.pm\" \"*.t\")
\(mtime \"+1\"\)\) (mtime \"+1\"))
\(fstype \"nfs\" \"ufs\"\)\)\)\) (fstype \"nfs\" \"ufs\"))))
`default-directory' is used as the initial search path. The `default-directory' is used as the initial search path. The
result is a string that should be ready for the command line." result is a string that should be ready for the command line."
@ -159,9 +159,9 @@ result is a string that should be ready for the command line."
(defun find-and (form) (defun find-and (form)
"And FORMs together, so: "And FORMs together, so:
\(and \(mtime \"+1\"\) \(name \"something\"\)\) (and (mtime \"+1\") (name \"something\"))
will produce: will produce:
find . \\\( -mtime +1 -and -name something \\\)" find . \\( -mtime +1 -and -name something \\)"
(if (< (length form) 2) (if (< (length form) 2)
(find-to-string (car form)) (find-to-string (car form))
(concat "\\( " (concat "\\( "
@ -170,9 +170,9 @@ will produce:
(defun find-or (form) (defun find-or (form)
"Or FORMs together, so: "Or FORMs together, so:
\(or \(mtime \"+1\"\) \(name \"something\"\)\) (or (mtime \"+1\") (name \"something\"))
will produce: will produce:
find . \\\( -mtime +1 -or -name something \\\)" find . \\( -mtime +1 -or -name something \\)"
(if (< (length form) 2) (if (< (length form) 2)
(find-to-string (car form)) (find-to-string (car form))
(concat "\\( " (concat "\\( "
@ -181,21 +181,21 @@ will produce:
(defun find-not (form) (defun find-not (form)
"Or FORMs together and prefix with a -not, so: "Or FORMs together and prefix with a -not, so:
\(not \(mtime \"+1\"\) \(name \"something\"\)\) (not (mtime \"+1\") (name \"something\"))
will produce: will produce:
-not \\\( -mtime +1 -or -name something \\\) -not \\( -mtime +1 -or -name something \\)
If you wanted the FORMs -and(ed) together instead then this would If you wanted the FORMs -and(ed) together instead then this would
suffice: suffice:
\(not \(and \(mtime \"+1\"\) \(name \"something\"\)\)\)" (not (and (mtime \"+1\") (name \"something\")))"
(concat "-not " (find-or (mapcar #'find-to-string form)))) (concat "-not " (find-or (mapcar #'find-to-string form))))
(defun find-prune (form) (defun find-prune (form)
"-or together FORMs postfix `-prune' and then -or that with a "-or together FORMs postfix `-prune' and then -or that with a
-true, so: -true, so:
\(\(prune \(name \".svn\" \".git\"\)\) \(name \"*.pm\"\)\) ((prune (name \".svn\" \".git\")) (name \"*.pm\"))
will produce (unwrapped): will produce (unwrapped):
\\\( \\\( \\\( -name .svn -or -name .git \\\) / \\( \\( \\( -name .svn -or -name .git \\) /
-prune -or -true \\\) -and -name *.pm \\\)" -prune -or -true \\) -and -name *.pm \\)"
(find-or (find-or
(list (list
(concat (find-or (mapcar #'find-to-string form)) (find-generic "prune")) (concat (find-or (mapcar #'find-to-string form)) (find-generic "prune"))

View file

@ -72,10 +72,10 @@ a file listing in the desired format. LS-SWITCHES is a set of
The two options must be set to compatible values. The two options must be set to compatible values.
For example, to use human-readable file sizes with GNU ls: For example, to use human-readable file sizes with GNU ls:
\(\"-exec ls -ldh {} +\" . \"-ldh\") (\"-exec ls -ldh {} +\" . \"-ldh\")
To use GNU find's inbuilt \"-ls\" option to list files: To use GNU find's inbuilt \"-ls\" option to list files:
\(\"-ls\" . \"-dilsb\") (\"-ls\" . \"-dilsb\")
since GNU find's output has the same format as using GNU ls with since GNU find's output has the same format as using GNU ls with
the options \"-dilsb\"." the options \"-dilsb\"."
:version "24.1" ; add tests for -ls and -exec + support :version "24.1" ; add tests for -ls and -exec + support

View file

@ -183,7 +183,7 @@ To override this, give an argument to `ff-find-other-file'."
;;;###autoload ;;;###autoload
(defcustom ff-special-constructs (defcustom ff-special-constructs
;; C/C++ include, for NeXTstep too ;; C/C++ include, for NeXTstep too
`((,(purecopy "^\#\\s *\\(include\\|import\\)\\s +[<\"]\\(.*\\)[>\"]") . `((,(purecopy "^#\\s *\\(include\\|import\\)\\s +[<\"]\\(.*\\)[>\"]") .
(lambda () (lambda ()
(buffer-substring (match-beginning 2) (match-end 2))))) (buffer-substring (match-beginning 2) (match-end 2)))))
;; We include `ff-treat-as-special' documentation here so that autoload ;; We include `ff-treat-as-special' documentation here so that autoload
@ -678,7 +678,7 @@ name of the first file found."
(setq suffixes suffix-list) (setq suffixes suffix-list)
;; if dir does not contain '/*', look for the file ;; if dir does not contain '/*', look for the file
(if (and dir (not (string-match "\\([^*]*\\)/\\\*\\(/.*\\)*" dir))) (if (and dir (not (string-match "\\([^*]*\\)/\\*\\(/.*\\)*" dir)))
(progn (progn
;; suffixes is nil => fname-stub is the file we are looking for ;; suffixes is nil => fname-stub is the file we are looking for

View file

@ -250,7 +250,7 @@ An end marker of nil means the fold ends after (point-max).")
"Open the subtree under the current heading and narrow to it. "Open the subtree under the current heading and narrow to it.
Normally the body and the immediate subheadings are exposed, but Normally the body and the immediate subheadings are exposed, but
optional arg EXPOSURE \(interactively with prefix arg\) changes this:- optional arg EXPOSURE \(interactively with prefix arg) changes this:-
EXPOSURE > 0 exposes n levels of subheadings (c.f. show-children) EXPOSURE > 0 exposes n levels of subheadings (c.f. show-children)
EXPOSURE < 0 exposes only the body EXPOSURE < 0 exposes only the body

View file

@ -619,7 +619,7 @@ the rest of the arguments are any PARAMETERs found in that region.
Any annotations that are found by NEXT-FN but not defined by TRANSLATIONS Any annotations that are found by NEXT-FN but not defined by TRANSLATIONS
are saved as values of the `unknown' text-property \(which is list-valued). are saved as values of the `unknown' text-property \(which is list-valued).
The TRANSLATIONS list should usually contain an entry of the form The TRANSLATIONS list should usually contain an entry of the form
\(unknown \(nil format-annotate-value)) (unknown (nil format-annotate-value))
to write these unknown annotations back into the file." to write these unknown annotations back into the file."
(save-excursion (save-excursion
(save-restriction (save-restriction
@ -839,7 +839,7 @@ the first character in the buffer)."
(setq l (cdr l))))) (setq l (cdr l)))))
(defun format-annotate-value (old new) (defun format-annotate-value (old new)
"Return OLD and NEW as a \(CLOSE . OPEN) annotation pair. "Return OLD and NEW as a (CLOSE . OPEN) annotation pair.
Useful as a default function for TRANSLATIONS alist when the value of the text Useful as a default function for TRANSLATIONS alist when the value of the text
property is the name of the annotation that you want to use, as it is for the property is the name of the annotation that you want to use, as it is for the
`unknown' text property." `unknown' text property."

View file

@ -1557,20 +1557,20 @@ You'll get back all the properties of the token as a plist.
Here's an example that looks for the first item in the `Login' Here's an example that looks for the first item in the `Login'
Secrets collection: Secrets collection:
\(let ((auth-sources \\='(\"secrets:Login\"))) (let ((auth-sources \\='(\"secrets:Login\")))
(auth-source-search :max 1) (auth-source-search :max 1)
Here's another that looks for the first item in the `Login' Here's another that looks for the first item in the `Login'
Secrets collection whose label contains `gnus': Secrets collection whose label contains `gnus':
\(let ((auth-sources \\='(\"secrets:Login\"))) (let ((auth-sources \\='(\"secrets:Login\")))
(auth-source-search :max 1 :label \"gnus\") (auth-source-search :max 1 :label \"gnus\")
And this one looks for the first item in the `Login' Secrets And this one looks for the first item in the `Login' Secrets
collection that's a Google Chrome entry for the git.gnus.org site collection that's a Google Chrome entry for the git.gnus.org site
authentication tokens: authentication tokens:
\(let ((auth-sources \\='(\"secrets:Login\"))) (let ((auth-sources \\='(\"secrets:Login\")))
(auth-source-search :max 1 :signon_realm \"https://git.gnus.org/Git\")) (auth-source-search :max 1 :signon_realm \"https://git.gnus.org/Git\"))
" "
@ -1691,19 +1691,19 @@ field), :user maps to \"-a USER\", and :port maps to \"-s PORT\".
Here's an example that looks for the first item in the default Here's an example that looks for the first item in the default
generic MacOS Keychain: generic MacOS Keychain:
\(let ((auth-sources \\='(macos-keychain-generic))) (let ((auth-sources \\='(macos-keychain-generic)))
(auth-source-search :max 1) (auth-source-search :max 1)
Here's another that looks for the first item in the internet Here's another that looks for the first item in the internet
MacOS Keychain collection whose label is `gnus': MacOS Keychain collection whose label is `gnus':
\(let ((auth-sources \\='(macos-keychain-internet))) (let ((auth-sources \\='(macos-keychain-internet)))
(auth-source-search :max 1 :label \"gnus\") (auth-source-search :max 1 :label \"gnus\")
And this one looks for the first item in the internet keychain And this one looks for the first item in the internet keychain
entries for git.gnus.org: entries for git.gnus.org:
\(let ((auth-sources \\='(macos-keychain-internet\"))) (let ((auth-sources \\='(macos-keychain-internet\")))
(auth-source-search :max 1 :host \"git.gnus.org\")) (auth-source-search :max 1 :host \"git.gnus.org\"))
" "
;; TODO ;; TODO

View file

@ -5516,7 +5516,7 @@ If no internal viewer is available, use an external viewer."
(mm-display-part handle nil t)))))) (mm-display-part handle nil t))))))
(defun gnus-mime-action-on-part (&optional action) (defun gnus-mime-action-on-part (&optional action)
"Do something with the MIME attachment at \(point\)." "Do something with the MIME attachment at (point)."
(interactive (interactive
(list (gnus-completing-read "Action" (mapcar 'car gnus-mime-action-alist) t))) (list (gnus-completing-read "Action" (mapcar 'car gnus-mime-action-alist) t)))
(gnus-article-check-buffer) (gnus-article-check-buffer)
@ -5992,7 +5992,7 @@ If t, it overrides nil values of
"Display \"multipart/related\" parts as \"multipart/mixed\". "Display \"multipart/related\" parts as \"multipart/mixed\".
If displaying \"text/html\" is discouraged \(see If displaying \"text/html\" is discouraged \(see
`mm-discouraged-alternatives'\) images or other material inside a `mm-discouraged-alternatives') images or other material inside a
\"multipart/related\" part might be overlooked when this variable is nil." \"multipart/related\" part might be overlooked when this variable is nil."
:version "22.1" :version "22.1"
:group 'gnus-article-mime :group 'gnus-article-mime
@ -7545,7 +7545,7 @@ must return `mid', `mail', `invalid' or `ask'."
(10.0 . "^[^0-9]+@") (10.0 . "^[^0-9]+@")
(3.0 . "^[^0-9]+[0-9][0-9]?[0-9]?@") (3.0 . "^[^0-9]+[0-9][0-9]?[0-9]?@")
;; ^[^0-9]+[0-9]{1,3}\@ digits only at end of local part ;; ^[^0-9]+[0-9]{1,3}\@ digits only at end of local part
(3.0 . "\@stud") (3.0 . "@stud")
;; ;;
(2.0 . "[a-z][a-z][._-][A-Z][a-z].*@") (2.0 . "[a-z][a-z][._-][A-Z][a-z].*@")
;; ;;
@ -7553,7 +7553,7 @@ must return `mid', `mail', `invalid' or `ask'."
(0.5 . "^[A-Z][a-z][a-z]") (0.5 . "^[A-Z][a-z][a-z]")
(1.5 . "^[A-Z][a-z][A-Z][a-z][^a-z]") ;; ^[A-Z][a-z]{3,3} (1.5 . "^[A-Z][a-z][A-Z][a-z][^a-z]") ;; ^[A-Z][a-z]{3,3}
(2.0 . "^[A-Z][a-z][A-Z][a-z][a-z][^a-z]")) ;; ^[A-Z][a-z]{4,4} (2.0 . "^[A-Z][a-z][A-Z][a-z][a-z][^a-z]")) ;; ^[A-Z][a-z]{4,4}
"An alist of \(RATE . REGEXP\) pairs for `gnus-button-mid-or-mail-heuristic'. "An alist of (RATE . REGEXP) pairs for `gnus-button-mid-or-mail-heuristic'.
A negative RATE indicates a message IDs, whereas a positive indicates a mail A negative RATE indicates a message IDs, whereas a positive indicates a mail
address. The REGEXP is processed with `case-fold-search' set to nil." address. The REGEXP is processed with `case-fold-search' set to nil."
@ -7612,9 +7612,9 @@ address, `ask' if unsure and `invalid' if the string is invalid."
(gnus-message (gnus-message
9 "Many digits in `%s', rate `%s', result `%s'." 9 "Many digits in `%s', rate `%s', result `%s'."
mid-or-mail rate result)) mid-or-mail rate result))
((string-match "[^aeiouy][^aeiouy][^aeiouy][^aeiouy]+.*\@" ((string-match "[^aeiouy][^aeiouy][^aeiouy][^aeiouy]+.*@"
mid-or-mail) mid-or-mail)
;; Too few vowels [^aeiouy]{4,}.*\@ ;; Too few vowels [^aeiouy]{4,}.*@
(setq result (+ result -5.0)) (setq result (+ result -5.0))
(gnus-message (gnus-message
9 "Few vowels in `%s', rate `%s', result `%s'." 9 "Few vowels in `%s', rate `%s', result `%s'."
@ -8113,7 +8113,7 @@ url is put as the `gnus-button-url' overlay property on the button."
(< (match-end 0) start)) (< (match-end 0) start))
(regexp-quote (match-string 0))) (regexp-quote (match-string 0)))
"\ "\
\[\t ]*\\(?:\\([^\t\n \">]+\\)[\t ]*$\\|\\([^\t\n \">]*\\)[\t ]*" [\t ]*\\(?:\\([^\t\n \">]+\\)[\t ]*$\\|\\([^\t\n \">]*\\)[\t ]*"
delim "\\)")) delim "\\)"))
(while (progn (while (progn
(forward-line 1) (forward-line 1)

View file

@ -101,7 +101,7 @@ List of details is defined in `gnus-bookmark-bookmark-inline-details'.
This may result in truncated bookmark names. To disable this, put the This may result in truncated bookmark names. To disable this, put the
following in your `.emacs' file: following in your `.emacs' file:
\(setq gnus-bookmark-bmenu-toggle-infos nil\)" \(setq gnus-bookmark-bmenu-toggle-infos nil)"
:type 'boolean :type 'boolean
:group 'gnus-bookmark) :group 'gnus-bookmark)
@ -118,7 +118,7 @@ You can toggle whether details are shown with \\<gnus-bookmark-bmenu-mode-map>\\
(defcustom gnus-bookmark-bookmark-inline-details '(author) (defcustom gnus-bookmark-bookmark-inline-details '(author)
"Details to be shown with `gnus-bookmark-bmenu-toggle-infos'. "Details to be shown with `gnus-bookmark-bmenu-toggle-infos'.
The default value is \(subject\)." The default value is \(subject)."
:type '(list :tag "Gnus bookmark details" :type '(list :tag "Gnus bookmark details"
(set :inline t (set :inline t
(const :tag "Author" author) (const :tag "Author" author)
@ -131,7 +131,7 @@ The default value is \(subject\)."
(defcustom gnus-bookmark-bookmark-details (defcustom gnus-bookmark-bookmark-details
'(author subject date group annotation) '(author subject date group annotation)
"Details to be shown with `gnus-bookmark-bmenu-show-details'. "Details to be shown with `gnus-bookmark-bmenu-show-details'.
The default value is \(author subject date group annotation\)." The default value is \(author subject date group annotation)."
:type '(list :tag "Gnus bookmark details" :type '(list :tag "Gnus bookmark details"
(set :inline t (set :inline t
(const :tag "Author" author) (const :tag "Author" author)
@ -160,17 +160,17 @@ You should never need to change this.")
"Association list of Gnus bookmarks and their records. "Association list of Gnus bookmarks and their records.
The format of the alist is The format of the alist is
\(BMK1 BMK2 ...\) (BMK1 BMK2 ...)
where each BMK is of the form where each BMK is of the form
\(NAME \(NAME
\(group . GROUP\) (group . GROUP)
\(message-id . MESSAGE-ID\) (message-id . MESSAGE-ID)
\(author . AUTHOR\) (author . AUTHOR)
\(date . DATE\) (date . DATE)
\(subject . SUBJECT\) (subject . SUBJECT)
\(annotation . ANNOTATION\)\) (annotation . ANNOTATION))
So the cdr of each bookmark is an alist too.") So the cdr of each bookmark is an alist too.")
@ -432,7 +432,7 @@ That is, all information but the name."
(car (cdr (gnus-bookmark-get-bookmark bookmark)))) (car (cdr (gnus-bookmark-get-bookmark bookmark))))
(defun gnus-bookmark-name-from-full-record (full-record) (defun gnus-bookmark-name-from-full-record (full-record)
"Return name of FULL-RECORD \(an alist element instead of a string\)." "Return name of FULL-RECORD (an alist element instead of a string)."
(car full-record)) (car full-record))
(defvar gnus-bookmark-bmenu-bookmark-column nil) (defvar gnus-bookmark-bmenu-bookmark-column nil)
@ -484,7 +484,7 @@ Gnus bookmarks names preceded by a \"*\" have annotations.
Also show bookmarks marked using m in other windows. Also show bookmarks marked using m in other windows.
\\[gnus-bookmark-bmenu-toggle-infos] -- toggle displaying of details (they may obscure long bookmark names). \\[gnus-bookmark-bmenu-toggle-infos] -- toggle displaying of details (they may obscure long bookmark names).
\\[gnus-bookmark-bmenu-locate] -- display (in minibuffer) location of this bookmark. \\[gnus-bookmark-bmenu-locate] -- display (in minibuffer) location of this bookmark.
\\[gnus-bookmark-bmenu-rename] -- rename this bookmark \(prompts for new name\). \\[gnus-bookmark-bmenu-rename] -- rename this bookmark (prompts for new name).
\\[gnus-bookmark-bmenu-delete] -- mark this bookmark to be deleted, and move down. \\[gnus-bookmark-bmenu-delete] -- mark this bookmark to be deleted, and move down.
\\[gnus-bookmark-bmenu-delete-backwards] -- mark this bookmark to be deleted, and move up. \\[gnus-bookmark-bmenu-delete-backwards] -- mark this bookmark to be deleted, and move up.
\\[gnus-bookmark-bmenu-execute-deletions] -- delete bookmarks marked with `\\[gnus-bookmark-bmenu-delete]'. \\[gnus-bookmark-bmenu-execute-deletions] -- delete bookmarks marked with `\\[gnus-bookmark-bmenu-delete]'.
@ -806,7 +806,7 @@ command."
Removes only the first instance of a bookmark with that name. If Removes only the first instance of a bookmark with that name. If
there are one or more other bookmarks with the same name, they will there are one or more other bookmarks with the same name, they will
not be deleted. Defaults to the \"current\" bookmark \(that is, the not be deleted. Defaults to the \"current\" bookmark \(that is, the
one most recently used in this file, if any\). one most recently used in this file, if any).
Optional second arg BATCH means don't update the bookmark list buffer, Optional second arg BATCH means don't update the bookmark list buffer,
probably because we were called from there." probably because we were called from there."
(gnus-bookmark-maybe-load-default-file) (gnus-bookmark-maybe-load-default-file)

View file

@ -436,7 +436,7 @@ to the groups in this topic, then edit the value to suit your taste."
:greedy t :greedy t
:tag "Agent Parameters" :tag "Agent Parameters"
:format "%t:\n%h%v" :format "%t:\n%h%v"
:doc "\ These agent parameters are :doc "These agent parameters are
recognized by Gnus. They control article selection and expiration for recognized by Gnus. They control article selection and expiration for
use in the unplugged cache. Check the [ ] for the parameters you want use in the unplugged cache. Check the [ ] for the parameters you want
to apply to this group or to the groups in this topic, then edit the to apply to this group or to the groups in this topic, then edit the

View file

@ -155,7 +155,7 @@ list."
(function-item gnus-group-sort-by-rank) (function-item gnus-group-sort-by-rank)
(function :tag "other" nil)))) (function :tag "other" nil))))
(defcustom gnus-group-line-format "%M\%S\%p\%P\%5y:%B%(%g%)\n" (defcustom gnus-group-line-format "%M\ %S\ %p\ %P\ %5y:%B%(%g%)\n"
"*Format of group lines. "*Format of group lines.
It works along the same lines as a normal formatting string, It works along the same lines as a normal formatting string,
with some simple extensions. with some simple extensions.
@ -213,7 +213,7 @@ See Info node `(gnus)Formatting Variables'."
:group 'gnus-group-visual :group 'gnus-group-visual
:type 'string) :type 'string)
(defcustom gnus-group-mode-line-format "Gnus: %%b {%M\%:%S}" (defcustom gnus-group-mode-line-format "Gnus: %%b {%M\ %:%S}"
"*The format specification for the group mode line. "*The format specification for the group mode line.
It works along the same lines as a normal formatting string, It works along the same lines as a normal formatting string,
with some simple extensions: with some simple extensions:
@ -445,7 +445,7 @@ If non-nil, the value should be a string or an alist. If it is a string,
e.g. \"nnml:\", in which case `gnus-group-jump-to-group' offers \"Group: e.g. \"nnml:\", in which case `gnus-group-jump-to-group' offers \"Group:
nnml:\" in the minibuffer prompt. nnml:\" in the minibuffer prompt.
If it is an alist, it must consist of \(NUMBER . PROMPT\) pairs, for example: If it is an alist, it must consist of \(NUMBER . PROMPT) pairs, for example:
\((1 . \"\") (2 . \"nnfolder+archive:\")). The element with number 0 is \((1 . \"\") (2 . \"nnfolder+archive:\")). The element with number 0 is
used when no prefix argument is given to `gnus-group-jump-to-group'." used when no prefix argument is given to `gnus-group-jump-to-group'."
:version "22.1" :version "22.1"
@ -2174,7 +2174,7 @@ be permanent."
(gnus-group-decoded-name group))) (gnus-group-decoded-name group)))
(let ((regexp "[][\C-@-\t\v-*,/:-@\\^`{-\C-?]*\ (let ((regexp "[][\C-@-\t\v-*,/:-@\\^`{-\C-?]*\
\\(nn[a-z]+\\(?:\\+[^][\C-@-*,/:-@\\^`{-\C-?]+\\)?:\ \\(nn[a-z]+\\(?:\\+[^][\C-@-*,/:-@\\^`{-\C-?]+\\)?:\
\[^][\C-@-*,./:-@\\^`{-\C-?]+\\(?:\\.[^][\C-@-*,./:-@\\^`{-\C-?]+\\)*\ [^][\C-@-*,./:-@\\^`{-\C-?]+\\(?:\\.[^][\C-@-*,./:-@\\^`{-\C-?]+\\)*\
\\|[^][\C-@-*,./:-@\\^`{-\C-?]+\\(?:\\.[^][\C-@-*,./:-@\\^`{-\C-?]+\\)+\\)") \\|[^][\C-@-*,./:-@\\^`{-\C-?]+\\(?:\\.[^][\C-@-*,./:-@\\^`{-\C-?]+\\)+\\)")
(start (point)) (start (point))
(case-fold-search nil)) (case-fold-search nil))

View file

@ -100,7 +100,7 @@ See `gnus-group-split-fancy' for more information.
"Uses information from group parameters in order to split mail. "Uses information from group parameters in order to split mail.
It can be embedded into `nnmail-split-fancy' lists with the SPLIT It can be embedded into `nnmail-split-fancy' lists with the SPLIT
\(: gnus-group-split-fancy GROUPS NO-CROSSPOST CATCH-ALL\) \(: gnus-group-split-fancy GROUPS NO-CROSSPOST CATCH-ALL)
GROUPS may be a regular expression or a list of group names, that will GROUPS may be a regular expression or a list of group names, that will
be used to select candidate groups. If it is omitted or nil, all be used to select candidate groups. If it is omitted or nil, all

View file

@ -251,7 +251,7 @@ In order to prevent constant pruning, we prune back to a number
somewhat less than the maximum size. This option controls somewhat less than the maximum size. This option controls
exactly how much less. For example, given a maximum size of exactly how much less. For example, given a maximum size of
50000 and a prune factor of 0.1, the pruning process will try to 50000 and a prune factor of 0.1, the pruning process will try to
cut the registry back to \(- 50000 \(* 50000 0.1\)\) -> 45000 cut the registry back to \(- 50000 \(* 50000 0.1)) -> 45000
entries. The pruning process is constrained by the presence of entries. The pruning process is constrained by the presence of
\"precious\" entries." \"precious\" entries."
:version "25.1" :version "25.1"

View file

@ -62,7 +62,7 @@
:group 'gnus-summary-pick) :group 'gnus-summary-pick)
(defcustom gnus-summary-pick-line-format (defcustom gnus-summary-pick-line-format
"%-5P %U\%R\%z\%I\%(%[%4L: %-23,23n%]%) %s\n" "%-5P %U\ %R\ %z\ %I\ %(%[%4L: %-23,23n%]%) %s\n"
"*The format specification of the lines in pick buffers. "*The format specification of the lines in pick buffers.
It accepts the same format specs that `gnus-summary-line-format' does." It accepts the same format specs that `gnus-summary-line-format' does."
:type 'string :type 'string

View file

@ -80,7 +80,7 @@ formatting characters are recognized:
(defun gnus-sieve-update () (defun gnus-sieve-update ()
"Update the Sieve script in gnus-sieve-file, by replacing the region "Update the Sieve script in gnus-sieve-file, by replacing the region
between gnus-sieve-region-start and gnus-sieve-region-end with between gnus-sieve-region-start and gnus-sieve-region-end with
\(gnus-sieve-script gnus-sieve-select-method gnus-sieve-crosspost\), then \(gnus-sieve-script gnus-sieve-select-method gnus-sieve-crosspost), then
execute gnus-sieve-update-shell-command. execute gnus-sieve-update-shell-command.
See the documentation for these variables and functions for details." See the documentation for these variables and functions for details."
(interactive) (interactive)
@ -97,7 +97,7 @@ See the documentation for these variables and functions for details."
(defun gnus-sieve-generate () (defun gnus-sieve-generate ()
"Generate the Sieve script in gnus-sieve-file, by replacing the region "Generate the Sieve script in gnus-sieve-file, by replacing the region
between gnus-sieve-region-start and gnus-sieve-region-end with between gnus-sieve-region-start and gnus-sieve-region-end with
\(gnus-sieve-script gnus-sieve-select-method gnus-sieve-crosspost\). \(gnus-sieve-script gnus-sieve-select-method gnus-sieve-crosspost).
See the documentation for these variables and functions for details." See the documentation for these variables and functions for details."
(interactive) (interactive)
(require 'sieve) (require 'sieve)
@ -195,9 +195,9 @@ For example:
(defun gnus-sieve-script (&optional method crosspost) (defun gnus-sieve-script (&optional method crosspost)
"Generate a Sieve script based on groups with select method METHOD "Generate a Sieve script based on groups with select method METHOD
\(or all groups if nil\). Only groups having a `sieve' parameter are \(or all groups if nil). Only groups having a `sieve' parameter are
considered. This parameter should contain an elisp test considered. This parameter should contain an elisp test
\(see the documentation of gnus-sieve-test for details\). For each \(see the documentation of gnus-sieve-test for details). For each
such group, a Sieve IF control structure is generated, having the such group, a Sieve IF control structure is generated, having the
test as the condition and { fileinto \"group.name\"; } as the body. test as the condition and { fileinto \"group.name\"; } as the body.

View file

@ -1486,7 +1486,7 @@ sure of changing the value of `foo'."
(defvar gnus-directory-sep-char-regexp "/" (defvar gnus-directory-sep-char-regexp "/"
"The regexp of directory separator character. "The regexp of directory separator character.
If you find some problem with the directory separator character, try If you find some problem with the directory separator character, try
\"[/\\\\\]\" for some systems.") \"[/\\\\]\" for some systems.")
(defun gnus-url-unhex (x) (defun gnus-url-unhex (x)
(if (> x ?9) (if (> x ?9)

View file

@ -1361,7 +1361,7 @@ group (or nil) as a parameter.
If you want to save your mail in one group and the news articles you If you want to save your mail in one group and the news articles you
write in another group, you could say something like: write in another group, you could say something like:
\(setq gnus-message-archive-group (setq gnus-message-archive-group
\\='((if (message-news-p) \\='((if (message-news-p)
\"misc-news\" \"misc-news\"
\"misc-mail\"))) \"misc-mail\")))
@ -2517,10 +2517,10 @@ This should be an alist for Emacs, or a plist for XEmacs."
"Which information should be exposed in the User-Agent header. "Which information should be exposed in the User-Agent header.
Can be a list of symbols or a string. Valid symbols are `gnus' Can be a list of symbols or a string. Valid symbols are `gnus'
\(show Gnus version\) and `emacs' \(show Emacs version\). In \(show Gnus version) and `emacs' \(show Emacs version). In
addition to the Emacs version, you can add `codename' \(show addition to the Emacs version, you can add `codename' \(show
\(S\)XEmacs codename\) or either `config' \(show system \(S)XEmacs codename) or either `config' \(show system
configuration\) or `type' \(show system type\). If you set it to configuration) or `type' \(show system type). If you set it to
a string, be sure to use a valid format, see RFC 2616." a string, be sure to use a valid format, see RFC 2616."
:version "22.1" :version "22.1"

View file

@ -367,7 +367,7 @@ few false positives here."
(defcustom message-archive-header "X-No-Archive: Yes\n" (defcustom message-archive-header "X-No-Archive: Yes\n"
"Header to insert when you don't want your article to be archived. "Header to insert when you don't want your article to be archived.
Archives \(such as groups.google.com\) respect this header." Archives \(such as groups.google.com) respect this header."
:version "22.1" :version "22.1"
:type 'string :type 'string
:link '(custom-manual "(message)Header Commands") :link '(custom-manual "(message)Header Commands")
@ -1200,7 +1200,7 @@ If stringp, use this; if non-nil, use no host name (user name only)."
(defvar message-reply-headers nil (defvar message-reply-headers nil
"The headers of the current replied article. "The headers of the current replied article.
It is a vector of the following headers: It is a vector of the following headers:
\[number subject from date id references chars lines xref extra].") [number subject from date id references chars lines xref extra].")
(defvar message-newsreader nil) (defvar message-newsreader nil)
(defvar message-mailer nil) (defvar message-mailer nil)
(defvar message-sent-message-via nil) (defvar message-sent-message-via nil)
@ -1303,7 +1303,7 @@ actually occur."
"Alist of ways to send outgoing messages. "Alist of ways to send outgoing messages.
Each element has the form Each element has the form
\(TYPE PREDICATE FUNCTION) (TYPE PREDICATE FUNCTION)
where TYPE is a symbol that names the method; PREDICATE is a function where TYPE is a symbol that names the method; PREDICATE is a function
called without any parameters to determine whether the message is called without any parameters to determine whether the message is

View file

@ -1419,7 +1419,7 @@ Return t if meta tag is added or replaced."
(goto-char (point-min)) (goto-char (point-min))
(if (re-search-forward "\ (if (re-search-forward "\
<meta\\s-+http-equiv=[\"']?content-type[\"']?\\s-+content=[\"']\ <meta\\s-+http-equiv=[\"']?content-type[\"']?\\s-+content=[\"']\
text/\\(\\sw+\\)\\(?:\;\\s-*charset=\\([^\"'>]+\\)\\)?[^>]*>" nil t) text/\\(\\sw+\\)\\(?:;\\s-*charset=\\([^\"'>]+\\)\\)?[^>]*>" nil t)
(if (and (not force-charset) (if (and (not force-charset)
(match-beginning 2) (match-beginning 2)
(string-match "\\`html\\'" (match-string 1))) (string-match "\\`html\\'" (match-string 1)))

View file

@ -742,7 +742,7 @@ from the document.")
nil t) nil t)
(setq subject (concat (match-string 1) subject)) (setq subject (concat (match-string 1) subject))
(setq from (concat (match-string 2) " " from)))))) (setq from (concat (match-string 2) " " from))))))
(while (and from (string-match "(\[^)\]*)" from)) (while (and from (string-match "([^)]*)" from))
(setq from (replace-match "" t t from))) (setq from (replace-match "" t t from)))
(insert "From: " (or from "unknown") (insert "From: " (or from "unknown")
"\nSubject: " (or subject "(no subject)") "\n") "\nSubject: " (or subject "(no subject)") "\n")

View file

@ -66,7 +66,7 @@ they will keep on jabbering all the time."
"*Max length of the head of articles. "*Max length of the head of articles.
Value is an integer, nil, or t. nil means read in chunks of a file Value is an integer, nil, or t. nil means read in chunks of a file
indefinitely until a complete head is found\; t means always read the indefinitely until a complete head is found; t means always read the
entire file immediately, disregarding `nnheader-head-chop-length'. entire file immediately, disregarding `nnheader-head-chop-length'.
Integer values will in effect be rounded up to the nearest multiple of Integer values will in effect be rounded up to the nearest multiple of

View file

@ -112,7 +112,7 @@
:initform 0.1 :initform 0.1
:type float :type float
:custom float :custom float
:documentation "Prune to \(:max-size * :prune-factor\) less :documentation "Prune to (:max-size * :prune-factor) less
than the :max-size limit. Should be a float between 0 and 1.") than the :max-size limit. Should be a float between 0 and 1.")
(tracked :initarg :tracked (tracked :initarg :tracked
:initform nil :initform nil
@ -331,7 +331,7 @@ Errors out if the key exists already."
"Prunes the registry-db object DB. "Prunes the registry-db object DB.
Attempts to prune the number of entries down to \(* Attempts to prune the number of entries down to \(*
:max-size :prune-factor\) less than the max-size limit, so :max-size :prune-factor) less than the max-size limit, so
pruning doesn't need to happen on every save. Removes only pruning doesn't need to happen on every save. Removes only
entries without the :precious keys, so it may not be possible to entries without the :precious keys, so it may not be possible to
reach the target limit. reach the target limit.

View file

@ -46,11 +46,11 @@
(defvar rfc1843-hzp-word-regexp (defvar rfc1843-hzp-word-regexp
"~\\({\\([\041-\167][\041-\176]\\| \\)+\\|\ "~\\({\\([\041-\167][\041-\176]\\| \\)+\\|\
\[<>]\\([\041-\175][\041-\176]\\| \\)+\\)\\(~}\\|$\\)") [<>]\\([\041-\175][\041-\176]\\| \\)+\\)\\(~}\\|$\\)")
(defvar rfc1843-hzp-word-regexp-strictly (defvar rfc1843-hzp-word-regexp-strictly
"~\\({\\([\041-\167][\041-\176]\\)+\\|\ "~\\({\\([\041-\167][\041-\176]\\)+\\|\
\[<>]\\([\041-\175][\041-\176]\\)+\\)\\(~}\\|$\\)") [<>]\\([\041-\175][\041-\176]\\)+\\)\\(~}\\|$\\)")
(defcustom rfc1843-decode-loosely nil (defcustom rfc1843-decode-loosely nil
"Loosely check HZ encoding if non-nil. "Loosely check HZ encoding if non-nil.

View file

@ -102,7 +102,7 @@ quoted-printable and base64 respectively.")
(eval-and-compile ;; Necessary to hard code them in `rfc2047-decode-region'. (eval-and-compile ;; Necessary to hard code them in `rfc2047-decode-region'.
(defconst rfc2047-encoded-word-regexp (defconst rfc2047-encoded-word-regexp
"=\\?\\([^][\000-\040()<>@,\;:*\\\"/?.=]+\\)\\(?:\\*[^?]+\\)?\\?\ "=\\?\\([^][\000-\040()<>@,;:*\\\"/?.=]+\\)\\(?:\\*[^?]+\\)?\\?\
\\(B\\?[+/0-9A-Za-z]*=*\ \\(B\\?[+/0-9A-Za-z]*=*\
\\|Q\\?[ ->@-~]*\ \\|Q\\?[ ->@-~]*\
\\)\\?=" \\)\\?="
@ -112,7 +112,7 @@ quoted-printable and base64 respectively.")
;; the characters that those encodings may generally use. ;; the characters that those encodings may generally use.
) )
(defconst rfc2047-encoded-word-regexp-loose (defconst rfc2047-encoded-word-regexp-loose
"=\\?\\([^][\000-\040()<>@,\;:*\\\"/?.=]+\\)\\(?:\\*[^?]+\\)?\\?\ "=\\?\\([^][\000-\040()<>@,;:*\\\"/?.=]+\\)\\(?:\\*[^?]+\\)?\\?\
\\(B\\?[+/0-9A-Za-z]*=*\ \\(B\\?[+/0-9A-Za-z]*=*\
\\|Q\\?\\(?:\\?+[ -<>@-~]\\)?\\(?:[ ->@-~]+\\?+[ -<>@-~]\\)*[ ->@-~]*\\?*\ \\|Q\\?\\(?:\\?+[ -<>@-~]\\)?\\(?:[ ->@-~]+\\?+[ -<>@-~]\\)*[ ->@-~]*\\?*\
\\)\\?=" \\)\\?="

View file

@ -178,7 +178,7 @@ if the variable `help-downcase-arguments' is non-nil."
(skip-chars-forward "^ ") (skip-chars-forward "^ ")
(while next (while next
(or opt (not (looking-at " &")) (setq opt t)) (or opt (not (looking-at " &")) (setq opt t))
(if (not (re-search-forward " \\([\\[(]*\\)\\([^] &)\.]+\\)" nil t)) (if (not (re-search-forward " \\([\\[(]*\\)\\([^] &).]+\\)" nil t))
(setq next nil) (setq next nil)
(setq args (cons (match-string 2) args)) (setq args (cons (match-string 2) args))
(when (and opt (string= (match-string 1) "(")) (when (and opt (string= (match-string 1) "("))

View file

@ -355,7 +355,7 @@ With argument, display info only for the selected version."
(while (re-search-forward (while (re-search-forward
(if (member file '("NEWS.18" "NEWS.1-17")) (if (member file '("NEWS.18" "NEWS.1-17"))
"Changes in \\(?:Emacs\\|version\\)?[ \t]*\\([0-9]+\\(?:\\.[0-9]+\\)?\\)" "Changes in \\(?:Emacs\\|version\\)?[ \t]*\\([0-9]+\\(?:\\.[0-9]+\\)?\\)"
"^\* [^0-9\n]*\\([0-9]+\\.[0-9]+\\)") nil t) "^\\* [^0-9\n]*\\([0-9]+\\.[0-9]+\\)") nil t)
(setq res (cons (match-string-no-properties 1) res))))) (setq res (cons (match-string-no-properties 1) res)))))
(cons "NEWS" (cons "NEWS"
(directory-files data-directory nil (directory-files data-directory nil
@ -392,7 +392,7 @@ With argument, display info only for the selected version."
(when (re-search-forward (when (re-search-forward
(concat (if (< vn 19) (concat (if (< vn 19)
"Changes in Emacs[ \t]*" "Changes in Emacs[ \t]*"
"^\* [^0-9\n]*") version "$") "^\\* [^0-9\n]*") version "$")
nil t) nil t)
(beginning-of-line) (beginning-of-line)
(narrow-to-region (narrow-to-region
@ -402,7 +402,7 @@ With argument, display info only for the selected version."
(re-search-forward (re-search-forward
(if (< vn 19) (if (< vn 19)
"Changes in \\(?:Emacs\\|version\\)?[ \t]*\\([0-9]+\\(?:\\.[0-9]+\\)?\\)" "Changes in \\(?:Emacs\\|version\\)?[ \t]*\\([0-9]+\\(?:\\.[0-9]+\\)?\\)"
"^\* [^0-9\n]*\\([0-9]+\\.[0-9]+\\)") nil t)) "^\\* [^0-9\n]*\\([0-9]+\\.[0-9]+\\)") nil t))
(equal (match-string-no-properties 1) version))) (equal (match-string-no-properties 1) version)))
(or res (goto-char (point-max))) (or res (goto-char (point-max)))
(beginning-of-line) (beginning-of-line)

View file

@ -810,7 +810,7 @@ Loads the variable `hfy-rgb-txt-colour-map', which is used by
`hfy-fallback-colour-values'." `hfy-fallback-colour-values'."
(interactive (interactive
(list (list
(read-file-name "rgb.txt \(equivalent\) file: " "" nil t (hfy-rgb-file)))) (read-file-name "rgb.txt (equivalent) file: " "" nil t (hfy-rgb-file))))
(let ((rgb-buffer nil) (let ((rgb-buffer nil)
(end-of-rgb 0) (end-of-rgb 0)
(rgb-txt nil)) (rgb-txt nil))

View file

@ -1140,7 +1140,7 @@ See also `hfy-face-to-css'."
(defvar hfy-face-to-css 'hfy-face-to-css-default (defvar hfy-face-to-css 'hfy-face-to-css-default
"Handler for mapping faces to styles. "Handler for mapping faces to styles.
The signature of the handler is of the form \(lambda (FN) ...\). The signature of the handler is of the form \(lambda (FN) ...).
FN is a font or `defface' specification (cf FN is a font or `defface' specification (cf
`face-attr-construct'). The handler should return a cons cell of `face-attr-construct'). The handler should return a cons cell of
the form (STYLE-NAME . STYLE-SPEC). the form (STYLE-NAME . STYLE-SPEC).
@ -1598,7 +1598,7 @@ information."
(defvar hfy-begin-span-handler 'hfy-begin-span (defvar hfy-begin-span-handler 'hfy-begin-span
"Handler to begin a span of text. "Handler to begin a span of text.
The signature of the handler is \(lambda (STYLE TEXT-BLOCK The signature of the handler is \(lambda (STYLE TEXT-BLOCK
TEXT-ID TEXT-BEGINS-BLOCK-P) ...\). The handler must insert TEXT-ID TEXT-BEGINS-BLOCK-P) ...). The handler must insert
appropriate tags to begin a span of text. appropriate tags to begin a span of text.
STYLE is the name of the style that begins at point. It is STYLE is the name of the style that begins at point. It is
@ -1626,7 +1626,7 @@ The default handler is `hfy-begin-span'.")
(defvar hfy-end-span-handler 'hfy-end-span (defvar hfy-end-span-handler 'hfy-end-span
"Handler to end a span of text. "Handler to end a span of text.
The signature of the handler is \(lambda () ...\). The handler The signature of the handler is \(lambda () ...). The handler
must insert appropriate tags to end a span of text. must insert appropriate tags to end a span of text.
The default handler is `hfy-end-span'.") The default handler is `hfy-end-span'.")
@ -2412,7 +2412,7 @@ You may also want to set `hfy-page-header' and `hfy-page-footer'."
(load file 'NOERROR nil nil) )) (load file 'NOERROR nil nil) ))
;;;### (autoloads nil "hfy-cmap" "hfy-cmap.el" "ce07a28b93c09032fd6b225ad74be0df") ;;;### (autoloads nil "hfy-cmap" "hfy-cmap.el" "1fb78b15b18622256262c7246b2a3520")
;;; Generated autoloads from hfy-cmap.el ;;; Generated autoloads from hfy-cmap.el
(autoload 'htmlfontify-load-rgb-file "hfy-cmap" "\ (autoload 'htmlfontify-load-rgb-file "hfy-cmap" "\

View file

@ -1785,7 +1785,7 @@ If point is on a group name, this function operates on that group."
(let ((procs 0) (let ((procs 0)
(files 0)) (files 0))
(dolist (string strings) (dolist (string strings)
(if (string-match "\\(\?:\\`(\[\[:ascii:\]\]\+)\\)" string) (if (string-match "\\(?:\\`([[:ascii:]]+)\\)" string)
(progn (setq procs (1+ procs)) (progn (setq procs (1+ procs))
(if (< (match-end 0) (length string)) (if (< (match-end 0) (length string))
(setq files (1+ files)))) (setq files (1+ files))))

View file

@ -3777,13 +3777,13 @@ frame, rather than all frames, regardless of value of `ido-all-frames'."
(not (and (eq ido-cur-item 'buffer) (not (and (eq ido-cur-item 'buffer)
ido-buffer-disable-smart-matches)) ido-buffer-disable-smart-matches))
(not ido-enable-regexp) (not ido-enable-regexp)
(not (string-match "\$\\'" rex0)) (not (string-match "$\\'" rex0))
(concat "\\`" rex0 (if slash "/" "") "\\'"))) (concat "\\`" rex0 (if slash "/" "") "\\'")))
(suffix-re (and do-full slash (suffix-re (and do-full slash
(not (and (eq ido-cur-item 'buffer) (not (and (eq ido-cur-item 'buffer)
ido-buffer-disable-smart-matches)) ido-buffer-disable-smart-matches))
(not ido-enable-regexp) (not ido-enable-regexp)
(not (string-match "\$\\'" rex0)) (not (string-match "$\\'" rex0))
(concat rex0 "/\\'"))) (concat rex0 "/\\'")))
(prefix-re (and full-re (not ido-enable-prefix) (prefix-re (and full-re (not ido-enable-prefix)
(concat "\\`" rexq))) (concat "\\`" rexq)))

View file

@ -34,7 +34,7 @@
(defconst image-type-header-regexps (defconst image-type-header-regexps
`(("\\`/[\t\n\r ]*\\*.*XPM.\\*/" . xpm) `(("\\`/[\t\n\r ]*\\*.*XPM.\\*/" . xpm)
("\\`P[1-6]\\\(?:\ ("\\`P[1-6]\\(?:\
\\(?:\\(?:#[^\r\n]*[\r\n]\\)?[[:space:]]\\)+\ \\(?:\\(?:#[^\r\n]*[\r\n]\\)?[[:space:]]\\)+\
\\(?:\\(?:#[^\r\n]*[\r\n]\\)?[0-9]\\)+\ \\(?:\\(?:#[^\r\n]*[\r\n]\\)?[0-9]\\)+\
\\)\\{2\\}" . pbm) \\)\\{2\\}" . pbm)

View file

@ -142,7 +142,7 @@ OTHER-MODES is a list of cross references to other help modes.")
"Add or update a help specification. "Add or update a help specification.
Function arguments are specified as keyword/argument pairs: Function arguments are specified as keyword/argument pairs:
\(KEYWORD . ARGUMENT) (KEYWORD . ARGUMENT)
KEYWORD is either `:topic', `:mode', `:regexp', `:ignore-case', KEYWORD is either `:topic', `:mode', `:regexp', `:ignore-case',
`:doc-spec', `:parse-rule', or `:other-modes'. `:doc-spec', `:parse-rule', or `:other-modes'.

View file

@ -3838,7 +3838,7 @@ START is a regular expression which will match the
beginning of the tokens delimited string. beginning of the tokens delimited string.
ALL is a regular expression with a single ALL is a regular expression with a single
parenthesized subpattern which is the token to be parenthesized subpattern which is the token to be
returned. E.g. `{\(.*\)}' would return any string returned. E.g. `{(.*)}' would return any string
enclosed in braces around POS. enclosed in braces around POS.
ERRORSTRING optional fourth argument, controls action on no match: ERRORSTRING optional fourth argument, controls action on no match:
nil: return nil nil: return nil

View file

@ -46,7 +46,7 @@
(defvar iso-spanish-trans-tab (defvar iso-spanish-trans-tab
'( '(
("~n" "ñ") ("~n" "ñ")
("\([a-zA-Z]\)#" "\\") ("([a-zA-Z])#" "\\")
("~N" "Ñ") ("~N" "Ñ")
("\\([-a-zA-Z\"`]\\)\"u" "\\") ("\\([-a-zA-Z\"`]\\)\"u" "\\")
("\\([-a-zA-Z\"`]\\)\"U" "\\") ("\\([-a-zA-Z\"`]\\)\"U" "\\")

View file

@ -159,7 +159,7 @@
;; very frequently while editing multilingual text. Now we can use ;; very frequently while editing multilingual text. Now we can use
;; only two such keys: "\C-\\" and "\C-^", but the latter is not ;; only two such keys: "\C-\\" and "\C-^", but the latter is not
;; convenient because it requires shifting on most keyboards. An ;; convenient because it requires shifting on most keyboards. An
;; alternative is "\C-\]" which is now bound to `abort-recursive-edit' ;; alternative is "\C-]" which is now bound to `abort-recursive-edit'
;; but it won't be used that frequently. ;; but it won't be used that frequently.
(define-key global-map "\C-\\" 'toggle-input-method) (define-key global-map "\C-\\" 'toggle-input-method)
@ -397,7 +397,7 @@ A coding system that requires automatic detection of text+encoding
To prefer, for instance, utf-8, say the following: To prefer, for instance, utf-8, say the following:
\(prefer-coding-system \\='utf-8)" (prefer-coding-system \\='utf-8)"
(interactive "zPrefer coding system: ") (interactive "zPrefer coding system: ")
(if (not (and coding-system (coding-system-p coding-system))) (if (not (and coding-system (coding-system-p coding-system)))
(error "Invalid coding system `%s'" coding-system)) (error "Invalid coding system `%s'" coding-system))
@ -2413,12 +2413,12 @@ See `set-language-info-alist' for use in programs."
)) ))
"Alist of locale regexps vs the corresponding languages and coding systems. "Alist of locale regexps vs the corresponding languages and coding systems.
Each element has this form: Each element has this form:
\(LOCALE-REGEXP LANG-ENV CODING-SYSTEM) (LOCALE-REGEXP LANG-ENV CODING-SYSTEM)
The first element whose LOCALE-REGEXP matches the start of a The first element whose LOCALE-REGEXP matches the start of a
downcased locale specifies the LANG-ENV \(language environment) downcased locale specifies the LANG-ENV \(language environment)
and CODING-SYSTEM corresponding to that locale. If there is no and CODING-SYSTEM corresponding to that locale. If there is no
appropriate language environment, the element may have this form: appropriate language environment, the element may have this form:
\(LOCALE-REGEXP . LANG-ENV) (LOCALE-REGEXP . LANG-ENV)
In this case, LANG-ENV is one of generic language environments for an In this case, LANG-ENV is one of generic language environments for an
specific encoding such as \"Latin-1\" and \"UTF-8\".") specific encoding such as \"Latin-1\" and \"UTF-8\".")

View file

@ -665,8 +665,8 @@ without any conversions.
VALUE is the EOL (end-of-line) format of the coding system. It must be VALUE is the EOL (end-of-line) format of the coding system. It must be
one of `unix', `dos', `mac'. The symbol `unix' means Unix-like EOL one of `unix', `dos', `mac'. The symbol `unix' means Unix-like EOL
\(i.e. a single LF character), `dos' means DOS-like EOL \(i.e. a sequence \(i.e., a single LF character), `dos' means DOS-like EOL \(i.e., a sequence
of CR followed by LF), and `mac' means Mac-like EOL \(i.e. a single CR). of CR followed by LF), and `mac' means Mac-like EOL \(i.e., a single CR).
If omitted, Emacs detects the EOL format automatically when decoding. If omitted, Emacs detects the EOL format automatically when decoding.
`:charset-list' (required if `:coding-type' is `charset' or `shift-jis') `:charset-list' (required if `:coding-type' is `charset' or `shift-jis')

View file

@ -2,7 +2,7 @@
;; Copyright (C) 1997-1998, 2001-2015 Free Software Foundation, Inc. ;; Copyright (C) 1997-1998, 2001-2015 Free Software Foundation, Inc.
;; Author: W{\l}odek Bzyl ;; Author: Włodek Bzyl
;; Ryszard Kubiak ;; Ryszard Kubiak
;; Maintainer: Ryszard Kubiak <rysiek@ipipan.gda.pl> ;; Maintainer: Ryszard Kubiak <rysiek@ipipan.gda.pl>
;; Keywords: i18n ;; Keywords: i18n

View file

@ -86,7 +86,7 @@
'(("chinese-4corner" "$(0(?-F(B") '(("chinese-4corner" "$(0(?-F(B")
("chinese-array30" "$(0#R#O(B") ("chinese-array30" "$(0#R#O(B")
("chinese-ccdospy" "$AKuF4(B" ("chinese-ccdospy" "$AKuF4(B"
"Pinyin base input method for Chinese charset GB2312 \(`chinese-gb2312'). "Pinyin base input method for Chinese charset GB2312 (`chinese-gb2312').
Pinyin is the standard Roman transliteration method for Chinese. Pinyin is the standard Roman transliteration method for Chinese.
For the detail of Pinyin system, see the documentation of the input For the detail of Pinyin system, see the documentation of the input

View file

@ -102,7 +102,7 @@ HANKAKU-KATAKANA belongs to `japanese-jisx0201-kana'.")
(?$B!-(B ?') (?$B!.(B ?`) (?$B!0(B ?^) (?$B!2(B ?_) (?$B!<(B ?- ?(I0(B) (?$B!=(B ?-) (?$B!>(B ?-) (?$B!-(B ?') (?$B!.(B ?`) (?$B!0(B ?^) (?$B!2(B ?_) (?$B!<(B ?- ?(I0(B) (?$B!=(B ?-) (?$B!>(B ?-)
(?$B!?(B ?/) (?$B!@(B ?\\) (?$B!A(B ?~) (?$B!C(B ?|) (?$B!F(B ?`) (?$B!G(B ?') (?$B!H(B ?\") (?$B!I(B ?\") (?$B!?(B ?/) (?$B!@(B ?\\) (?$B!A(B ?~) (?$B!C(B ?|) (?$B!F(B ?`) (?$B!G(B ?') (?$B!H(B ?\") (?$B!I(B ?\")
(?\$B!J(B ?\() (?\$B!K(B ?\)) (?\$B!N(B ?[) (?\$B!O(B ?]) (?\$B!P(B ?{) (?\$B!Q(B ?}) (?\$B!J(B ?\() (?\$B!K(B ?\)) (?\$B!N(B ?[) (?\$B!O(B ?]) (?\$B!P(B ?{) (?\$B!Q(B ?})
(?$B!R(B ?<) (?$B!S(B ?>) (?\$B!V(B nil ?\(I"(B) (?\$B!W(B nil ?\(I#(B) (?$B!R(B ?<) (?$B!S(B ?>) (?\$B!V(B nil ?\(I"(B) (?\$B!W(B nil ?\(I#(B)
(?$B!\(B ?+) (?$B!](B ?-) (?$B!a(B ?=) (?$B!c(B ?<) (?$B!d(B ?>) (?$B!\(B ?+) (?$B!](B ?-) (?$B!a(B ?=) (?$B!c(B ?<) (?$B!d(B ?>)
(?$B!l(B ?') (?$B!m(B ?\") (?$B!o(B ?\\) (?$B!p(B ?$) (?$B!s(B ?%) (?$B!t(B ?#) (?$B!u(B ?&) (?$B!v(B ?*) (?$B!l(B ?') (?$B!m(B ?\") (?$B!o(B ?\\) (?$B!p(B ?$) (?$B!s(B ?%) (?$B!t(B ?#) (?$B!u(B ?&) (?$B!v(B ?*)
(?$B!w(B ?@) (?$B!w(B ?@)
@ -175,9 +175,9 @@ belongs to `japanese-jisx0208', ASCII belongs to `ascii'.")
The argument may be a character or string. The result has the same type. The argument may be a character or string. The result has the same type.
The argument object is not altered--the value is a copy. The argument object is not altered--the value is a copy.
Optional argument HANKAKU t means to convert to `hankaku' Katakana Optional argument HANKAKU t means to convert to `hankaku' Katakana
\(`japanese-jisx0201-kana'), in which case return value \(`japanese-jisx0201-kana'), in which case return value
may be a string even if OBJ is a character if two Katakanas are may be a string even if OBJ is a character if two Katakanas are
necessary to represent OBJ." necessary to represent OBJ."
(if (stringp obj) (if (stringp obj)
(japanese-string-conversion obj 'japanese-katakana-region hankaku) (japanese-string-conversion obj 'japanese-katakana-region hankaku)
(or (get-char-code-property obj (if hankaku 'jisx0201 'katakana)) (or (get-char-code-property obj (if hankaku 'jisx0201 'katakana))

View file

@ -231,7 +231,7 @@
("zk" "$B",(B") ("zk" "$B",(B")
("zl" "$B"*(B") ("zl" "$B"*(B")
("z;" "$B!+(B") ("z:" "$B!,(B") ("z;" "$B!+(B") ("z:" "$B!,(B")
("z\'" "$B!F(B") ("z\"" "$B!H(B") ("z'" "$B!F(B") ("z\"" "$B!H(B")
("zx" [":-"]) ("zX" [":-)"]) ("zx" [":-"]) ("zX" [":-)"])
("zc" "$B!;(B") ("zC" "$B!n(B") ("zc" "$B!;(B") ("zC" "$B!n(B")

View file

@ -1321,7 +1321,7 @@ Doubling the postfix separates the letter and postfix: e.g. a\\='\\=' -> a\\='
("K" ) ("K" )
("l" ) ("l" )
("L" ) ("L" )
("\'" ?“) ("'" ?“)
("\"" ?„) ("\"" ?„)
("z" ) ("z" )
("Z" ) ("Z" )

View file

@ -664,7 +664,7 @@ system, including many technical ones. Examples:
;; Probably not useful enough: ;; Probably not useful enough:
;; ("\\Telefon" ?☎) ; there are other possibilities ;; ("\\Telefon" ?☎) ; there are other possibilities
;; ("\\Radioactivity" ?☢) ;; ("\\Radioactivity" ?☢)
;; ("\Biohazard" ?☣) ;; ("\\Biohazard" ?☣)
;; ("\\Male" ?♂) ;; ("\\Male" ?♂)
;; ("\\Female" ?♀) ;; ("\\Female" ?♀)
;; ("\\Lightning" ?☇) ;; ("\\Lightning" ?☇)

View file

@ -76,7 +76,7 @@ The difference from the ordinal Thai keyboard:
"" "" "" "" "" "" "" "" ; @ .. G "" "" "" "" "" "" "" "" ; @ .. G
"" "" "" "" "" "?" "" "" ; H .. O "" "" "" "" "" "?" "" "" ; H .. O
"" "" "" "" "" "" "" "\"" ; P .. W "" "" "" "" "" "" "" "\"" ; P .. W
"\)" "" "\(" "" "" "" "" "" ; X .. _ ")" "" "(" "" "" "" "" "" ; X .. _
"_" "" "" "" "" "" "" "" ; ` .. g "_" "" "" "" "" "" "" "" ; ` .. g
"" "" "" "" "" "" "" "" ; h .. o "" "" "" "" "" "" "" "" ; h .. o
"" "" "" "" "" "" "" "" ; p .. w "" "" "" "" "" "" "" "" ; p .. w

View file

@ -49,7 +49,7 @@
(defcustom printer-name (defcustom printer-name
(and (eq system-type 'ms-dos) "PRN") (and (eq system-type 'ms-dos) "PRN")
"The name of a local printer to which data is sent for printing. "The name of a local printer to which data is sent for printing.
\(Note that PostScript files are sent to `ps-printer-name', which see.\) \(Note that PostScript files are sent to `ps-printer-name', which see.)
On Unix-like systems, a string value should be a name understood by On Unix-like systems, a string value should be a name understood by
lpr's -P option; otherwise the value should be nil. lpr's -P option; otherwise the value should be nil.

View file

@ -438,7 +438,7 @@ shuttled robotically onward."
If a positive number, it's a timeout before sending. If a negative If a positive number, it's a timeout before sending. If a negative
number, it's a timeout before not sending. This will not work if your number, it's a timeout before not sending. This will not work if your
version of Emacs doesn't include the function `y-or-n-p-with-timeout' version of Emacs doesn't include the function `y-or-n-p-with-timeout'
\(e.g., some versions of XEmacs\)." \(e.g., some versions of XEmacs)."
:version "24.1" :version "24.1"
:group 'feedmail-misc :group 'feedmail-misc
:type '(choice (const nil) integer) :type '(choice (const nil) integer)
@ -449,7 +449,7 @@ version of Emacs doesn't include the function `y-or-n-p-with-timeout'
"If non-nil remove Bcc: lines from the message headers. "If non-nil remove Bcc: lines from the message headers.
In any case, the Bcc: lines do participate in the composed address In any case, the Bcc: lines do participate in the composed address
list. You may want to leave them in if you're using sendmail list. You may want to leave them in if you're using sendmail
\(see `feedmail-buffer-eating-function'\)." \(see `feedmail-buffer-eating-function')."
:group 'feedmail-headers :group 'feedmail-headers
:type 'boolean :type 'boolean
) )
@ -459,7 +459,7 @@ list. You may want to leave them in if you're using sendmail
"If non-nil remove Resent-Bcc: lines from the message headers. "If non-nil remove Resent-Bcc: lines from the message headers.
In any case, the Resent-Bcc: lines do participate in the composed In any case, the Resent-Bcc: lines do participate in the composed
address list. You may want to leave them in if you're using sendmail address list. You may want to leave them in if you're using sendmail
\(see `feedmail-buffer-eating-function'\)." \(see `feedmail-buffer-eating-function')."
:group 'feedmail-headers :group 'feedmail-headers
:type 'boolean :type 'boolean
) )
@ -645,7 +645,7 @@ is not an option for many users. As this is the default behavior of most
sendmail installations, one can mostly only wish it were otherwise. If feedmail sendmail installations, one can mostly only wish it were otherwise. If feedmail
believes the sendmail program will sell you out this way, it won't use the \"-f\" believes the sendmail program will sell you out this way, it won't use the \"-f\"
option when calling sendmail. If it doesn't think sendmail will sell you out, option when calling sendmail. If it doesn't think sendmail will sell you out,
it will use the \"-f\" \(since it is a handy feature\). You control what it will use the \"-f\" \(since it is a handy feature). You control what
feedmail thinks with this variable. The default is nil, meaning that feedmail feedmail thinks with this variable. The default is nil, meaning that feedmail
will believe that sendmail will sell you out." will believe that sendmail will sell you out."
:version "24.1" :version "24.1"
@ -861,7 +861,7 @@ as well."
"User-supplied specification for a crude form of mailmerge capability. "User-supplied specification for a crude form of mailmerge capability.
When spraying is enabled, feedmail composes a list of envelope addresses. When spraying is enabled, feedmail composes a list of envelope addresses.
In turn, `feedmail-spray-this-address' is temporarily set to each address In turn, `feedmail-spray-this-address' is temporarily set to each address
\(stripped of any comments and angle brackets\) and a function is called which \(stripped of any comments and angle brackets) and a function is called which
fiddles message headers according to this variable. See the documentation for fiddles message headers according to this variable. See the documentation for
`feedmail-fiddle-plex-blurb', for an overview of fiddle-plex data structures. `feedmail-fiddle-plex-blurb', for an overview of fiddle-plex data structures.
@ -1313,7 +1313,7 @@ of `buffer-file-name' to nil because that will defeat feedmail's file
management features. Instead, arrange for this variable to be set to management features. Instead, arrange for this variable to be set to
the value of `buffer-file-name' before setting that to nil. An easy way the value of `buffer-file-name' before setting that to nil. An easy way
to do that would be with defadvice on `mail-send' \(undoing the to do that would be with defadvice on `mail-send' \(undoing the
assignments in a later advice\). assignments in a later advice).
feedmail will pretend that `buffer-file-name', if nil, has the value feedmail will pretend that `buffer-file-name', if nil, has the value
assigned of `feedmail-queue-buffer-file-name' and carry out its normal assigned of `feedmail-queue-buffer-file-name' and carry out its normal
@ -1507,7 +1507,7 @@ The default action is an anonymous function which gets rid of the file
from the queue directory. With a non-nil second argument, a brief from the queue directory. With a non-nil second argument, a brief
message is give for each file deleted. You could replace this message is give for each file deleted. You could replace this
function, for example, to archive all of your sent messages someplace function, for example, to archive all of your sent messages someplace
\(though there are better ways to get that particular result\)." \(though there are better ways to get that particular result)."
:group 'feedmail-queue :group 'feedmail-queue
:type 'function :type 'function
) )
@ -1715,7 +1715,7 @@ for ACTION (default is `supplement'):
VAL-LIKE is not used. Else, if VAL-LIKE is a function, VAL-LIKE is not used. Else, if VAL-LIKE is a function,
it is called with two arguments: NAME and the it is called with two arguments: NAME and the
aggregate like values. Else, if VAL-LIKE is a string, it is aggregate like values. Else, if VAL-LIKE is a string, it is
used as a format string where a single \%s will be used as a format string where a single %s will be
replaced by the aggregate values of like fields. replaced by the aggregate values of like fields.
VAL-PRE, the results of using VAL-LIKE, and VAL-POST VAL-PRE, the results of using VAL-LIKE, and VAL-POST
@ -1745,7 +1745,8 @@ applied to a file after you've just read it from disk: for example, a
feedmail FQM message file from a queue. You could use something like feedmail FQM message file from a queue. You could use something like
this: this:
\(setq auto-mode-alist \(cons \\='\(\"\\\\.fqm$\" . feedmail-vm-mail-mode\) auto-mode-alist\)\) \(setq auto-mode-alist
(cons \\='(\"\\\\.fqm$\" . feedmail-vm-mail-mode) auto-mode-alist))
" "
(feedmail-say-debug ">in-> feedmail-vm-mail-mode") (feedmail-say-debug ">in-> feedmail-vm-mail-mode")
(let ((the-buf (current-buffer))) (let ((the-buf (current-buffer)))
@ -1894,26 +1895,26 @@ You're dispatching a message and feedmail queuing is enabled.
Typing ? again will normally scroll this help buffer. Typing ? again will normally scroll this help buffer.
Choices: Choices:
q QUEUE for later sending \(via feedmail-run-the-queue\) q QUEUE for later sending (via feedmail-run-the-queue)
Q QUEUE! like \"q\", but always make a new file Q QUEUE! like \"q\", but always make a new file
i IMMEDIATELY send this \(but not the other queued messages\) i IMMEDIATELY send this (but not the other queued messages)
I IMMEDIATELY! like \"i\", but skip following confirmation prompt I IMMEDIATELY! like \"i\", but skip following confirmation prompt
d DRAFT queue in the draft directory d DRAFT queue in the draft directory
D DRAFT! like \"d\", but always make a new file D DRAFT! like \"d\", but always make a new file
e EDIT return to the message edit buffer \(don't send or queue\) e EDIT return to the message edit buffer (don't send or queue)
* SPRAY toggle spray mode \(individual message transmissions\) * SPRAY toggle spray mode (individual message transmissions)
> SCROLL UP scroll message up \(toward end of message\) > SCROLL UP scroll message up (toward end of message)
< SCROLL DOWN scroll message down \(toward beginning of message\) < SCROLL DOWN scroll message down (toward beginning of message)
? HELP show or scroll this help buffer ? HELP show or scroll this help buffer
Synonyms: Synonyms:
s SEND immediately \(same as \"i\"\) s SEND immediately (same as \"i\")
S SEND! immediately \(same as \"I\"\) S SEND! immediately (same as \"I\")
r ROUGH draft \(same as \"d\"\) r ROUGH draft (same as \"d\")
R ROUGH! draft \(same as \"D\"\) R ROUGH! draft (same as \"D\")
n NOPE didn't mean it \(same as \"e\"\) n NOPE didn't mean it (same as \"e\")
y YUP do the default behavior \(same as \"C-m\"\) y YUP do the default behavior (same as \"C-m\")
SPC SCROLL UP \(same as \">\"\) SPC SCROLL UP (same as \">\")
The user-configurable default is currently \"")) The user-configurable default is currently \""))
(princ d-string) (princ d-string)

View file

@ -329,7 +329,7 @@ by translating things like \"foo!bar!baz@host\" into \"baz@bar.UUCP\"."
;; Matches an embedded or leading nickname that should be removed. ;; Matches an embedded or leading nickname that should be removed.
;; (defconst mail-extr-nickname-pattern ;; (defconst mail-extr-nickname-pattern
;; (purecopy ;; (purecopy
;; (format "\\([ .]\\|\\`\\)[\"'`\[\(]\\([ .%s]+\\)[\]\"'\)] " ;; (format "\\([ .]\\|\\`\\)[\"'`[(]\\([ .%s]+\\)[]\"')] "
;; mail-extr-all-letters))) ;; mail-extr-all-letters)))
;; Matches the occurrence of a generational name suffix, and the last ;; Matches the occurrence of a generational name suffix, and the last
@ -369,7 +369,7 @@ by translating things like \"foo!bar!baz@host\" into \"baz@bar.UUCP\"."
;; Matches a variety of trailing comments not including comma-delimited ;; Matches a variety of trailing comments not including comma-delimited
;; comments. ;; comments.
(defconst mail-extr-trailing-comment-start-pattern (defconst mail-extr-trailing-comment-start-pattern
(purecopy " [-{]\\|--\\|[+@#></\;]")) (purecopy " [-{]\\|--\\|[+@#></;]"))
;; Matches a name (not an initial). ;; Matches a name (not an initial).
;; This doesn't force a word boundary at the end because sometimes a ;; This doesn't force a word boundary at the end because sometimes a
@ -456,7 +456,7 @@ by translating things like \"foo!bar!baz@host\" into \"baz@bar.UUCP\"."
;; mode from GB back to ASCII. (Note that the escape-from-GB code '~}' ;; mode from GB back to ASCII. (Note that the escape-from-GB code '~}'
;; ($7E7D) is outside the defined GB range.) ;; ($7E7D) is outside the defined GB range.)
(defconst mail-extr-hz-embedded-gb-encoded-chinese-pattern (defconst mail-extr-hz-embedded-gb-encoded-chinese-pattern
(purecopy "~{\\([^~].\\|~[^\}]\\)+~}")) (purecopy "~{\\([^~].\\|~[^}]\\)+~}"))
;; The leading optional lowercase letters are for a bastardized version of ;; The leading optional lowercase letters are for a bastardized version of
;; the encoding, as is the optional nature of the final slash. ;; the encoding, as is the optional nature of the final slash.
@ -543,8 +543,8 @@ by translating things like \"foo!bar!baz@host\" into \"baz@bar.UUCP\"."
(?\t " ") (?\t " ")
(?\r " ") (?\r " ")
(?\n " ") (?\n " ")
(?\( "\(\)") (?\( "()")
(?\) "\)\(") (?\) ")(")
(?\\ "\\")) (?\\ "\\"))
(mail-extr-address-domain-literal-syntax-table (mail-extr-address-domain-literal-syntax-table
(?\000 ?\377 "w") (?\000 ?\377 "w")
@ -553,8 +553,8 @@ by translating things like \"foo!bar!baz@host\" into \"baz@bar.UUCP\"."
(?\t " ") (?\t " ")
(?\r " ") (?\r " ")
(?\n " ") (?\n " ")
(?\[ "\(\]") ;?????? (?\[ "(]") ;??????
(?\] "\)\[") ;?????? (?\] ")[") ;??????
(?\\ "\\")) (?\\ "\\"))
(mail-extr-address-text-comment-syntax-table (mail-extr-address-text-comment-syntax-table
(?\000 ?\377 "w") (?\000 ?\377 "w")
@ -563,16 +563,16 @@ by translating things like \"foo!bar!baz@host\" into \"baz@bar.UUCP\"."
(?\t " ") (?\t " ")
(?\r " ") (?\r " ")
(?\n " ") (?\n " ")
(?\( "\(\)") (?\( "()")
(?\) "\)\(") (?\) ")(")
(?\[ "\(\]") (?\[ "(]")
(?\] "\)\[") (?\] ")[")
(?\{ "\(\}") (?\{ "(}")
(?\} "\)\{") (?\} "){")
(?\\ "\\") (?\\ "\\")
(?\" "\"") (?\" "\"")
;; (?\' "\)\`") ;; (?\' ")`")
;; (?\` "\(\'") ;; (?\` "('")
) )
(mail-extr-address-text-syntax-table (mail-extr-address-text-syntax-table
(?\000 ?\177 ".") (?\000 ?\177 ".")

View file

@ -95,7 +95,7 @@ supported. Defaults to non-nil on Windows, nil otherwise."
recp))) recp)))
(setq first nil)) (setq first nil))
(split-string (split-string
(mail-strip-quoted-names field) "\, *")) (mail-strip-quoted-names field) ", *"))
result))))) result)))))
(declare-function clipboard-kill-ring-save "menu-bar.el" (declare-function clipboard-kill-ring-save "menu-bar.el"

View file

@ -309,7 +309,7 @@ Buffer is not displayed if SHOW is non-nil."
;; to file name. ;; to file name.
;(defun get-folder-from-spool-safe (name) ;(defun get-folder-from-spool-safe (name)
; "Return the folder name corresponding to the spool file NAME." ; "Return the folder name corresponding to the spool file NAME."
; (if (string-match "^\\(.*\\)\.spool$" name) ; (if (string-match "^\\(.*\\)\\.spool$" name)
; (substring name (match-beginning 1) (match-end 1)) ; (substring name (match-beginning 1) (match-end 1))
; (error "Could not extract folder name from spool name %s" name))) ; (error "Could not extract folder name from spool name %s" name)))

Some files were not shown because too many files have changed in this diff Show more