1. 16 Jun, 2014 2 commits
  2. 15 Jun, 2014 4 commits
    • Glenn Morris's avatar
      Explicitly set LDFLAGS in some sub-Makefiles · b24ffa81
      Glenn Morris authored
      * lib-src/Makefile.in (LDFLAGS): Explicitly set via configure.
      * nt/Makefile.in (LDFLAGS): Explicitly set via configure.
    • Michael Albinus's avatar
      Sync with Tramp 2.2.10. · fb1877d6
      Michael Albinus authored
    • Stefan Monnier's avatar
      * lisp/ses.el: Miscellaneous cleanups; use lexical-binding; avoid add-to-list. · df5703a0
      Stefan Monnier authored
      (ses-localvars): Remove ses--local-printer-list, unused.
      (ses--metaprogramming): New macro.  Use it to defvar variables.
      (ses-set-localvars): Simplify.
      (ses--locprn, ses-cell): Use defstruct.  Change ses-cell's
      property-list into an alist.
      (ses-locprn-get-compiled, ses-locprn-compiled-aset)
      (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
      Remove; use defstruct accessors/setters instead.
      (ses-cell-formula-aset, ses-cell-printer-aset)
      (ses-cell-references-aset): Remove, use setf instead.
      (ses--alist-get): New function.
      (ses-cell-property): Rename from ses-cell-property-get and rewrite.
      Use an alist instead of a plist and don't do move-to-front since the
      list is always short.
      (ses-cell-property-get-fun, ses-cell-property-delq-fun)
      (ses-cell-property-set-fun, ses-cell-property-set)
      (ses-cell-property-pop-fun, ses-cell-property-get-handle)
      (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
      (ses--letref): New macro.
      (ses-cell-property-pop): Rewrite.
      (ses--cell): Rename from ses-cell and make it into a function.
      Make `formula' fallback on `value' if nil.
      (ses--local-printer): Rename from ses-local-printer and make it into
      a function.
      (ses-set-cell): Turn it into a macro so finding the accessor from the
      field name is done at compile time.
      (ses-repair-cell-reference-all): Test presence of `sym' rather than
      `ref' before adding `sym' to :ses-repair-reference.
      (ses-calculate-cell): Use ses--letref rather than
      (ses-write-cells): Use a single prin1-to-string.
      (ses-setter-with-undo): New function.
      (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
      (ses-unset-with-undo): Remove.
      (ses-load): Prefer apply' over `eval'.
      (ses-read-printer, ses-set-column-width): Use standard "(default
      foo)" format.
    • Glenn Morris's avatar
      Use `make -C' rather than `cd && make' · 0d9f8137
      Glenn Morris authored
      * Makefile.in: Use `make -C' rather than `cd && make' throughout.
      * lib-src/Makefile.in (../lib/libgnu.a): Use `make -C' rather than `cd && make'.
      * lisp/Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
      * lwlib/Makefile.in ($(globals_h)): Use `make -C' rather than `cd && make'.
      * src/Makefile.in: Use `make -C' rather than `cd && make' throughout.
  3. 14 Jun, 2014 4 commits
  4. 13 Jun, 2014 5 commits
    • Glenn Morris's avatar
      With GNU make, MFLAGS is not needed · f9d80c51
      Glenn Morris authored
      * Makefile.in (CC, CFLAGS, LDFLAGS, CPPFLAGS, abs_top_srcdir):
      Remove, no longer used.
      (lib, lib-src, lisp, nt, src, blessmail, install-arch-dep)
      (install-nt, install-strip, uninstall, uninstall-nt)
      (mostlyclean, clean, distclean, bootstrap-clean)
      (maintainer-clean, extraclean, TAGS, tags, check, $(DOCS)):
      ($(INSTALL_DOC), $(UNINSTALL_DOC), info, bootstrap, check-declare):
      GNU make automatically passes command-line arguments to sub-makes.
      * admin/unidata/Makefile.in (${DSTDIR}/charprop.el):
      GNU make automatically passes command-line arguments to sub-makes.
      * lib-src/Makefile.in (../lib/libgnu.a):
      GNU make automatically passes command-line arguments to sub-makes.
      * lisp/Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
      (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
      (compile-always): GNU make automatically passes
      command-line arguments to sub-makes.
      * lwlib/Makefile.in ($(globals_h)):
      GNU make automatically passes command-line arguments to sub-makes.
      * src/Makefile.in ($(leimdir)/leim-list.el, $(srcdir)/macuvs.h)
      ($(libsrc)/make-docfile$(EXEEXT), $(lwlibdir)/liblw.a)
      ($(oldXMenudir)/libXMenu11.a, ns-app, .el.elc)
      ($(lispsource)/loaddefs.el, bootstrap-emacs$(EXEEXT)):
      GNU make automatically passes command-line arguments to sub-makes.
      * test/automated/Makefile.in (compile-main):
      GNU make automatically passes command-line arguments to sub-makes.
    • Glenn Morris's avatar
      Remove pointless code in calendar-generate-window · 5fd71fed
      Glenn Morris authored
      * lisp/calendar/calendar.el (calendar-generate-window):
      Remove pointless call to font-lock-fontify-buffer.
    • Matthias Meulien's avatar
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when · bf26b463
      Stefan Monnier authored
      bumping forward into a closing paren.
      Fixes: debbugs:17761
    • Stefan Monnier's avatar
      * lisp/term/xterm.el (xterm--version-handler): Work around for OSX · 40be983b
      Stefan Monnier authored
      Fixes: debbugs:17607
  5. 12 Jun, 2014 11 commits
  6. 11 Jun, 2014 1 commit
    • Stefan Monnier's avatar
      * lisp/rect.el: Make it possible to move bounds past EOL or into TABs. · 7e74ad02
      Stefan Monnier authored
      (operate-on-rectangle): Use apply-on-rectangle.
      (rectangle--mark-crutches): New var.
      (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
      (rectangle--crutches, rectangle--reset-crutches): New functions.
      (apply-on-rectangle): Obey crutches.  Avoid setq.
      Fix missing final iteration if end is at EOB&BOL.
      (rectangle-mark-mode-map): Add remap bindings for
      exchange-point-and-mark and char/line movements.
      (rectangle--*-char): New function.
      (rectangle-exchange-point-and-mark, rectangle-right-char)
      (rectangle-left-char, rectangle-forward-char)
      (rectangle-backward-char, rectangle-next-line)
      (rectangle-previous-line): New commands.
      (rectangle--place-cursor): New function.
      (rectangle--highlight-for-redisplay): Use it.  Use apply-on-rectangle.
  7. 08 Jun, 2014 2 commits
    • Glenn Morris's avatar
      Small doc updates re initial-buffer-choice · 6d069b1b
      Glenn Morris authored
      * doc/emacs/entering.texi (Entering Emacs): Small fix re initial-buffer-choice.
      * doc/emacs/misc.texi (emacsclient Options): Copyedit.
      * doc/lispref/os.texi (Startup Summary): Small fix for initial-buffer-choice.
      * lisp/startup.el (initial-buffer-choice): Doc fix.
      Reset :version (adding an option does not merit a :version bump).
    • Glenn Morris's avatar
      Doc edits re uniquify · 99d8aedf
      Glenn Morris authored
      * doc/emacs/buffers.texi (Uniquify): Copyedits.
      * doc/emacs/files.texi (Visiting): Update for uniquify changes.
      * doc/lispref/files.texi (Subroutines of Visiting): Mention uniquify.
      * doc/misc/vip.texi (Files): Defer to Emacs manual for uniquify details.
      * lisp/bookmark.el (bookmark-load): Doc fix.
      * lisp/uniquify.el (uniquify-buffer-name-style): Doc fix.
      * lisp/files.el: Comment.
      * etc/NEWS: Related edit.
  8. 06 Jun, 2014 8 commits
  9. 05 Jun, 2014 3 commits
    • Leo Liu's avatar
    • Michal Nazarewicz's avatar
      tildify.el: Rewrite `tildify-region' and co., add foreach function. · 03d7d160
      Michal Nazarewicz authored
      * lisp/textmodes/tildify.el (tildify-foreach-region-outside-env): New
      function which calls a callback on portions of the buffer that are
      outside of ignored environments.
      (tildify-build-regexp): Remove function since it is now
      incorporated in `tildify-foreach-region-outside-env' where it is
      optimised and simplified by the use of `mapconcat'.
      (tildify-tildify): Return number of substitutions made so that…
      (tildify-count): …can be removed.
      (tildify-find-env): Accept a new PAIRS argument which was
      previously looked up in `tildify-ignored-environments-alist' each
      time the function was called.  With this change, the lookup is
      performed only once in `tildify-foreach-region-outside-env'.
      (tildify-region): Greatly simplify the function since now most of
      the work is done by `tildify-foreach-region-outside-env'.
      (tildify-mode-alist): Simplify slightly by avoiding if and setq
      and instead using or.
      * tests/automated/tildify-tests.el (tildify-test-find-env-end-re-bug)
      (tildify-test-find-env-group-index-bug): Update to support new
      signature of the `tildify-foreach-region-outside-env' function.
      Namely, it now takes pairs as an argument instead of looking it up in
    • Michal Nazarewicz's avatar
      tildify.el: Optimise environments regexes · df344ab4
      Michal Nazarewicz authored
      * lisp/textmodes/tildify.el (tildify-ignored-environments-alist):
      Each time beginning of an environment to ignore is found,
      `tildify-find-env' needs to identify regexp for the ending
      of the environment.  This is done by trying all the opening
      regexes on matched text in a loop, so to speed that up, this
      loop should have fewer things to match, which can be done by
      using alternatives in the opening regexes.
      Coincidentally, this should make matching of the opening
      regexp faster as well thanks to the use of `regexp-opt' and
      having common prefix pulled from many regexes.