- 09 Apr, 2012 8 commits
-
-
Paul Eggert authored
I have been using this change for many months in my private copy of Emacs, and have used it to find several bugs. It's mature enough to publish now. * Makefile.in (GNULIB_MODULES): Add warnings, manywarnings. * configure.in: Support --enable-gcc-warnings, in the style of other GNU packages such as coreutils. (C_WARNINGS_SWITCH): Remove, replacing with... (WARN_CFLAGS, GNULIB_WARN_CFLAGS): New variable. (PKG_CHECK_MODULES, C_SWITCH_X_SITE): Use -isystem rather than -I, when including system files with GCC. * etc/NEWS: Mention --enable-gcc-warnings. * lib/Makefile.am (AM_CFLAGS): New macro. * m4/manywarnings.m4, m4/warnings.m4: New files, from gnulib. * lib-src/Makefile.in (C_WARNINGS_SWITCH): Remove. (WARN_CFLAGS, WERROR_CFLAGS): New macros. (BASE_CFLAGS): Use new macros rather than old. * lwlib/Makefile.in (C_WARNINGS_SWITCH): Remove. (WARN_CFLAGS, WERROR_CFLAGS): New macros. (ALL_CFLAGS): Use new macros rather than old. * oldXMenu/Makefile.in (C_WARNINGS_SWITCH): Remove. (WARN_CFLAGS, WERROR_CFLAGS): New macros. (ALL_CFLAGS): Use new macros rather than old. * src/Makefile.in (C_WARNINGS_SWITCH): Remove. (WARN_CFLAGS, WERROR_CFLAGS): New macros. (ALL_CFLAGS): Use new macros rather than old. * src/process.c: Ignore -Wstrict-overflow to work around GCC bug 52904. * src/regex.c: Ignore -Wstrict-overflow. If !emacs, also ignore -Wunused-but-set-variable, -Wunused-function, -Wunused-macros, -Wunused-result, -Wunused-variable. This should go away once the Emacs and Gnulib regex code is merged. (xmalloc, xrealloc): Now static.
-
Paul Eggert authored
* composite.c (get_composition_id): Use 'double' consistently instead of converting 'float' to 'double' and vice versa; this is easier to understand and avoids a GCC warning.
-
Glenn Morris authored
* src/Makefile.in: (leimdir): New variable. ($(leimdir)/leim-list.el): New rule. (emacs$(EXEEXT)): Depend on leim-list.el. Fixes: debbugs:4789
-
Glenn Morris authored
* Makefile.in (leim): Check cd return value. Pass fewer variables. (install-leim): Check cd return value. Pass $MFLAGS. (install-strip): Pass $MFLAGS.
-
Glenn Morris authored
* leim/Makefile.in: (TIT_GB, TIT_BIG5, CHINESE_TIT, MISC, TIT_MISC): Make them store the .el files rather than the .elc files. (NON_TIT_GB, NON_TIT_BIG5, CHINESE_NON_TIT, CHINESE_GB) (CHINESE_GB, CHINESE_BIG5, JAPANESE, KOREAN, THAI, VIETNAMESE) (LAO, INDIAN, TIBETAN, LATIN, UNICODE, SLAVIC, GREEK, RUSSIAN) (OTHERS, CHINESE, EASTASIA, ASIA, EUROPEAN, WORLD, NON_TIT_MISC): Remove variables listing the non-generated .el files. (.el.elc): Add explicit load-path for quail. (all): Depend on compile-main rule rather than $WORLD. (changed.tit, changed.misc): Also depend on $SUBDIRS. (leim-list.el): Don't depend on changed.tit or changed.misc. Remove unnecessary compilation check. (setwins, compile-targets, compile-main): New. (clean, mostlyclean): Update for change in TIT_MISC contents. (bootstrap-clean): Use a glob match to delete .elc, not a fixed list.
-
Stefan Monnier authored
(latin-ltx--ascii-p): New function. (latin-ltx--define-rules): New macro. (define-rules): Use it.
-
Glenn Morris authored
This function was removed with ucs-tables.el in 2008. * lisp/international/mule-cmds.el (set-default-coding-systems): * lisp/files.el (normal-mode): Remove guarded calls to ucs-set-table-for-input. * src/buffer.c (Qucs_set_table_for_input): Remove. (Fget_buffer_create): Don't call Qucs_set_table_for_input. (init_buffer_once, syms_of_buffer): Remove Qucs_set_table_for_input. Fixes: debbugs:9821
-
Glenn Morris authored
Eg org.texi has been using 4.7 functions for some time. Fixes: debbugs:10910
-
- 08 Apr, 2012 4 commits
-
-
Andreas Schwab authored
proper alignment.
-
Eli Zaretskii authored
lisp/textmodes/ispell.el (ispell-check-version): For hunspell, set ispell-encoding8-command to "-i", without a trailing space. (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2 separate command-line arguments, to specify the encoding, since that's how hunspell expects it.
-
Glenn Morris authored
-
Glenn Morris authored
This reduces somewhat the number of "rogue" settings in emacs -Q. Ref: http://lists.gnu.org/archive/html/emacs-devel/2008-06/msg00083.html
-
- 07 Apr, 2012 15 commits
-
-
Juanma Barranquero authored
-
Juanma Barranquero authored
-
Paul Eggert authored
* configure.in (PKG_CHECK_MODULES): Do not assume that pkg-config works; check its exit status. Problem reported by Jordi Gutiérrez Hermoso in <http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00787.html>.
-
Glenn Morris authored
-
Glenn Morris authored
-
Glenn Morris authored
* README, configure.in (AC_INIT): Bump version to 24.1.50. * doc/emacs/emacsver.texi (EMACSVER): Bump version to 24.1.50. * doc/man/emacs.1: Bump version to 24.1.50. * msdos/sed2v2.inp: Bump version to 24.1.50. * nextstep/Cocoa/Emacs.base/Contents/Info.plist: * nextstep/Cocoa/Emacs.base/Contents/Resources/English.lproj/InfoPlist.strings: * nextstep/GNUstep/Emacs.base/Resources/Info-gnustep.plist: * nextstep/GNUstep/Emacs.base/Resources/Emacs.desktop: Bump version to 24.1.50. * nt/config.nt, nt/makefile.w32-in, nt/emacs.rc, nt/emacsclient.rc: Bump version to 24.1.50.
-
Glenn Morris authored
* lisp/version.el (emacs-bzr-get-version): New function. * lisp/loadup.el (emacs-bzr-version): Set it. * lisp/mail/emacsbug.el (report-emacs-bug): Include bzr version. * etc/NEWS: Mention this, though it is not really relevant to releases. Insert template for 24.2 release. Fixes: debbugs:8054
-
Paul Eggert authored
* alloc.c (POINTERS_MIGHT_HIDE_IN_OBJECTS): New macro. (mark_memory): Mark Lisp_Objects only if pointers might hide in objects, as mark_maybe_pointer will catch them otherwise. (GC_LISP_OBJECT_ALIGNMENT): Remove; no longer needed. * s/gnu-linux.h (GC_LISP_OBJECT_ALIGNMENT) [__mc68000__]: Likewise.
-
Paul Eggert authored
* xml.c (libxml2_loaded_p) [!!WINDOWSNT]: 'inine' -> 'inline'.
-
Eli Zaretskii authored
admin/unidata/README: admin/unidata/copyright.html: admin/unidata/BidiMirroring.txt: admin/unidata/UnicodeData.txt: Update for the latest version 6.1 of the Unicode Standard. lisp/international/uni-bidi.el: lisp/international/uni-category.el: lisp/international/uni-combining.el: lisp/international/uni-decimal.el: lisp/international/uni-decomposition.el: lisp/international/uni-digit.el: lisp/international/uni-lowercase.el: lisp/international/uni-mirrored.el: lisp/international/uni-name.el: lisp/international/uni-numeric.el: lisp/international/uni-titlecase.el: lisp/international/uni-uppercase.el: Update for Unicode 6.1.
-
Eli Zaretskii authored
src/makefile.w32-in (OBJ2): Add xml.$(O). (GLOBAL_SOURCES): Add xml.c. ($(BLD)/xml.$(O)): New dependency list. src/xml.c (DEF_XML2_FN, LOAD_XML2_FN) [WINDOWSNT]: New macros. (fn_htmlReadMemory, fn_xmlReadMemory, fn_xmlDocGetRootElement) (fn_xmlFreeDoc, fn_xmlCleanupParser, fn_xmlCheckVersion) [!WINDOWSNT]: New macros. (init_libxml2_functions, libxml2_loaded_p): New functions. (parse_region): Call fn_xmlCheckVersion instead of using the macro LIBXML_TEST_VERSION. Call libxml2 functions via the fn_* macros. (xml_cleanup_parser): New function, export for fn_xmlCleanupParser. Calls xmlCleanupParser only if libxml2 was loaded (or statically linked in). (Flibxml_parse_html_region, Flibxml_parse_xml_region): Call init_libxml2_functions before calling libxml2 functions. (syms_of_xml) <Qlibxml2_dll>: DEFSYM it. src/emacs.c: Don't include libxml/parser.h. (shut_down_emacs): Call xml_cleanup_parser, instead of calling xmlCleanupParser directly. src/ lisp.h [HAVE_LIBXML2]: Add prototype for xml_cleanup_parser. nt/configure.bat: Support building with libxml2. nt/INSTALL: nt/README.W32: Add information about libxml2. lisp/term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs. lib-src/makefile.w32-in (obj): Add xml.o.
-
Eli Zaretskii authored
lib-src/makefile.w32-in (ALL): Add $(BLD)/test-distrib.exe.
-
Eli Zaretskii authored
nt/makefile.w32-in: (all): Don't depend on stamp_BLD and on maybe-bootstrap. (all-other-dirs-$(MAKETYPE)): Depend on maybe-bootstrap. (bootstrap-gmake): Invoke the "clean" and build targets in 2 separate commands, so they run in that order even under "make -j". lib/makefile.w32-in (gnulib, all): Don't depend on stamp_BLD. lib-src/makefile.w32-in (ALL): Now the list of executables, not of phony targets. (.PHONY): Only make-docfile is its prerequisite now. (make-docfile): Don't depend on stamp_BLD. Add a comment about the need in this target. (ctags, etags, ebrowse, hexl, movemail, emacsclient) (test-distrib): Phony targets removed. ($(BLD)/test-distrib.exe): Run test-distrib as part of the recipe. (all): Don't depend on stamp_BLD.
-
Eli Zaretskii authored
-
Eli Zaretskii authored
src/indent.c (Fvertical_motion): If there is a display string at point, use it.vpos to compute how many lines to backtrack after move_it_to point.
-
- 06 Apr, 2012 3 commits
-
-
Eli Zaretskii authored
src/buffer.h (FETCH_CHAR, FETCH_MULTIBYTE_CHAR): src/character.h (STRING_CHAR, STRING_CHAR_AND_LENGTH): Add comments about subtle differences between FETCH_CHAR* and STRING_CHAR* macros related to unification of CJK characters. For the details, see the discussion following the message here: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=11073#14.
-
Chong Yidong authored
(Completion Variables): Document completion-category-overrides.
-
Ted Zlatanov authored
-
- 05 Apr, 2012 10 commits
-
-
Lars Magne Ingebrigtsen authored
* window.el (shrink-window): Mention the `window-min-height' variable in the doc string.
-
Glenn Morris authored
-
Eli Zaretskii authored
-
Chong Yidong authored
* etc/NEWS: Some minor rearrangement.
-
Ted Zlatanov authored
-
Bastien Guerry authored
Thanks to Brad Town for spotting this.
-
Glenn Morris authored
-
Chong Yidong authored
-
Glenn Morris authored
-
Glenn Morris authored
-