diff options
| author | Kenichi Handa | 2010-01-13 10:33:19 +0900 |
|---|---|---|
| committer | Kenichi Handa | 2010-01-13 10:33:19 +0900 |
| commit | d1bf28dc12ef1a0f3cecbf78f38795db27b38574 (patch) | |
| tree | f7030cdefb9d5d8423619e7d70273ae98c011821 | |
| parent | dc954cb273234237b615b93b6368d4adbdea31c4 (diff) | |
| parent | ca22a44072c65a233af5b4c12256dc5fd266cb85 (diff) | |
| download | emacs-d1bf28dc12ef1a0f3cecbf78f38795db27b38574.tar.gz emacs-d1bf28dc12ef1a0f3cecbf78f38795db27b38574.zip | |
merge trunk
| -rw-r--r-- | ChangeLog | 13 | ||||
| -rw-r--r-- | INSTALL.BZR | 7 | ||||
| -rw-r--r-- | README | 10 | ||||
| -rw-r--r-- | admin/ChangeLog | 5 | ||||
| -rw-r--r-- | admin/emacs-pretesters | 3 | ||||
| -rwxr-xr-x | admin/make-announcement | 6 | ||||
| -rwxr-xr-x | configure | 75 | ||||
| -rw-r--r-- | configure.in | 7 | ||||
| -rw-r--r-- | doc/emacs/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/emacs/trouble.texi | 9 | ||||
| -rw-r--r-- | etc/CONTRIBUTE | 8 | ||||
| -rw-r--r-- | etc/ChangeLog | 5 | ||||
| -rw-r--r-- | etc/NEWS | 4 | ||||
| -rw-r--r-- | lisp/ChangeLog | 40 | ||||
| -rw-r--r-- | lisp/cedet/data-debug.el | 2 | ||||
| -rw-r--r-- | lisp/cedet/semantic/analyze.el | 14 | ||||
| -rw-r--r-- | lisp/cedet/semantic/bovine/c.el | 26 | ||||
| -rw-r--r-- | lisp/cedet/semantic/bovine/el.el | 18 | ||||
| -rw-r--r-- | lisp/cedet/semantic/bovine/make.el | 2 | ||||
| -rw-r--r-- | lisp/cedet/semantic/java.el | 8 | ||||
| -rw-r--r-- | lisp/cedet/semantic/wisent/python-wy.el | 8 | ||||
| -rw-r--r-- | lisp/cedet/semantic/wisent/python.el | 18 | ||||
| -rw-r--r-- | lisp/cedet/srecode/extract.el | 4 | ||||
| -rw-r--r-- | lisp/files.el | 15 | ||||
| -rw-r--r-- | lisp/mail/emacsbug.el | 8 | ||||
| -rw-r--r-- | src/ChangeLog | 14 | ||||
| -rw-r--r-- | src/emacs.c | 6 | ||||
| -rw-r--r-- | src/keyboard.c | 12 |
28 files changed, 257 insertions, 95 deletions
| @@ -1,3 +1,16 @@ | |||
| 1 | 2010-01-12 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * .bzrignore: Ignore all .exe, instead of individual files. | ||
| 4 | |||
| 5 | 2010-01-12 Chong Yidong <cyd@stupidchicken.com> | ||
| 6 | |||
| 7 | * configure.in: Explicitly check for and link to -lXrender. | ||
| 8 | |||
| 9 | 2010-01-12 Glenn Morris <rgm@gnu.org> | ||
| 10 | |||
| 11 | * INSTALL.BZR, README: Use bug-gnu-emacs rather than emacs-pretest-bug | ||
| 12 | for bug reports for development versions. | ||
| 13 | |||
| 1 | 2010-01-02 Eli Zaretskii <eliz@gnu.org> | 14 | 2010-01-02 Eli Zaretskii <eliz@gnu.org> |
| 2 | 15 | ||
| 3 | * .bzrignore: Add more ignored patterns, including for the MS-DOS | 16 | * .bzrignore: Add more ignored patterns, including for the MS-DOS |
diff --git a/INSTALL.BZR b/INSTALL.BZR index 3840d5a5a7e..ea681f305b2 100644 --- a/INSTALL.BZR +++ b/INSTALL.BZR | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 | 1 | Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 |
| 2 | Free Software Foundation, Inc. | 2 | Free Software Foundation, Inc. |
| 3 | See the end of the file for license conditions. | 3 | See the end of the file for license conditions. |
| 4 | 4 | ||
| @@ -54,9 +54,8 @@ etc.) before "make bootstrap" or "make"; the rest of the procedure is | |||
| 54 | applicable to those systems as well. | 54 | applicable to those systems as well. |
| 55 | 55 | ||
| 56 | Questions, requests, and bug reports about the Bazaar versions of Emacs | 56 | Questions, requests, and bug reports about the Bazaar versions of Emacs |
| 57 | should be sent to emacs-pretest-bug@gnu.org rather than gnu.emacs.help | 57 | should be sent to bug-gnu-emacs@gnu.org rather than gnu.emacs.help. |
| 58 | or gnu.emacs.bug. Ideally, use M-x report-emacs-bug RET which will | 58 | Ideally, use M-x report-emacs-bug RET. |
| 59 | send it to the proper place. | ||
| 60 | 59 | ||
| 61 | Because the Bazaar version of Emacs is a work in progress, it will | 60 | Because the Bazaar version of Emacs is a work in progress, it will |
| 62 | sometimes fail to build. Please wait a day or so (and check the bug | 61 | sometimes fail to build. Please wait a day or so (and check the bug |
| @@ -1,5 +1,5 @@ | |||
| 1 | Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 | 1 | Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, |
| 2 | Free Software Foundation, Inc. | 2 | 2010 Free Software Foundation, Inc. |
| 3 | See the end of the file for license conditions. | 3 | See the end of the file for license conditions. |
| 4 | 4 | ||
| 5 | 5 | ||
| @@ -19,10 +19,8 @@ occur in building, installing and running Emacs. | |||
| 19 | You may encounter bugs in this release. If you do, please report | 19 | You may encounter bugs in this release. If you do, please report |
| 20 | them; your bug reports are valuable contributions to the FSF, since | 20 | them; your bug reports are valuable contributions to the FSF, since |
| 21 | they allow us to notice and fix problems on machines we don't have, or | 21 | they allow us to notice and fix problems on machines we don't have, or |
| 22 | in code we don't use often. Please send bug reports for released | 22 | in code we don't use often. Please send bug reports to the mailing |
| 23 | versions of Emacs sent to the mailing list bug-gnu-emacs@gnu.org. | 23 | list bug-gnu-emacs@gnu.org. If possible, use M-x report-emacs-bug. |
| 24 | Please send bug reports for pretest versions of Emacs, and versions | ||
| 25 | from the Savannah.gnu.org repository, to emacs-pretest-bug@gnu.org. | ||
| 26 | 24 | ||
| 27 | See the "Bugs" section of the Emacs manual for more information on how | 25 | See the "Bugs" section of the Emacs manual for more information on how |
| 28 | to report bugs. (The file `BUGS' in this directory explains how you | 26 | to report bugs. (The file `BUGS' in this directory explains how you |
diff --git a/admin/ChangeLog b/admin/ChangeLog index 7d56b2aeb5e..b0ed28d37ee 100644 --- a/admin/ChangeLog +++ b/admin/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2010-01-12 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * emacs-pretesters, make-announcement: Use bug-gnu-emacs rather | ||
| 4 | than emacs-pretest-bug for bug reports for development versions. | ||
| 5 | |||
| 1 | 2009-11-06 Kenichi Handa <handa@m17n.org> | 6 | 2009-11-06 Kenichi Handa <handa@m17n.org> |
| 2 | 7 | ||
| 3 | * unidata/unidata-gen.el (unidata-gen-table): Fix for the case | 8 | * unidata/unidata-gen.el (unidata-gen-table): Fix for the case |
diff --git a/admin/emacs-pretesters b/admin/emacs-pretesters index 4ea98c16dfc..2e1ee64b248 100644 --- a/admin/emacs-pretesters +++ b/admin/emacs-pretesters | |||
| @@ -89,8 +89,7 @@ The etc/MACHINES file may describe other things that you need to do | |||
| 89 | to make Emacs work on your machine. If so, you should follow these | 89 | to make Emacs work on your machine. If so, you should follow these |
| 90 | recommendations also, for the same reason. | 90 | recommendations also, for the same reason. |
| 91 | 91 | ||
| 92 | * Send your problem reports to emacs-pretest-bug@gnu.org, not | 92 | * Send your problem reports to bug-gnu-emacs@gnu.org. |
| 93 | bug-gnu-emacs. | ||
| 94 | 93 | ||
| 95 | Sometimes we won't know what to do about a system-dependent issue, and | 94 | Sometimes we won't know what to do about a system-dependent issue, and |
| 96 | we may need people to say what happens if you try a certain thing on a | 95 | we may need people to say what happens if you try a certain thing on a |
diff --git a/admin/make-announcement b/admin/make-announcement index 1c27c59ab50..37ab76c0f05 100755 --- a/admin/make-announcement +++ b/admin/make-announcement | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | #! /bin/bash | 1 | #! /bin/bash |
| 2 | 2 | ||
| 3 | ## Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 | 3 | ## Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, |
| 4 | ## Free Software Foundation, Inc. | 4 | ## 2010 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ## Author: Francesco Potorti` <pot@gnu.org> | 6 | ## Author: Francesco Potorti` <pot@gnu.org> |
| 7 | 7 | ||
| @@ -59,7 +59,7 @@ There is a new pretest available in | |||
| 59 | <ftp://alpha.gnu.org/gnu/emacs/pretest/emacs-$NEW.tar.gz> | 59 | <ftp://alpha.gnu.org/gnu/emacs/pretest/emacs-$NEW.tar.gz> |
| 60 | 60 | ||
| 61 | Please report results from compiling and running the pretest to | 61 | Please report results from compiling and running the pretest to |
| 62 | <emacs-pretest-bug@gnu.org>. Your feedback is necessary for us | 62 | <bug-gnu-emacs@gnu.org>. Your feedback is necessary for us |
| 63 | to know on which platforms the pretest has been tried. | 63 | to know on which platforms the pretest has been tried. |
| 64 | 64 | ||
| 65 | If you have the tars from the previous pretest, and you have the | 65 | If you have the tars from the previous pretest, and you have the |
| @@ -13663,12 +13663,85 @@ $as_echo "no" >&6; } | |||
| 13663 | HAVE_XFT=no | 13663 | HAVE_XFT=no |
| 13664 | fi | 13664 | fi |
| 13665 | 13665 | ||
| 13666 | if test "$HAVE_XFT" != no; then | 13666 | ## Because xftfont.c uses XRenderQueryExtension, we also |
| 13667 | ## need to link to -lXrender. | ||
| 13668 | HAVE_XRENDER=no | ||
| 13669 | { $as_echo "$as_me:$LINENO: checking for XRenderQueryExtension in -lXrender" >&5 | ||
| 13670 | $as_echo_n "checking for XRenderQueryExtension in -lXrender... " >&6; } | ||
| 13671 | if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then | ||
| 13672 | $as_echo_n "(cached) " >&6 | ||
| 13673 | else | ||
| 13674 | ac_check_lib_save_LIBS=$LIBS | ||
| 13675 | LIBS="-lXrender $LIBS" | ||
| 13676 | cat >conftest.$ac_ext <<_ACEOF | ||
| 13677 | /* confdefs.h. */ | ||
| 13678 | _ACEOF | ||
| 13679 | cat confdefs.h >>conftest.$ac_ext | ||
| 13680 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 13681 | /* end confdefs.h. */ | ||
| 13682 | |||
| 13683 | /* Override any GCC internal prototype to avoid an error. | ||
| 13684 | Use char because int might match the return type of a GCC | ||
| 13685 | builtin and then its argument prototype would still apply. */ | ||
| 13686 | #ifdef __cplusplus | ||
| 13687 | extern "C" | ||
| 13688 | #endif | ||
| 13689 | char XRenderQueryExtension (); | ||
| 13690 | int | ||
| 13691 | main () | ||
| 13692 | { | ||
| 13693 | return XRenderQueryExtension (); | ||
| 13694 | ; | ||
| 13695 | return 0; | ||
| 13696 | } | ||
| 13697 | _ACEOF | ||
| 13698 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 13699 | if { (ac_try="$ac_link" | ||
| 13700 | case "(($ac_try" in | ||
| 13701 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 13702 | *) ac_try_echo=$ac_try;; | ||
| 13703 | esac | ||
| 13704 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 13705 | $as_echo "$ac_try_echo") >&5 | ||
| 13706 | (eval "$ac_link") 2>conftest.er1 | ||
| 13707 | ac_status=$? | ||
| 13708 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 13709 | rm -f conftest.er1 | ||
| 13710 | cat conftest.err >&5 | ||
| 13711 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13712 | (exit $ac_status); } && { | ||
| 13713 | test -z "$ac_c_werror_flag" || | ||
| 13714 | test ! -s conftest.err | ||
| 13715 | } && test -s conftest$ac_exeext && { | ||
| 13716 | test "$cross_compiling" = yes || | ||
| 13717 | $as_test_x conftest$ac_exeext | ||
| 13718 | }; then | ||
| 13719 | ac_cv_lib_Xrender_XRenderQueryExtension=yes | ||
| 13720 | else | ||
| 13721 | $as_echo "$as_me: failed program was:" >&5 | ||
| 13722 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 13723 | |||
| 13724 | ac_cv_lib_Xrender_XRenderQueryExtension=no | ||
| 13725 | fi | ||
| 13726 | |||
| 13727 | rm -rf conftest.dSYM | ||
| 13728 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 13729 | conftest$ac_exeext conftest.$ac_ext | ||
| 13730 | LIBS=$ac_check_lib_save_LIBS | ||
| 13731 | fi | ||
| 13732 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5 | ||
| 13733 | $as_echo "$ac_cv_lib_Xrender_XRenderQueryExtension" >&6; } | ||
| 13734 | if test $ac_cv_lib_Xrender_XRenderQueryExtension = yes; then | ||
| 13735 | HAVE_XRENDER=yes | ||
| 13736 | fi | ||
| 13737 | |||
| 13738 | if test "$HAVE_XFT" != no && test "$HAVE_XRENDER" != no; then | ||
| 13667 | OLD_CPPFLAGS="$CPPFLAGS" | 13739 | OLD_CPPFLAGS="$CPPFLAGS" |
| 13668 | OLD_CFLAGS="$CFLAGS" | 13740 | OLD_CFLAGS="$CFLAGS" |
| 13669 | OLD_LIBS="$LIBS" | 13741 | OLD_LIBS="$LIBS" |
| 13670 | CPPFLAGS="$CPPFLAGS $XFT_CFLAGS" | 13742 | CPPFLAGS="$CPPFLAGS $XFT_CFLAGS" |
| 13671 | CFLAGS="$CFLAGS $XFT_CFLAGS" | 13743 | CFLAGS="$CFLAGS $XFT_CFLAGS" |
| 13744 | XFT_LIBS="-lXrender $XFT_LIBS" | ||
| 13672 | LIBS="$XFT_LIBS $LIBS" | 13745 | LIBS="$XFT_LIBS $LIBS" |
| 13673 | if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then | 13746 | if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then |
| 13674 | { $as_echo "$as_me:$LINENO: checking for X11/Xft/Xft.h" >&5 | 13747 | { $as_echo "$as_me:$LINENO: checking for X11/Xft/Xft.h" >&5 |
diff --git a/configure.in b/configure.in index c36c6b2aa3b..39b16c66928 100644 --- a/configure.in +++ b/configure.in | |||
| @@ -1984,12 +1984,17 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 1984 | if test "x${with_xft}" != "xno"; then | 1984 | if test "x${with_xft}" != "xno"; then |
| 1985 | 1985 | ||
| 1986 | PKG_CHECK_MODULES(XFT, xft >= 0.13.0, , HAVE_XFT=no) | 1986 | PKG_CHECK_MODULES(XFT, xft >= 0.13.0, , HAVE_XFT=no) |
| 1987 | if test "$HAVE_XFT" != no; then | 1987 | ## Because xftfont.c uses XRenderQueryExtension, we also |
| 1988 | ## need to link to -lXrender. | ||
| 1989 | HAVE_XRENDER=no | ||
| 1990 | AC_CHECK_LIB(Xrender, XRenderQueryExtension, HAVE_XRENDER=yes) | ||
| 1991 | if test "$HAVE_XFT" != no && test "$HAVE_XRENDER" != no; then | ||
| 1988 | OLD_CPPFLAGS="$CPPFLAGS" | 1992 | OLD_CPPFLAGS="$CPPFLAGS" |
| 1989 | OLD_CFLAGS="$CFLAGS" | 1993 | OLD_CFLAGS="$CFLAGS" |
| 1990 | OLD_LIBS="$LIBS" | 1994 | OLD_LIBS="$LIBS" |
| 1991 | CPPFLAGS="$CPPFLAGS $XFT_CFLAGS" | 1995 | CPPFLAGS="$CPPFLAGS $XFT_CFLAGS" |
| 1992 | CFLAGS="$CFLAGS $XFT_CFLAGS" | 1996 | CFLAGS="$CFLAGS $XFT_CFLAGS" |
| 1997 | XFT_LIBS="-lXrender $XFT_LIBS" | ||
| 1993 | LIBS="$XFT_LIBS $LIBS" | 1998 | LIBS="$XFT_LIBS $LIBS" |
| 1994 | AC_CHECK_HEADER(X11/Xft/Xft.h, | 1999 | AC_CHECK_HEADER(X11/Xft/Xft.h, |
| 1995 | AC_CHECK_LIB(Xft, XftFontOpen, HAVE_XFT=yes, , $XFT_LIBS)) | 2000 | AC_CHECK_LIB(Xft, XftFontOpen, HAVE_XFT=yes, , $XFT_LIBS)) |
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index 77864c63f4c..131f10abc31 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2010-01-12 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * trouble.texi (Checklist): Use bug-gnu-emacs rather than | ||
| 4 | emacs-pretest-bug for bug reports for development versions. | ||
| 5 | |||
| 1 | 2010-01-11 Glenn Morris <rgm@gnu.org> | 6 | 2010-01-11 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * display.texi (Highlight Interactively): `t' does not mean highlight | 8 | * display.texi (Highlight Interactively): `t' does not mean highlight |
diff --git a/doc/emacs/trouble.texi b/doc/emacs/trouble.texi index cec7ead74ae..218aa3a64d4 100644 --- a/doc/emacs/trouble.texi +++ b/doc/emacs/trouble.texi | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | @c This is part of the Emacs manual. | 1 | @c This is part of the Emacs manual. |
| 2 | @c Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1997, 2001, 2002, | 2 | @c Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1997, 2001, 2002, |
| 3 | @c 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. | 3 | @c 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 |
| 4 | @c Free Software Foundation, Inc. | ||
| 4 | @c See file emacs.texi for copying conditions. | 5 | @c See file emacs.texi for copying conditions. |
| 5 | @iftex | 6 | @iftex |
| 6 | @chapter Dealing with Common Problems | 7 | @chapter Dealing with Common Problems |
| @@ -540,10 +541,8 @@ well. | |||
| 540 | 541 | ||
| 541 | @cindex reporting bugs | 542 | @cindex reporting bugs |
| 542 | The best way to send a bug report is to mail it electronically to the | 543 | The best way to send a bug report is to mail it electronically to the |
| 543 | Emacs maintainers at @email{bug-gnu-emacs@@gnu.org}, or to | 544 | Emacs maintainers at @email{bug-gnu-emacs@@gnu.org}. (If you want to |
| 544 | @email{emacs-pretest-bug@@gnu.org} if you are pretesting an Emacs beta | 545 | suggest a change as an improvement, use the same address.) |
| 545 | release. (If you want to suggest a change as an improvement, use the | ||
| 546 | same address.) | ||
| 547 | 546 | ||
| 548 | If you'd like to read the bug reports, you can find them on the | 547 | If you'd like to read the bug reports, you can find them on the |
| 549 | newsgroup @samp{gnu.emacs.bug}; keep in mind, however, that as a | 548 | newsgroup @samp{gnu.emacs.bug}; keep in mind, however, that as a |
diff --git a/etc/CONTRIBUTE b/etc/CONTRIBUTE index 2807a58cae1..1ae0a690018 100644 --- a/etc/CONTRIBUTE +++ b/etc/CONTRIBUTE | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | Copyright (C) 2006, 2007, 2008, 2009 Free Software Foundation, Inc. | 1 | Copyright (C) 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. |
| 2 | See end for license conditions. | 2 | See end for license conditions. |
| 3 | 3 | ||
| 4 | 4 | ||
| @@ -73,7 +73,7 @@ Every patch must have several pieces of information before we | |||
| 73 | can properly evaluate it. | 73 | can properly evaluate it. |
| 74 | 74 | ||
| 75 | When you have all these pieces, bundle them up in a mail message and | 75 | When you have all these pieces, bundle them up in a mail message and |
| 76 | send it to emacs-pretest-bug@gnu.org or emacs-devel@gnu.org. | 76 | send it to bug-gnu-emacs@gnu.org or emacs-devel@gnu.org. |
| 77 | 77 | ||
| 78 | All subsequent discussion should also be sent to the mailing list. | 78 | All subsequent discussion should also be sent to the mailing list. |
| 79 | 79 | ||
| @@ -149,9 +149,7 @@ giving you write access to the CVS repository. | |||
| 149 | 149 | ||
| 150 | Discussion about Emacs development takes place on emacs-devel@gnu.org. | 150 | Discussion about Emacs development takes place on emacs-devel@gnu.org. |
| 151 | 151 | ||
| 152 | Bug reports for released versions are sent to bug-gnu-emacs@gnu.org. | 152 | Bug reports are sent to bug-gnu-emacs@gnu.org. |
| 153 | |||
| 154 | Bug reports for development versions are sent to emacs-pretest-bug@gnu.org. | ||
| 155 | 153 | ||
| 156 | You can subscribe to the mailing lists at savannah.gnu.org/projects/emacs. | 154 | You can subscribe to the mailing lists at savannah.gnu.org/projects/emacs. |
| 157 | 155 | ||
diff --git a/etc/ChangeLog b/etc/ChangeLog index 176076f066a..d2ee1bd034c 100644 --- a/etc/ChangeLog +++ b/etc/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2010-01-12 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * CONTRIBUTE, NEWS: Use bug-gnu-emacs rather than emacs-pretest-bug | ||
| 4 | for bug reports for development versions. | ||
| 5 | |||
| 1 | 2010-01-01 Juanma Barranquero <lekktu@gmail.com> | 6 | 2010-01-01 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 7 | ||
| 3 | * NEWS: Fix typos. | 8 | * NEWS: Fix typos. |
| @@ -1,9 +1,9 @@ | |||
| 1 | GNU Emacs NEWS -- history of user-visible changes. | 1 | GNU Emacs NEWS -- history of user-visible changes. |
| 2 | 2 | ||
| 3 | Copyright (C) 2007, 2008, 2009 Free Software Foundation, Inc. | 3 | Copyright (C) 2007, 2008, 2009, 2010 Free Software Foundation, Inc. |
| 4 | See the end of the file for license conditions. | 4 | See the end of the file for license conditions. |
| 5 | 5 | ||
| 6 | Please send Emacs bug reports to emacs-pretest-bug@gnu.org. | 6 | Please send Emacs bug reports to bug-gnu-emacs@gnu.org. |
| 7 | If possible, use M-x report-emacs-bug. | 7 | If possible, use M-x report-emacs-bug. |
| 8 | 8 | ||
| 9 | This file is about changes in Emacs version 23. | 9 | This file is about changes in Emacs version 23. |
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f8248d837b1..3c95811a8fc 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,43 @@ | |||
| 1 | 2010-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 | |||
| 6 | 2010-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 | |||
| 11 | 2010-01-12 Juanma Barranquero <lekktu@gmail.com> | ||
| 12 | |||
| 13 | * cedet/data-debug.el (data-debug): Fix customization group reference. | ||
| 14 | |||
| 15 | 2010-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 | |||
| 1 | 2010-01-11 Sam Steingold <sds@gnu.org> | 41 | 2010-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. |
| 86 | Argument ERR" | 86 | Argument 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. |
| 133 | This is a variable into which some value is being placed. The last | 133 | This is a variable into which some value is being placed. The last |
| 134 | item in the list is the variable accepting the value. Earlier | 134 | item in the list is the variable accepting the value. Earlier |
| 135 | tags represent the variables being derefernece to get to the | 135 | tags represent the variables being dereferenced to get to the |
| 136 | assignee.")) | 136 | assignee.")) |
| 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 | |||
| 235 | it is not found in the global set of tables. | 235 | it is not found in the global set of tables. |
| 236 | Optional argument SCOPE are additional terminals to search which are currently | 236 | Optional argument SCOPE are additional terminals to search which are currently |
| 237 | scoped. These are not local variables, but symbols available in a structure | 237 | scoped. These are not local variables, but symbols available in a structure |
| 238 | which doesn't need to be dereferneced. | 238 | which doesn't need to be dereferenced. |
| 239 | Optional argument TYPERETURN is a symbol in which the types of all found | 239 | Optional argument TYPERETURN is a symbol in which the types of all found |
| 240 | will be stored. If nil, that data is thrown away. | 240 | will be stored. If nil, that data is thrown away. |
| 241 | Optional argument THROWSYM specifies a symbol the throw on non-recoverable error.") | 241 | 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 | 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. |
| 348 | Optional argument TAGCLASS specifies the class of tag to return, such | 348 | Optional argument TAGCLASS specifies the class of tag to return, |
| 349 | as 'function or 'variable. | 349 | such as 'function or 'variable. |
| 350 | Optional argument SCOPE specifies a scope object which has | 350 | Optional argument SCOPE specifies a scope object which has |
| 351 | additional tags which are in SCOPE and do not need prefixing to | 351 | additional tags which are in SCOPE and do not need prefixing to |
| 352 | find. | 352 | find. |
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 | ||
| 212 | For Examples: | 212 | For Examples: |
| 213 | 213 | ||
| @@ -444,7 +444,7 @@ It is really there, but if a majority of uses is to squeeze out | |||
| 444 | the second namespace in use, then it should not be included. | 444 | the second namespace in use, then it should not be included. |
| 445 | 445 | ||
| 446 | If you are having problems with smart completion and STL templates, | 446 | If you are having problems with smart completion and STL templates, |
| 447 | it may that this is set incorrectly. After changing the value | 447 | it may be that this is set incorrectly. After changing the value |
| 448 | of this flag, you will need to delete any semanticdb cache files | 448 | of this flag, you will need to delete any semanticdb cache files |
| 449 | that may have been incorrectly parsed." | 449 | that 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. |
| 624 | MACRO expansion mode is handled through the nature of Emacs's non-lexical | 624 | MACRO expansion mode is handled through the nature of Emacs's non-lexical |
| 625 | binding of variables. | 625 | binding of variables. |
| 626 | START, END, NONTERMINAL, DEPTH, and RETURNONERRORS are the same | 626 | START, 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 | ||
| 786 | The failure occured while attempting to initialize " (symbol-name mm) " in a | 786 | The failure occurred while attempting to initialize " (symbol-name mm) " in a |
| 787 | buffer not associated with a file. To debug this problem, type | 787 | buffer not associated with a file. To debug this problem, type |
| 788 | 788 | ||
| 789 | M-x semantic-c-debug-mode-init | 789 | M-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. |
| 968 | It is picked up by `semantic-c-reconstitute-token' to determine | 968 | It is picked up by `semantic-c-reconstitute-token' to determine |
| 969 | if something is a constructor. Value should be: | 969 | if something is a constructor. Value should be: |
| 970 | ( TYPENAME . TYPEOFTYPE) | 970 | (TYPENAME . TYPEOFTYPE) |
| 971 | where typename is the name of the type, and typeoftype is \"class\" | 971 | where typename is the name of the type, and typeoftype is \"class\" |
| 972 | or \"struct\".") | 972 | or \"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++. |
| 1262 | Optional PARENT and COLOR as specified with | 1262 | Optional 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. |
| 1383 | Such an alias can be created through 'using' statements in a | 1383 | Such an alias can be created through 'using' statements in a |
| 1384 | namespace declaration. This function checks the namespaces in | 1384 | namespace declaration. This function checks the namespaces in |
| 1385 | SCOPE for such statements." | 1385 | SCOPE 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. |
| 1522 | These are constants which are of type TYPE." | 1522 | These 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. |
| 143 | For Emacs Lisp, sometimes that string is non-existent. | 143 | For Emacs Lisp, sometimes that string is non-existent. |
| 144 | Sometimes it is a form which is evaluated at compile time, permitting | 144 | Sometimes it is a form which is evaluated at compile time, permitting |
| 145 | compound strings." | 145 | compound 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. |
| 498 | Unfortunately, this requires that the tag in question has been loaded | 498 | Unfortunately, this requires that the tag in question has been loaded |
| 499 | into Emacs Lisp's memory." | 499 | into 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. |
| 603 | A Context in many languages is a block with it's own local variables. | 603 | A Context in many languages is a block with its own local variables. |
| 604 | In Emacs, we will move up lists and stop when one starts with one of | 604 | In Emacs, we will move up lists and stop when one starts with one of |
| 605 | the following context specifiers: | 605 | the 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. |
| 667 | Scan backwards from point at each successive function. For all occurances | 667 | Scan backwards from point at each successive function. For all occurrences |
| 668 | of `let' or `let*', grab those variable names." | 668 | of `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. |
| 726 | In emacs lisp this is easilly defined by parenthisis bounding." | 726 | In 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. |
| 734 | In emacs lisp this is easilly defined by parenthisis bounding." | 734 | In 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. |
| 826 | Emacs Lisp knows much more about the class of the tag needed to perform | 826 | Emacs Lisp knows much more about the class of the tag needed to perform |
| 827 | completion than some langauges. We distincly know if we are to be | 827 | completion than some languages. We distincly know if we are to be a |
| 828 | a function name, variable name, or any type of symbol. We could identify | 828 | function name, variable name, or any type of symbol. We could identify |
| 829 | fields and such to, but that is for some other day." | 829 | fields 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." | |||
| 939 | ELisp variables can be pretty long, so track this one too.") | 939 | ELisp 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. |
| 373 | Return the list of FUN results. If optional PROPERTY is non nil only | 373 | Return the list of FUN results. If optional PROPERTY is non nil only |
| 374 | call FUN for javadoc keyword which have a value for PROPERTY. FUN | 374 | call FUN for javadoc keywords which have a value for PROPERTY. FUN |
| 375 | receives two arguments: the javadoc keyword and its associated | 375 | receives 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 |
| 377 | removed from the result list." | 377 | removed 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. |
| 58 | That is, if inside an expressions in parentheses, square brackets or | 58 | That is, if inside an expression in parentheses, square brackets or |
| 59 | curly braces." | 59 | curly 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. |
| 205 | Just skip the newline character if the following line is an implicit | 205 | Just skip the newline character if the following line is an implicit |
| 206 | continuation of current line." | 206 | continuation 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. |
| 260 | See the function `semantic-lex' for the meaning of the START, END, | 260 | See the function `semantic-lex' for the meaning of the START, END, |
| 261 | DEPTH and LENGTH arguments. | 261 | DEPTH and LENGTH arguments. |
| 262 | This function calls `wisent-python-lexer' to actually perform the | 262 | This function calls `wisent-python-lexer' to actually perform the |
| 263 | lexical analysis, then emits the necessary python DEDENT tokens from | 263 | lexical analysis, then emits the necessary Python DEDENT tokens from |
| 264 | what remains in the `wisent-python-indent-stack'." | 264 | what 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. |
| 275 | To be implemented for python! For now just return nil." | 275 | To 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. |
| 100 | Optional STARTRETURN is a symbol in which the start of the first | 100 | Optional STARTRETURN is a symbol in which the start of the first |
| 101 | plain-text match occured." | 101 | plain-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." |
diff --git a/src/ChangeLog b/src/ChangeLog index 55e69ff9340..6e3fc4ff1c5 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -16,6 +16,20 @@ | |||
| 16 | * composite.c (composition_reseat_it): Don't check PT if STRING is | 16 | * composite.c (composition_reseat_it): Don't check PT if STRING is |
| 17 | non nil. | 17 | non nil. |
| 18 | 18 | ||
| 19 | 2010-01-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | ||
| 20 | |||
| 21 | * keyboard.c (read_char): Don't apply previous change when current | ||
| 22 | buffer is unchanged by command execution. | ||
| 23 | |||
| 24 | 2010-01-12 Jan Djärv <jan.h.d@swipnet.se> | ||
| 25 | |||
| 26 | * keyboard.c (read_char): Return after executing from special map. | ||
| 27 | |||
| 28 | 2010-01-12 Glenn Morris <rgm@gnu.org> | ||
| 29 | |||
| 30 | * emacs.c (REPORT_EMACS_BUG_PRETEST_ADDRESS): Set it to | ||
| 31 | bug-gnu-emacs rather than emacs-pretest-bug. | ||
| 32 | |||
| 19 | 2010-01-11 Chong Yidong <cyd@stupidchicken.com> | 33 | 2010-01-11 Chong Yidong <cyd@stupidchicken.com> |
| 20 | 34 | ||
| 21 | * nsterm.m (syms_of_nsterm): Initialize Qcontrol etc. before | 35 | * nsterm.m (syms_of_nsterm): Initialize Qcontrol etc. before |
diff --git a/src/emacs.c b/src/emacs.c index 8b88985969b..dc19c13e8a8 100644 --- a/src/emacs.c +++ b/src/emacs.c | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* Fully extensible Emacs, running on Unix, intended for GNU. | 1 | /* Fully extensible Emacs, running on Unix, intended for GNU. |
| 2 | Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1997, 1998, 1999, | 2 | Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1997, 1998, 1999, |
| 3 | 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 | 3 | 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, |
| 4 | Free Software Foundation, Inc. | 4 | 2010 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 7 | 7 | ||
| @@ -747,7 +747,7 @@ void (*__malloc_initialize_hook) () = malloc_initialize_hook; | |||
| 747 | 747 | ||
| 748 | 748 | ||
| 749 | #define REPORT_EMACS_BUG_ADDRESS "bug-gnu-emacs@gnu.org" | 749 | #define REPORT_EMACS_BUG_ADDRESS "bug-gnu-emacs@gnu.org" |
| 750 | #define REPORT_EMACS_BUG_PRETEST_ADDRESS "emacs-pretest-bug@gnu.org" | 750 | #define REPORT_EMACS_BUG_PRETEST_ADDRESS "bug-gnu-emacs@gnu.org" |
| 751 | 751 | ||
| 752 | /* This function is used to determine an address to which bug report should | 752 | /* This function is used to determine an address to which bug report should |
| 753 | be sent. */ | 753 | be sent. */ |
diff --git a/src/keyboard.c b/src/keyboard.c index 13d13cd3276..3b57c6e470f 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -3155,6 +3155,7 @@ read_char (commandflag, nmaps, maps, prev_event, used_mouse_menu, end_time) | |||
| 3155 | 3155 | ||
| 3156 | if (!NILP (tem)) | 3156 | if (!NILP (tem)) |
| 3157 | { | 3157 | { |
| 3158 | struct buffer *prev_buffer = current_buffer; | ||
| 3158 | #if 0 /* This shouldn't be necessary anymore. --lorentey */ | 3159 | #if 0 /* This shouldn't be necessary anymore. --lorentey */ |
| 3159 | int was_locked = single_kboard; | 3160 | int was_locked = single_kboard; |
| 3160 | int count = SPECPDL_INDEX (); | 3161 | int count = SPECPDL_INDEX (); |
| @@ -3178,7 +3179,16 @@ read_char (commandflag, nmaps, maps, prev_event, used_mouse_menu, end_time) | |||
| 3178 | unbind_to (count, Qnil); | 3179 | unbind_to (count, Qnil); |
| 3179 | #endif | 3180 | #endif |
| 3180 | 3181 | ||
| 3181 | goto retry; | 3182 | if (current_buffer != prev_buffer) |
| 3183 | { | ||
| 3184 | /* The command may have changed the keymaps. Pretend there | ||
| 3185 | is input in another keyboard and return. This will | ||
| 3186 | recalculate keymaps. */ | ||
| 3187 | c = make_number (-2); | ||
| 3188 | goto exit; | ||
| 3189 | } | ||
| 3190 | else | ||
| 3191 | goto retry; | ||
| 3182 | } | 3192 | } |
| 3183 | 3193 | ||
| 3184 | /* Handle things that only apply to characters. */ | 3194 | /* Handle things that only apply to characters. */ |