1. 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
  2. 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
  3. 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
  4. 02 Jan, 2018 2 commits
  5. 01 Jan, 2018 8 commits
  6. 31 Dec, 2017 3 commits
  7. 30 Dec, 2017 3 commits
  8. 29 Dec, 2017 3 commits
    • Eli Zaretskii's avatar
      Fix subtle problem with scroll-down when scroll-margin is nonzero · 0c78822c
      Eli Zaretskii authored
      * src/window.c (window_scroll_pixel_based): Account for
      scroll-margin when scrolling down, i.e. moving window-start
      towards the beginning of the buffer.  Reported by zhang cc
      <ccsmile2008@outlook.com> in
      http://lists.gnu.org/archive/html/emacs-devel/2017-12/msg00894.html.
      0c78822c
    • Eli Zaretskii's avatar
      Fix problems with indexing in User manual · acd289c5
      Eli Zaretskii authored
      * doc/emacs/basic.texi (Continuation Lines, Inserting Text)
      (Moving Point):
      * doc/emacs/help.texi (Help Echo, Package Keywords, Help Mode):
      * doc/emacs/trouble.texi (Quitting):
      * doc/emacs/mark.texi (Setting Mark, Disabled Transient Mark):
      * doc/emacs/custom.texi (Modifier Keys, Init Examples)
      (Creating Custom Themes):
      * doc/emacs/programs.texi (Program Modes, Expressions, Hideshow)
      (Basic Indent, Info Lookup, Symbol Completion):
      * doc/emacs/screen.texi (Echo Area):
      * doc/emacs/xresources.texi (Table of Resources, GTK Names in Emacs):
      * doc/emacs/display.texi (Line Truncation, Cursor Display):
      * doc/emacs/files.texi (File Names, Backup, File Archives):
      * doc/emacs/dired.texi (Operating on Files, Dired Enter):
      * doc/emacs/commands.texi (User Input):
      * doc/emacs/mule.texi (International, Unibyte Mode)
      (International Chars):
      * doc/emacs/vc1-xtra.texi (RCS and SCCS, Version Headers)
      (CVS Options):
      * doc/emacs/modes.texi (Major Modes, Minor Modes):
      * doc/emacs/indent.texi (Just Spaces):
      * doc/emacs/frames.texi (Mouse Avoidance, Mode Line Mouse)
      (Frame Commands):
      * doc/emacs/cmdargs.texi (Initial Options):
      * doc/emacs/abbrevs.texi (Dabbrev Customization):
      * doc/emacs/mini.texi (Completion Example, Completion Commands):
      * doc/emacs/calendar.texi (Writing Calendar Files, Calendar Unit Motion)
      (From Other Calendar):
      * doc/emacs/regs.texi (Text Registers, Bookmarks):
      * doc/emacs/buffers.texi (Several Buffers, Select Buffer):
      * doc/emacs/maintaining.texi (Xref Commands):
      * doc/emacs/windows.texi (Pop Up Window):
      * doc/emacs/text.texi (Text, Org Mode):
      * doc/emacs/killing.texi (Other Kill Commands):
      * doc/emacs/misc.texi (Document View, Gnus Group Buffer)
      (Gnus Summary Buffer, Shell Mode):
      * doc/emacs/cal-xtra.texi (Sexp Diary Entries): Remove or reword
      redundant identical index entries.
      * doc/emacs/custom.texi (Mouse Buttons)
      * doc/emacs/files.texi (Reverting): Fix hyphenation.
      * doc/emacs/emacs.texi (Top): Improve wording of Index menu items.
      * doc/emacs/files.texi (File Conveniences):
      * doc/emacs/programs.texi (MixedCase Words): Make entries that
      belong to Concept Index be indexed with @cindex.  (Bug#29888)
      acd289c5
    • Alan Mackenzie's avatar
  9. 28 Dec, 2017 6 commits
  10. 27 Dec, 2017 8 commits
  11. 26 Dec, 2017 1 commit
    • Stefan Monnier's avatar
      Eliminate last uses of 'cl' in lisp/mail/ · da94ea92
      Stefan Monnier authored
      * lisp/mail/binhex.el: Use lexical-binding and avoid cl.
      (binhex-push-char): Remove unused arg 'count'.
      (binhex-decode-region-external): Remove unused var 'status'.
      
      * lisp/mail/flow-fill.el: Use lexical-binding and avoid cl.
      
      * lisp/mail/footnote.el: Reduce redundancy.
      (footnote-roman-lower-regexp, footnote-roman-upper-regexp)
      (footnote-roman-upper-list): Auto-generate from footnote-roman-lower-list.
      (footnote-hebrew-numeric-regex): Auto-generate from footnote-hebrew-numeric.
      (footnote--hebrew-numeric): Simplify.
      (footnote-hebrew-symbolic-regex): Generate from footnote-hebrew-symbolic.
      
      * lisp/mail/hashcash.el: Use lexical-binding and avoid cl.
      (hashcash-verify-payment): Use pcase.
      
      * lisp/mail/ietf-drums.el: Use lexical-binding and avoid cl.
      (ietf-drums-token-to-list): Remove unused var 'e'.
      
      * lisp/mail/rfc2231.el: Use lexical-binding and avoid cl.
      
      * lisp/mail/uudecode.el: Use lexical-binding and avoid cl.
      (uudecode-char-int): Remove unused 'eval-and-compile' wrapper.
      (uudecode-decode-region-external): Remove unused 'status' var.
      (uudecode-string-to-multibyte): Remove.
      (uudecode-decode-region-internal): Use decode-coding-string instead.
      
      * lisp/mail/yenc.el: Use lexical-binding and avoid cl.
      da94ea92