diff options
| author | Eli Zaretskii | 2012-10-18 20:19:55 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2012-10-18 20:19:55 +0200 |
| commit | 81f8ee3ff0b25c479c6a8095d32d762610009e29 (patch) | |
| tree | f5e9719730673fad05308d6d18923eb8afe5e73a | |
| parent | 9e1821d3a2350a87de85d19208a63cfcd27d7b50 (diff) | |
| parent | 14145a1e84e9c84af22d66ed272bf1b28f597e24 (diff) | |
| download | emacs-81f8ee3ff0b25c479c6a8095d32d762610009e29.tar.gz emacs-81f8ee3ff0b25c479c6a8095d32d762610009e29.zip | |
Merge from trunk.
| -rw-r--r-- | ChangeLog | 176 | ||||
| -rw-r--r-- | Makefile.in | 2 | ||||
| -rw-r--r-- | doc/emacs/ChangeLog | 4 | ||||
| -rw-r--r-- | doc/emacs/mini.texi | 2 | ||||
| -rw-r--r-- | lisp/ChangeLog | 21 | ||||
| -rw-r--r-- | lisp/dired.el | 9 | ||||
| -rw-r--r-- | lisp/emacs-lisp/advice.el | 85 | ||||
| -rw-r--r-- | lisp/emacs-lisp/gv.el | 3 | ||||
| -rw-r--r-- | lisp/erc/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/erc/erc-backend.el | 7 | ||||
| -rw-r--r-- | lisp/international/mule.el | 22 | ||||
| -rw-r--r-- | lisp/minibuffer.el | 6 | ||||
| -rw-r--r-- | src/ChangeLog | 23 | ||||
| -rw-r--r-- | src/alloc.c | 4 | ||||
| -rw-r--r-- | src/window.c | 35 |
15 files changed, 195 insertions, 209 deletions
| @@ -1,3 +1,7 @@ | |||
| 1 | 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * Makefile.in ($(MAKEFILE_NAME)): Depend on src/lisp.mk as well. | ||
| 4 | |||
| 1 | 2012-10-15 Glenn Morris <rgm@gnu.org> | 5 | 2012-10-15 Glenn Morris <rgm@gnu.org> |
| 2 | 6 | ||
| 3 | * Makefile.in (install-man, install-etc): | 7 | * Makefile.in (install-man, install-etc): |
| @@ -10,8 +14,8 @@ | |||
| 10 | 14 | ||
| 11 | 2012-10-08 Daniel Colascione <dancol@dancol.org> | 15 | 2012-10-08 Daniel Colascione <dancol@dancol.org> |
| 12 | 16 | ||
| 13 | * configure.ac: Add --with-w32 as a window system option. Limit | 17 | * configure.ac: Add --with-w32 as a window system option. |
| 14 | it to Cygwin for now. Integrate w32 into the refactored window | 18 | Limit it to Cygwin for now. Integrate w32 into the refactored window |
| 15 | system configuration and set TERM_HEADER to w32term.h when w32 is | 19 | system configuration and set TERM_HEADER to w32term.h when w32 is |
| 16 | configured. | 20 | configured. |
| 17 | 21 | ||
| @@ -796,8 +800,8 @@ | |||
| 796 | 800 | ||
| 797 | 2012-06-26 Eli Zaretskii <eliz@gnu.org> | 801 | 2012-06-26 Eli Zaretskii <eliz@gnu.org> |
| 798 | 802 | ||
| 799 | * lib/makefile.w32-in ($(GNULIBOBJS)): Depend on stamp_BLD. This | 803 | * lib/makefile.w32-in ($(GNULIBOBJS)): Depend on stamp_BLD. |
| 800 | replaces separate dependency for each object file, which required | 804 | This replaces separate dependency for each object file, which required |
| 801 | the same object file to be mentioned twice, causing failures in | 805 | the same object file to be mentioned twice, causing failures in |
| 802 | parallel builds. | 806 | parallel builds. |
| 803 | 807 | ||
| @@ -995,8 +999,8 @@ | |||
| 995 | 999 | ||
| 996 | The build procedure now creates <stdalign.h> and <sys/types.h> for | 1000 | The build procedure now creates <stdalign.h> and <sys/types.h> for |
| 997 | older hosts that lack a working <stdalign.h> or whose | 1001 | older hosts that lack a working <stdalign.h> or whose |
| 998 | <sys/types.h> does not define pid_t, size_t, ssize_t, mode_t. New | 1002 | <sys/types.h> does not define pid_t, size_t, ssize_t, mode_t. |
| 999 | symbols such as WINDOWS_64_BIT_OFF_T may require attention in the | 1003 | New symbols such as WINDOWS_64_BIT_OFF_T may require attention in the |
| 1000 | msdos and nt builds. | 1004 | msdos and nt builds. |
| 1001 | 1005 | ||
| 1002 | Here is a precis of gnulib changes that seem relevant; please see | 1006 | Here is a precis of gnulib changes that seem relevant; please see |
| @@ -2291,8 +2295,8 @@ | |||
| 2291 | 2295 | ||
| 2292 | * .bzrignore: Ignore new lib/*.in-h files. | 2296 | * .bzrignore: Ignore new lib/*.in-h files. |
| 2293 | 2297 | ||
| 2294 | * config.bat: Rename stdint.in.h and sys_stat.in.h. Call | 2298 | * config.bat: Rename stdint.in.h and sys_stat.in.h. |
| 2295 | depfiles.bat even if lib/deps already exist. | 2299 | Call depfiles.bat even if lib/deps already exist. |
| 2296 | 2300 | ||
| 2297 | 2011-02-25 Paul Eggert <eggert@cs.ucla.edu> | 2301 | 2011-02-25 Paul Eggert <eggert@cs.ucla.edu> |
| 2298 | 2302 | ||
| @@ -2319,7 +2323,7 @@ | |||
| 2319 | 2323 | ||
| 2320 | 2011-02-21 Christoph Scholtes <cschol2112@gmail.com> | 2324 | 2011-02-21 Christoph Scholtes <cschol2112@gmail.com> |
| 2321 | 2325 | ||
| 2322 | * lib/makefile.w32-in ($(BLD)/md5.$(O)): Added dependency on | 2326 | * lib/makefile.w32-in ($(BLD)/md5.$(O)): Add dependency on |
| 2323 | $(EMACS_ROOT)/nt/inc/stdint.h. | 2327 | $(EMACS_ROOT)/nt/inc/stdint.h. |
| 2324 | 2328 | ||
| 2325 | 2011-02-21 Eli Zaretskii <eliz@gnu.org> | 2329 | 2011-02-21 Eli Zaretskii <eliz@gnu.org> |
| @@ -2420,7 +2424,7 @@ | |||
| 2420 | 2011-02-13 Bruno Haible <bruno@clisp.org> | 2424 | 2011-02-13 Bruno Haible <bruno@clisp.org> |
| 2421 | 2425 | ||
| 2422 | Consistent macro naming for macros that use GCC __attribute__. | 2426 | Consistent macro naming for macros that use GCC __attribute__. |
| 2423 | * lib/ignore-value.h (_GL_ATTRIBUTE_DEPRECATED): Renamed from | 2427 | * lib/ignore-value.h (_GL_ATTRIBUTE_DEPRECATED): Rename from |
| 2424 | ATTRIBUTE_DEPRECATED. | 2428 | ATTRIBUTE_DEPRECATED. |
| 2425 | 2429 | ||
| 2426 | 2011-02-12 Bruno Haible <bruno@clisp.org> | 2430 | 2011-02-12 Bruno Haible <bruno@clisp.org> |
| @@ -2481,7 +2485,7 @@ | |||
| 2481 | 2011-02-05 Paul Eggert <eggert@cs.ucla.edu> | 2485 | 2011-02-05 Paul Eggert <eggert@cs.ucla.edu> |
| 2482 | 2486 | ||
| 2483 | sync from gnulib to remove HAVE_STDBOOL_H | 2487 | sync from gnulib to remove HAVE_STDBOOL_H |
| 2484 | * m4/stdbool.m4 (AC_CHECK_HEADER_STDBOOL): Renamed from | 2488 | * m4/stdbool.m4 (AC_CHECK_HEADER_STDBOOL): Rename from |
| 2485 | AC_HEADER_STDBOOL. All uses changed. Do not define | 2489 | AC_HEADER_STDBOOL. All uses changed. Do not define |
| 2486 | HAVE_STDBOOL_H, as gnulib does not need this. This change is | 2490 | HAVE_STDBOOL_H, as gnulib does not need this. This change is |
| 2487 | imported from the latest Autoconf git. It was motivated by Emacs, | 2491 | imported from the latest Autoconf git. It was motivated by Emacs, |
| @@ -2566,8 +2570,8 @@ | |||
| 2566 | * lib/mktime.c (isdst_differ): New function. | 2570 | * lib/mktime.c (isdst_differ): New function. |
| 2567 | (__mktime_internal): Use it systematically for all isdst comparisons. | 2571 | (__mktime_internal): Use it systematically for all isdst comparisons. |
| 2568 | This completes the fix for libc BZ #6723, and removes the need for | 2572 | This completes the fix for libc BZ #6723, and removes the need for |
| 2569 | normalizing tm_isdst. See | 2573 | normalizing tm_isdst. |
| 2570 | <http://sourceware.org/bugzilla/show_bug.cgi?id=6723> | 2574 | See <http://sourceware.org/bugzilla/show_bug.cgi?id=6723> |
| 2571 | (not_equal_tm) [DEBUG]: Use isdst_differ here, too. | 2575 | (not_equal_tm) [DEBUG]: Use isdst_differ here, too. |
| 2572 | 2576 | ||
| 2573 | mktime: fix some integer overflow issues and sidestep the rest | 2577 | mktime: fix some integer overflow issues and sidestep the rest |
| @@ -2641,7 +2645,7 @@ | |||
| 2641 | 2011-01-28 Paul Eggert <eggert@cs.ucla.edu> | 2645 | 2011-01-28 Paul Eggert <eggert@cs.ucla.edu> |
| 2642 | 2646 | ||
| 2643 | improve fix for MS-DOS file name clash | 2647 | improve fix for MS-DOS file name clash |
| 2644 | * Makefile.in (DOS_gnulib_comp.m4): Renamed from DOS-gnulib-comp.m4, | 2648 | * Makefile.in (DOS_gnulib_comp.m4): Rename from DOS-gnulib-comp.m4, |
| 2645 | for portability to POSIX make. Reported by Bruno Haible. | 2649 | for portability to POSIX make. Reported by Bruno Haible. |
| 2646 | (sync-from-gnulib): Copy gl-comp.m4 (if present) back to | 2650 | (sync-from-gnulib): Copy gl-comp.m4 (if present) back to |
| 2647 | gnulib-comp.m4 before running gnulib-tool, to prevent old gnulib | 2651 | gnulib-comp.m4 before running gnulib-tool, to prevent old gnulib |
| @@ -2932,8 +2936,8 @@ | |||
| 2932 | 2010-12-04 Andreas Schwab <schwab@linux-m68k.org> | 2936 | 2010-12-04 Andreas Schwab <schwab@linux-m68k.org> |
| 2933 | 2937 | ||
| 2934 | * configure.in: Remove reference to removed machine description | 2938 | * configure.in: Remove reference to removed machine description |
| 2935 | files and allow $machine and $machfile to be empty. Substitute | 2939 | files and allow $machine and $machfile to be empty. |
| 2936 | M_FILE/S_FILE instead of machfile/opsysfile. | 2940 | Substitute M_FILE/S_FILE instead of machfile/opsysfile. |
| 2937 | 2941 | ||
| 2938 | 2010-12-03 Glenn Morris <rgm@gnu.org> | 2942 | 2010-12-03 Glenn Morris <rgm@gnu.org> |
| 2939 | 2943 | ||
| @@ -2966,8 +2970,8 @@ | |||
| 2966 | 2970 | ||
| 2967 | 2010-10-31 Ken Brown <kbrown@cornell.edu> | 2971 | 2010-10-31 Ken Brown <kbrown@cornell.edu> |
| 2968 | 2972 | ||
| 2969 | * configure.in (checking whether localtime caches TZ): Use | 2973 | * configure.in (checking whether localtime caches TZ): |
| 2970 | unsetenv instead of modifying environment directly. | 2974 | Use unsetenv instead of modifying environment directly. |
| 2971 | 2975 | ||
| 2972 | 2010-10-25 Andreas Schwab <schwab@linux-m68k.org> | 2976 | 2010-10-25 Andreas Schwab <schwab@linux-m68k.org> |
| 2973 | 2977 | ||
| @@ -3000,8 +3004,8 @@ | |||
| 3000 | 3004 | ||
| 3001 | 2010-10-12 Dan Nicolaescu <dann@ics.uci.edu> | 3005 | 2010-10-12 Dan Nicolaescu <dann@ics.uci.edu> |
| 3002 | 3006 | ||
| 3003 | * configure (ns_appdir, OLDXMENU, TOOLTIP_SUPPORT): Remove | 3007 | * configure (ns_appdir, OLDXMENU, TOOLTIP_SUPPORT): |
| 3004 | trailing / from directory names. | 3008 | Remove trailing / from directory names. |
| 3005 | 3009 | ||
| 3006 | 2010-10-12 Glenn Morris <rgm@gnu.org> | 3010 | 2010-10-12 Glenn Morris <rgm@gnu.org> |
| 3007 | 3011 | ||
| @@ -4212,8 +4216,8 @@ | |||
| 4212 | 4216 | ||
| 4213 | 2008-08-21 Christian Faulhammer <opfer@gentoo.org> (tiny change) | 4217 | 2008-08-21 Christian Faulhammer <opfer@gentoo.org> (tiny change) |
| 4214 | 4218 | ||
| 4215 | * configure.in (GNUSTEP_SYSTEM_HEADERS): Define | 4219 | * configure.in (GNUSTEP_SYSTEM_HEADERS): |
| 4216 | GNUSTEP_SYSTEM_HEADERS and GNUSTEP_SYSTEM_LIBRARIES. | 4220 | Define GNUSTEP_SYSTEM_HEADERS and GNUSTEP_SYSTEM_LIBRARIES. |
| 4217 | 4221 | ||
| 4218 | * configure: Regenerate. | 4222 | * configure: Regenerate. |
| 4219 | 4223 | ||
| @@ -4254,8 +4258,8 @@ | |||
| 4254 | 2008-08-06 Adrian Robert <Adrian.B.Robert@gmail.com> | 4258 | 2008-08-06 Adrian Robert <Adrian.B.Robert@gmail.com> |
| 4255 | 4259 | ||
| 4256 | * configure.in (NS_HAVE_INTEGER): Rename to NS_HAVE_NSINTEGER. | 4260 | * configure.in (NS_HAVE_INTEGER): Rename to NS_HAVE_NSINTEGER. |
| 4257 | (C_SWITCH_X_SYSTEM): Drop -MMD -MP under NS_IMPL_GNUstep. Don't | 4261 | (C_SWITCH_X_SYSTEM): Drop -MMD -MP under NS_IMPL_GNUstep. |
| 4258 | bother undef'ing since won't have desired effect. | 4262 | Don't bother undef'ing since won't have desired effect. |
| 4259 | 4263 | ||
| 4260 | 2008-08-06 Andreas Schwab <schwab@suse.de> | 4264 | 2008-08-06 Andreas Schwab <schwab@suse.de> |
| 4261 | 4265 | ||
| @@ -5152,8 +5156,8 @@ | |||
| 5152 | 2007-03-19 Deanna Phillips <deanna@sixbit.org> (tiny change) | 5156 | 2007-03-19 Deanna Phillips <deanna@sixbit.org> (tiny change) |
| 5153 | 5157 | ||
| 5154 | * configure.in (arm-*-openbsd*, hppa-*-openbsd*) | 5158 | * configure.in (arm-*-openbsd*, hppa-*-openbsd*) |
| 5155 | (m88k-*-openbsd*, mips64-*-openbsd*, sh-*-openbsd*): Added. | 5159 | (m88k-*-openbsd*, mips64-*-openbsd*, sh-*-openbsd*): Add. |
| 5156 | (ns32k-*-openbsd*, ns32k-*-openbsd*): Deleted. | 5160 | (ns32k-*-openbsd*, ns32k-*-openbsd*): Delete. |
| 5157 | 5161 | ||
| 5158 | 2007-03-19 Chong Yidong <cyd@stupidchicken.com> | 5162 | 2007-03-19 Chong Yidong <cyd@stupidchicken.com> |
| 5159 | 5163 | ||
| @@ -5483,7 +5487,7 @@ | |||
| 5483 | 5487 | ||
| 5484 | * configure.in: Use GZIP_PROG instead of GZIP. | 5488 | * configure.in: Use GZIP_PROG instead of GZIP. |
| 5485 | 5489 | ||
| 5486 | * Makefile.in (GZIP_PROG): Renamed from GZIP. | 5490 | * Makefile.in (GZIP_PROG): Rename from GZIP. |
| 5487 | (install-arch-indep): Adjust. | 5491 | (install-arch-indep): Adjust. |
| 5488 | 5492 | ||
| 5489 | 2005-11-01 Andreas Schwab <schwab@suse.de> | 5493 | 2005-11-01 Andreas Schwab <schwab@suse.de> |
| @@ -5596,8 +5600,8 @@ | |||
| 5596 | 2005-05-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 5600 | 2005-05-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
| 5597 | 5601 | ||
| 5598 | * configure.in: Don't check HAVE_CARBON if HAVE_X11 is set to yes. | 5602 | * configure.in: Don't check HAVE_CARBON if HAVE_X11 is set to yes. |
| 5599 | Check HAVE_CARBON before USE_TOOLKIT_SCROLL_BARS. Define | 5603 | Check HAVE_CARBON before USE_TOOLKIT_SCROLL_BARS. |
| 5600 | USE_TOOLKIT_SCROLL_BARS by default if HAVE_CARBON is set to yes. | 5604 | Define USE_TOOLKIT_SCROLL_BARS by default if HAVE_CARBON is set to yes. |
| 5601 | 5605 | ||
| 5602 | 2005-05-07 Jérôme Marant <jerome@marant.org> | 5606 | 2005-05-07 Jérôme Marant <jerome@marant.org> |
| 5603 | 5607 | ||
| @@ -6691,8 +6695,8 @@ | |||
| 6691 | 6695 | ||
| 6692 | * Makefile.in (uninstall): Ignore exit code of `rm'. | 6696 | * Makefile.in (uninstall): Ignore exit code of `rm'. |
| 6693 | 6697 | ||
| 6694 | * Makefile.in (uninstall): Remove more info files. Remove | 6698 | * Makefile.in (uninstall): Remove more info files. |
| 6695 | ${libexecdir}/emacs/${version}. Remove ${archlibdir}/fns-*. | 6699 | Remove ${libexecdir}/emacs/${version}. Remove ${archlibdir}/fns-*. |
| 6696 | 6700 | ||
| 6697 | 2001-01-31 Gerd Moellmann <gerd@gnu.org> | 6701 | 2001-01-31 Gerd Moellmann <gerd@gnu.org> |
| 6698 | 6702 | ||
| @@ -6700,7 +6704,7 @@ | |||
| 6700 | 6704 | ||
| 6701 | 2001-01-28 Gerd Moellmann <gerd@gnu.org> | 6705 | 2001-01-28 Gerd Moellmann <gerd@gnu.org> |
| 6702 | 6706 | ||
| 6703 | * Makefile.in (extraclean): Added -f to -rm config-tmp-* to keep | 6707 | * Makefile.in (extraclean): Add -f to -rm config-tmp-* to keep |
| 6704 | it quiet. | 6708 | it quiet. |
| 6705 | 6709 | ||
| 6706 | 2001-01-24 Colin Walters <walters@cis.ohio-state.edu> | 6710 | 2001-01-24 Colin Walters <walters@cis.ohio-state.edu> |
| @@ -6895,7 +6899,7 @@ | |||
| 6895 | (NON-TIT-CNS, JAPANESE, KOREAN, THAI, VIETNAMESE, LAO, INDIAN) | 6899 | (NON-TIT-CNS, JAPANESE, KOREAN, THAI, VIETNAMESE, LAO, INDIAN) |
| 6896 | (TIBETAN, LATIN, SLAVIC, GREEK, RUSSIAN, MISC): Rename all .el | 6900 | (TIBETAN, LATIN, SLAVIC, GREEK, RUSSIAN, MISC): Rename all .el |
| 6897 | files to .elc. | 6901 | files to .elc. |
| 6898 | (${TIT}): Adjusted for the above change. | 6902 | (${TIT}): Adjust for the above change. |
| 6899 | (clean mostlyclean): Likewise. | 6903 | (clean mostlyclean): Likewise. |
| 6900 | (.el.elc): New target. | 6904 | (.el.elc): New target. |
| 6901 | 6905 | ||
| @@ -6982,7 +6986,7 @@ | |||
| 6982 | 6986 | ||
| 6983 | 2000-07-26 Dave Love <fx@gnu.org> | 6987 | 2000-07-26 Dave Love <fx@gnu.org> |
| 6984 | 6988 | ||
| 6985 | * configure.in (AC_SYS_LARGEFILE): Moved earlier. | 6989 | * configure.in (AC_SYS_LARGEFILE): Move earlier. |
| 6986 | 6990 | ||
| 6987 | 2000-07-24 Dave Love <fx@gnu.org> | 6991 | 2000-07-24 Dave Love <fx@gnu.org> |
| 6988 | 6992 | ||
| @@ -7154,8 +7158,8 @@ | |||
| 7154 | 7158 | ||
| 7155 | * Makefile.in (bootstrap-lisp-1, bootstrap-lisp, bootstrap-src): | 7159 | * Makefile.in (bootstrap-lisp-1, bootstrap-lisp, bootstrap-src): |
| 7156 | New targets. | 7160 | New targets. |
| 7157 | (bootstrap): Rewritten in terms of the new targets above. Make | 7161 | (bootstrap): Rewritten in terms of the new targets above. |
| 7158 | info files, too. | 7162 | Make info files, too. |
| 7159 | 7163 | ||
| 7160 | 2000-03-12 Gerd Moellmann <gerd@gnu.org> | 7164 | 2000-03-12 Gerd Moellmann <gerd@gnu.org> |
| 7161 | 7165 | ||
| @@ -7234,8 +7238,8 @@ | |||
| 7234 | 7238 | ||
| 7235 | 2000-01-03 Andreas Schwab <schwab@suse.de> | 7239 | 2000-01-03 Andreas Schwab <schwab@suse.de> |
| 7236 | 7240 | ||
| 7237 | * Makefile.in (install-arch-indep): Install autotype*. Run | 7241 | * Makefile.in (install-arch-indep): Install autotype*. |
| 7238 | install-info on autotype and emacs-faq.info. | 7242 | Run install-info on autotype and emacs-faq.info. |
| 7239 | 7243 | ||
| 7240 | 1999-12-04 Dave Love <fx@gnu.org> | 7244 | 1999-12-04 Dave Love <fx@gnu.org> |
| 7241 | 7245 | ||
| @@ -7311,7 +7315,7 @@ | |||
| 7311 | 7315 | ||
| 7312 | 1999-09-07 Gerd Moellmann <gerd@gnu.org> | 7316 | 1999-09-07 Gerd Moellmann <gerd@gnu.org> |
| 7313 | 7317 | ||
| 7314 | * configure.in (--with-sound): Removed. | 7318 | * configure.in (--with-sound): Remove. |
| 7315 | 7319 | ||
| 7316 | 1999-08-30 Gerd Moellmann <gerd@gnu.org> | 7320 | 1999-08-30 Gerd Moellmann <gerd@gnu.org> |
| 7317 | 7321 | ||
| @@ -7408,7 +7412,7 @@ | |||
| 7408 | 7412 | ||
| 7409 | * configure.in: Use epaths.h and epaths-force instead of paths... | 7413 | * configure.in: Use epaths.h and epaths-force instead of paths... |
| 7410 | 7414 | ||
| 7411 | * Makefile.in (epaths-force): Renamed from paths-force; | 7415 | * Makefile.in (epaths-force): Rename from paths-force; |
| 7412 | operate on epaths.in and produce epaths.h. | 7416 | operate on epaths.in and produce epaths.h. |
| 7413 | 7417 | ||
| 7414 | 1999-02-24 Richard Stallman <rms@gnu.org> | 7418 | 1999-02-24 Richard Stallman <rms@gnu.org> |
| @@ -7753,8 +7757,8 @@ | |||
| 7753 | 7757 | ||
| 7754 | 1997-08-24 NIIBE Yutaka <gniibe@mri.co.jp> | 7758 | 1997-08-24 NIIBE Yutaka <gniibe@mri.co.jp> |
| 7755 | 7759 | ||
| 7756 | * configure.in (x_default_search_path): Corrected | 7760 | * configure.in (x_default_search_path): |
| 7757 | '${x_library}' to '${x_library}/X11'. | 7761 | Corrected '${x_library}' to '${x_library}/X11'. |
| 7758 | 7762 | ||
| 7759 | 1997-08-22 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | 7763 | 1997-08-22 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> |
| 7760 | 7764 | ||
| @@ -8454,7 +8458,7 @@ | |||
| 8454 | 1995-12-24 Richard Stallman <rms@mole.gnu.ai.mit.edu> | 8458 | 1995-12-24 Richard Stallman <rms@mole.gnu.ai.mit.edu> |
| 8455 | 8459 | ||
| 8456 | * configure.in: Determine HAVE_X11R6. | 8460 | * configure.in: Determine HAVE_X11R6. |
| 8457 | (HAVE_MENUS): Renamed from HAVE_X_MENU. | 8461 | (HAVE_MENUS): Rename from HAVE_X_MENU. |
| 8458 | 8462 | ||
| 8459 | 1995-12-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu> | 8463 | 1995-12-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu> |
| 8460 | 8464 | ||
| @@ -8647,8 +8651,8 @@ | |||
| 8647 | 8651 | ||
| 8648 | 1995-07-06 David J. MacKenzie <djm@geech.gnu.ai.mit.edu> | 8652 | 1995-07-06 David J. MacKenzie <djm@geech.gnu.ai.mit.edu> |
| 8649 | 8653 | ||
| 8650 | * configure.in: Put back archlibdir initialization. Require | 8654 | * configure.in: Put back archlibdir initialization. |
| 8651 | autoconf 2.4.1 or later. | 8655 | Require autoconf 2.4.1 or later. |
| 8652 | 8656 | ||
| 8653 | 1995-07-01 Richard Stallman <rms@mole.gnu.ai.mit.edu> | 8657 | 1995-07-01 Richard Stallman <rms@mole.gnu.ai.mit.edu> |
| 8654 | 8658 | ||
| @@ -8776,7 +8780,7 @@ | |||
| 8776 | * make-dist: Put src/makefile.nt in dist. | 8780 | * make-dist: Put src/makefile.nt in dist. |
| 8777 | 8781 | ||
| 8778 | * configure.in (i[345]86-*-bsdi2*): New configuration. | 8782 | * configure.in (i[345]86-*-bsdi2*): New configuration. |
| 8779 | (vax-dec-bsd386*): Deleted. | 8783 | (vax-dec-bsd386*): Delete. |
| 8780 | 8784 | ||
| 8781 | 1995-05-06 David J. MacKenzie <djm@geech.gnu.ai.mit.edu> | 8785 | 1995-05-06 David J. MacKenzie <djm@geech.gnu.ai.mit.edu> |
| 8782 | 8786 | ||
| @@ -8786,7 +8790,7 @@ | |||
| 8786 | 8790 | ||
| 8787 | 1995-05-03 Richard Stallman <rms@mole.gnu.ai.mit.edu> | 8791 | 1995-05-03 Richard Stallman <rms@mole.gnu.ai.mit.edu> |
| 8788 | 8792 | ||
| 8789 | * configure.in (m68*-apollo-*): Renamed from m68*-apollo*. | 8793 | * configure.in (m68*-apollo-*): Rename from m68*-apollo*. |
| 8790 | Use bsd4-3. Don't set NON_GNU_CPP. | 8794 | Use bsd4-3. Don't set NON_GNU_CPP. |
| 8791 | 8795 | ||
| 8792 | * make-dist: Don't copy in src/s/*.inp. Don't copy nt/src. | 8796 | * make-dist: Don't copy in src/s/*.inp. Don't copy nt/src. |
| @@ -8863,7 +8867,7 @@ | |||
| 8863 | 8867 | ||
| 8864 | 1995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu> | 8868 | 1995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu> |
| 8865 | 8869 | ||
| 8866 | * Makefile.in (maintainer-clean): Renamed from realclean. | 8870 | * Makefile.in (maintainer-clean): Rename from realclean. |
| 8867 | 8871 | ||
| 8868 | 1995-02-02 David J. MacKenzie <djm@geech.gnu.ai.mit.edu> | 8872 | 1995-02-02 David J. MacKenzie <djm@geech.gnu.ai.mit.edu> |
| 8869 | 8873 | ||
| @@ -9032,8 +9036,8 @@ | |||
| 9032 | 9036 | ||
| 9033 | * Makefile.in: Use libexecdir and sharedstatedir as appropriate. | 9037 | * Makefile.in: Use libexecdir and sharedstatedir as appropriate. |
| 9034 | 9038 | ||
| 9035 | * configure.in (libexecdir): Renamed from libdir. New default. | 9039 | * configure.in (libexecdir): Rename from libdir. New default. |
| 9036 | (sharedstatedir): Renamed from statedir. New default. | 9040 | (sharedstatedir): Rename from statedir. New default. |
| 9037 | (datadir): New default. | 9041 | (datadir): New default. |
| 9038 | 9042 | ||
| 9039 | * make-dist: Don't distribute subdirs.el. | 9043 | * make-dist: Don't distribute subdirs.el. |
| @@ -9583,7 +9587,7 @@ | |||
| 9583 | 9587 | ||
| 9584 | 1994-02-14 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu) | 9588 | 1994-02-14 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu) |
| 9585 | 9589 | ||
| 9586 | * configure.in (rs6000-bull-bosx*): Added support for BULL dpx20. | 9590 | * configure.in (rs6000-bull-bosx*): Add support for BULL dpx20. |
| 9587 | 9591 | ||
| 9588 | 1994-02-11 Karl Heuer (kwzh@mole.gnu.ai.mit.edu) | 9592 | 1994-02-11 Karl Heuer (kwzh@mole.gnu.ai.mit.edu) |
| 9589 | 9593 | ||
| @@ -9736,7 +9740,7 @@ | |||
| 9736 | 9740 | ||
| 9737 | * Makefile.in (mkdir): Make only the lockdir writable. | 9741 | * Makefile.in (mkdir): Make only the lockdir writable. |
| 9738 | 9742 | ||
| 9739 | * configure.in (i860-*-sysv4): Renamed from i860-*-sysvr4. | 9743 | * configure.in (i860-*-sysv4): Rename from i860-*-sysvr4. |
| 9740 | 9744 | ||
| 9741 | 1993-12-11 Richard Stallman (rms@srarc2) | 9745 | 1993-12-11 Richard Stallman (rms@srarc2) |
| 9742 | 9746 | ||
| @@ -9850,8 +9854,8 @@ | |||
| 9850 | 1993-09-28 Brian J. Fox (bfox@cubit) | 9854 | 1993-09-28 Brian J. Fox (bfox@cubit) |
| 9851 | 9855 | ||
| 9852 | * configure.in: Don't copy ${srcdir}/src/Makefile.in; that file | 9856 | * configure.in: Don't copy ${srcdir}/src/Makefile.in; that file |
| 9853 | doesn't exist. Just copy src/Makefile.in instead. Touch | 9857 | doesn't exist. Just copy src/Makefile.in instead. |
| 9854 | all of the Makefiles after editing config.status. | 9858 | Touch all of the Makefiles after editing config.status. |
| 9855 | 9859 | ||
| 9856 | * INSTALL: Update documentation to match new configuration | 9860 | * INSTALL: Update documentation to match new configuration |
| 9857 | mechanism. | 9861 | mechanism. |
| @@ -9932,8 +9936,8 @@ | |||
| 9932 | 9936 | ||
| 9933 | 1993-09-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu) | 9937 | 1993-09-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu) |
| 9934 | 9938 | ||
| 9935 | * configure.in: Remove check for $srcdir being configured. This | 9939 | * configure.in: Remove check for $srcdir being configured. |
| 9936 | pretty much works now. | 9940 | This pretty much works now. |
| 9937 | Grok {m68*-hp,i[34]86-*}-netbsd* and set opsys=netbsd. | 9941 | Grok {m68*-hp,i[34]86-*}-netbsd* and set opsys=netbsd. |
| 9938 | Check for XFree86 (/usr/X386/include) independent of whether | 9942 | Check for XFree86 (/usr/X386/include) independent of whether |
| 9939 | -lXbsd exists. | 9943 | -lXbsd exists. |
| @@ -9974,7 +9978,7 @@ | |||
| 9974 | 9978 | ||
| 9975 | 1993-08-10 Richard Stallman (rms@mole.gnu.ai.mit.edu) | 9979 | 1993-08-10 Richard Stallman (rms@mole.gnu.ai.mit.edu) |
| 9976 | 9980 | ||
| 9977 | * configure.in (m88k-tektronix-sysv3*): Added the missing *. | 9981 | * configure.in (m88k-tektronix-sysv3*): Add the missing *. |
| 9978 | Use tekxd88, not tekXD88. | 9982 | Use tekxd88, not tekXD88. |
| 9979 | 9983 | ||
| 9980 | 1993-08-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu) | 9984 | 1993-08-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu) |
| @@ -10349,8 +10353,8 @@ | |||
| 10349 | * INSTALL: Mention its usage. | 10353 | * INSTALL: Mention its usage. |
| 10350 | 10354 | ||
| 10351 | * configure.in (hppa-hp-hpux): Use uname -r instead of uname -m; | 10355 | * configure.in (hppa-hp-hpux): Use uname -r instead of uname -m; |
| 10352 | the former gives you the operating system rev directly. Use | 10356 | the former gives you the operating system rev directly. |
| 10353 | s/hpux.h if we don't recognize what we got. | 10357 | Use s/hpux.h if we don't recognize what we got. |
| 10354 | 10358 | ||
| 10355 | * Makefile.in (do-install): Don't remove a destination directory | 10359 | * Makefile.in (do-install): Don't remove a destination directory |
| 10356 | if it's the same as the source. If ${srcdir}/info == ${infodir}, | 10360 | if it's the same as the source. If ${srcdir}/info == ${infodir}, |
| @@ -10397,8 +10401,8 @@ | |||
| 10397 | * Makefile.in (install): Split this into `install' and | 10401 | * Makefile.in (install): Split this into `install' and |
| 10398 | `do-install', to give people more control over exactly what gets | 10402 | `do-install', to give people more control over exactly what gets |
| 10399 | done. | 10403 | done. |
| 10400 | (do-install): New target, containing the guts of `install'. Don't | 10404 | (do-install): New target, containing the guts of `install'. |
| 10401 | remove and recreate the directories inside the copying loop - do | 10405 | Don't remove and recreate the directories inside the copying loop - do |
| 10402 | it all before the copying loop. Pass more flags to the lib-src | 10406 | it all before the copying loop. Pass more flags to the lib-src |
| 10403 | make. | 10407 | make. |
| 10404 | (mkdir): Create ${infodir}, ${mandir}, and ${sitelispdir} here, to | 10408 | (mkdir): Create ${infodir}, ${mandir}, and ${sitelispdir} here, to |
| @@ -10455,7 +10459,7 @@ | |||
| 10455 | * configure.in: Make the first line of the configure script be | 10459 | * configure.in: Make the first line of the configure script be |
| 10456 | "#!/bin/sh". Leaving the first line blank didn't work. | 10460 | "#!/bin/sh". Leaving the first line blank didn't work. |
| 10457 | 10461 | ||
| 10458 | * configure.in (long_usage): Removed; made short_usage describe | 10462 | * configure.in (long_usage): Remove; made short_usage describe |
| 10459 | the options briefly. | 10463 | the options briefly. |
| 10460 | 10464 | ||
| 10461 | * configure.in: Implement the --prefix option. | 10465 | * configure.in: Implement the --prefix option. |
| @@ -10527,11 +10531,11 @@ | |||
| 10527 | * PROBLEMS: Some updates from David J. Mackenzie. | 10531 | * PROBLEMS: Some updates from David J. Mackenzie. |
| 10528 | 10532 | ||
| 10529 | More changes from David J. Mackenzie. | 10533 | More changes from David J. Mackenzie. |
| 10530 | * Makefile.in (install.sysv, install.xenix, install.aix): Targets | 10534 | * Makefile.in (install.sysv, install.xenix, install.aix): |
| 10531 | removed; autoconf and config.h should specify all these | 10535 | Targets removed; autoconf and config.h should specify all these |
| 10532 | differences. | 10536 | differences. |
| 10533 | (buildlisppath): Make this path depend on ${srcdir}. | 10537 | (buildlisppath): Make this path depend on ${srcdir}. |
| 10534 | (INSTALLFLAGS): Removed. | 10538 | (INSTALLFLAGS): Remove. |
| 10535 | (INSTALL): Include the -c flag. | 10539 | (INSTALL): Include the -c flag. |
| 10536 | (install): Change the way we invoke install accordingly. | 10540 | (install): Change the way we invoke install accordingly. |
| 10537 | 10541 | ||
| @@ -10574,14 +10578,14 @@ | |||
| 10574 | 10578 | ||
| 10575 | 1993-05-09 Jim Blandy (jimb@totoro.cs.oberlin.edu) | 10579 | 1993-05-09 Jim Blandy (jimb@totoro.cs.oberlin.edu) |
| 10576 | 10580 | ||
| 10577 | * Makefile.in (DEFS): Deleted; since we're using AC_CONFIG_HEADER, | 10581 | * Makefile.in (DEFS): Delete; since we're using AC_CONFIG_HEADER, |
| 10578 | this is always just -DHAVE_CONFIG_H. | 10582 | this is always just -DHAVE_CONFIG_H. |
| 10579 | 10583 | ||
| 10580 | The GNU coding standards specify that CFLAGS should be left for | 10584 | The GNU coding standards specify that CFLAGS should be left for |
| 10581 | users to set. | 10585 | users to set. |
| 10582 | * Makefile.in (CFLAGS): Let configure determine the default value | 10586 | * Makefile.in (CFLAGS): Let configure determine the default value |
| 10583 | for this. Don't | 10587 | for this. |
| 10584 | have it default to DEFS. | 10588 | Don't have it default to DEFS. |
| 10585 | (${SUBDIR}): Pass CFLAGS down to submakes, not DEFS. | 10589 | (${SUBDIR}): Pass CFLAGS down to submakes, not DEFS. |
| 10586 | (lib-src/Makefile, src/Makefile): Edit the default value for | 10590 | (lib-src/Makefile, src/Makefile): Edit the default value for |
| 10587 | CFLAGS into these files, not DEFS. | 10591 | CFLAGS into these files, not DEFS. |
| @@ -10707,17 +10711,17 @@ | |||
| 10707 | Use autoconf to produce Makefile and src/config.h. | 10711 | Use autoconf to produce Makefile and src/config.h. |
| 10708 | Remove the Makefile-style comment that autoconf places at the top | 10712 | Remove the Makefile-style comment that autoconf places at the top |
| 10709 | of src/config.h. | 10713 | of src/config.h. |
| 10710 | (config_h_opts): Removed - no longer necessary. | 10714 | (config_h_opts): Remove - no longer necessary. |
| 10711 | * Makefile.in (configname): Renamed to configuration. | 10715 | * Makefile.in (configname): Rename to configuration. |
| 10712 | (CONFIG_CFLAGS): Renamed to DEFS. | 10716 | (CONFIG_CFLAGS): Rename to DEFS. |
| 10713 | (CC, DEFS, C_SWITCH_SYSTEM, version, configuration): Adjusted to | 10717 | (CC, DEFS, C_SWITCH_SYSTEM, version, configuration): Adjust to |
| 10714 | get values via autoload @cookies@. | 10718 | get values via autoload @cookies@. |
| 10715 | (libsrc_libs): Get this from autoconf. We used to do nothing | 10719 | (libsrc_libs): Get this from autoconf. We used to do nothing |
| 10716 | about this. | 10720 | about this. |
| 10717 | (${SUBDIR}): Pass DEFS to submakes instead of CONFIG_CFLAGS. | 10721 | (${SUBDIR}): Pass DEFS to submakes instead of CONFIG_CFLAGS. |
| 10718 | 10722 | ||
| 10719 | * Makefile.in (src/paths.h, lib-src/Makefile, src/Makefile): Don't | 10723 | * Makefile.in (src/paths.h, lib-src/Makefile, src/Makefile): |
| 10720 | echo the move-if-change command. | 10724 | Don't echo the move-if-change command. |
| 10721 | 10725 | ||
| 10722 | 1993-04-08 Jim Blandy (jimb@churchy.gnu.ai.mit.edu) | 10726 | 1993-04-08 Jim Blandy (jimb@churchy.gnu.ai.mit.edu) |
| 10723 | 10727 | ||
| @@ -10772,8 +10776,8 @@ | |||
| 10772 | * configure: Properly handle extracting values of LIBS_MACHINE and | 10776 | * configure: Properly handle extracting values of LIBS_MACHINE and |
| 10773 | LIBS_SYSTEM that contain spaces. | 10777 | LIBS_SYSTEM that contain spaces. |
| 10774 | 10778 | ||
| 10775 | * configure: Add `--x-includes' and `--x-libraries' options. I | 10779 | * configure: Add `--x-includes' and `--x-libraries' options. |
| 10776 | think these are dopey, but no less than three alpha testers, at | 10780 | I think these are dopey, but no less than three alpha testers, at |
| 10777 | large sites, have said they have their X files installed in odd | 10781 | large sites, have said they have their X files installed in odd |
| 10778 | places. Implement them by setting C_SWITCH_X_SITE and | 10782 | places. Implement them by setting C_SWITCH_X_SITE and |
| 10779 | LD_SWITCH_X_SITE in src/config.h. | 10783 | LD_SWITCH_X_SITE in src/config.h. |
| @@ -10978,8 +10982,8 @@ | |||
| 10978 | 10982 | ||
| 10979 | * Makefile.in (datadir, statedir, libdir): Make these all default | 10983 | * Makefile.in (datadir, statedir, libdir): Make these all default |
| 10980 | to ${prefix}/lib. | 10984 | to ${prefix}/lib. |
| 10981 | (lispdir, locallisppath, etcdir, lockdir, archlibdir): Adjusted | 10985 | (lispdir, locallisppath, etcdir, lockdir, archlibdir): |
| 10982 | to compensate. | 10986 | Adjust to compensate. |
| 10983 | 10987 | ||
| 10984 | * Makefile.in (install, install.sysv, install.xenix, install.aix): | 10988 | * Makefile.in (install, install.sysv, install.xenix, install.aix): |
| 10985 | Install the etags and ctags man pages too. | 10989 | Install the etags and ctags man pages too. |
| @@ -10994,7 +10998,7 @@ | |||
| 10994 | * configure (long_usage): Remove all traces of old arguments from | 10998 | * configure (long_usage): Remove all traces of old arguments from |
| 10995 | usage messages, and document the options we do accept in more | 10999 | usage messages, and document the options we do accept in more |
| 10996 | detail: -with-x... and --srcdir. | 11000 | detail: -with-x... and --srcdir. |
| 10997 | (options, boolean_opts): Deleted; we don't have enough options to | 11001 | (options, boolean_opts): Delete; we don't have enough options to |
| 10998 | make this worthwhile. | 11002 | make this worthwhile. |
| 10999 | (prefix, bindir, lisppath, datadir, libdir, lockdir): Deleted, | 11003 | (prefix, bindir, lisppath, datadir, libdir, lockdir): Deleted, |
| 11000 | along with the code which supported them; these should be set as | 11004 | along with the code which supported them; these should be set as |
| @@ -11019,8 +11023,8 @@ | |||
| 11019 | compile in don't exist yet, create them under the current directory. | 11023 | compile in don't exist yet, create them under the current directory. |
| 11020 | Note that the rest of the build process doesn't really support | 11024 | Note that the rest of the build process doesn't really support |
| 11021 | this. | 11025 | this. |
| 11022 | Edit only the top Makefile. That should edit the others. Edit | 11026 | Edit only the top Makefile. That should edit the others. |
| 11023 | into the makefile: `version', from lisp/version.el, `configname' | 11027 | Edit into the makefile: `version', from lisp/version.el, `configname' |
| 11024 | and `srcdir' from the configuration arguments, `CC' and | 11028 | and `srcdir' from the configuration arguments, `CC' and |
| 11025 | `CONFIG_CFLAGS' as guessed from the presence or absence of GCC in | 11029 | `CONFIG_CFLAGS' as guessed from the presence or absence of GCC in |
| 11026 | the user's path, and LOADLIBES as gleaned from the system | 11030 | the user's path, and LOADLIBES as gleaned from the system |
| @@ -11263,8 +11267,8 @@ | |||
| 11263 | * make-dist: When setting up etc/COPYING, always nuke whatever is | 11267 | * make-dist: When setting up etc/COPYING, always nuke whatever is |
| 11264 | there, and then copy it in, to make sure we get a real file. | 11268 | there, and then copy it in, to make sure we get a real file. |
| 11265 | 11269 | ||
| 11266 | * make-dist: Don't try to distribute *.defns files any more. The | 11270 | * make-dist: Don't try to distribute *.defns files any more. |
| 11267 | only such file was for simula.el, which has been superseded by a | 11271 | The only such file was for simula.el, which has been superseded by a |
| 11268 | version which doesn't have a separate .defns file. | 11272 | version which doesn't have a separate .defns file. |
| 11269 | 11273 | ||
| 11270 | 1992-05-28 Ken Raeburn (Raeburn@Cygnus.COM) | 11274 | 1992-05-28 Ken Raeburn (Raeburn@Cygnus.COM) |
| @@ -11435,10 +11439,10 @@ | |||
| 11435 | (mostlyclean): New target, synonymous with clean. | 11439 | (mostlyclean): New target, synonymous with clean. |
| 11436 | (realclean): New target. Currently, this just calls the | 11440 | (realclean): New target. Currently, this just calls the |
| 11437 | subdirectories's makefiles and then deletes config.status. | 11441 | subdirectories's makefiles and then deletes config.status. |
| 11438 | (INSTALL, INSTALLFLAGS, INSTALL_PROGRAM, INSTALL_DATA): New | 11442 | (INSTALL, INSTALLFLAGS, INSTALL_PROGRAM, INSTALL_DATA): |
| 11439 | variables. | 11443 | New variables. |
| 11440 | Installation directory variables changed to conform. | 11444 | Installation directory variables changed to conform. |
| 11441 | (install, install.sysv, install.xenix, install.aix): Changed the | 11445 | (install, install.sysv, install.xenix, install.aix): Change the |
| 11442 | code which copies the directories into their installed location to | 11446 | code which copies the directories into their installed location to |
| 11443 | allow the installed locations to be in several different | 11447 | allow the installed locations to be in several different |
| 11444 | directories; the old version assumed that they would all be in | 11448 | directories; the old version assumed that they would all be in |
diff --git a/Makefile.in b/Makefile.in index d929160c597..c27b6777162 100644 --- a/Makefile.in +++ b/Makefile.in | |||
| @@ -361,7 +361,7 @@ blessmail: Makefile src FRC | |||
| 361 | # etc. to be built without running into similar recursion problems. | 361 | # etc. to be built without running into similar recursion problems. |
| 362 | MAKEFILE_NAME = Makefile | 362 | MAKEFILE_NAME = Makefile |
| 363 | $(MAKEFILE_NAME): config.status $(srcdir)/src/config.in \ | 363 | $(MAKEFILE_NAME): config.status $(srcdir)/src/config.in \ |
| 364 | $(srcdir)/Makefile.in $(SUBDIR_MAKEFILES_IN) | 364 | $(srcdir)/Makefile.in $(SUBDIR_MAKEFILES_IN) $(srcdir)/src/lisp.mk |
| 365 | MAKE='$(MAKE)' ./config.status | 365 | MAKE='$(MAKE)' ./config.status |
| 366 | 366 | ||
| 367 | # Don't erase these files if make is interrupted while refreshing them. | 367 | # Don't erase these files if make is interrupted while refreshing them. |
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index 873681ad0d4..66bb2de921b 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2012-10-18 Dani Moncayo <dmoncayo@gmail.com> | ||
| 2 | |||
| 3 | * mini.texi (Completion Options): Fix off-by-one error. (Bug#12644) | ||
| 4 | |||
| 1 | 2012-10-17 Glenn Morris <rgm@gnu.org> | 5 | 2012-10-17 Glenn Morris <rgm@gnu.org> |
| 2 | 6 | ||
| 3 | * mini.texi (Repetition): Further copyedit. | 7 | * mini.texi (Repetition): Further copyedit. |
diff --git a/doc/emacs/mini.texi b/doc/emacs/mini.texi index 0036b67f174..e5a84bda56d 100644 --- a/doc/emacs/mini.texi +++ b/doc/emacs/mini.texi | |||
| @@ -550,7 +550,7 @@ those completion alternatives; each subsequent invocation of the | |||
| 550 | completion command replaces that with the next completion alternative, | 550 | completion command replaces that with the next completion alternative, |
| 551 | in a cyclic manner. If you give @code{completion-cycle-threshold} a | 551 | in a cyclic manner. If you give @code{completion-cycle-threshold} a |
| 552 | numeric value @var{n}, completion commands switch to this cycling | 552 | numeric value @var{n}, completion commands switch to this cycling |
| 553 | behavior only when there are fewer than @var{n} alternatives. | 553 | behavior only when there are @var{n} or fewer alternatives. |
| 554 | 554 | ||
| 555 | @cindex Icomplete mode | 555 | @cindex Icomplete mode |
| 556 | @findex icomplete-mode | 556 | @findex icomplete-mode |
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 541cea5c7d4..86b425b41e4 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,24 @@ | |||
| 1 | 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * emacs-lisp/advice.el: Clean up commentary a bit. | ||
| 4 | (ad-do-advised-functions, ad-with-originals): Use `declare'. | ||
| 5 | (byte-code-function-p): Never redefine. | ||
| 6 | |||
| 7 | * emacs-lisp/gv.el (cond): Same fix as before for `if'. | ||
| 8 | |||
| 9 | 2012-10-18 Glenn Morris <rgm@gnu.org> | ||
| 10 | |||
| 11 | * dired.el (dired-sort-toggle): Some ls implementations only allow | ||
| 12 | a single option string. (Bug#12666) | ||
| 13 | |||
| 14 | * minibuffer.el (completion-cycle-threshold): Doc fix. | ||
| 15 | |||
| 16 | 2012-10-17 Kenichi Handa <handa@gnu.org> | ||
| 17 | |||
| 18 | * international/mule.el (set-keyboard-coding-system): | ||
| 19 | Recover input meta mode when the new coding system doesn not use 8-bit. | ||
| 20 | Supply TERMINAL arg to set-input-meta-mode. | ||
| 21 | |||
| 1 | 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de> (tiny change) | 22 | 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de> (tiny change) |
| 2 | 23 | ||
| 3 | * wdired.el (wdired-old-marks): New variable. | 24 | * wdired.el (wdired-old-marks): New variable. |
diff --git a/lisp/dired.el b/lisp/dired.el index a17e1805339..a4bc16caebf 100644 --- a/lisp/dired.el +++ b/lisp/dired.el | |||
| @@ -3546,8 +3546,15 @@ With a prefix argument, edit the current listing switches instead." | |||
| 3546 | (setq dired-actual-switches | 3546 | (setq dired-actual-switches |
| 3547 | (replace-match "" t t dired-actual-switches 3)))) | 3547 | (replace-match "" t t dired-actual-switches 3)))) |
| 3548 | ;; Now, if we weren't sorting by date before, add the -t switch. | 3548 | ;; Now, if we weren't sorting by date before, add the -t switch. |
| 3549 | ;; Some simple-minded ls implementations (eg ftp servers) only | ||
| 3550 | ;; allow a single option string, so try not to add " -t" if possible. | ||
| 3549 | (unless sorting-by-date | 3551 | (unless sorting-by-date |
| 3550 | (setq dired-actual-switches (concat dired-actual-switches " -t")))) | 3552 | (setq dired-actual-switches |
| 3553 | (concat dired-actual-switches | ||
| 3554 | (if (string-match-p "\\`-[[:alnum:]]+\\'" | ||
| 3555 | dired-actual-switches) | ||
| 3556 | "t" | ||
| 3557 | " -t"))))) | ||
| 3551 | (dired-sort-set-mode-line) | 3558 | (dired-sort-set-mode-line) |
| 3552 | (revert-buffer)) | 3559 | (revert-buffer)) |
| 3553 | 3560 | ||
diff --git a/lisp/emacs-lisp/advice.el b/lisp/emacs-lisp/advice.el index d96076d17a6..007871aa3a6 100644 --- a/lisp/emacs-lisp/advice.el +++ b/lisp/emacs-lisp/advice.el | |||
| @@ -31,10 +31,6 @@ | |||
| 31 | 31 | ||
| 32 | ;;; Commentary: | 32 | ;;; Commentary: |
| 33 | 33 | ||
| 34 | ;; NOTE: This documentation is slightly out of date. In particular, all the | ||
| 35 | ;; references to Emacs-18 are obsolete now, because it is not any longer | ||
| 36 | ;; supported by this version of Advice. | ||
| 37 | |||
| 38 | ;; Advice is documented in the Emacs Lisp Manual. | 34 | ;; Advice is documented in the Emacs Lisp Manual. |
| 39 | 35 | ||
| 40 | ;; @ Introduction: | 36 | ;; @ Introduction: |
| @@ -83,21 +79,10 @@ | |||
| 83 | ;; - Provides manipulation mechanisms for sets of advised functions via | 79 | ;; - Provides manipulation mechanisms for sets of advised functions via |
| 84 | ;; regular expressions that match advice names | 80 | ;; regular expressions that match advice names |
| 85 | 81 | ||
| 86 | ;; @ How to get Advice for Emacs-18: | ||
| 87 | ;; ================================= | ||
| 88 | ;; `advice18.el', a version of Advice that also works in Emacs-18 is available | ||
| 89 | ;; either via anonymous ftp from `ftp.cs.buffalo.edu (128.205.32.9)' with | ||
| 90 | ;; pathname `/pub/Emacs/advice18.el', or from one of the Emacs Lisp archive | ||
| 91 | ;; sites, or send email to <hans@cs.buffalo.edu> and I'll mail it to you. | ||
| 92 | |||
| 93 | ;; @ Overview, or how to read this file: | 82 | ;; @ Overview, or how to read this file: |
| 94 | ;; ===================================== | 83 | ;; ===================================== |
| 95 | ;; NOTE: This documentation is slightly out of date. In particular, all the | 84 | ;; You can use `outline-mode' to help you read this documentation (set |
| 96 | ;; references to Emacs-18 are obsolete now, because it is not any longer | 85 | ;; `outline-regexp' to `";; @+"'). |
| 97 | ;; supported by this version of Advice. An up-to-date version will soon be | ||
| 98 | ;; available as an info file (thanks to the kind help of Jack Vinson and | ||
| 99 | ;; David M. Smith). Until then you can use `outline-mode' to help you read | ||
| 100 | ;; this documentation (set `outline-regexp' to `";; @+"'). | ||
| 101 | ;; | 86 | ;; |
| 102 | ;; The four major sections of this file are: | 87 | ;; The four major sections of this file are: |
| 103 | ;; | 88 | ;; |
| @@ -111,9 +96,6 @@ | |||
| 111 | 96 | ||
| 112 | ;; @ Restrictions: | 97 | ;; @ Restrictions: |
| 113 | ;; =============== | 98 | ;; =============== |
| 114 | ;; - This version of Advice only works for Emacs 19.26 and later. It uses | ||
| 115 | ;; new versions of the built-in functions `fset/defalias' which are not | ||
| 116 | ;; yet available in Lucid Emacs, hence, it won't work there. | ||
| 117 | ;; - Advised functions/macros/subrs will only exhibit their advised behavior | 99 | ;; - Advised functions/macros/subrs will only exhibit their advised behavior |
| 118 | ;; when they are invoked via their function cell. This means that advice will | 100 | ;; when they are invoked via their function cell. This means that advice will |
| 119 | ;; not work for the following: | 101 | ;; not work for the following: |
| @@ -229,13 +211,8 @@ | |||
| 229 | 211 | ||
| 230 | ;; @@ Terminology: | 212 | ;; @@ Terminology: |
| 231 | ;; =============== | 213 | ;; =============== |
| 232 | ;; - Emacs, Emacs-19: Emacs as released by the GNU Project | 214 | ;; - Emacs: Emacs as released by the GNU Project |
| 233 | ;; - Lemacs: Lucid's version of Emacs with major version 19 | 215 | ;; - jwz: Jamie Zawinski - creator of the byte-compiler used in v19s. |
| 234 | ;; - v18: Any Emacs with major version 18 or built as an extension to that | ||
| 235 | ;; (such as Epoch) | ||
| 236 | ;; - v19: Any Emacs with major version 19 | ||
| 237 | ;; - jwz: Jamie Zawinski - former keeper of Lemacs and creator of the optimizing | ||
| 238 | ;; byte-compiler used in v19s. | ||
| 239 | ;; - Advice: The name of this package. | 216 | ;; - Advice: The name of this package. |
| 240 | ;; - advices: Short for "pieces of advice". | 217 | ;; - advices: Short for "pieces of advice". |
| 241 | 218 | ||
| @@ -294,8 +271,7 @@ | |||
| 294 | ;; generates a compiled advised definition according to the | 271 | ;; generates a compiled advised definition according to the |
| 295 | ;; current advice state which will be used during activation | 272 | ;; current advice state which will be used during activation |
| 296 | ;; if appropriate. Only use this if the `defadvice' gets | 273 | ;; if appropriate. Only use this if the `defadvice' gets |
| 297 | ;; actually compiled (with a v18 byte-compiler put the `defadvice' | 274 | ;; actually compiled. |
| 298 | ;; into the body of a `defun' to accomplish proper compilation). | ||
| 299 | 275 | ||
| 300 | ;; An optional <documentation-string> can be supplied to document the advice. | 276 | ;; An optional <documentation-string> can be supplied to document the advice. |
| 301 | ;; On call of the `documentation' function it will be combined with the | 277 | ;; On call of the `documentation' function it will be combined with the |
| @@ -399,10 +375,7 @@ | |||
| 399 | ;; gets redefined in a non-advice style into a function by the edebug | 375 | ;; gets redefined in a non-advice style into a function by the edebug |
| 400 | ;; package. If the advice assumes `eval-region' to be a subr it might break | 376 | ;; package. If the advice assumes `eval-region' to be a subr it might break |
| 401 | ;; once edebug is loaded. Similar situations arise when one wants to use the | 377 | ;; once edebug is loaded. Similar situations arise when one wants to use the |
| 402 | ;; same piece of advice across different versions of Emacs. Some subrs in a | 378 | ;; same piece of advice across different versions of Emacs. |
| 403 | ;; v18 Emacs are functions in v19 and vice versa, but for the most part the | ||
| 404 | ;; semantics remain the same, hence, the same piece of advice might be usable | ||
| 405 | ;; in both Emacs versions. | ||
| 406 | 379 | ||
| 407 | ;; As a solution to that advice provides argument list access macros that get | 380 | ;; As a solution to that advice provides argument list access macros that get |
| 408 | ;; translated into the proper access forms at activation time, i.e., when the | 381 | ;; translated into the proper access forms at activation time, i.e., when the |
| @@ -556,12 +529,7 @@ | |||
| 556 | ;; defined. The special forms `defun' and `defmacro' have been advised to | 529 | ;; defined. The special forms `defun' and `defmacro' have been advised to |
| 557 | ;; check whether the function/macro they defined had advice information | 530 | ;; check whether the function/macro they defined had advice information |
| 558 | ;; associated with it. If so and forward advice is enabled, the original | 531 | ;; associated with it. If so and forward advice is enabled, the original |
| 559 | ;; definition will be saved, and then the advice will be activated. When a | 532 | ;; definition will be saved, and then the advice will be activated. |
| 560 | ;; file is loaded in a v18 Emacs the functions/macros it defines are also | ||
| 561 | ;; defined with calls to `defun/defmacro'. Hence, we can forward advise | ||
| 562 | ;; functions/macros which will be defined later during a load/autoload of some | ||
| 563 | ;; file (for compiled files generated by jwz's byte-compiler in a v19 Emacs | ||
| 564 | ;; this is slightly more complicated but the basic idea is the same). | ||
| 565 | 533 | ||
| 566 | ;; @@ Enabling/disabling pieces or sets of advice: | 534 | ;; @@ Enabling/disabling pieces or sets of advice: |
| 567 | ;; =============================================== | 535 | ;; =============================================== |
| @@ -694,10 +662,8 @@ | |||
| 694 | ;; specified as disabled) and all other currently enabled pieces of advice to | 662 | ;; specified as disabled) and all other currently enabled pieces of advice to |
| 695 | ;; construct an advised definition and an identifying cache-id and makes them | 663 | ;; construct an advised definition and an identifying cache-id and makes them |
| 696 | ;; part of the `defadvice' expansion which will then be compiled by the | 664 | ;; part of the `defadvice' expansion which will then be compiled by the |
| 697 | ;; byte-compiler (to ensure that in a v18 emacs you have to put the | 665 | ;; byte-compiler. |
| 698 | ;; `defadvice' inside a `defun' to get it compiled and then you have to call | 666 | ;; When the file with the compiled, preactivating `defadvice' gets loaded the |
| 699 | ;; that compiled `defun' in order to actually execute the `defadvice'). When | ||
| 700 | ;; the file with the compiled, preactivating `defadvice' gets loaded the | ||
| 701 | ;; precompiled advised definition will be cached on the advised function's | 667 | ;; precompiled advised definition will be cached on the advised function's |
| 702 | ;; advice-info. When it gets activated (can be immediately on execution of the | 668 | ;; advice-info. When it gets activated (can be immediately on execution of the |
| 703 | ;; `defadvice' or any time later) the cache-id gets checked against the | 669 | ;; `defadvice' or any time later) the cache-id gets checked against the |
| @@ -792,8 +758,7 @@ | |||
| 792 | ;; advised definition of a function, rather they are assembled into a hook | 758 | ;; advised definition of a function, rather they are assembled into a hook |
| 793 | ;; form which will be evaluated whenever the advice-info of the advised | 759 | ;; form which will be evaluated whenever the advice-info of the advised |
| 794 | ;; function gets activated or deactivated. One application of this mechanism | 760 | ;; function gets activated or deactivated. One application of this mechanism |
| 795 | ;; is to define file load hooks for files that do not provide such hooks | 761 | ;; is to define file load hooks for files that do not provide such hooks. |
| 796 | ;; (v19s already come with a general file-load-hook mechanism, v18s don't). | ||
| 797 | ;; For example, suppose you want to print a message whenever `file-x' gets | 762 | ;; For example, suppose you want to print a message whenever `file-x' gets |
| 798 | ;; loaded, and suppose the last function defined in `file-x' is | 763 | ;; loaded, and suppose the last function defined in `file-x' is |
| 799 | ;; `file-x-last-fn'. Then we can define the following advice: | 764 | ;; `file-x-last-fn'. Then we can define the following advice: |
| @@ -1400,8 +1365,8 @@ | |||
| 1400 | ;; | 1365 | ;; |
| 1401 | ;; If you put a preactivating `defadvice' into a Lisp file that gets byte- | 1366 | ;; If you put a preactivating `defadvice' into a Lisp file that gets byte- |
| 1402 | ;; compiled then the constructed advised definition will get compiled by | 1367 | ;; compiled then the constructed advised definition will get compiled by |
| 1403 | ;; the byte-compiler. For that to occur in a v18 emacs you have to put the | 1368 | ;; the byte-compiler. For that to occur in a v18 Emacs you had to put the |
| 1404 | ;; `defadvice' inside a `defun' because the v18 compiler does not compile | 1369 | ;; `defadvice' inside a `defun' because the v18 compiler did not compile |
| 1405 | ;; top-level forms other than `defun' or `defmacro', for example, | 1370 | ;; top-level forms other than `defun' or `defmacro', for example, |
| 1406 | ;; | 1371 | ;; |
| 1407 | ;; (defun fg-defadvice-fum () | 1372 | ;; (defun fg-defadvice-fum () |
| @@ -1496,10 +1461,7 @@ | |||
| 1496 | ;; if one advises a subr such as `eval-region' which then gets redefined by | 1461 | ;; if one advises a subr such as `eval-region' which then gets redefined by |
| 1497 | ;; some package (e.g., edebug) into a function with different argument names, | 1462 | ;; some package (e.g., edebug) into a function with different argument names, |
| 1498 | ;; then a piece of advice written for `eval-region' that was written with | 1463 | ;; then a piece of advice written for `eval-region' that was written with |
| 1499 | ;; the subr arguments in mind will break. Similar situations arise when one | 1464 | ;; the subr arguments in mind will break. |
| 1500 | ;; switches between major Emacs versions, e.g., certain subrs in v18 are | ||
| 1501 | ;; functions in v19 and vice versa. Also, in v19s subr argument lists | ||
| 1502 | ;; are available and will be used, while they are not available in v18. | ||
| 1503 | ;; | 1465 | ;; |
| 1504 | ;; Argument access text macros allow one to access arguments of an advised | 1466 | ;; Argument access text macros allow one to access arguments of an advised |
| 1505 | ;; function in a portable way without having to worry about all these | 1467 | ;; function in a portable way without having to worry about all these |
| @@ -1882,15 +1844,13 @@ generates a copy of TREE." | |||
| 1882 | BODY-FORM...) | 1844 | BODY-FORM...) |
| 1883 | On each iteration VAR will be bound to the name of an advised function | 1845 | On each iteration VAR will be bound to the name of an advised function |
| 1884 | \(a symbol)." | 1846 | \(a symbol)." |
| 1847 | (declare (indent 1)) | ||
| 1885 | `(cl-dolist (,(car varform) | 1848 | `(cl-dolist (,(car varform) |
| 1886 | ad-advised-functions | 1849 | ad-advised-functions |
| 1887 | ,(car (cdr varform))) | 1850 | ,(car (cdr varform))) |
| 1888 | (setq ,(car varform) (intern (car ,(car varform)))) | 1851 | (setq ,(car varform) (intern (car ,(car varform)))) |
| 1889 | ,@body)) | 1852 | ,@body)) |
| 1890 | 1853 | ||
| 1891 | (if (not (get 'ad-do-advised-functions 'lisp-indent-hook)) | ||
| 1892 | (put 'ad-do-advised-functions 'lisp-indent-hook 1)) | ||
| 1893 | |||
| 1894 | (defun ad-get-advice-info (function) | 1854 | (defun ad-get-advice-info (function) |
| 1895 | (get function 'ad-advice-info)) | 1855 | (get function 'ad-advice-info)) |
| 1896 | 1856 | ||
| @@ -2117,7 +2077,7 @@ function at point for which PREDICATE returns non-nil)." | |||
| 2117 | (lambda (function) | 2077 | (lambda (function) |
| 2118 | ;; Oops, no closures - the joys of dynamic scoping: | 2078 | ;; Oops, no closures - the joys of dynamic scoping: |
| 2119 | ;; `predicate' clashed with the `predicate' argument | 2079 | ;; `predicate' clashed with the `predicate' argument |
| 2120 | ;; of Lemacs' `completing-read'..... | 2080 | ;; of `completing-read'..... |
| 2121 | (funcall ad-pReDiCaTe (intern (car function)))))) | 2081 | (funcall ad-pReDiCaTe (intern (car function)))))) |
| 2122 | t))) | 2082 | t))) |
| 2123 | (if (equal function "") | 2083 | (if (equal function "") |
| @@ -2394,12 +2354,6 @@ See Info node `(elisp)Computed Advice' for detailed documentation." | |||
| 2394 | ;;"non-nil if DEFINITION is a piece of advice." | 2354 | ;;"non-nil if DEFINITION is a piece of advice." |
| 2395 | `(eq (car-safe ,definition) 'advice)) | 2355 | `(eq (car-safe ,definition) 'advice)) |
| 2396 | 2356 | ||
| 2397 | ;; Emacs/Lemacs cross-compatibility | ||
| 2398 | ;; (compiled-function-p is an obsolete function in Emacs): | ||
| 2399 | (if (and (not (fboundp 'byte-code-function-p)) | ||
| 2400 | (fboundp 'compiled-function-p)) | ||
| 2401 | (ad-safe-fset 'byte-code-function-p 'compiled-function-p)) | ||
| 2402 | |||
| 2403 | (defmacro ad-compiled-p (definition) | 2357 | (defmacro ad-compiled-p (definition) |
| 2404 | "Return non-nil if DEFINITION is a compiled byte-code object." | 2358 | "Return non-nil if DEFINITION is a compiled byte-code object." |
| 2405 | `(or (byte-code-function-p ,definition) | 2359 | `(or (byte-code-function-p ,definition) |
| @@ -3696,6 +3650,7 @@ usage: (defadvice FUNCTION (CLASS NAME [POSITION] [ARGLIST] FLAG...) | |||
| 3696 | For any members of FUNCTIONS that are not currently advised the rebinding will | 3650 | For any members of FUNCTIONS that are not currently advised the rebinding will |
| 3697 | be a noop. Any modifications done to the definitions of FUNCTIONS will be | 3651 | be a noop. Any modifications done to the definitions of FUNCTIONS will be |
| 3698 | undone on exit of this macro." | 3652 | undone on exit of this macro." |
| 3653 | (declare (indent 1)) | ||
| 3699 | (let* ((index -1) | 3654 | (let* ((index -1) |
| 3700 | ;; Make let-variables to store current definitions: | 3655 | ;; Make let-variables to store current definitions: |
| 3701 | (current-bindings | 3656 | (current-bindings |
| @@ -3735,14 +3690,6 @@ undone on exit of this macro." | |||
| 3735 | ,(car (nth index current-bindings))))) | 3690 | ,(car (nth index current-bindings))))) |
| 3736 | functions)))))) | 3691 | functions)))))) |
| 3737 | 3692 | ||
| 3738 | (if (not (get 'ad-with-originals 'lisp-indent-hook)) | ||
| 3739 | (put 'ad-with-originals 'lisp-indent-hook 1)) | ||
| 3740 | |||
| 3741 | |||
| 3742 | ;; @@ Advising `documentation': | ||
| 3743 | ;; ============================ | ||
| 3744 | ;; Use the advice mechanism to advise `documentation' to make it | ||
| 3745 | ;; generate proper documentation strings for advised definitions: | ||
| 3746 | 3693 | ||
| 3747 | ;; @@ Starting, stopping and recovering from the advice package magic: | 3694 | ;; @@ Starting, stopping and recovering from the advice package magic: |
| 3748 | ;; =================================================================== | 3695 | ;; =================================================================== |
diff --git a/lisp/emacs-lisp/gv.el b/lisp/emacs-lisp/gv.el index 1a30d67fbbc..d6c91539a90 100644 --- a/lisp/emacs-lisp/gv.el +++ b/lisp/emacs-lisp/gv.el | |||
| @@ -377,7 +377,8 @@ The return value is the last VAL in the list. | |||
| 377 | 377 | ||
| 378 | (put 'cond 'gv-expander | 378 | (put 'cond 'gv-expander |
| 379 | (lambda (do &rest branches) | 379 | (lambda (do &rest branches) |
| 380 | (if (macroexp-small-p (funcall do 'dummy (lambda (_) 'dummy))) | 380 | (if (or (not lexical-binding) ;The other code requires lexical-binding. |
| 381 | (macroexp-small-p (funcall do 'dummy (lambda (_) 'dummy)))) | ||
| 381 | ;; This duplicates the `do' code, which is a problem if that | 382 | ;; This duplicates the `do' code, which is a problem if that |
| 382 | ;; code is large, but otherwise results in more efficient code. | 383 | ;; code is large, but otherwise results in more efficient code. |
| 383 | `(cond | 384 | `(cond |
diff --git a/lisp/erc/ChangeLog b/lisp/erc/ChangeLog index 343a6655701..bb8dadbbfcd 100644 --- a/lisp/erc/ChangeLog +++ b/lisp/erc/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * erc-backend.el: Require `erc' instead of autoloading its macros | ||
| 4 | (bug#12669). | ||
| 5 | |||
| 1 | 2012-10-15 Stefan Monnier <monnier@iro.umontreal.ca> | 6 | 2012-10-15 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 7 | ||
| 3 | * erc.el (erc-log): Make it into a defsubst. | 8 | * erc.el (erc-log): Make it into a defsubst. |
diff --git a/lisp/erc/erc-backend.el b/lisp/erc/erc-backend.el index b8b5c90b596..858a6bd8e82 100644 --- a/lisp/erc/erc-backend.el +++ b/lisp/erc/erc-backend.el | |||
| @@ -99,8 +99,11 @@ | |||
| 99 | 99 | ||
| 100 | (require 'erc-compat) | 100 | (require 'erc-compat) |
| 101 | (eval-when-compile (require 'cl)) | 101 | (eval-when-compile (require 'cl)) |
| 102 | (autoload 'erc-with-buffer "erc" nil nil 'macro) | 102 | ;; There's a fairly strong mutual dependency between erc.el and erc-backend.el. |
| 103 | (autoload 'erc-log "erc") | 103 | ;; Luckily, erc.el does not need erc-backend.el for macroexpansion whereas the |
| 104 | ;; reverse is true: | ||
| 105 | (provide 'erc-backend) | ||
| 106 | (require 'erc) | ||
| 104 | 107 | ||
| 105 | ;;;; Variables and options | 108 | ;;;; Variables and options |
| 106 | 109 | ||
diff --git a/lisp/international/mule.el b/lisp/international/mule.el index e6e3f045a9e..922bec64c86 100644 --- a/lisp/international/mule.el +++ b/lisp/international/mule.el | |||
| @@ -1355,19 +1355,25 @@ graphical terminals." | |||
| 1355 | (t | 1355 | (t |
| 1356 | (error "Unsupported coding system for keyboard: %s" | 1356 | (error "Unsupported coding system for keyboard: %s" |
| 1357 | coding-system))) | 1357 | coding-system))) |
| 1358 | (when accept-8-bit | 1358 | (if accept-8-bit |
| 1359 | (or saved-meta-mode | 1359 | (progn |
| 1360 | (set-terminal-parameter terminal | 1360 | (or saved-meta-mode |
| 1361 | 'keyboard-coding-saved-meta-mode | 1361 | (set-terminal-parameter terminal |
| 1362 | (cons (nth 2 (current-input-mode)) | 1362 | 'keyboard-coding-saved-meta-mode |
| 1363 | nil))) | 1363 | (cons (nth 2 (current-input-mode)) |
| 1364 | (set-input-meta-mode 8)) | 1364 | nil))) |
| 1365 | (set-input-meta-mode 8 terminal)) | ||
| 1366 | (when saved-meta-mode | ||
| 1367 | (set-input-meta-mode (car saved-meta-mode) terminal) | ||
| 1368 | (set-terminal-parameter terminal | ||
| 1369 | 'keyboard-coding-saved-meta-mode | ||
| 1370 | nil))) | ||
| 1365 | ;; Avoid end-of-line conversion. | 1371 | ;; Avoid end-of-line conversion. |
| 1366 | (setq coding-system | 1372 | (setq coding-system |
| 1367 | (coding-system-change-eol-conversion coding-system 'unix))) | 1373 | (coding-system-change-eol-conversion coding-system 'unix))) |
| 1368 | 1374 | ||
| 1369 | (when saved-meta-mode | 1375 | (when saved-meta-mode |
| 1370 | (set-input-meta-mode (car saved-meta-mode)) | 1376 | (set-input-meta-mode (car saved-meta-mode) terminal) |
| 1371 | (set-terminal-parameter terminal | 1377 | (set-terminal-parameter terminal |
| 1372 | 'keyboard-coding-saved-meta-mode | 1378 | 'keyboard-coding-saved-meta-mode |
| 1373 | nil)))) | 1379 | nil)))) |
diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el index a9be1749423..f464b42182d 100644 --- a/lisp/minibuffer.el +++ b/lisp/minibuffer.el | |||
| @@ -859,8 +859,8 @@ Depending on this setting `minibuffer-complete' may use cycling, | |||
| 859 | like `minibuffer-force-complete'. | 859 | like `minibuffer-force-complete'. |
| 860 | If nil, cycling is never used. | 860 | If nil, cycling is never used. |
| 861 | If t, cycling is always used. | 861 | If t, cycling is always used. |
| 862 | If an integer, cycling is used as soon as there are fewer completion | 862 | If an integer, cycling is used so long as there are not more |
| 863 | candidates than this number." | 863 | completion candidates than this number." |
| 864 | :version "24.1" | 864 | :version "24.1" |
| 865 | :type completion--cycling-threshold-type) | 865 | :type completion--cycling-threshold-type) |
| 866 | 866 | ||
| @@ -977,7 +977,7 @@ when the buffer's text is already an exact match." | |||
| 977 | ;; This signal an (intended) error if comps is too | 977 | ;; This signal an (intended) error if comps is too |
| 978 | ;; short or if completion-cycle-threshold is t. | 978 | ;; short or if completion-cycle-threshold is t. |
| 979 | (consp (nthcdr threshold comps))))) | 979 | (consp (nthcdr threshold comps))))) |
| 980 | ;; Fewer than completion-cycle-threshold remaining | 980 | ;; Not more than completion-cycle-threshold remaining |
| 981 | ;; completions: let's cycle. | 981 | ;; completions: let's cycle. |
| 982 | (setq completed t exact t) | 982 | (setq completed t exact t) |
| 983 | (completion--cache-all-sorted-completions comps) | 983 | (completion--cache-all-sorted-completions comps) |
diff --git a/src/ChangeLog b/src/ChangeLog index 007a73f7988..65f1c086260 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,10 +1,23 @@ | |||
| 1 | 2012-10-18 Daniel Colascione <dancol@dancol.org> | ||
| 2 | |||
| 3 | * alloc.c (NSTATICS): Increase from 0x650 to 0x1000 | ||
| 4 | (staticpro): If we run out of staticpro slots, die with an | ||
| 5 | informative error instead of just calling emacs_abort. | ||
| 6 | |||
| 7 | 2012-10-18 Martin Rudalics <rudalics@gmx.at> | ||
| 8 | |||
| 9 | Fix two flaws reported by Dmitry Antipov. | ||
| 10 | * window.c (Ftemp_output_buffer_show): Remove. | ||
| 11 | (Fwindow_vscroll, Fset_window_vscroll): Use decode_live_window. | ||
| 12 | (syms_of_window): Remove defsubr for Stemp_output_buffer_show. | ||
| 13 | |||
| 1 | 2012-10-17 Eli Zaretskii <eliz@gnu.org> | 14 | 2012-10-17 Eli Zaretskii <eliz@gnu.org> |
| 2 | 15 | ||
| 3 | * makefile.w32-in ($(BLD)/w32.$(O)): | 16 | * makefile.w32-in ($(BLD)/w32.$(O)): |
| 4 | ($(BLD)/vm-limit.$(O)): | 17 | ($(BLD)/vm-limit.$(O)): |
| 5 | ($(BLD)/term.$(O)): | 18 | ($(BLD)/term.$(O)): |
| 6 | ($(BLD)/unexw32.$(O)): | 19 | ($(BLD)/unexw32.$(O)): |
| 7 | ($(BLD)/fileio.$(O)): | 20 | ($(BLD)/fileio.$(O)): |
| 8 | ($(BLD)/dispnew.$(O)): Update dependencies. | 21 | ($(BLD)/dispnew.$(O)): Update dependencies. |
| 9 | 22 | ||
| 10 | * w32term.h (w32_initialize_display_info, initialize_w32_display): | 23 | * w32term.h (w32_initialize_display_info, initialize_w32_display): |
diff --git a/src/alloc.c b/src/alloc.c index f2dd7c8cee7..08dc26784cc 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -376,7 +376,7 @@ struct gcpro *gcprolist; | |||
| 376 | /* Addresses of staticpro'd variables. Initialize it to a nonzero | 376 | /* Addresses of staticpro'd variables. Initialize it to a nonzero |
| 377 | value; otherwise some compilers put it into BSS. */ | 377 | value; otherwise some compilers put it into BSS. */ |
| 378 | 378 | ||
| 379 | #define NSTATICS 0x660 | 379 | #define NSTATICS 0x1000 |
| 380 | static Lisp_Object *staticvec[NSTATICS] = {&Vpurify_flag}; | 380 | static Lisp_Object *staticvec[NSTATICS] = {&Vpurify_flag}; |
| 381 | 381 | ||
| 382 | /* Index of next unused slot in staticvec. */ | 382 | /* Index of next unused slot in staticvec. */ |
| @@ -5030,7 +5030,7 @@ staticpro (Lisp_Object *varaddress) | |||
| 5030 | { | 5030 | { |
| 5031 | staticvec[staticidx++] = varaddress; | 5031 | staticvec[staticidx++] = varaddress; |
| 5032 | if (staticidx >= NSTATICS) | 5032 | if (staticidx >= NSTATICS) |
| 5033 | emacs_abort (); | 5033 | fatal ("NSTATICS too small. Try increasing and recompiling Emacs."); |
| 5034 | } | 5034 | } |
| 5035 | 5035 | ||
| 5036 | 5036 | ||
diff --git a/src/window.c b/src/window.c index b4fee61cac8..dfcabda59b9 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -3339,7 +3339,7 @@ displaying that buffer. */) | |||
| 3339 | return Qnil; | 3339 | return Qnil; |
| 3340 | } | 3340 | } |
| 3341 | 3341 | ||
| 3342 | 3342 | /* Obsolete since 24.3. */ | |
| 3343 | void | 3343 | void |
| 3344 | temp_output_buffer_show (register Lisp_Object buf) | 3344 | temp_output_buffer_show (register Lisp_Object buf) |
| 3345 | { | 3345 | { |
| @@ -3392,16 +3392,6 @@ temp_output_buffer_show (register Lisp_Object buf) | |||
| 3392 | } | 3392 | } |
| 3393 | } | 3393 | } |
| 3394 | } | 3394 | } |
| 3395 | |||
| 3396 | DEFUN ("internal-temp-output-buffer-show", | ||
| 3397 | Ftemp_output_buffer_show, Stemp_output_buffer_show, | ||
| 3398 | 1, 1, 0, | ||
| 3399 | doc: /* Internal function for `with-output-to-temp-buffer'. */) | ||
| 3400 | (Lisp_Object buf) | ||
| 3401 | { | ||
| 3402 | temp_output_buffer_show (buf); | ||
| 3403 | return Qnil; | ||
| 3404 | } | ||
| 3405 | 3395 | ||
| 3406 | /* Make new window, have it replace WINDOW in window-tree, and make | 3396 | /* Make new window, have it replace WINDOW in window-tree, and make |
| 3407 | WINDOW its only vertical child (HORFLAG 1 means make WINDOW its only | 3397 | WINDOW its only vertical child (HORFLAG 1 means make WINDOW its only |
| @@ -6423,15 +6413,8 @@ optional second arg PIXELS-P means value is measured in pixels. */) | |||
| 6423 | (Lisp_Object window, Lisp_Object pixels_p) | 6413 | (Lisp_Object window, Lisp_Object pixels_p) |
| 6424 | { | 6414 | { |
| 6425 | Lisp_Object result; | 6415 | Lisp_Object result; |
| 6426 | struct frame *f; | 6416 | struct window *w = decode_live_window (window); |
| 6427 | struct window *w; | 6417 | struct frame *f = XFRAME (w->frame); |
| 6428 | |||
| 6429 | if (NILP (window)) | ||
| 6430 | window = selected_window; | ||
| 6431 | else | ||
| 6432 | CHECK_WINDOW (window); | ||
| 6433 | w = XWINDOW (window); | ||
| 6434 | f = XFRAME (w->frame); | ||
| 6435 | 6418 | ||
| 6436 | if (FRAME_WINDOW_P (f)) | 6419 | if (FRAME_WINDOW_P (f)) |
| 6437 | result = (NILP (pixels_p) | 6420 | result = (NILP (pixels_p) |
| @@ -6455,18 +6438,11 @@ result of this rounding. | |||
| 6455 | If PIXELS-P is non-nil, the return value is VSCROLL. */) | 6438 | If PIXELS-P is non-nil, the return value is VSCROLL. */) |
| 6456 | (Lisp_Object window, Lisp_Object vscroll, Lisp_Object pixels_p) | 6439 | (Lisp_Object window, Lisp_Object vscroll, Lisp_Object pixels_p) |
| 6457 | { | 6440 | { |
| 6458 | struct window *w; | 6441 | struct window *w = decode_live_window (window); |
| 6459 | struct frame *f; | 6442 | struct frame *f = XFRAME (w->frame); |
| 6460 | 6443 | ||
| 6461 | if (NILP (window)) | ||
| 6462 | window = selected_window; | ||
| 6463 | else | ||
| 6464 | CHECK_WINDOW (window); | ||
| 6465 | CHECK_NUMBER_OR_FLOAT (vscroll); | 6444 | CHECK_NUMBER_OR_FLOAT (vscroll); |
| 6466 | 6445 | ||
| 6467 | w = XWINDOW (window); | ||
| 6468 | f = XFRAME (w->frame); | ||
| 6469 | |||
| 6470 | if (FRAME_WINDOW_P (f)) | 6446 | if (FRAME_WINDOW_P (f)) |
| 6471 | { | 6447 | { |
| 6472 | int old_dy = w->vscroll; | 6448 | int old_dy = w->vscroll; |
| @@ -6923,7 +6899,6 @@ respectively are not installed by `window-state-put'. */); | |||
| 6923 | defsubr (&Srun_window_configuration_change_hook); | 6899 | defsubr (&Srun_window_configuration_change_hook); |
| 6924 | defsubr (&Sselect_window); | 6900 | defsubr (&Sselect_window); |
| 6925 | defsubr (&Sforce_window_update); | 6901 | defsubr (&Sforce_window_update); |
| 6926 | defsubr (&Stemp_output_buffer_show); | ||
| 6927 | defsubr (&Ssplit_window_internal); | 6902 | defsubr (&Ssplit_window_internal); |
| 6928 | defsubr (&Sscroll_up); | 6903 | defsubr (&Sscroll_up); |
| 6929 | defsubr (&Sscroll_down); | 6904 | defsubr (&Sscroll_down); |