1. 30 Jan, 2018 1 commit
    • Tom Tromey's avatar
      Another -u fix · 11736132
      Tom Tromey authored
      * lib-src/etags.c (copy_entries_from_old_file): Exit from inner loop
      before copying \f to the TAGS file.
      11736132
  2. 20 Jan, 2018 2 commits
  3. 17 Jan, 2018 4 commits
  4. 07 Jan, 2018 11 commits
  5. 06 Jan, 2018 3 commits
    • Alan Third's avatar
      Allow setting tooltip colors in NS port · 15cd1899
      Alan Third authored
      * src/nsfns.m (Fx_show_tip): Get face colors and apply them to the
      tooltip.
      * src/nsmenu.m (EmacsTooltip::setBackgroundColor):
      (EmacsTooltip::setForegroundColor): New functions.
      * src/nsterm.h (EmacsTooltip::setBackgroundColor):
      (EmacsTooltip::setForegroundColor): New function prototypes.
      15cd1899
    • Alan Mackenzie's avatar
      Make transpose-regions invoke before-change-functions only once. · 5fd22973
      Alan Mackenzie authored
      In the case of two non-contiguous regions the same size, transpose-regions has
      been calling before-change-functions twice, once for each region.  It now
      calls it just once, for the minimal region spanning both single regions.
      
      * src/editfns.c (Ftranspose_regions): Combine two calls of modify_text into
      one.
      5fd22973
    • Michael Albinus's avatar
      Minor tramp-gvfs.el cleanup · fc31788b
      Michael Albinus authored
      * lisp/net/tramp-gvfs.el (tramp-gvfs-enabled): Move up.
      (top): Delete goa methods only when `tramp-gvfs-enabled' is not nil.
      fc31788b
  6. 05 Jan, 2018 2 commits
    • Michael Albinus's avatar
      Add new Tramp connection method "owncloud" · b74fdf44
      Michael Albinus authored
      * doc/misc/tramp.texi (all): Use @acronym{GNOME} thoroughly.
      (Using GNOME Online Accounts based methods): Rename from
      "Using Google Drive".  Add `owncloud'.
      (GVFS based methods): Add `owncloud'.
      
      * etc/NEWS: Add Tramp connection method "owncloud".
      
      * lisp/net/tramp-gvfs.el (tramp-gvfs-methods): Add "owncloud".
      Remove goa methods if not supported.
      (tramp-goa-methods, tramp-goa-service, tramp-goa-path)
      (tramp-goa-path-accounts, tramp-goa-interface-documents)
      (tramp-goa-interface-printers, tramp-goa-interface-files)
      (tramp-goa-interface-contacts, tramp-goa-interface-calendar)
      (tramp-goa-interface-oauth2based)
      (tramp-goa-interface-account, tramp-goa-identity-regexp)
      (tramp-goa-interface-mail, tramp-goa-interface-chat)
      (tramp-goa-interface-photos, tramp-goa-path-manager)
      (tramp-goa-interface-documents)
      (tramp-gvfs-owncloud-default-prefix)
      (tramp-gvfs-owncloud-default-prefix-regexp): New defconst.
      (tramp-goa-name): New defstruct.
      (tramp-gvfs-stringify-dbus-message): Handle all consp messages.
      (tramp-dbus-function, tramp-gvfs-get-remote-prefix)
      (tramp-get-goa-accounts): New defun.
      (with-tramp-dbus-call-method): Use it.
      (with-tramp-dbus-get-all-properties): New defmacro.
      (tramp-gvfs-url-file-name)
      (tramp-gvfs-handler-mounted-unmounted)
      (tramp-gvfs-connection-mounted-p, tramp-gvfs-mount-spec):
      Map between "owncloud" and "davs".
      (tramp-gvfs-maybe-open-connection): Set "vector" connection property.
      
      * test/lisp/net/tramp-tests.el (tramp-gvfs-handler-askquestion):
      Suppress run in tests.
      (tramp--test-owncloud-p): New defun.
      (tramp-test11-copy-file, tramp-test12-rename-file): Use it.
      b74fdf44
    • Jay Kamat's avatar
      Make eshell history expansion more like bash (Bug#29821) · 933d8fc0
      Jay Kamat authored
      - Prevent expansion of quick substitutions when the initial "^" is not
        at start of line (Bug#29157).
      - Allow spaces inside substitutions, so "^foo bar^baz" works.
      - Allow trailing characters after substitution, so "^foo^bar^trailing"
        works.
      - Throw an error when substitution does not match.
      
      * lisp/eshell/em-hist.el (eshell-expand-history-references): Expand
      history substitution before other types of expansions, and expand them
      with the whole line.
      (eshell-history-substitution): New function to expand only
      substitutions, taking in the entire typed line rather than individual
      arguments.
      933d8fc0
  7. 04 Jan, 2018 3 commits
    • Michael Albinus's avatar
      Improve backward compatibility in tramp-archive · 1cc7bc0f
      Michael Albinus authored
      * lisp/net/tramp-archive.el
      (tramp-archive-handle-temporary-file-directory):
      Use `tramp-compat-temporary-file-directory'.
      
      * test/lisp/net/tramp-archive-tests.el
      (tramp-archive-test37-make-nearby-temp-file):
      Wrap `temporary-file-directory' call with `with-no-warnings'.
      1cc7bc0f
    • Michael Albinus's avatar
      Write proper `write-region' message in Tramp backends · 13d38482
      Michael Albinus authored
      * lisp/net/tramp-adb.el (tramp-adb-handle-write-region):
      * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-write-region):
      * lisp/net/tramp-sh.el (tramp-sh-handle-write-region):
      * lisp/net/tramp-smb.el (tramp-smb-handle-write-region):
      Write proper message.
      
      * lisp/net/tramp.el (tramp-message-show-message): Change default.
      
      * test/lisp/net/tramp-tests.el (ert-x): Require it.
      (tramp-test10-write-region): Extend test.
      13d38482
    • Noam Postavsky's avatar
      Fix command repetition with lexical-binding (Bug#29334) · ce486581
      Noam Postavsky authored
      `call-interactively' relies on analyzing the source of `interactive'
      forms in order to preserve arguments like (region-end) in the command
      history, rather than just storing the resulting position.  However,
      the byte-compiler does not preserve the source of the interactive form
      when lexical-binding is in effect, because `call-interactively' would
      evaluate the form with dynamic binding in that case.
      
      To fix this, change `call-interactively' so that it checks compiled
      functions for lexical-binding as well.  Then the byte-compiler can
      preserve the source of interactive forms regardless of the value of
      lexical-binding.
      
      * src/callint.c (Fcall_interactively): Functions compiled with
      lexical-binding have their arglist encoded as an integer, use this to
      choose the right kind of binding for compiled functions too.
      * lisp/emacs-lisp/bytecomp.el (byte-compile-lambda): Preserve the
      uncompiled form of the interactive form when lexical-binding is
      enabled too.
      ce486581
  8. 03 Jan, 2018 1 commit
    • Paul Eggert's avatar
      Fix .gdbinit to work with Lisp_Word · f8b4e87d
      Paul Eggert authored
      Problem reported by Stefan Monnier (Bug#29957).
      * src/.gdbinit (xgetptr, xgetint, xgettype):
      Cast Lisp_Word value to EMACS_INT, since it might be a pointer now.
      f8b4e87d
  9. 02 Jan, 2018 2 commits
  10. 01 Jan, 2018 8 commits
  11. 31 Dec, 2017 3 commits