1. 03 Sep, 2014 5 commits
  2. 02 Sep, 2014 12 commits
  3. 01 Sep, 2014 13 commits
    • Fabián Ezequiel Gallina's avatar
      * lisp/progmodes/python.el (python-indent-post-self-insert-function): · 0e4c8f18
      Fabián Ezequiel Gallina authored
      Avoid electric colon at beginning-of-defun. 
      
      * test/automated/python-tests.el:
      (python-indent-electric-colon-1): New test.  (Bug#18228)
      0e4c8f18
    • Glenn Morris's avatar
      * lisp/tutorial.el (tutorial--display-changes): Fix 2014-07-29 change. · ad5c82a8
      Glenn Morris authored
      Fixes: debbugs:18382
      ad5c82a8
    • Dmitry Antipov's avatar
      Avoid extra calls to strlen in filesystem I/O routines. · 50e9e580
      Dmitry Antipov authored
      * fileio.c (Fexpand_file_name): Avoid calls to strlen if
      the length of 'newdir' is known or may be precalculated.
      (file_accessible_directory_p): Prefer to pass Lisp_Object,
      not 'char *', and so use precalculated length.
      (Ffile_accessible_directory_p):
      * callproc.c (encode_current_directory, init_callproc):
      * charset.c (init_charset):
      * lread.c (load_path_check, load_path_default): Adjust users.
      * lisp.h (file_accessible_directory_p): Tweak prototype.
      50e9e580
    • Eli Zaretskii's avatar
      203fb363
    • Eli Zaretskii's avatar
    • Eli Zaretskii's avatar
      Implement the GNU ls -v switch in ls-lisp.el. · cd6f709c
      Eli Zaretskii authored
       lisp/ls-lisp.el (ls-lisp-version-lessp): New function.
       (ls-lisp-handle-switches): Use it to implement the -v switch of GNU ls.
       (ls-lisp--insert-directory): Mention the -v switch in the doc string.
      
      Fixes: debbugs:18051
      cd6f709c
    • Eli Zaretskii's avatar
      Use the new string-collate-lessp function in ls-lisp.el. · 0360ec58
      Eli Zaretskii authored
       lisp/ls-lisp.el (ls-lisp-use-string-collate)
       (ls-lisp-UCA-like-collation): New defcustoms.
       (ls-lisp-string-lessp): Use them to control sorting by file
       names.
      
       etc/NEWS: Mention that ls-lisp uses string-collate-lessp.
      
      Fixes: debbugs:18051
      0360ec58
    • Eli Zaretskii's avatar
      src/lastfile.c: Fix last change. · 8d033ecb
      Eli Zaretskii authored
      8d033ecb
    • Glenn Morris's avatar
      Auto-commit of loaddefs files. · acb6f20c
      Glenn Morris authored
      acb6f20c
    • Paul Eggert's avatar
      Fix typo in previous change's ChangeLog. · 177030ba
      Paul Eggert authored
      177030ba
    • Paul Eggert's avatar
      --enable-silent-warnings now suppresses more chatter. · bc12381e
      Paul Eggert authored
      * INSTALL, etc/NEWS: Document this.
      * lib-src/Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_CC, am__v_CC_)
      (am__v_CC_0, am__v_CC_1, AM_V_CCLD, am__v_CCLD_, am__v_CCLD_0)
      (am__v_CCLD_1): New macros, taken from Automake.
      (regex.o, etags${EXEEXT}, ctags${EXEEXT}, ebrowse${EXEEXT})
      (profile${EXEEXT}, make-docfile${EXEEXT}, movemail${EXEEXT})
      (pop.o, emacsclient${EXEEXT}, emacsclientw${EXEEXT})
      (emacsclientw${EXEEXT}, ntlib.o, hexl${EXEEXT})
      (update-game-score${EXEEXT}): Use them.
      * lwlib/Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_CC, am__v_CC_)
      (am__v_CC_0, am__v_CC_1): New macros, taken from Automake.
      (.c.o): Use them.
      * oldXMenu/Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_CC, am__v_CC_)
      (am__v_CC_0, am__v_CC_1): New macros, taken from Automake.
      (.c.o): Use them.
      * src/Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_CC, am__v_CC_)
      (am__v_CC_0, am__v_CC_1, AM_V_CCLD, am__v_CCLD_, am__v_CCLD_0)
      (am__v_CCLD_1): New macros, taken from Automake.
      (.c.o, .m.o, temacs$(EXEEXT)): Use them.
      bc12381e
    • Paul Eggert's avatar
      Clean up extern decls a bit. · 1564080f
      Paul Eggert authored
      * configure.ac (WERROR_CFLAGS): Don't disable -Wnested-externs.
      While we're at it, don't disable -Wlogical-op either.
      * src/bytecode.c: Include blockinput.h and keyboard.h rather
      than rolling their APIs by hand.
      * src/emacs.c: Include regex.h and rely on its and lisp.h's API
      rather than rolling them by hand.
      * src/lastfile.c: Include lisp.h, to check this file's API.
      * src/lisp.h (lisp_eval_depth, my_edata, my_endbss, my_endbss_static):
      New decls.
      * src/regex.h (re_max_failures): New decl.
      * src/unexcw.c, src/unexmacosx.c, src/unexw32.c:
      Rely on lisp.h's API rather than rolling it by hand.
      * src/vm-limit.c (__after_morecore_hook, __morecore, real_morecore):
      Declare at top level, to pacify GCC -Wnested-externs.
      1564080f
    • Paul Eggert's avatar
      * etags.c (emacs_strchr, emacs_strrchr): Remove. · 56f9f0ab
      Paul Eggert authored
      All uses replaced by strchr and strrchr, which are on all
      target platforms now.
      56f9f0ab
  4. 31 Aug, 2014 6 commits
  5. 30 Aug, 2014 4 commits
    • Paul Eggert's avatar
      0ac6761d
    • Paul Eggert's avatar
      Vector-sorting fixes. · f9caea82
      Paul Eggert authored
      It's not safe to call qsort or qsort_r, since they have undefined
      behavior if the user-specified predicate is not a total order.
      Also, watch out for garbage-collection while sorting vectors.
      * admin/merge-gnulib (GNULIB_MODULES): Add vla.
      * configure.ac (qsort_r): Remove, as we no longer use qsort-like
      functions.
      * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
      * lib/vla.h, m4/vararrays.m4: New files, copied from gnulib.
      * lib/stdlib.in.h, m4/stdlib_h.m4: Sync from gnulib, incorporating:
      2014-08-29 qsort_r: new module, for GNU-style qsort_r
      The previous two files' changes are boilerplate generated by
      admin/merge-gnulib, and should not affect Emacs.
      * src/fns.c: Include <vla.h>.
      (sort_vector_predicate) [!HAVE_QSORT_R]: Remove.
      (sort_vector_compare): Remove, replacing with ....
      (inorder, merge_vectors, sort_vector_inplace, sort_vector_copy):
      ... these new functions.
      (sort_vector): Rewrite to use the new functions.
      GCPRO locals, since the predicate can invoke the GC.
      Since it's in-place return void; caller changed.
      (merge): Use 'inorder', for clarity.
      
      Fixes: debbugs:18361
      f9caea82
    • Ken Brown's avatar
    • Paul Eggert's avatar
      * sysdep.c (str_collate): Clear errno just before wcscoll(_l). · 88366fcf
      Paul Eggert authored
      One can't hoist this out of the 'if', because intervening calls to
      newlocale, twolower, etc. can change errno.
      88366fcf