[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs/lisp ChangeLog international/ucs-normaliz...
From: |
Juanma Barranquero |
Subject: |
[Emacs-diffs] emacs/lisp ChangeLog international/ucs-normaliz... |
Date: |
Fri, 28 Aug 2009 18:22:34 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Juanma Barranquero <lektu> 09/08/28 18:22:34
Modified files:
lisp : ChangeLog
lisp/international: ucs-normalize.el
lisp/progmodes : js.el
Log message:
* international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
Fix typos in docstrings.
* progmodes/js.el (js--macro-decl-re): Doc fix.
(js--plain-method-re, js--split-name): Refloc docstring.
(js--class-styles, js--make-merged-item, js--splice-into-items):
Fix typos in docstrings; reflow docstrings.
(js--maybe-join, js--function-prologue-beginning, js--flush-caches)
(js--variable-decl-matcher, js--inside-pitem-p)
(js--parse-state-at-point, js--get-all-known-symbols)
(js--symbol-history, js-find-symbol, js--js-references)
(js--moz-interactor, js--js-encode-value, js--read-tab):
Fix typos in docstrings.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/ChangeLog?cvsroot=emacs&r1=1.16042&r2=1.16043
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/international/ucs-normalize.el?cvsroot=emacs&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/progmodes/js.el?cvsroot=emacs&r1=1.4&r2=1.5
Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/ChangeLog,v
retrieving revision 1.16042
retrieving revision 1.16043
diff -u -b -r1.16042 -r1.16043
--- ChangeLog 28 Aug 2009 17:02:57 -0000 1.16042
+++ ChangeLog 28 Aug 2009 18:22:30 -0000 1.16043
@@ -1,3 +1,19 @@
+2009-08-28 Juanma Barranquero <address@hidden>
+
+ * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
+ Fix typos in docstrings.
+
+ * progmodes/js.el (js--macro-decl-re): Doc fix.
+ (js--plain-method-re, js--split-name): Refloc docstring.
+ (js--class-styles, js--make-merged-item, js--splice-into-items):
+ Fix typos in docstrings; reflow docstrings.
+ (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
+ (js--variable-decl-matcher, js--inside-pitem-p)
+ (js--parse-state-at-point, js--get-all-known-symbols)
+ (js--symbol-history, js-find-symbol, js--js-references)
+ (js--moz-interactor, js--js-encode-value, js--read-tab):
+ Fix typos in docstrings.
+
2009-08-28 Stefan Monnier <address@hidden>
* textmodes/reftex.el (reftex-get-file-buffer-force):
Index: international/ucs-normalize.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/international/ucs-normalize.el,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- international/ucs-normalize.el 22 Aug 2009 19:14:37 -0000 1.6
+++ international/ucs-normalize.el 28 Aug 2009 18:22:34 -0000 1.7
@@ -326,7 +326,7 @@
(ucs-normalize-make-translation-table-from-alist (eval-when-compile
hfs-nfd-alist)))
(defun ucs-normalize-sort (chars)
- "Sort by canonical combining class of chars."
+ "Sort by canonical combining class of CHARS."
(sort chars
(lambda (ch1 ch2)
(< (ucs-normalize-ccc ch1) (ucs-normalize-ccc ch2)))))
@@ -382,7 +382,7 @@
&optional composition-predicate)
"Quick-Check List for DECOMPOSITION-TRANSLATION and COMPOSITION-PREDICATE.
It includes Singletons, CompositionExclusions, and Non-Starter
-decomposition. "
+decomposition."
(let (entries decomposition composition)
(mapc
(lambda (start-end)
Index: progmodes/js.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/progmodes/js.el,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- progmodes/js.el 21 Aug 2009 07:45:01 -0000 1.4
+++ progmodes/js.el 28 Aug 2009 18:22:34 -0000 1.5
@@ -98,8 +98,8 @@
(concat "^\\s-*?\\(" js--dotted-name-re "\\)\\.prototype"
"\\.\\(" js--name-re "\\)\\s-*?=\\s-*?\\(function\\)\\_>")
"Regexp matching an explicit JavaScript prototype \"method\" declaration.
-Group 1 is a (possibly-dotted) class name, group 2 is a method
-name, and group 3 is the 'function' keyword." )
+Group 1 is a (possibly-dotted) class name, group 2 is a method name,
+and group 3 is the 'function' keyword.")
(defconst js--plain-class-re
(concat "^\\s-*\\(" js--dotted-name-re "\\)\\.prototype"
@@ -228,8 +228,8 @@
:class-decl is a regular expression giving the start of the
class. Its first group must match the name of its class. If there
-is a parent class, the second group should match, and it should
-be the name of the class.
+is a parent class, the second group should match, and it should be
+the name of the class.
If :prototype is present and non-nil, the parser will merge
declarations for this constructs with others at the same lexical
@@ -272,7 +272,7 @@
(defconst js--macro-decl-re
(concat "^\\s-*#\\s-*define\\s-+\\(" js--cpp-name-re "\\)\\s-*(")
"Regexp matching a CPP macro definition, up to the opening parenthesis.
-Match group 1 is the name of the function.")
+Match group 1 is the name of the macro.")
(defun js--regexp-opt-symbol (list)
"Like `regexp-opt', but surround the result with `\\\\_<' and `\\\\_>'."
@@ -901,7 +901,7 @@
(defun js--flush-caches (&optional beg ignored)
"Flush the `js-mode' syntax cache after position BEG.
-BEG defaults to point-min, meaning to flush the entire cache."
+BEG defaults to `point-min', meaning to flush the entire cache."
(interactive)
(setq beg (or beg (save-restriction (widen) (point-min))))
(setq js--cache-end (min js--cache-end beg)))
@@ -968,8 +968,8 @@
(defun js--split-name (string)
"Split a JavaScript name into its dot-separated parts.
-This also removes any prototype parts from the split name (unless
-the name is just \"prototype\" to start with)."
+This also removes any prototype parts from the split name
+\(unless the name is just \"prototype\" to start with)."
(let ((name (save-match-data
(split-string string "\\." t))))
(unless (and (= (length name) 1)
@@ -1390,7 +1390,7 @@
"Font-lock matcher for variable names in a variable declaration.
This is a cc-mode-style matcher that *always* fails, from the
point of view of font-lock. It applies highlighting directly with
-`font-lock-apply-higlight'."
+`font-lock-apply-highlight'."
(condition-case nil
(save-restriction
(narrow-to-region (point-min) limit)
@@ -1546,7 +1546,7 @@
"Level three font lock for `js-mode'.")
(defun js--inside-pitem-p (pitem)
- "Return whether point is inside the given pitem's header or body"
+ "Return whether point is inside the given pitem's header or body."
(js--ensure-cache)
(assert (js--pitem-h-begin pitem))
(assert (js--pitem-paren-depth pitem))
@@ -1827,8 +1827,8 @@
(defun js--make-merged-item (item child name-parts)
"Helper function for `js--splice-into-items'.
Return a new item that is the result of merging CHILD into
-ITEM. NAME-PARTS is a list of parts of the name of CHILD that we
-haven't consumed yet."
+ITEM. NAME-PARTS is a list of parts of the name of CHILD
+that we haven't consumed yet."
(js--debug "js--make-merged-item: {%s} into {%s}"
(js--pitem-format child)
(js--pitem-format item))
@@ -1878,9 +1878,9 @@
(defun js--splice-into-items (items child name-parts)
"Splice CHILD into the `js--pitem' ITEMS at NAME-PARTS.
-If a class doesn't exist in the tree, create it. Return the new
-items list. NAME-PARTS is a list of strings given the
-broken-down class name of the item to insert."
+If a class doesn't exist in the tree, create it. Return
+the new items list. NAME-PARTS is a list of strings given
+the broken-down class name of the item to insert."
(let ((top-name (car name-parts))
(item-ptr items)
@@ -2086,7 +2086,7 @@
(puthash name2 (cdr item) symbols))))
(defun js--get-all-known-symbols ()
- "Return a hash table of all Javascript symbols.
+ "Return a hash table of all JavaScript symbols.
This searches all existing `js-mode' buffers. Each key is the
name of a symbol (possibly disambiguated with <N>, where N > 1),
and each value is a marker giving the location of that symbol."
@@ -2100,7 +2100,7 @@
finally return symbols))
(defvar js--symbol-history nil
- "History of entered Javascript symbols")
+ "History of entered JavaScript symbols.")
(defun js--read-symbol (symbols-table prompt &optional initial-input)
"Helper function for `js-find-symbol'.
@@ -2131,7 +2131,7 @@
(buffer-substring (car bounds) (cdr bounds)))))
(defun js-find-symbol (&optional arg)
- "Read a Javascript symbol and jump to it.
+ "Read a JavaScript symbol and jump to it.
With a prefix argument, restrict symbols to those from the
current buffer. Pushes a mark onto the tag ring just like
`find-tag'."
@@ -2192,7 +2192,7 @@
(inferior-moz-process))))
(defvar js--js-references nil
- "Maps Elisp Javascript proxy objects to their Javascript IDs.")
+ "Maps Elisp JavaScript proxy objects to their JavaScript IDs.")
(defvar js--js-process nil
"The most recent MozRepl process object.")
@@ -2512,12 +2512,12 @@
})
")
- "String to set MozRepl up into a simple-minded evaluation mode")
+ "String to set MozRepl up into a simple-minded evaluation mode.")
(defun js--js-encode-value (x)
"Marshall the given value for JS.
Strings and numbers are JSON-encoded. Lists (including nil) are
-made into Javascript array literals and their contents encoded
+made into JavaScript array literals and their contents encoded
with `js--js-encode-value'."
(cond ((stringp x) (json-encode-string x))
((numberp x) (json-encode-number x))
@@ -2910,7 +2910,7 @@
(defun js--read-tab (prompt)
"Read a Mozilla tab with prompt PROMPT.
Return a cons of (TYPE . OBJECT). TYPE is either 'window or
-'tab, and OBJECT is a Javascript handle to a ChromeWindow or a
+'tab, and OBJECT is a JavaScript handle to a ChromeWindow or a
browser, respectively."
;; Prime IDO