1. 22 Jun, 2012 14 commits
    • Stefan Monnier's avatar
      Further GV/CL cleanups. · 36cec983
      Stefan Monnier authored
      * lisp/emacs-lisp/gv.el (gv-get): Autoload functions to find their
      gv-expander.
      (gv--defun-declaration): New function.
      (defun-declarations-alist): Use it.
      (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
      (gv-place): Autoload.
      * lisp/emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
      original definition of dotimes and dolist.
      * lisp/emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
      (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
      * lisp/emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
      (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
      (cl-ninth, cl-tenth): Move gv handler to the function's definition.
      * lisp/emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
      to the function's definition.
      * lisp/Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
      * lisp/window.el:
      * lisp/files.el:
      * lisp/faces.el:
      * lisp/env.el: Don't use CL.
      36cec983
    • Paul Eggert's avatar
      Support higher-resolution time stamps. · d35af63c
      Paul Eggert authored
      Fixes: debbugs:9000
      d35af63c
    • Stefan Monnier's avatar
      * lisp/icomplete.el (icomplete-minibuffer-setup, icomplete-completions): · f143bfe3
      Stefan Monnier authored
      Move the non-essential binding to the post/pre-command-hook where it is
      more obviously correct.
      f143bfe3
    • Stefan Monnier's avatar
      * lisp/subr.el (read-passwd): Don't use a history at all. · ac77b21a
      Stefan Monnier authored
      * lisp/savehist.el (savehist-save): Remove password saved accidentally
      because of the above bug.
      ac77b21a
    • Paul Eggert's avatar
      Merge from gnulib. · 05730648
      Paul Eggert authored
      * lib/filemode.h, lib/signal.in.h, lib/stat.c, lib/stdint.in.h:
      * lib/stdlib.in.h, lib/unistd.in.h, m4/extensions.m4, m4/getloadavg.m4:
      * m4/getopt.m4, m4/gnulib-common.m4, m4/largefile.m4, m4/mktime.m4:
      * m4/multiarch.m4, m4/nocrash.m4, m4/stdio_h.m4, m4/time_r.m4:
      Copy new versions from gnulib, incorporating the following changes:
      2012-06-22 time_r: fix typo that always overrode localtime_r decl
      2012-06-22 Write "Mac OS X" instead of "MacOS X".
      2012-06-21 mktime: fix integer overflow in 'configure'-time test
      2012-06-21 nonblocking: Avoid compilation error on mingw64.
      2012-06-19 stat, fstat: Avoid warnings on mingw64.
      2012-06-19 getopt-gnu: Fix exit code overflow in autoconf test.
      05730648
    • Glenn Morris's avatar
      Improve pcmpl-rpm-query-options custom type · b57b344b
      Glenn Morris authored
      b57b344b
    • Bastien Guerry's avatar
      Fix bug #11726 -- send a message after `toggle-read-only'. · 76386c5a
      Bastien Guerry authored
      Thanks to Drew Adam for reporting this.
      76386c5a
    • Stefan Monnier's avatar
      Provide generalized variables in core Elisp. · 2ee3d7f0
      Stefan Monnier authored
      * lisp/emacs-lisp/gv.el: New file.
      * lisp/subr.el (push, pop): Extend to generalized variables.
      * lisp/loadup.el (macroexp): Unload if preloaded and uncompiled.
      * lisp/emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
      * lisp/emacs-lisp/cl-macs.el: Require gv.  Use gv-define-setter,
      gv-define-simple-setter, and gv-define-expander.
      Remove setf-methods defined in gv.  Rename cl-setf -> setf.
      (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
      (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
      (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
      (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
      gv-letplace.
      (cl-defstruct): Don't define setf-method any more.
      * lisp/emacs-lisp/cl.el (flet): Don't autoload.
      (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
      (define-setf-expander, defsetf, define-modify-macro)
      (cl-struct-setf-expander): Move from cl-lib.el.
      * lisp/emacs-lisp/syntax.el:
      * lisp/emacs-lisp/ewoc.el:
      * lisp/emacs-lisp/smie.el:
      * lisp/emacs-lisp/cconv.el:
      * lisp/emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
      (timer--time): Use gv-define-simple-setter.
      * lisp/emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
      to avoid coding-system problems in subr.el.  Adjust all users.
      (macroexp--maxsize, macroexp-small-p): New functions.
      * lisp/emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
      * lisp/scroll-bar.el (scroll-bar-mode):
      * lisp/simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
      (normal-erase-is-backspace-mode): Don't use the `eq' place.
      * lisp/winner.el (winner-configuration, winner-make-point-alist)
      (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
      * lisp/files.el (locate-file-completion-table): Avoid list*.
      
      Fixes: debbugs:11657
      2ee3d7f0
    • Glenn Morris's avatar
      Further speed up rpm completion, by caching the installed packages · 575db3f1
      Glenn Morris authored
      * lisp/pcmpl-rpm.el (pcmpl-rpm-cache): New option.
      (pcmpl-rpm-cache-stamp-file): New constant.
      (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
      (pcmpl-rpm-packages): Optionally cache list of packages.
      575db3f1
    • Chong Yidong's avatar
      Misc doc fixes for Dired. · c5695d1d
      Chong Yidong authored
      * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
      (dired-create-files): Doc fix (Bug#11329).
      (dired-do-copy): Doc fix (Bug#11334).
      (dired-mark-read-string): Doc fix (Bug#11553).
      
      * dired.el (dired-recursive-copies, dired-recursive-deletes): Doc
      fix (Bug#11326).
      (dired-make-relative): Doc fix (Bug#11332).  Remove unused arg.
      (dired-dwim-target): Doc fix.
      
      * wdired.el (wdired-mode): Doc fix.
      c5695d1d
    • Chong Yidong's avatar
      b6a92dfe
    • Glenn Morris's avatar
      Try to speed up pcomplete's calling of rpm -qa · a4c8dd51
      Glenn Morris authored
      Ref: http://lists.gnu.org/archive/html/emacs-devel/2012-04/msg00174.html
      
      * lisp/pcmpl-rpm.el (pcmpl-rpm): New group.
      (pcmpl-rpm-query-options): New option.
      (pcmpl-rpm-packages): No need to inline it.  Use pcmpl-rpm-query-options.
      a4c8dd51
    • Eli Zaretskii's avatar
      Enlarge NSTATICS to 0x650. · d251c37c
      Eli Zaretskii authored
       src/alloc.c (NSTATICS): Enlarge to 0x650.  Otherwise, Emacs compiled
       with -DENABLE_CHECKING -DXASSERTS -DGLYPH_DEBUG=1 -DBYTE_CODE_METER
       aborts in staticpro during startup.  (Without -DBYTE_CODE_METER,
       staticidx goes up to 1597 out of 1600 = 0x640.)
      d251c37c
    • Glenn Morris's avatar
  2. 21 Jun, 2012 4 commits
  3. 20 Jun, 2012 6 commits
  4. 19 Jun, 2012 8 commits
  5. 18 Jun, 2012 8 commits