aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorKenichi Handa2010-01-13 10:33:19 +0900
committerKenichi Handa2010-01-13 10:33:19 +0900
commitd1bf28dc12ef1a0f3cecbf78f38795db27b38574 (patch)
treef7030cdefb9d5d8423619e7d70273ae98c011821 /lisp
parentdc954cb273234237b615b93b6368d4adbdea31c4 (diff)
parentca22a44072c65a233af5b4c12256dc5fd266cb85 (diff)
downloademacs-d1bf28dc12ef1a0f3cecbf78f38795db27b38574.tar.gz
emacs-d1bf28dc12ef1a0f3cecbf78f38795db27b38574.zip
merge trunk
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog40
-rw-r--r--lisp/cedet/data-debug.el2
-rw-r--r--lisp/cedet/semantic/analyze.el14
-rw-r--r--lisp/cedet/semantic/bovine/c.el26
-rw-r--r--lisp/cedet/semantic/bovine/el.el18
-rw-r--r--lisp/cedet/semantic/bovine/make.el2
-rw-r--r--lisp/cedet/semantic/java.el8
-rw-r--r--lisp/cedet/semantic/wisent/python-wy.el8
-rw-r--r--lisp/cedet/semantic/wisent/python.el18
-rw-r--r--lisp/cedet/srecode/extract.el4
-rw-r--r--lisp/files.el15
-rw-r--r--lisp/mail/emacsbug.el8
12 files changed, 101 insertions, 62 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index f8248d837b1..3c95811a8fc 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,43 @@
12010-01-12 Michael Albinus <michael.albinus@gmx.de>
2
3 * files.el (copy-directory): Compute target for recursive
4 directories with identical names. (Bug#5343)
5
62010-01-12 Glenn Morris <rgm@gnu.org>
7
8 * mail/emacsbug.el (report-emacs-bug-pretest-address): Set
9 it to bug-gnu-emacs rather than emacs-pretest-bug.
10
112010-01-12 Juanma Barranquero <lekktu@gmail.com>
12
13 * cedet/data-debug.el (data-debug): Fix customization group reference.
14
152010-01-12 Juanma Barranquero <lekktu@gmail.com>
16
17 * cedet/semantic/analyze.el (semantic-analyze-push-error)
18 (semantic-analyze-context, semantic-analyze-context-assignment)
19 (semantic-analyze-find-tag-sequence, semantic-analyze-find-tag):
20 * cedet/semantic/java.el (java-mode, semantic-tag-include-filename)
21 (semantic-java-doc-keywords-map):
22 * cedet/semantic/bovine/c.el (c-mode, semantic-c-member-of-autocast)
23 (semantic-lex-c-nested-namespace-ignore-second, semantic-parse-region)
24 (semantic-c-parse-lexical-token, semantic-c-debug-mode-init-pch)
25 (semantic-c-classname, semantic-format-tag-uml-prototype)
26 (semantic-c-dereference-namespace, semantic-analyze-type-constants):
27 * cedet/semantic/bovine/el.el (semantic-elisp-form-to-doc-string)
28 (semantic-emacs-lisp-obsoleted-doc, semantic-up-context)
29 (semantic-get-local-variables, semantic-end-of-command)
30 (semantic-beginning-of-command, semantic-ctxt-current-class-list)
31 (lisp-mode):
32 * cedet/semantic/bovine/make.el (makefile-mode):
33 * cedet/semantic/wisent/python.el (wisent-python-string-re)
34 (wisent-python-implicit-line-joining-p, wisent-python-forward-string)
35 (wisent-python-lex-beginning-of-line, wisent-python-lex-end-of-line)
36 (semantic-lex, semantic-get-local-variables, python-mode):
37 * cedet/semantic/wisent/python-wy.el (wisent-python-wy--keyword-table):
38 * cedet/srecode/extract.el (srecode-extract-state-set)
39 (srecode-extract-method): Fix typos in docstrings.
40
12010-01-11 Sam Steingold <sds@gnu.org> 412010-01-11 Sam Steingold <sds@gnu.org>
2 42
3 * imenu.el (imenu-default-create-index-function): Detect infinite 43 * imenu.el (imenu-default-create-index-function): Detect infinite
diff --git a/lisp/cedet/data-debug.el b/lisp/cedet/data-debug.el
index e544fb51c64..10ba121ff1c 100644
--- a/lisp/cedet/data-debug.el
+++ b/lisp/cedet/data-debug.el
@@ -842,7 +842,7 @@ If PARENT is non-nil, it is somehow related as a parent to thing."
842;; 842;;
843(defgroup data-debug nil 843(defgroup data-debug nil
844 "data-debug group." 844 "data-debug group."
845 :group 'langauges) 845 :group 'languages)
846 846
847(defvar data-debug-mode-syntax-table 847(defvar data-debug-mode-syntax-table
848 (let ((table (make-syntax-table (standard-syntax-table)))) 848 (let ((table (make-syntax-table (standard-syntax-table))))
diff --git a/lisp/cedet/semantic/analyze.el b/lisp/cedet/semantic/analyze.el
index 7ff21a5d36a..02c959f8646 100644
--- a/lisp/cedet/semantic/analyze.el
+++ b/lisp/cedet/semantic/analyze.el
@@ -41,7 +41,7 @@
41;; tag - A single entity 41;; tag - A single entity
42;; prefix - The beginning of a symbol, usually used to look up something 42;; prefix - The beginning of a symbol, usually used to look up something
43;; incomplete. 43;; incomplete.
44;; type - The name of a datatype in the langauge. 44;; type - The name of a datatype in the language.
45;; metatype - If a type is named in a declaration like: 45;; metatype - If a type is named in a declaration like:
46;; struct moose somevariable; 46;; struct moose somevariable;
47;; that name "moose" can be turned into a concrete type. 47;; that name "moose" can be turned into a concrete type.
@@ -83,7 +83,7 @@
83 83
84(defun semantic-analyze-push-error (err) 84(defun semantic-analyze-push-error (err)
85 "Push the error in ERR-DATA onto the error stack. 85 "Push the error in ERR-DATA onto the error stack.
86Argument ERR" 86Argument ERR."
87 (push err semantic-analyze-error-stack)) 87 (push err semantic-analyze-error-stack))
88 88
89;;; Analysis Classes 89;;; Analysis Classes
@@ -124,7 +124,7 @@ See `semantic-analyze-scoped-tags' for details.")
124 (errors :initarg :errors 124 (errors :initarg :errors
125 :documentation "Any errors thrown an caught during analysis.") 125 :documentation "Any errors thrown an caught during analysis.")
126 ) 126 )
127 "Base analysis data for a any context.") 127 "Base analysis data for any context.")
128 128
129(defclass semantic-analyze-context-assignment (semantic-analyze-context) 129(defclass semantic-analyze-context-assignment (semantic-analyze-context)
130 ((assignee :initarg :assignee 130 ((assignee :initarg :assignee
@@ -132,7 +132,7 @@ See `semantic-analyze-scoped-tags' for details.")
132 :documentation "A sequence of tags for an assignee. 132 :documentation "A sequence of tags for an assignee.
133This is a variable into which some value is being placed. The last 133This is a variable into which some value is being placed. The last
134item in the list is the variable accepting the value. Earlier 134item in the list is the variable accepting the value. Earlier
135tags represent the variables being derefernece to get to the 135tags represent the variables being dereferenced to get to the
136assignee.")) 136assignee."))
137 "Analysis class for a value in an assignment.") 137 "Analysis class for a value in an assignment.")
138 138
@@ -235,7 +235,7 @@ finding the details on the first element of SEQUENCE in case
235it is not found in the global set of tables. 235it is not found in the global set of tables.
236Optional argument SCOPE are additional terminals to search which are currently 236Optional argument SCOPE are additional terminals to search which are currently
237scoped. These are not local variables, but symbols available in a structure 237scoped. These are not local variables, but symbols available in a structure
238which doesn't need to be dereferneced. 238which doesn't need to be dereferenced.
239Optional argument TYPERETURN is a symbol in which the types of all found 239Optional argument TYPERETURN is a symbol in which the types of all found
240will be stored. If nil, that data is thrown away. 240will be stored. If nil, that data is thrown away.
241Optional argument THROWSYM specifies a symbol the throw on non-recoverable error.") 241Optional argument THROWSYM specifies a symbol the throw on non-recoverable error.")
@@ -345,8 +345,8 @@ Optional argument THROWSYM specifies a symbol the throw on non-recoverable error
345 345
346(defun semantic-analyze-find-tag (name &optional tagclass scope) 346(defun semantic-analyze-find-tag (name &optional tagclass scope)
347 "Return the first tag found with NAME or nil if not found. 347 "Return the first tag found with NAME or nil if not found.
348Optional argument TAGCLASS specifies the class of tag to return, such 348Optional argument TAGCLASS specifies the class of tag to return,
349as 'function or 'variable. 349such as 'function or 'variable.
350Optional argument SCOPE specifies a scope object which has 350Optional argument SCOPE specifies a scope object which has
351additional tags which are in SCOPE and do not need prefixing to 351additional tags which are in SCOPE and do not need prefixing to
352find. 352find.
diff --git a/lisp/cedet/semantic/bovine/c.el b/lisp/cedet/semantic/bovine/c.el
index d4b8bafbf78..ea0ad00164c 100644
--- a/lisp/cedet/semantic/bovine/c.el
+++ b/lisp/cedet/semantic/bovine/c.el
@@ -74,7 +74,7 @@ This function does not do any hidden buffer changes."
74(defcustom-mode-local-semantic-dependency-system-include-path 74(defcustom-mode-local-semantic-dependency-system-include-path
75 c-mode semantic-c-dependency-system-include-path 75 c-mode semantic-c-dependency-system-include-path
76 '("/usr/include") 76 '("/usr/include")
77 "The system include path used by the C langauge.") 77 "The system include path used by the C language.")
78 78
79(defcustom semantic-default-c-path nil 79(defcustom semantic-default-c-path nil
80 "Default set of include paths for C code. 80 "Default set of include paths for C code.
@@ -207,7 +207,7 @@ to store your global macros in a more natural way."
207 ) 207 )
208 208
209(defcustom semantic-c-member-of-autocast 't 209(defcustom semantic-c-member-of-autocast 't
210 "Non-nil means classes with a '->' operator will cast to it's return type. 210 "Non-nil means classes with a '->' operator will cast to its return type.
211 211
212For Examples: 212For Examples:
213 213
@@ -444,7 +444,7 @@ It is really there, but if a majority of uses is to squeeze out
444the second namespace in use, then it should not be included. 444the second namespace in use, then it should not be included.
445 445
446If you are having problems with smart completion and STL templates, 446If you are having problems with smart completion and STL templates,
447it may that this is set incorrectly. After changing the value 447it may be that this is set incorrectly. After changing the value
448of this flag, you will need to delete any semanticdb cache files 448of this flag, you will need to delete any semanticdb cache files
449that may have been incorrectly parsed." 449that may have been incorrectly parsed."
450 :group 'semantic 450 :group 'semantic
@@ -620,7 +620,7 @@ Use semantic-cpp-lexer for parsing text inside a CPP macro."
620 620
621(define-mode-local-override semantic-parse-region c-mode 621(define-mode-local-override semantic-parse-region c-mode
622 (start end &optional nonterminal depth returnonerror) 622 (start end &optional nonterminal depth returnonerror)
623 "Calls 'semantic-parse-region-default', except in a macro expansion. 623 "Calls `semantic-parse-region-default', except in a macro expansion.
624MACRO expansion mode is handled through the nature of Emacs's non-lexical 624MACRO expansion mode is handled through the nature of Emacs's non-lexical
625binding of variables. 625binding of variables.
626START, END, NONTERMINAL, DEPTH, and RETURNONERRORS are the same 626START, END, NONTERMINAL, DEPTH, and RETURNONERRORS are the same
@@ -713,7 +713,7 @@ the regular parser."
713 (funcall mode) 713 (funcall mode)
714 (error 714 (error
715 (if (y-or-n-p 715 (if (y-or-n-p
716 (format "There was an error initializing %s in buffer \"%s\". Debug your hooks? " 716 (format "There was an error initializing %s in buffer \"%s\". Debug your hooks? "
717 mode (buffer-name))) 717 mode (buffer-name)))
718 (semantic-c-debug-mode-init mode) 718 (semantic-c-debug-mode-init mode)
719 (message "Macro parsing state may be broken...") 719 (message "Macro parsing state may be broken...")
@@ -781,9 +781,9 @@ the regular parser."
781 (switch-to-buffer-other-window 781 (switch-to-buffer-other-window
782 (get-buffer-create "*MODE HACK TEST*")) 782 (get-buffer-create "*MODE HACK TEST*"))
783 (erase-buffer) 783 (erase-buffer)
784 (insert "A failure occured while parsing your buffers. 784 (insert "A failure occurred while parsing your buffers.
785 785
786The failure occured while attempting to initialize " (symbol-name mm) " in a 786The failure occurred while attempting to initialize " (symbol-name mm) " in a
787buffer not associated with a file. To debug this problem, type 787buffer not associated with a file. To debug this problem, type
788 788
789M-x semantic-c-debug-mode-init 789M-x semantic-c-debug-mode-init
@@ -967,7 +967,7 @@ now.
967 "At parse time, assign a class or struct name text here. 967 "At parse time, assign a class or struct name text here.
968It is picked up by `semantic-c-reconstitute-token' to determine 968It is picked up by `semantic-c-reconstitute-token' to determine
969if something is a constructor. Value should be: 969if something is a constructor. Value should be:
970 ( TYPENAME . TYPEOFTYPE) 970 (TYPENAME . TYPEOFTYPE)
971where typename is the name of the type, and typeoftype is \"class\" 971where typename is the name of the type, and typeoftype is \"class\"
972or \"struct\".") 972or \"struct\".")
973 973
@@ -1258,7 +1258,7 @@ Optional PARENT and COLOR as specified with
1258 1258
1259(define-mode-local-override semantic-format-tag-uml-prototype 1259(define-mode-local-override semantic-format-tag-uml-prototype
1260 c-mode (token &optional parent color) 1260 c-mode (token &optional parent color)
1261 "Return an uml string describing TOKEN for C and C++. 1261 "Return an UML string describing TOKEN for C and C++.
1262Optional PARENT and COLOR as specified with 1262Optional PARENT and COLOR as specified with
1263`semantic-abbreviate-tag-default'." 1263`semantic-abbreviate-tag-default'."
1264 ;; If we have special template things, append. 1264 ;; If we have special template things, append.
@@ -1381,7 +1381,7 @@ TYPE-DECLARATION is passed through."
1381(defun semantic-c-dereference-namespace (type scope &optional type-declaration) 1381(defun semantic-c-dereference-namespace (type scope &optional type-declaration)
1382 "Dereference namespace which might hold an 'alias' for TYPE. 1382 "Dereference namespace which might hold an 'alias' for TYPE.
1383Such an alias can be created through 'using' statements in a 1383Such an alias can be created through 'using' statements in a
1384namespace declaration. This function checks the namespaces in 1384namespace declaration. This function checks the namespaces in
1385SCOPE for such statements." 1385SCOPE for such statements."
1386 (let ((scopetypes (oref scope scopetypes)) 1386 (let ((scopetypes (oref scope scopetypes))
1387 typename currentns tmp usingname result namespaces) 1387 typename currentns tmp usingname result namespaces)
@@ -1518,7 +1518,7 @@ Handle typedef, template instantiation, and '->' operator."
1518 (list type type-declaration)) 1518 (list type type-declaration))
1519 1519
1520(define-mode-local-override semantic-analyze-type-constants c-mode (type) 1520(define-mode-local-override semantic-analyze-type-constants c-mode (type)
1521 "When TYPE is a tag for an enum, return it's parts. 1521 "When TYPE is a tag for an enum, return its parts.
1522These are constants which are of type TYPE." 1522These are constants which are of type TYPE."
1523 (if (and (eq (semantic-tag-class type) 'type) 1523 (if (and (eq (semantic-tag-class type) 'type)
1524 (string= (semantic-tag-type type) "enum")) 1524 (string= (semantic-tag-type type) "enum"))
@@ -1618,7 +1618,7 @@ DO NOT return the list of tags encompassing point."
1618 (semantic-idle-summary-current-symbol-info-default)))) 1618 (semantic-idle-summary-current-symbol-info-default))))
1619 1619
1620(defvar-mode-local c-mode semantic-orphaned-member-metaparent-type "struct" 1620(defvar-mode-local c-mode semantic-orphaned-member-metaparent-type "struct"
1621 "When lost memberes are found in the class hierarchy generator, use a struct.") 1621 "When lost members are found in the class hierarchy generator, use a struct.")
1622 1622
1623(defvar-mode-local c-mode semantic-symbol->name-assoc-list 1623(defvar-mode-local c-mode semantic-symbol->name-assoc-list
1624 '((type . "Types") 1624 '((type . "Types")
@@ -1644,7 +1644,7 @@ DO NOT return the list of tags encompassing point."
1644 "Separator characters between something of a given type, and a field.") 1644 "Separator characters between something of a given type, and a field.")
1645 1645
1646(defvar-mode-local c-mode semantic-command-separation-character ";" 1646(defvar-mode-local c-mode semantic-command-separation-character ";"
1647 "Commen separation character for C") 1647 "Command separation character for C.")
1648 1648
1649(defvar-mode-local c-mode senator-step-at-tag-classes '(function variable) 1649(defvar-mode-local c-mode senator-step-at-tag-classes '(function variable)
1650 "Tag classes where senator will stop at the end.") 1650 "Tag classes where senator will stop at the end.")
diff --git a/lisp/cedet/semantic/bovine/el.el b/lisp/cedet/semantic/bovine/el.el
index d77b8e81d4c..e9bb994b61a 100644
--- a/lisp/cedet/semantic/bovine/el.el
+++ b/lisp/cedet/semantic/bovine/el.el
@@ -139,7 +139,7 @@ syntax as specified by the syntax table."
139 (nreverse vars))) 139 (nreverse vars)))
140 140
141(defun semantic-elisp-form-to-doc-string (form) 141(defun semantic-elisp-form-to-doc-string (form)
142 "After reading a form FORM, covert it to a doc string. 142 "After reading a form FORM, convert it to a doc string.
143For Emacs Lisp, sometimes that string is non-existent. 143For Emacs Lisp, sometimes that string is non-existent.
144Sometimes it is a form which is evaluated at compile time, permitting 144Sometimes it is a form which is evaluated at compile time, permitting
145compound strings." 145compound strings."
@@ -494,7 +494,7 @@ used to perform the override."
494 "")) 494 ""))
495 495
496(defun semantic-emacs-lisp-obsoleted-doc (tag) 496(defun semantic-emacs-lisp-obsoleted-doc (tag)
497 "Indicate that TAG is a new name that has obsoleted some old name. 497 "Indicate that TAG is a new name that has obsoleted some old name.
498Unfortunately, this requires that the tag in question has been loaded 498Unfortunately, this requires that the tag in question has been loaded
499into Emacs Lisp's memory." 499into Emacs Lisp's memory."
500 (let ((obsoletethis (intern-soft (semantic-tag-name tag))) 500 (let ((obsoletethis (intern-soft (semantic-tag-name tag)))
@@ -600,7 +600,7 @@ Overrides `semantic-nonterminal-static'."
600(define-mode-local-override semantic-up-context emacs-lisp-mode 600(define-mode-local-override semantic-up-context emacs-lisp-mode
601 (&optional point bounds-type) 601 (&optional point bounds-type)
602 "Move up one context in an Emacs Lisp function. 602 "Move up one context in an Emacs Lisp function.
603A Context in many languages is a block with it's own local variables. 603A Context in many languages is a block with its own local variables.
604In Emacs, we will move up lists and stop when one starts with one of 604In Emacs, we will move up lists and stop when one starts with one of
605the following context specifiers: 605the following context specifiers:
606 `let', `let*', `defun', `with-slots' 606 `let', `let*', `defun', `with-slots'
@@ -664,7 +664,7 @@ define-mode-overload\\)\
664(define-mode-local-override semantic-get-local-variables emacs-lisp-mode 664(define-mode-local-override semantic-get-local-variables emacs-lisp-mode
665 (&optional point) 665 (&optional point)
666 "Return a list of local variables for POINT. 666 "Return a list of local variables for POINT.
667Scan backwards from point at each successive function. For all occurances 667Scan backwards from point at each successive function. For all occurrences
668of `let' or `let*', grab those variable names." 668of `let' or `let*', grab those variable names."
669 (let* ((vars nil) 669 (let* ((vars nil)
670 (fn nil)) 670 (fn nil))
@@ -723,7 +723,7 @@ of `let' or `let*', grab those variable names."
723(define-mode-local-override semantic-end-of-command emacs-lisp-mode 723(define-mode-local-override semantic-end-of-command emacs-lisp-mode
724 () 724 ()
725 "Move cursor to the end of the current command. 725 "Move cursor to the end of the current command.
726In emacs lisp this is easilly defined by parenthisis bounding." 726In Emacs Lisp this is easily defined by parenthesis bounding."
727 (condition-case nil 727 (condition-case nil
728 (up-list 1) 728 (up-list 1)
729 (error nil))) 729 (error nil)))
@@ -731,7 +731,7 @@ In emacs lisp this is easilly defined by parenthisis bounding."
731(define-mode-local-override semantic-beginning-of-command emacs-lisp-mode 731(define-mode-local-override semantic-beginning-of-command emacs-lisp-mode
732 () 732 ()
733 "Move cursor to the beginning of the current command. 733 "Move cursor to the beginning of the current command.
734In emacs lisp this is easilly defined by parenthisis bounding." 734In Emacs Lisp this is easily defined by parenthesis bounding."
735 (condition-case nil 735 (condition-case nil
736 (progn 736 (progn
737 (up-list -1) 737 (up-list -1)
@@ -824,8 +824,8 @@ In emacs lisp this is easilly defined by parenthisis bounding."
824 (&optional point) 824 (&optional point)
825 "Return a list of tag classes allowed at POINT. 825 "Return a list of tag classes allowed at POINT.
826Emacs Lisp knows much more about the class of the tag needed to perform 826Emacs Lisp knows much more about the class of the tag needed to perform
827completion than some langauges. We distincly know if we are to be 827completion than some languages. We distincly know if we are to be a
828a function name, variable name, or any type of symbol. We could identify 828function name, variable name, or any type of symbol. We could identify
829fields and such to, but that is for some other day." 829fields and such to, but that is for some other day."
830 (save-excursion 830 (save-excursion
831 (if point (goto-char point)) 831 (if point (goto-char point))
@@ -939,7 +939,7 @@ See `semantic-format-tag-prototype' for Emacs Lisp for more details."
939ELisp variables can be pretty long, so track this one too.") 939ELisp variables can be pretty long, so track this one too.")
940 940
941(define-child-mode lisp-mode emacs-lisp-mode 941(define-child-mode lisp-mode emacs-lisp-mode
942 "Make `lisp-mode' inherits mode local behavior from `emacs-lisp-mode'.") 942 "Make `lisp-mode' inherit mode local behavior from `emacs-lisp-mode'.")
943 943
944(defun semantic-default-elisp-setup () 944(defun semantic-default-elisp-setup ()
945 "Setup hook function for Emacs Lisp files and Semantic." 945 "Setup hook function for Emacs Lisp files and Semantic."
diff --git a/lisp/cedet/semantic/bovine/make.el b/lisp/cedet/semantic/bovine/make.el
index 0e7e7423d75..2139d58ad98 100644
--- a/lisp/cedet/semantic/bovine/make.el
+++ b/lisp/cedet/semantic/bovine/make.el
@@ -204,7 +204,7 @@ Uses default implementation, and also gets a list of filenames."
204(defcustom-mode-local-semantic-dependency-system-include-path 204(defcustom-mode-local-semantic-dependency-system-include-path
205 makefile-mode semantic-makefile-dependency-system-include-path 205 makefile-mode semantic-makefile-dependency-system-include-path
206 nil 206 nil
207 "The system include path used by Makefiles langauge.") 207 "The system include path used by Makefiles language.")
208 208
209;;;###autoload 209;;;###autoload
210(defun semantic-default-make-setup () 210(defun semantic-default-make-setup ()
diff --git a/lisp/cedet/semantic/java.el b/lisp/cedet/semantic/java.el
index fcdd63ef490..47c51a2d3d9 100644
--- a/lisp/cedet/semantic/java.el
+++ b/lisp/cedet/semantic/java.el
@@ -149,7 +149,7 @@ corresponding compound declaration."
149 java-mode semantic-java-dependency-system-include-path 149 java-mode semantic-java-dependency-system-include-path
150 ;; @todo - Use JDEE to get at the include path, or something else? 150 ;; @todo - Use JDEE to get at the include path, or something else?
151 nil 151 nil
152 "The system include path used by Java langauge.") 152 "The system include path used by Java language.")
153 153
154;; Local context 154;; Local context
155;; 155;;
@@ -239,7 +239,7 @@ Optional argument COLOR indicates that color should be mixed in."
239 239
240;; Thanks Bruce Stephens 240;; Thanks Bruce Stephens
241(define-mode-local-override semantic-tag-include-filename java-mode (tag) 241(define-mode-local-override semantic-tag-include-filename java-mode (tag)
242 "Return a suitable path for (some) Java imports" 242 "Return a suitable path for (some) Java imports."
243 (let ((name (semantic-tag-name tag))) 243 (let ((name (semantic-tag-name tag)))
244 (concat (mapconcat 'identity (split-string name "\\.") "/") ".java"))) 244 (concat (mapconcat 'identity (split-string name "\\.") "/") ".java")))
245 245
@@ -371,9 +371,9 @@ That is TAG `symbol-name' without the leading '@'."
371(defun semantic-java-doc-keywords-map (fun &optional property) 371(defun semantic-java-doc-keywords-map (fun &optional property)
372 "Run function FUN for each javadoc keyword. 372 "Run function FUN for each javadoc keyword.
373Return the list of FUN results. If optional PROPERTY is non nil only 373Return the list of FUN results. If optional PROPERTY is non nil only
374call FUN for javadoc keyword which have a value for PROPERTY. FUN 374call FUN for javadoc keywords which have a value for PROPERTY. FUN
375receives two arguments: the javadoc keyword and its associated 375receives two arguments: the javadoc keyword and its associated
376'javadoc property list. It can return any value. Nil values are 376'javadoc property list. It can return any value. All nil values are
377removed from the result list." 377removed from the result list."
378 (delq nil 378 (delq nil
379 (mapcar 379 (mapcar
diff --git a/lisp/cedet/semantic/wisent/python-wy.el b/lisp/cedet/semantic/wisent/python-wy.el
index 62839abe949..29b0626ffa6 100644
--- a/lisp/cedet/semantic/wisent/python-wy.el
+++ b/lisp/cedet/semantic/wisent/python-wy.el
@@ -79,16 +79,16 @@
79 ("global" summary "Declare one or more symbols as global symbols") 79 ("global" summary "Declare one or more symbols as global symbols")
80 ("from" summary "Modify behavior of 'import' statement") 80 ("from" summary "Modify behavior of 'import' statement")
81 ("for" summary "Start a 'for' loop") 81 ("for" summary "Start a 'for' loop")
82 ("finally" summary "Specify code to be executed after 'try' statements whether or not an exception occured") 82 ("finally" summary "Specify code to be executed after 'try' statements whether or not an exception occurred")
83 ("exec" summary "Dynamically execute python code") 83 ("exec" summary "Dynamically execute Python code")
84 ("except" summary "Specify exception handlers along with 'try' keyword") 84 ("except" summary "Specify exception handlers along with 'try' keyword")
85 ("else" summary "Start the 'else' clause following an 'if' statement") 85 ("else" summary "Start the 'else' clause following an 'if' statement")
86 ("elif" summary "Shorthand for 'else if' following an 'if' statement") 86 ("elif" summary "Shorthand for 'else if' following an 'if' statement")
87 ("del" summary "Delete specified objects, i.e., undo what assignment did") 87 ("del" summary "Delete specified objects, i.e., undo what assignment did")
88 ("def" summary "Define a new function") 88 ("def" summary "Define a new function")
89 ("continue" summary "Skip to the next interation of enclosing for or whilte loop") 89 ("continue" summary "Skip to the next interation of enclosing 'for' or 'while' loop")
90 ("class" summary "Define a new class") 90 ("class" summary "Define a new class")
91 ("break" summary "Terminate 'for' or 'while loop") 91 ("break" summary "Terminate 'for' or 'while' loop")
92 ("assert" summary "Raise AssertionError exception if <expr> is false") 92 ("assert" summary "Raise AssertionError exception if <expr> is false")
93 ("and" summary "Logical AND binary operator ... "))) 93 ("and" summary "Logical AND binary operator ... ")))
94 "Table of language keywords.") 94 "Table of language keywords.")
diff --git a/lisp/cedet/semantic/wisent/python.el b/lisp/cedet/semantic/wisent/python.el
index af226553ff0..122e1bfb353 100644
--- a/lisp/cedet/semantic/wisent/python.el
+++ b/lisp/cedet/semantic/wisent/python.el
@@ -48,19 +48,19 @@
48(defconst wisent-python-string-re 48(defconst wisent-python-string-re
49 (concat (regexp-opt '("r" "u" "ur" "R" "U" "UR" "Ur" "uR") t) 49 (concat (regexp-opt '("r" "u" "ur" "R" "U" "UR" "Ur" "uR") t)
50 "?['\"]") 50 "?['\"]")
51 "Regexp matching beginning of a python string.") 51 "Regexp matching beginning of a Python string.")
52 52
53(defvar wisent-python-EXPANDING-block nil 53(defvar wisent-python-EXPANDING-block nil
54 "Non-nil when expanding a paren block for Python lexical analyzer.") 54 "Non-nil when expanding a paren block for Python lexical analyzer.")
55 55
56(defun wisent-python-implicit-line-joining-p () 56(defun wisent-python-implicit-line-joining-p ()
57 "Return non-nil if implicit line joining is active. 57 "Return non-nil if implicit line joining is active.
58That is, if inside an expressions in parentheses, square brackets or 58That is, if inside an expression in parentheses, square brackets or
59curly braces." 59curly braces."
60 wisent-python-EXPANDING-block) 60 wisent-python-EXPANDING-block)
61 61
62(defsubst wisent-python-forward-string () 62(defsubst wisent-python-forward-string ()
63 "Move point at the end of the python string at point." 63 "Move point at the end of the Python string at point."
64 (when (looking-at wisent-python-string-re) 64 (when (looking-at wisent-python-string-re)
65 ;; skip the prefix 65 ;; skip the prefix
66 (and (match-end 1) (goto-char (match-end 1))) 66 (and (match-end 1) (goto-char (match-end 1)))
@@ -145,7 +145,7 @@ identation of the current line."
145(defvar wisent-python-indent-stack) 145(defvar wisent-python-indent-stack)
146 146
147(define-lex-analyzer wisent-python-lex-beginning-of-line 147(define-lex-analyzer wisent-python-lex-beginning-of-line
148 "Detect and create python indentation tokens at beginning of line." 148 "Detect and create Python indentation tokens at beginning of line."
149 (and 149 (and
150 (bolp) (not (wisent-python-implicit-line-joining-p)) 150 (bolp) (not (wisent-python-implicit-line-joining-p))
151 (let ((last-indent (car wisent-python-indent-stack)) 151 (let ((last-indent (car wisent-python-indent-stack))
@@ -201,7 +201,7 @@ identation of the current line."
201 ) 201 )
202 202
203(define-lex-regex-analyzer wisent-python-lex-end-of-line 203(define-lex-regex-analyzer wisent-python-lex-end-of-line
204 "Detect and create python newline tokens. 204 "Detect and create Python newline tokens.
205Just skip the newline character if the following line is an implicit 205Just skip the newline character if the following line is an implicit
206continuation of current line." 206continuation of current line."
207 "\\(\n\\|\\s>\\)" 207 "\\(\n\\|\\s>\\)"
@@ -256,11 +256,11 @@ elsewhere on a line outside a string literal."
256;; 256;;
257(define-mode-local-override semantic-lex python-mode 257(define-mode-local-override semantic-lex python-mode
258 (start end &optional depth length) 258 (start end &optional depth length)
259 "Lexically analyze python code in current buffer. 259 "Lexically analyze Python code in current buffer.
260See the function `semantic-lex' for the meaning of the START, END, 260See the function `semantic-lex' for the meaning of the START, END,
261DEPTH and LENGTH arguments. 261DEPTH and LENGTH arguments.
262This function calls `wisent-python-lexer' to actually perform the 262This function calls `wisent-python-lexer' to actually perform the
263lexical analysis, then emits the necessary python DEDENT tokens from 263lexical analysis, then emits the necessary Python DEDENT tokens from
264what remains in the `wisent-python-indent-stack'." 264what remains in the `wisent-python-indent-stack'."
265 (let* ((wisent-python-indent-stack (list 0)) 265 (let* ((wisent-python-indent-stack (list 0))
266 (stream (wisent-python-lexer start end depth length)) 266 (stream (wisent-python-lexer start end depth length))
@@ -272,13 +272,13 @@ what remains in the `wisent-python-indent-stack'."
272 272
273(define-mode-local-override semantic-get-local-variables python-mode () 273(define-mode-local-override semantic-get-local-variables python-mode ()
274 "Get the local variables based on point's context. 274 "Get the local variables based on point's context.
275To be implemented for python! For now just return nil." 275To be implemented for Python! For now just return nil."
276 nil) 276 nil)
277 277
278(defcustom-mode-local-semantic-dependency-system-include-path 278(defcustom-mode-local-semantic-dependency-system-include-path
279 python-mode semantic-python-dependency-system-include-path 279 python-mode semantic-python-dependency-system-include-path
280 nil 280 nil
281 "The system include path used by Python langauge.") 281 "The system include path used by Python language.")
282 282
283;;; Enable Semantic in `python-mode'. 283;;; Enable Semantic in `python-mode'.
284;; 284;;
diff --git a/lisp/cedet/srecode/extract.el b/lisp/cedet/srecode/extract.el
index c65452bf133..9d098416076 100644
--- a/lisp/cedet/srecode/extract.el
+++ b/lisp/cedet/srecode/extract.el
@@ -56,7 +56,7 @@
56 "The current extraction state.") 56 "The current extraction state.")
57 57
58(defmethod srecode-extract-state-set ((st srecode-extract-state) ins dict) 58(defmethod srecode-extract-state-set ((st srecode-extract-state) ins dict)
59 "Set onto the extract state ST a new inserter INS and dictinary DICT." 59 "Set onto the extract state ST a new inserter INS and dictionary DICT."
60 (oset st lastinserter ins) 60 (oset st lastinserter ins)
61 (oset st lastdict dict)) 61 (oset st lastdict dict))
62 62
@@ -98,7 +98,7 @@ the dictionary entries were for that block of text."
98 state) 98 state)
99 "Extract template ST and store extracted text in DICTIONARY. 99 "Extract template ST and store extracted text in DICTIONARY.
100Optional STARTRETURN is a symbol in which the start of the first 100Optional STARTRETURN is a symbol in which the start of the first
101plain-text match occured." 101plain-text match occurred."
102 (srecode-extract-code-stream (oref st code) dictionary state)) 102 (srecode-extract-code-stream (oref st code) dictionary state))
103 103
104(defun srecode-extract-code-stream (code dictionary state) 104(defun srecode-extract-code-stream (code dictionary state)
diff --git a/lisp/files.el b/lisp/files.el
index 22f5936a1f6..302f114befe 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -4714,20 +4714,17 @@ this happens by default."
4714 ;; Compute target name. 4714 ;; Compute target name.
4715 (setq directory (directory-file-name (expand-file-name directory)) 4715 (setq directory (directory-file-name (expand-file-name directory))
4716 newname (directory-file-name (expand-file-name newname))) 4716 newname (directory-file-name (expand-file-name newname)))
4717 (if (and (file-directory-p newname)
4718 (not (string-equal (file-name-nondirectory directory)
4719 (file-name-nondirectory newname))))
4720 (setq newname
4721 (expand-file-name (file-name-nondirectory directory) newname)))
4722 (if (not (file-directory-p newname)) (make-directory newname parents)) 4717 (if (not (file-directory-p newname)) (make-directory newname parents))
4723 4718
4724 ;; Copy recursively. 4719 ;; Copy recursively.
4725 (mapc 4720 (mapc
4726 (lambda (file) 4721 (lambda (file)
4727 (if (file-directory-p file) 4722 (let ((target (expand-file-name
4728 (copy-directory file newname keep-time parents) 4723 (file-name-nondirectory file) newname)))
4729 (copy-file file newname t keep-time))) 4724 (if (file-directory-p file)
4730 ;; We do not want to delete "." and "..". 4725 (copy-directory file target keep-time parents)
4726 (copy-file file target t keep-time))))
4727 ;; We do not want to copy "." and "..".
4731 (directory-files directory 'full directory-files-no-dot-files-regexp)) 4728 (directory-files directory 'full directory-files-no-dot-files-regexp))
4732 4729
4733 ;; Set directory attributes. 4730 ;; Set directory attributes.
diff --git a/lisp/mail/emacsbug.el b/lisp/mail/emacsbug.el
index e4d3ef12aba..5dddf00fd71 100644
--- a/lisp/mail/emacsbug.el
+++ b/lisp/mail/emacsbug.el
@@ -1,7 +1,8 @@
1;;; emacsbug.el --- command to report Emacs bugs to appropriate mailing list 1;;; emacsbug.el --- command to report Emacs bugs to appropriate mailing list
2 2
3;; Copyright (C) 1985, 1994, 1997, 1998, 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1985, 1994, 1997, 1998, 2000, 2001, 2002, 2003, 2004,
4;; 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. 4;; 2005, 2006, 2007, 2008, 2009, 2010
5;; Free Software Foundation, Inc.
5 6
6;; Author: K. Shane Hartman 7;; Author: K. Shane Hartman
7;; Maintainer: FSF 8;; Maintainer: FSF
@@ -41,10 +42,11 @@
41 :group 'emacsbug 42 :group 'emacsbug
42 :type 'string) 43 :type 'string)
43 44
44(defcustom report-emacs-bug-pretest-address "emacs-pretest-bug@gnu.org" 45(defcustom report-emacs-bug-pretest-address "bug-gnu-emacs@gnu.org"
45 "Address of mailing list for GNU Emacs pretest bugs." 46 "Address of mailing list for GNU Emacs pretest bugs."
46 :group 'emacsbug 47 :group 'emacsbug
47 :type 'string) 48 :type 'string
49 :version "23.2") ; emacs-pretest-bug -> bug-gnu-emacs
48 50
49(defcustom report-emacs-bug-no-confirmation nil 51(defcustom report-emacs-bug-no-confirmation nil
50 "If non-nil, suppress the confirmations asked for the sake of novice users." 52 "If non-nil, suppress the confirmations asked for the sake of novice users."