1. 24 Apr, 2014 3 commits
  2. 23 Apr, 2014 1 commit
  3. 22 Apr, 2014 9 commits
    • Daniel Colascione's avatar
      2014-04-22 Daniel Colascione <dancol@dancol.org> · 1b0f10d2
      Daniel Colascione authored
      	* emacs-lisp/byte-run.el (function-put): Unbreak build: don't
      	use defun to define `function-put'.
    • Michael Heerdegen's avatar
      * dired.el (dired-insert-set-properties): Do not consider · f2df692c
      Michael Heerdegen authored
      subdirectory headings and empty lines to be information that
      `dired-hide-details-mode' should hide.  (Bug#17228)
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function. · 4f965793
      Stefan Monnier authored
      (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
      (lisp-mode-variables): Set font-lock-extra-managed-props.
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/byte-run.el (function-put): New function. · 67c477ae
      Stefan Monnier authored
      (defun-declarations-alist): Use it.  Add `pure' and `side-effect-free'.
      * lisp/emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
      (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
      Use them.
    • Michael Albinus's avatar
      * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions): · 14828a95
      Michael Albinus authored
      Remove test messages.
      (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
      and `target' twice.
    • Daniel Colascione's avatar
      Correctly macroexpand top-level forms during eager macroexpand · 12b1389c
      Daniel Colascione authored
      * lisp/emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
      Improve docstrings.
      * lisp/emacs-lisp/macroexp.el (internal-macroexpand-for-load): Add
      `full-p' parameter; when nil, call `macroexpand' instead of
      * src/lread.c (readevalloop_eager_expand_eval): New function
      that can recurse into toplevel forms.
      (readevalloop): Call it.
      * src/lisp.h: Declare Qprogn.
      * src/callint.c (Qprogn): No longer static.
      * test/automated/bytecomp-tests.el (test-byte-comp-compile-and-load):
      Add compile flag.
      (test-byte-comp-macro-expand-lexical-override): Use it.
      (test-eager-load-macro-expand-lexical-override): New tests.
    • Daniel Colascione's avatar
      Minor bytecomp.el fixes · c98212f9
      Daniel Colascione authored
      * lisp/emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
      Use lambda function values, not quoted lambdas.
      (byte-compile-recurse-toplevel): Remove extraneous &optional.
    • Daniel Colascione's avatar
      Optimize cl-struct-slot-value; fix test · 66fda794
      Daniel Colascione authored
      2014-04-22  Daniel Colascione  <dancol@dancol.org>
      	* emacs-lisp/cl-macs.el
      	(cl-struct-sequence-type,cl-struct-slot-info): Declare pure.
      	(cl-struct-slot-value): Conditionally use aref or nth so that the
      	compiler produces optimal code.
      2014-04-22  Daniel Colascione  <dancol@dancol.org>
      	* automated/cl-lib.el (cl-lib-struct-accessors): Fix test to
      	account for removal of `cl-struct-set-slot-value'.
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure. · d6f14ca7
      Stefan Monnier authored
      (cl--set-elt): Don't proclaim as inline.
      (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
      Define as inlinable instead.
      (cl-struct-set-slot-value): Remove.
      * doc/misc/cl.texi (Structures): Remove cl-struct-set-slot-value.
      * lisp/emacs-lisp/cl-lib.el (cl--set-elt): Remove.
      * lisp/emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
      Use setf instead.
  4. 21 Apr, 2014 8 commits
  5. 20 Apr, 2014 3 commits
  6. 19 Apr, 2014 1 commit
  7. 18 Apr, 2014 1 commit
    • Michael Albinus's avatar
      Avoid recursive load of tramp.el · ce8c5107
      Michael Albinus authored
      * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
      Do not autoload.
      (tramp-file-name-handler, tramp-completion-file-name-handler):
      Revert patch from 2014-04-10, it isn't necessary anymore.
      (tramp-register-autoload-file-name-handlers): New defuns.
      (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
      (tramp-register-file-name-handlers): Remove also
      `tramp-autoload-file-name-handler' from `file-name-handler-list'.
      Do not autoload its invocation, but eval it after loading of 'tramp.
      * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
      * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
  8. 17 Apr, 2014 2 commits
    • Daniel Colascione's avatar
      2014-04-17 Daniel Colascione <dancol@dancol.org> · bfc30790
      Daniel Colascione authored
      	Add support for bracketed paste mode; add infrastructure for
      	managing terminal mode enabling and disabling automatically.
      	* xt-mouse.el:
      	(xterm-mouse-mode): Simplify.
      	(xterm-mouse-tracking-disable-sequence): New constants.
      	(turn-off-xterm-mouse-tracking-on-terminal): Use
      	tty-mode-set-strings and tty-mode-reset-strings terminal
      	parameters instead of random hooks.
      	(turn-off-xterm-mouse-tracking): Delete.
      	* term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
      	(xterm-paste-ending-sequence): New constant.
      	(xterm-paste): New command used for bracketed paste support.
      	(xterm-modify-other-keys-terminal-list): Delete obsolete variable.
      	(terminal-init-xterm-bracketed-paste-mode): New function.
      	(terminal-init-xterm): Call it.
      	(terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
      	and tty-mode-reset-strings instead of random hooks.
      	(xterm-remove-modify-other-keys): Delete obsolete functions.
      	* term/screen.el: Rewrite to just use the xterm code.  Add
      	copyright notice.  Mention tmux.
    • Ian D's avatar
      * lisp/image-mode.el (image-mode-window-put): Also update the property of · e51c8d91
      Ian D authored
      the "default window".
      * lisp/doc-view.el (doc-view-new-window-function): If no window
      exists,	move to the last known page.
  9. 16 Apr, 2014 5 commits
    • Stefan Monnier's avatar
      * lisp/nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization · b262bde3
      Stefan Monnier authored
      was done.
      * lisp/nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
      comment to EOB.
      Fixes: debbugs:17264
    • Stefan Monnier's avatar
      * lisp/progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in · c76a7a5c
      Stefan Monnier authored
      Fixes: debbugs:17262
    • Eli Zaretskii's avatar
      Fix the MSDOS build. · bf6b4923
      Eli Zaretskii authored
       src/unexcoff.c [MSDOS]: Include libc/atexit.h.
       (copy_text_and_data): Zero out the atexit chain pointer before
       dumping Emacs.
       src/termhooks.h (encode_terminal_code): Update prototype.
       src/term.c (encode_terminal_code) [DOS_NT]: Make it externally
       visible for all DOS_NT ports, not just WINDOWSNT.
       (syms_of_term) [!MSDOS]: Don't define 'tty-menu-*' symbols on MSDOS.
       src/sysdep.c (emacs_sigaction_init, init_signals): Don't use SIGCHLD
       unless it is defined.
       (emacs_pipe) [MSDOS]: Redirect to 'pipe'.
       src/process.c (close_on_exec, accept4, process_socket): Move into
       the "ifdef subprocesses" part.
       (catch_child_signal): Condition by "ifdef subprocesses".
       (syms_of_process) <Qinternal_default_process_sentinel>
       <Qinternal_default_process_filter>: Condition by "ifdef subprocesses".
       src/msdos.h: Add prototypes for new functions.
       (EINPROGRESS): Define.
       (O_CLOEXEC): Define to zero.
       src/msdos.c (check_window_system): Remove unnecessary an
       incompatible duplicate function.
       (sys_opendir, readlinkat, faccessat, fstatat, unsetenv): New
       functions in support of new functionality.
       src/menu.c (single_menu_item): Add visual indication  of submenu
       also for menus on MSDOS frames.
       (Fx_popup_menu) [!MSDOS]: Do not call tty_menu_show on MSDOS.
       src/lisp.h (CHECK_PROCESS) [!subprocesses]: Do not define
       when async subprocesses aren't supported.
       src/font.h (FONT_WIDTH) [MSDOS]: MSDOS-specific definition.
       src/emacs.c (close_output_streams): Zero out errno before calling
       src/dired.c [MSDOS]: Include msdos.h.
       src/conf_post.h (opendir) [MSDOS]: Redirect to sys_opendir.
       (DATA_START) [MSDOS]: Define.
       (SYSTEM_PURESIZE_EXTRA) [MSDOS]: Enlarge by 25K.
       src/callproc.c (block_child_signal, unblock_child_signal) [MSDOS]:
       Ifdef away for MSDOS.
       (record_kill_process) [MSDOS]: Ifdef away the entire body for MSDOS.
       (call_process_cleanup) [MSDOS]: Ifdef away portions not relevant
       for MSDOS.
       (call_process) [MSDOS]: Fix call sequence of dostounix_filename.
       Use temporary file template that is compatible with mkostemp.
       Move vfork-related portions under #ifndef MSDOS.
       (syms_of_callproc): Unify templates of MSDOS and WINDOWSNT.
       lisp/term/pc-win.el (x-list-fonts, x-get-selection-value): Provide
       doc strings, as required by snarf-documentation.
       msdos/sed1v2.inp: Update Sed scripts for Emacs 24.4.
       msdos/inttypes.h: Add PRIdMAX.
       msdos/INSTALL: Update for Emacs 24.4.
       msdos/sedadmin.inp: New file.
    • Juanma Barranquero's avatar
      lisp/ChangeLog: Remove merge marker. · 9dcd90f7
      Juanma Barranquero authored
    • Karl Fogel's avatar
      * savehist.el (savehist-save): Remove workaround for a read-passwd · 5f6b4154
      Karl Fogel authored
      bug that was fixed before 24.3.  Thanks to Juanma Barranquero for
      noticing that the shim was still present.
  10. 15 Apr, 2014 1 commit
    • Stefan Monnier's avatar
      * src/buffer.c (Foverlays_at): Add argument `sorted'. · 20fa59a0
      Stefan Monnier authored
      * doc/lispref/display.texi (Overlay Properties): Reword the doc of `priority'.
      (Finding Overlays): Document new arg of `overlays-at'.
      * lisp/obsolete/lucid.el (extent-at):
      * lisp/htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
      (hfy-fontify-buffer): Remove unused var `orig-ovls'.
      * lisp/ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
      arg of overlays-at.  Use `invisible-p'.
  11. 14 Apr, 2014 4 commits
  12. 13 Apr, 2014 2 commits