1. 26 May, 2018 4 commits
    • Michael Albinus's avatar
      Make `tramp-make-tramp-file-name' calls consistent. · 8083c2de
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-get-buffer)
      (tramp-handle-file-name-as-directory)
      (tramp-handle-file-name-directory, tramp-handle-file-remote-p)
      (tramp-handle-file-truename, tramp-handle-find-backup-file-name)
      (tramp-handle-insert-file-contents):
      * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name)
      (tramp-gvfs-get-remote-uid, tramp-gvfs-get-remote-gid)
      (tramp-gvfs-maybe-open-connection):
      * lisp/net/tramp-sh.el (tramp-sh-handle-file-truename)
      (tramp-sh-handle-expand-file-name, )
      (tramp-sh-handle-process-file, tramp-get-remote-path):
      * lisp/net/tramp-smb.el (tramp-smb-handle-expand-file-name)
      (tramp-smb-handle-process-file): Make `tramp-make-tramp-file-name'
      calls consistent.
      8083c2de
    • Eli Zaretskii's avatar
      * etc/HELLO: Add a few more scripts. · 91bf38ce
      Eli Zaretskii authored
      91bf38ce
    • Tino Calancha's avatar
      replace-tests.el: Fix broken tests · 66c9ab90
      Tino Calancha authored
      After previous commit, all tests using helper function
      `replace-tests-clauses' fail: during the expansion
      of macro `replace-tests-with-undo', the function
      `replace-tests-clauses' is unbound.
      
      Delete those helpers and reimplement test
      `query-replace-undo-bug31538'.
      * test/lisp/replace-tests.el (query-replace-undo-bug31538):
      Reimplement this test without using any helper function/macro.
      66c9ab90
    • Tino Calancha's avatar
      query-replace undo: Handle when user edits the replacement string · ea133e04
      Tino Calancha authored
      * lisp/replace.el (perform-replace): Update the replacement string
      after the user edit it (Fix Bug#31538).
      
      * test/lisp/replace-tests.el (replace-tests-clauses): New function.
      (replace-tests-bind-read-string): New variable.
      (replace-tests-with-undo): Macro to create boilerplate code.
      (query-replace-undo-bug31073): Use it.
      (query-replace-undo-bug31538): New test.
      ea133e04
  2. 25 May, 2018 8 commits
  3. 24 May, 2018 8 commits
    • Roland Winkler's avatar
      Move window-point in bibtex-search-entry · 43a9c268
      Roland Winkler authored
      * lisp/textmodes/bibtex.el (bibtex-search-entry): Move window-point
      to record found.
      43a9c268
    • Eli Zaretskii's avatar
      More fixes of Intro to Emacs Lisp · 4bb2741b
      Eli Zaretskii authored
      * doc/lispintro/emacs-lisp-intro.texi (Finding More): Tell the
      reader how to invoke 'M-.' without a tags table.  Add a
      cross-reference to the Emacs manual for when a tags table does
      need to be created.
      (append save-excursion): Rephrase a confusing sentence.
      (Bug#31578)
      4bb2741b
    • Eli Zaretskii's avatar
      c57c2268
    • Eli Zaretskii's avatar
      Add a footnote to Emacs Lisp Intro · 0a511133
      Eli Zaretskii authored
      * doc/lispintro/emacs-lisp-intro.texi (Run a Program): Describe
      the detailed output of integer value evaluation in a footnote, to
      prevent confusion.  (Bug#31579)
      0a511133
    • Eli Zaretskii's avatar
    • Eli Zaretskii's avatar
      d5e0ceb8
    • Michael Albinus's avatar
      Fix file name completion in Tramp · 9fe9f215
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-handle-file-name-directory): Fix case
      of localname starts w/o a slash.
      
      * test/lisp/net/tramp-tests.el (tramp-test06-directory-file-name):
      Extend test.
      9fe9f215
    • Michael Albinus's avatar
      Fix Bug#31558 · 5444cb5f
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-mode, tramp-verbose)
      (tramp-backup-directory-alist, tramp-auto-save-directory)
      (tramp-encoding-shell, tramp-encoding-command-switch)
      (tramp-encoding-command-interactive, tramp-default-method)
      (tramp-default-method-alist, tramp-default-user)
      (tramp-default-user-alist, tramp-default-host)
      (tramp-default-host-alist, tramp-default-proxies-alist)
      (tramp-save-ad-hoc-proxies, tramp-restricted-shell-hosts-alist)
      (tramp-local-host-regexp, tramp-local-end-of-line)
      (tramp-rsh-end-of-line, tramp-login-prompt-regexp)
      (tramp-shell-prompt-pattern, tramp-password-prompt-regexp)
      (tramp-wrong-passwd-regexp, tramp-yesno-prompt-regexp)
      (tramp-yn-prompt-regexp, tramp-terminal-prompt-regexp)
      (tramp-operation-not-permitted-regexp, tramp-copy-failed-regexp)
      (tramp-process-alive-regexp, tramp-ignored-file-name-regexp)
      (tramp-chunksize, tramp-process-connection-type)
      (tramp-connection-timeout, tramp-connection-min-time-diff)
      (tramp-completion-reread-directory-timeout)
      * lisp/net/tramp-adb.el (tramp-adb-program)
      (tramp-adb-connect-if-not-connected, tramp-adb-prompt):
      * lisp/net/tramp-cache.el (tramp-connection-properties)
      (tramp-persistency-file-name):
      * lisp/net/tramp-gvfs.el (tramp-gvfs-methods)
      (tramp-gvfs-zeroconf-domain)
      (tramp-bluez-discover-devices-timeout):
      * lisp/net/tramp-sh.el (tramp-inline-compress-start-size)
      (tramp-copy-size-limit, tramp-terminal-type)
      (tramp-histfile-override, tramp-use-ssh-controlmaster-options)
      (tramp-remote-path, tramp-remote-process-environment)
      (tramp-sh-extra-args):
      * lisp/net/tramp-smb.el (tramp-smb-program, tramp-smb-acl-program)
      (tramp-smb-conf, tramp-smb-winexe-program)
      (tramp-smb-winexe-shell-command)
      (tramp-smb-winexe-shell-command-switch):
      Dont't require 'tramp.  (Bug#31558)
      
      * lisp/net/tramp.el (tramp-ignored-file-name-regexp): Use type regexp.
      5444cb5f
  4. 23 May, 2018 11 commits
    • Eli Zaretskii's avatar
      Fix some cross-references in emacs-lisp-intro.texi · e7952bdf
      Eli Zaretskii authored
      * doc/lispintro/emacs-lisp-intro.texi (List Processing)
      (Determining the Element, graph-body-print): Fix cross-references
      to subsections that don't exist in the printed version of the
      manual.  (Bug#31567)
      e7952bdf
    • Eli Zaretskii's avatar
      Minor copyedits in Emacs manual in macos.texi · a8979594
      Eli Zaretskii authored
      * doc/emacs/macos.texi (Mac / GNUstep Basics)
      (Mac / GNUstep Events): Fix markup and capitalization.
      (Bug#31568)
      a8979594
    • Noam Postavsky's avatar
      Honor print-charset-text-property value of nil (Bug#31376) · 6f037f42
      Noam Postavsky authored
      * src/print.c (print_check_string_charset_prop): Move check
      for nil Vprint_charset_text_property from here...
      (print_prune_string_charset): ... to here.
      (syms_of_print) <print-charset-text-property>: Clarify that any
      non-boolean values are treated the same as `default'.
      * doc/lispref/streams.texi (Output Variables): Add
      print-prune-string-charset.
      * test/src/print-tests.el (print-charset-text-property-nil)
      (print-charset-text-property-default)
      (print-charset-text-property-t): New tests.
      (print-tests--prints-with-charset-p): New helper function.
      6f037f42
    • Michael Welsh Duggan's avatar
      Avoid messing up buffer list when starting gud (Bug#22374) · 0d224e82
      Michael Welsh Duggan authored
      * lisp/progmodes/gud.el (gud-common-init): Use `display-buffer'
      instead of `switch-to-buffer'.
      0d224e82
    • Noam Postavsky's avatar
      Move epa-pinentry-mode to epg-config (Bug#26298) · 302e5000
      Noam Postavsky authored
      * lisp/epa.el (epa-pinentry-mode): Make into obsolete alias for...
      * lisp/epg-config.el (epg-pinentry-mode): ...this new user option.
      * lisp/epg.el (epg-context): Use it as the default value for
      pinentry-mode.
      * etc/NEWS: Announce name change.
      
      * lisp/epa-file.el (epa-file-insert-file-contents)
      (epa-file-write-region):
      * lisp/epa.el (epa-decrypt-file, epa-sign-file)
      (epa-encrypt-file, epa-decrypt-region)
      (epa-sign-region, epa-encrypt-region): Don't change
      epg-context-pinentry-mode from the default.
      302e5000
    • Noam Postavsky's avatar
      Drop some epg/epa backwards compat code for ancient Emacs versions · 21ab346a
      Noam Postavsky authored
      * lisp/epa.el (epa--select-safe-coding-system): Remove,
      `select-safe-coding-system' has been present since Emacs 20.3.
      (epa--encode-coding-string, epa--decode-coding-string):
      * lisp/epg.el (epg--decode-coding-string, epg--encode-coding-string)
      (epg--clear-string): Remove, the corresponding Emacs functions are so
      old they don't show up in NEWS.  Furthermore, the fallback for
      the *-coding-string functions was `identity' which wouldn't have
      worked anyway, since it only takes a single argument.
      (epg--make-temp-file): Remove, `make-temp-file' has been present since
      Emacs 21.1.
      * lisp/epg-config.el (epg-gpg-program, epg-gpgsm-program)
      (epg-gpgconf-program, epg-gpg-home-directory)
      (epg-passphrase-coding-system, epg-debug): Remove unneeded :group
      parameter.
      21ab346a
    • Tino Calancha's avatar
      Fix corner case in query-replace-regexp undo · bab73230
      Tino Calancha authored
      This commit fixes Bug#31492.
      * lisp/replace.el (replace-match-maybe-edit): Preserve match data.
      
      * test/lisp/replace-tests.el (query-replace-undo-bug31492): Add test.
      bab73230
    • Glenn Morris's avatar
      Merge from origin/emacs-26 · cc130d13
      Glenn Morris authored
      e3f00f56 (origin/emacs-26) Clarify when to use advice-add vs add-function
      c0f3e6b5 Minor formatting tweak in the Emacs manual
      fadf6535 Update comments in Intro to Emacs Lisp
      52ccb24a ; * doc/os.texi (Batch Mode): use = after --eval
      d65430f6 * etc/NEWS: Mention change in `edebug-prin1-to-string'.
      ef4aec14 ; * doc/lispref/hash.texi (Defining Hash): Fix typos.
      2981952b Another attempt to fix sql.el
      b1b96d7c Update binding of 'M-.' in Intro to Emacs Lisp
      b239a096 Fix a typo in last change in sql.el
      0d8bae5c Fix capitalization of mail headers
      845fe038 Fix buffer names in sql.el
      a3885f56 Minor fixes in the Emacs manual
      542f8302 Fix a typo in rmail.texi
      eb0bc6f7 * etc/PROBLEMS: Document Bug#31305.
      
      Conflicts:
      	doc/emacs/sending.texi
      	etc/NEWS
      cc130d13
    • Glenn Morris's avatar
      ; Merge from origin/emacs-26 · e5ff7f78
      Glenn Morris authored
      The following commit was skipped:
      
      152a5569 (gnus-blocked-images): Clarify privacy implications
      e5ff7f78
    • Glenn Morris's avatar
      Merge from origin/emacs-26 · c120037b
      Glenn Morris authored
      73bc6f86 Fix a typo in describing input methods
      6b4bafed ; Add a comment to emacs-lisp-intro.texi
      c120037b
    • Noam Postavsky's avatar
      Clarify when to use advice-add vs add-function · e3f00f56
      Noam Postavsky authored
      * lisp/emacs-lisp/nadvice.el (add-function): Note in docstring that
      advice-add should be used for named functions.
      e3f00f56
  5. 22 May, 2018 8 commits
  6. 21 May, 2018 1 commit