Commit d1bf28dc authored by Kenichi Handa's avatar Kenichi Handa
Browse files

merge trunk

parents dc954cb2 ca22a440
2010-01-12 Juanma Barranquero <lekktu@gmail.com>
* .bzrignore: Ignore all .exe, instead of individual files.
2010-01-12 Chong Yidong <cyd@stupidchicken.com>
* configure.in: Explicitly check for and link to -lXrender.
2010-01-12 Glenn Morris <rgm@gnu.org>
* INSTALL.BZR, README: Use bug-gnu-emacs rather than emacs-pretest-bug
for bug reports for development versions.
2010-01-02 Eli Zaretskii <eliz@gnu.org> 2010-01-02 Eli Zaretskii <eliz@gnu.org>
* .bzrignore: Add more ignored patterns, including for the MS-DOS * .bzrignore: Add more ignored patterns, including for the MS-DOS
......
Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
Free Software Foundation, Inc. Free Software Foundation, Inc.
See the end of the file for license conditions. See the end of the file for license conditions.
...@@ -54,9 +54,8 @@ etc.) before "make bootstrap" or "make"; the rest of the procedure is ...@@ -54,9 +54,8 @@ etc.) before "make bootstrap" or "make"; the rest of the procedure is
applicable to those systems as well. applicable to those systems as well.
Questions, requests, and bug reports about the Bazaar versions of Emacs Questions, requests, and bug reports about the Bazaar versions of Emacs
should be sent to emacs-pretest-bug@gnu.org rather than gnu.emacs.help should be sent to bug-gnu-emacs@gnu.org rather than gnu.emacs.help.
or gnu.emacs.bug. Ideally, use M-x report-emacs-bug RET which will Ideally, use M-x report-emacs-bug RET.
send it to the proper place.
Because the Bazaar version of Emacs is a work in progress, it will Because the Bazaar version of Emacs is a work in progress, it will
sometimes fail to build. Please wait a day or so (and check the bug sometimes fail to build. Please wait a day or so (and check the bug
......
Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
Free Software Foundation, Inc. 2010 Free Software Foundation, Inc.
See the end of the file for license conditions. See the end of the file for license conditions.
...@@ -19,10 +19,8 @@ occur in building, installing and running Emacs. ...@@ -19,10 +19,8 @@ occur in building, installing and running Emacs.
You may encounter bugs in this release. If you do, please report You may encounter bugs in this release. If you do, please report
them; your bug reports are valuable contributions to the FSF, since them; your bug reports are valuable contributions to the FSF, since
they allow us to notice and fix problems on machines we don't have, or they allow us to notice and fix problems on machines we don't have, or
in code we don't use often. Please send bug reports for released in code we don't use often. Please send bug reports to the mailing
versions of Emacs sent to the mailing list bug-gnu-emacs@gnu.org. list bug-gnu-emacs@gnu.org. If possible, use M-x report-emacs-bug.
Please send bug reports for pretest versions of Emacs, and versions
from the Savannah.gnu.org repository, to emacs-pretest-bug@gnu.org.
See the "Bugs" section of the Emacs manual for more information on how See the "Bugs" section of the Emacs manual for more information on how
to report bugs. (The file `BUGS' in this directory explains how you to report bugs. (The file `BUGS' in this directory explains how you
......
2010-01-12 Glenn Morris <rgm@gnu.org>
* emacs-pretesters, make-announcement: Use bug-gnu-emacs rather
than emacs-pretest-bug for bug reports for development versions.
2009-11-06 Kenichi Handa <handa@m17n.org> 2009-11-06 Kenichi Handa <handa@m17n.org>
* unidata/unidata-gen.el (unidata-gen-table): Fix for the case * unidata/unidata-gen.el (unidata-gen-table): Fix for the case
......
...@@ -89,8 +89,7 @@ The etc/MACHINES file may describe other things that you need to do ...@@ -89,8 +89,7 @@ The etc/MACHINES file may describe other things that you need to do
to make Emacs work on your machine. If so, you should follow these to make Emacs work on your machine. If so, you should follow these
recommendations also, for the same reason. recommendations also, for the same reason.
* Send your problem reports to emacs-pretest-bug@gnu.org, not * Send your problem reports to bug-gnu-emacs@gnu.org.
bug-gnu-emacs.
Sometimes we won't know what to do about a system-dependent issue, and Sometimes we won't know what to do about a system-dependent issue, and
we may need people to say what happens if you try a certain thing on a we may need people to say what happens if you try a certain thing on a
......
#! /bin/bash #! /bin/bash
## Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 ## Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
## Free Software Foundation, Inc. ## 2010 Free Software Foundation, Inc.
## Author: Francesco Potorti` <pot@gnu.org> ## Author: Francesco Potorti` <pot@gnu.org>
...@@ -59,7 +59,7 @@ There is a new pretest available in ...@@ -59,7 +59,7 @@ There is a new pretest available in
<ftp://alpha.gnu.org/gnu/emacs/pretest/emacs-$NEW.tar.gz> <ftp://alpha.gnu.org/gnu/emacs/pretest/emacs-$NEW.tar.gz>
Please report results from compiling and running the pretest to Please report results from compiling and running the pretest to
<emacs-pretest-bug@gnu.org>. Your feedback is necessary for us <bug-gnu-emacs@gnu.org>. Your feedback is necessary for us
to know on which platforms the pretest has been tried. to know on which platforms the pretest has been tried.
If you have the tars from the previous pretest, and you have the If you have the tars from the previous pretest, and you have the
......
...@@ -13663,12 +13663,85 @@ $as_echo "no" >&6; } ...@@ -13663,12 +13663,85 @@ $as_echo "no" >&6; }
HAVE_XFT=no HAVE_XFT=no
fi fi
   
if test "$HAVE_XFT" != no; then ## Because xftfont.c uses XRenderQueryExtension, we also
## need to link to -lXrender.
HAVE_XRENDER=no
{ $as_echo "$as_me:$LINENO: checking for XRenderQueryExtension in -lXrender" >&5
$as_echo_n "checking for XRenderQueryExtension in -lXrender... " >&6; }
if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lXrender $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char XRenderQueryExtension ();
int
main ()
{
return XRenderQueryExtension ();
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (ac_try="$ac_link"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
$as_echo "$ac_try_echo") >&5
(eval "$ac_link") 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } && {
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest$ac_exeext && {
test "$cross_compiling" = yes ||
$as_test_x conftest$ac_exeext
}; then
ac_cv_lib_Xrender_XRenderQueryExtension=yes
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_cv_lib_Xrender_XRenderQueryExtension=no
fi
rm -rf conftest.dSYM
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5
$as_echo "$ac_cv_lib_Xrender_XRenderQueryExtension" >&6; }
if test $ac_cv_lib_Xrender_XRenderQueryExtension = yes; then
HAVE_XRENDER=yes
fi
if test "$HAVE_XFT" != no && test "$HAVE_XRENDER" != no; then
OLD_CPPFLAGS="$CPPFLAGS" OLD_CPPFLAGS="$CPPFLAGS"
OLD_CFLAGS="$CFLAGS" OLD_CFLAGS="$CFLAGS"
OLD_LIBS="$LIBS" OLD_LIBS="$LIBS"
CPPFLAGS="$CPPFLAGS $XFT_CFLAGS" CPPFLAGS="$CPPFLAGS $XFT_CFLAGS"
CFLAGS="$CFLAGS $XFT_CFLAGS" CFLAGS="$CFLAGS $XFT_CFLAGS"
XFT_LIBS="-lXrender $XFT_LIBS"
LIBS="$XFT_LIBS $LIBS" LIBS="$XFT_LIBS $LIBS"
if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then
{ $as_echo "$as_me:$LINENO: checking for X11/Xft/Xft.h" >&5 { $as_echo "$as_me:$LINENO: checking for X11/Xft/Xft.h" >&5
......
...@@ -1984,12 +1984,17 @@ if test "${HAVE_X11}" = "yes"; then ...@@ -1984,12 +1984,17 @@ if test "${HAVE_X11}" = "yes"; then
if test "x${with_xft}" != "xno"; then if test "x${with_xft}" != "xno"; then
PKG_CHECK_MODULES(XFT, xft >= 0.13.0, , HAVE_XFT=no) PKG_CHECK_MODULES(XFT, xft >= 0.13.0, , HAVE_XFT=no)
if test "$HAVE_XFT" != no; then ## Because xftfont.c uses XRenderQueryExtension, we also
## need to link to -lXrender.
HAVE_XRENDER=no
AC_CHECK_LIB(Xrender, XRenderQueryExtension, HAVE_XRENDER=yes)
if test "$HAVE_XFT" != no && test "$HAVE_XRENDER" != no; then
OLD_CPPFLAGS="$CPPFLAGS" OLD_CPPFLAGS="$CPPFLAGS"
OLD_CFLAGS="$CFLAGS" OLD_CFLAGS="$CFLAGS"
OLD_LIBS="$LIBS" OLD_LIBS="$LIBS"
CPPFLAGS="$CPPFLAGS $XFT_CFLAGS" CPPFLAGS="$CPPFLAGS $XFT_CFLAGS"
CFLAGS="$CFLAGS $XFT_CFLAGS" CFLAGS="$CFLAGS $XFT_CFLAGS"
XFT_LIBS="-lXrender $XFT_LIBS"
LIBS="$XFT_LIBS $LIBS" LIBS="$XFT_LIBS $LIBS"
AC_CHECK_HEADER(X11/Xft/Xft.h, AC_CHECK_HEADER(X11/Xft/Xft.h,
AC_CHECK_LIB(Xft, XftFontOpen, HAVE_XFT=yes, , $XFT_LIBS)) AC_CHECK_LIB(Xft, XftFontOpen, HAVE_XFT=yes, , $XFT_LIBS))
......
2010-01-12 Glenn Morris <rgm@gnu.org>
* trouble.texi (Checklist): Use bug-gnu-emacs rather than
emacs-pretest-bug for bug reports for development versions.
2010-01-11 Glenn Morris <rgm@gnu.org> 2010-01-11 Glenn Morris <rgm@gnu.org>
* display.texi (Highlight Interactively): `t' does not mean highlight * display.texi (Highlight Interactively): `t' does not mean highlight
......
@c This is part of the Emacs manual. @c This is part of the Emacs manual.
@c Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1997, 2001, 2002, @c Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1997, 2001, 2002,
@c 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. @c 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
@c Free Software Foundation, Inc.
@c See file emacs.texi for copying conditions. @c See file emacs.texi for copying conditions.
@iftex @iftex
@chapter Dealing with Common Problems @chapter Dealing with Common Problems
...@@ -540,10 +541,8 @@ well. ...@@ -540,10 +541,8 @@ well.
@cindex reporting bugs @cindex reporting bugs
The best way to send a bug report is to mail it electronically to the The best way to send a bug report is to mail it electronically to the
Emacs maintainers at @email{bug-gnu-emacs@@gnu.org}, or to Emacs maintainers at @email{bug-gnu-emacs@@gnu.org}. (If you want to
@email{emacs-pretest-bug@@gnu.org} if you are pretesting an Emacs beta suggest a change as an improvement, use the same address.)
release. (If you want to suggest a change as an improvement, use the
same address.)
If you'd like to read the bug reports, you can find them on the If you'd like to read the bug reports, you can find them on the
newsgroup @samp{gnu.emacs.bug}; keep in mind, however, that as a newsgroup @samp{gnu.emacs.bug}; keep in mind, however, that as a
......
Copyright (C) 2006, 2007, 2008, 2009 Free Software Foundation, Inc. Copyright (C) 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
See end for license conditions. See end for license conditions.
...@@ -73,7 +73,7 @@ Every patch must have several pieces of information before we ...@@ -73,7 +73,7 @@ Every patch must have several pieces of information before we
can properly evaluate it. can properly evaluate it.
When you have all these pieces, bundle them up in a mail message and When you have all these pieces, bundle them up in a mail message and
send it to emacs-pretest-bug@gnu.org or emacs-devel@gnu.org. send it to bug-gnu-emacs@gnu.org or emacs-devel@gnu.org.
All subsequent discussion should also be sent to the mailing list. All subsequent discussion should also be sent to the mailing list.
...@@ -149,9 +149,7 @@ giving you write access to the CVS repository. ...@@ -149,9 +149,7 @@ giving you write access to the CVS repository.
Discussion about Emacs development takes place on emacs-devel@gnu.org. Discussion about Emacs development takes place on emacs-devel@gnu.org.
Bug reports for released versions are sent to bug-gnu-emacs@gnu.org. Bug reports are sent to bug-gnu-emacs@gnu.org.
Bug reports for development versions are sent to emacs-pretest-bug@gnu.org.
You can subscribe to the mailing lists at savannah.gnu.org/projects/emacs. You can subscribe to the mailing lists at savannah.gnu.org/projects/emacs.
......
2010-01-12 Glenn Morris <rgm@gnu.org>
* CONTRIBUTE, NEWS: Use bug-gnu-emacs rather than emacs-pretest-bug
for bug reports for development versions.
2010-01-01 Juanma Barranquero <lekktu@gmail.com> 2010-01-01 Juanma Barranquero <lekktu@gmail.com>
* NEWS: Fix typos. * NEWS: Fix typos.
......
GNU Emacs NEWS -- history of user-visible changes. GNU Emacs NEWS -- history of user-visible changes.
Copyright (C) 2007, 2008, 2009 Free Software Foundation, Inc. Copyright (C) 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
See the end of the file for license conditions. See the end of the file for license conditions.
Please send Emacs bug reports to emacs-pretest-bug@gnu.org. Please send Emacs bug reports to bug-gnu-emacs@gnu.org.
If possible, use M-x report-emacs-bug. If possible, use M-x report-emacs-bug.
This file is about changes in Emacs version 23. This file is about changes in Emacs version 23.
......
2010-01-12 Michael Albinus <michael.albinus@gmx.de>
* files.el (copy-directory): Compute target for recursive
directories with identical names. (Bug#5343)
2010-01-12 Glenn Morris <rgm@gnu.org>
* mail/emacsbug.el (report-emacs-bug-pretest-address): Set
it to bug-gnu-emacs rather than emacs-pretest-bug.
2010-01-12 Juanma Barranquero <lekktu@gmail.com>
* cedet/data-debug.el (data-debug): Fix customization group reference.
2010-01-12 Juanma Barranquero <lekktu@gmail.com>
* cedet/semantic/analyze.el (semantic-analyze-push-error)
(semantic-analyze-context, semantic-analyze-context-assignment)
(semantic-analyze-find-tag-sequence, semantic-analyze-find-tag):
* cedet/semantic/java.el (java-mode, semantic-tag-include-filename)
(semantic-java-doc-keywords-map):
* cedet/semantic/bovine/c.el (c-mode, semantic-c-member-of-autocast)
(semantic-lex-c-nested-namespace-ignore-second, semantic-parse-region)
(semantic-c-parse-lexical-token, semantic-c-debug-mode-init-pch)
(semantic-c-classname, semantic-format-tag-uml-prototype)
(semantic-c-dereference-namespace, semantic-analyze-type-constants):
* cedet/semantic/bovine/el.el (semantic-elisp-form-to-doc-string)
(semantic-emacs-lisp-obsoleted-doc, semantic-up-context)
(semantic-get-local-variables, semantic-end-of-command)
(semantic-beginning-of-command, semantic-ctxt-current-class-list)
(lisp-mode):
* cedet/semantic/bovine/make.el (makefile-mode):
* cedet/semantic/wisent/python.el (wisent-python-string-re)
(wisent-python-implicit-line-joining-p, wisent-python-forward-string)
(wisent-python-lex-beginning-of-line, wisent-python-lex-end-of-line)
(semantic-lex, semantic-get-local-variables, python-mode):
* cedet/semantic/wisent/python-wy.el (wisent-python-wy--keyword-table):
* cedet/srecode/extract.el (srecode-extract-state-set)
(srecode-extract-method): Fix typos in docstrings.
2010-01-11 Sam Steingold <sds@gnu.org> 2010-01-11 Sam Steingold <sds@gnu.org>
* imenu.el (imenu-default-create-index-function): Detect infinite * imenu.el (imenu-default-create-index-function): Detect infinite
......
...@@ -842,7 +842,7 @@ If PARENT is non-nil, it is somehow related as a parent to thing." ...@@ -842,7 +842,7 @@ If PARENT is non-nil, it is somehow related as a parent to thing."
;; ;;
(defgroup data-debug nil (defgroup data-debug nil
"data-debug group." "data-debug group."
:group 'langauges) :group 'languages)
(defvar data-debug-mode-syntax-table (defvar data-debug-mode-syntax-table
(let ((table (make-syntax-table (standard-syntax-table)))) (let ((table (make-syntax-table (standard-syntax-table))))
......
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
;; tag - A single entity ;; tag - A single entity
;; prefix - The beginning of a symbol, usually used to look up something ;; prefix - The beginning of a symbol, usually used to look up something
;; incomplete. ;; incomplete.
;; type - The name of a datatype in the langauge. ;; type - The name of a datatype in the language.
;; metatype - If a type is named in a declaration like: ;; metatype - If a type is named in a declaration like:
;; struct moose somevariable; ;; struct moose somevariable;
;; that name "moose" can be turned into a concrete type. ;; that name "moose" can be turned into a concrete type.
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
(defun semantic-analyze-push-error (err) (defun semantic-analyze-push-error (err)
"Push the error in ERR-DATA onto the error stack. "Push the error in ERR-DATA onto the error stack.
Argument ERR" Argument ERR."
(push err semantic-analyze-error-stack)) (push err semantic-analyze-error-stack))
;;; Analysis Classes ;;; Analysis Classes
...@@ -124,7 +124,7 @@ See `semantic-analyze-scoped-tags' for details.") ...@@ -124,7 +124,7 @@ See `semantic-analyze-scoped-tags' for details.")
(errors :initarg :errors (errors :initarg :errors
:documentation "Any errors thrown an caught during analysis.") :documentation "Any errors thrown an caught during analysis.")
) )
"Base analysis data for a any context.") "Base analysis data for any context.")
(defclass semantic-analyze-context-assignment (semantic-analyze-context) (defclass semantic-analyze-context-assignment (semantic-analyze-context)
((assignee :initarg :assignee ((assignee :initarg :assignee
...@@ -132,7 +132,7 @@ See `semantic-analyze-scoped-tags' for details.") ...@@ -132,7 +132,7 @@ See `semantic-analyze-scoped-tags' for details.")
:documentation "A sequence of tags for an assignee. :documentation "A sequence of tags for an assignee.
This is a variable into which some value is being placed. The last This is a variable into which some value is being placed. The last
item in the list is the variable accepting the value. Earlier item in the list is the variable accepting the value. Earlier
tags represent the variables being derefernece to get to the tags represent the variables being dereferenced to get to the
assignee.")) assignee."))
"Analysis class for a value in an assignment.") "Analysis class for a value in an assignment.")
...@@ -235,7 +235,7 @@ finding the details on the first element of SEQUENCE in case ...@@ -235,7 +235,7 @@ finding the details on the first element of SEQUENCE in case
it is not found in the global set of tables. it is not found in the global set of tables.
Optional argument SCOPE are additional terminals to search which are currently Optional argument SCOPE are additional terminals to search which are currently
scoped. These are not local variables, but symbols available in a structure scoped. These are not local variables, but symbols available in a structure
which doesn't need to be dereferneced. which doesn't need to be dereferenced.
Optional argument TYPERETURN is a symbol in which the types of all found Optional argument TYPERETURN is a symbol in which the types of all found
will be stored. If nil, that data is thrown away. will be stored. If nil, that data is thrown away.
Optional argument THROWSYM specifies a symbol the throw on non-recoverable error.") Optional 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,8 +345,8 @@ Optional argument THROWSYM specifies a symbol the throw on non-recoverable error
(defun semantic-analyze-find-tag (name &optional tagclass scope) (defun semantic-analyze-find-tag (name &optional tagclass scope)
"Return the first tag found with NAME or nil if not found. "Return the first tag found with NAME or nil if not found.
Optional argument TAGCLASS specifies the class of tag to return, such Optional argument TAGCLASS specifies the class of tag to return,
as 'function or 'variable. such as 'function or 'variable.
Optional argument SCOPE specifies a scope object which has Optional argument SCOPE specifies a scope object which has
additional tags which are in SCOPE and do not need prefixing to additional tags which are in SCOPE and do not need prefixing to
find. find.
......
...@@ -74,7 +74,7 @@ This function does not do any hidden buffer changes." ...@@ -74,7 +74,7 @@ This function does not do any hidden buffer changes."
(defcustom-mode-local-semantic-dependency-system-include-path (defcustom-mode-local-semantic-dependency-system-include-path
c-mode semantic-c-dependency-system-include-path c-mode semantic-c-dependency-system-include-path
'("/usr/include") '("/usr/include")
"The system include path used by the C langauge.") "The system include path used by the C language.")
(defcustom semantic-default-c-path nil (defcustom semantic-default-c-path nil
"Default set of include paths for C code. "Default set of include paths for C code.
...@@ -207,7 +207,7 @@ to store your global macros in a more natural way." ...@@ -207,7 +207,7 @@ to store your global macros in a more natural way."
) )
(defcustom semantic-c-member-of-autocast 't (defcustom semantic-c-member-of-autocast 't
"Non-nil means classes with a '->' operator will cast to it's return type. "Non-nil means classes with a '->' operator will cast to its return type.
For Examples: For Examples:
...@@ -444,7 +444,7 @@ It is really there, but if a majority of uses is to squeeze out ...@@ -444,7 +444,7 @@ It is really there, but if a majority of uses is to squeeze out
the second namespace in use, then it should not be included. the second namespace in use, then it should not be included.
If you are having problems with smart completion and STL templates, If you are having problems with smart completion and STL templates,
it may that this is set incorrectly. After changing the value it may be that this is set incorrectly. After changing the value
of this flag, you will need to delete any semanticdb cache files of this flag, you will need to delete any semanticdb cache files
that may have been incorrectly parsed." that may have been incorrectly parsed."
:group 'semantic :group 'semantic
...@@ -620,7 +620,7 @@ Use semantic-cpp-lexer for parsing text inside a CPP macro." ...@@ -620,7 +620,7 @@ Use semantic-cpp-lexer for parsing text inside a CPP macro."
(define-mode-local-override semantic-parse-region c-mode (define-mode-local-override semantic-parse-region c-mode
(start end &optional nonterminal depth returnonerror) (start end &optional nonterminal depth returnonerror)
"Calls 'semantic-parse-region-default', except in a macro expansion. "Calls `semantic-parse-region-default', except in a macro expansion.
MACRO expansion mode is handled through the nature of Emacs's non-lexical MACRO expansion mode is handled through the nature of Emacs's non-lexical
binding of variables. binding of variables.
START, END, NONTERMINAL, DEPTH, and RETURNONERRORS are the same START, END, NONTERMINAL, DEPTH, and RETURNONERRORS are the same
...@@ -713,7 +713,7 @@ the regular parser." ...@@ -713,7 +713,7 @@ the regular parser."
(funcall mode) (funcall mode)
(error (error
(if (y-or-n-p (if (y-or-n-p
(format "There was an error initializing %s in buffer \"%s\". Debug your hooks? " (format "There was an error initializing %s in buffer \"%s\". Debug your hooks? "
mode (buffer-name))) mode (buffer-name)))
(semantic-c-debug-mode-init mode) (semantic-c-debug-mode-init mode)
(message "Macro parsing state may be broken...") (message "Macro parsing state may be broken...")
...@@ -781,9 +781,9 @@ the regular parser." ...@@ -781,9 +781,9 @@ the regular parser."
(switch-to-buffer-other-window (switch-to-buffer-other-window
(get-buffer-create "*MODE HACK TEST*")) (get-buffer-create "*MODE HACK TEST*"))
(erase-buffer) (erase-buffer)
(insert "A failure occured while parsing your buffers. (insert "A failure occurred while parsing your buffers.
The failure occured while attempting to initialize " (symbol-name mm) " in a The failure occurred while attempting to initialize " (symbol-name mm) " in a
buffer not associated with a file. To debug this problem, type buffer not associated with a file. To debug this problem, type
M-x semantic-c-debug-mode-init M-x semantic-c-debug-mode-init
...@@ -967,7 +967,7 @@ now. ...@@ -967,7 +967,7 @@ now.
"At parse time, assign a class or struct name text here. "At parse time, assign a class or struct name text here.
It is picked up by `semantic-c-reconstitute-token' to determine It is picked up by `semantic-c-reconstitute-token' to determine
if something is a constructor. Value should be: if something is a constructor. Value should be:
( TYPENAME . TYPEOFTYPE) (TYPENAME . TYPEOFTYPE)
where typename is the name of the type, and typeoftype is \"class\" where typename is the name of the type, and typeoftype is \"class\"
or \"struct\".") or \"struct\".")
...@@ -1258,7 +1258,7 @@ Optional PARENT and COLOR as specified with ...@@ -1258,7 +1258,7 @@ Optional PARENT and COLOR as specified with
(define-mode-local-override semantic-format-tag-uml-prototype (define-mode-local-override semantic-format-tag-uml-prototype
c-mode (token &optional parent color) c-mode (token &optional parent color)
"Return an uml string describing TOKEN for C and C++. "Return an UML string describing TOKEN for C and C++.
Optional PARENT and COLOR as specified with Optional PARENT and COLOR as specified with
`semantic-abbreviate-tag-default'." `semantic-abbreviate-tag-default'."
;; If we have special template things, append. ;; If we have special template things, append.
...@@ -1381,7 +1381,7 @@ TYPE-DECLARATION is passed through." ...@@ -1381,7 +1381,7 @@ TYPE-DECLARATION is passed through."
(defun semantic-c-dereference-namespace (type scope &optional type-declaration) (defun semantic-c-dereference-namespace (type scope &optional type-declaration)
"Dereference namespace which might hold an 'alias' for TYPE. "Dereference namespace which might hold an 'alias' for TYPE.
Such an alias can be created through 'using' statements in a Such an alias can be created through 'using' statements in a
namespace declaration. This function checks the namespaces in namespace declaration. This function checks the namespaces in
SCOPE for such statements." SCOPE for such statements."
(let ((scopetypes (oref scope scopetypes)) (let ((scopetypes (oref scope scopetypes))
typename currentns tmp usingname result namespaces) typename currentns tmp usingname result namespaces)
...@@ -1518,7 +1518,7 @@ Handle typedef, template instantiation, and '->' operator." ...@@ -1518,7 +1518,7 @@ Handle typedef, template instantiation, and '->' operator."
(list type type-declaration)) (list type type-declaration))
(define-mode-local-override semantic-analyze-type-constants c-mode (type) (define-mode-local-override semantic-analyze-type-constants c-mode (type)
"When TYPE is a tag for an enum, return it's parts. "When TYPE is a tag for an enum, return its parts.
These are constants which are of type TYPE." These are constants which are of type TYPE."
(if (and (eq (semantic-tag-class type) 'type) (if (and (eq (semantic-tag-class type) 'type)
(string= (semantic-tag-type type) "enum")) (string= (semantic-tag-type type) "enum"))
...@@ -1618,7 +1618,7 @@ DO NOT return the list of tags encompassing point." ...@@ -1618,7 +1618,7 @@ DO NOT return the list of tags encompassing point."
(semantic-idle-summary-current-symbol-info-default)))) (semantic-idle-summary-current-symbol-info-default))))