1. 24 May, 2018 1 commit
    • 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)
      * 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)
      * lisp/net/tramp-gvfs.el (tramp-gvfs-methods)
      * 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)
      * lisp/net/tramp-smb.el (tramp-smb-program, tramp-smb-acl-program)
      (tramp-smb-conf, tramp-smb-winexe-program)
      Dont't require 'tramp.  (Bug#31558)
      * lisp/net/tramp.el (tramp-ignored-file-name-regexp): Use type regexp.
  2. 23 May, 2018 9 commits
    • 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
      * test/src/print-tests.el (print-charset-text-property-nil)
      (print-charset-text-property-t): New tests.
      (print-tests--prints-with-charset-p): New helper function.
    • 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'.
    • 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
      * etc/NEWS: Announce name change.
      * lisp/epa-file.el (epa-file-insert-file-contents)
      * 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.
    • 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
    • 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.
    • 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.
    • 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
    • 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
    • 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.
  3. 22 May, 2018 8 commits
  4. 21 May, 2018 11 commits
    • Andreas Schwab's avatar
    • Noam Postavsky's avatar
    • Andreas Schwab's avatar
      Make xwidget-webkit-execute-script safe against GC (Bug#31545) · 8811c240
      Andreas Schwab authored
      * src/xwidget.h (struct xwidget): Add script_callbacks.
      * src/xwidget.c (save_script_callback): New function.
      (Fxwidget_webkit_execute_script): Use it.  Encode script
      before passing to execution engine.  Always use a callback.
      (webkit_javascript_finished_cb): Deallocate script.
      (kill_buffer_xwidgets): Deallocate remaining scripts.
      (Fxwidget_webkit_zoom): Doc fix.
      (Fxwidget_resize): Doc fix.
    • Paul Eggert's avatar
      Don’t assume ordering in make-process/mix-stderr · 7b9fb7ac
      Paul Eggert authored
      * test/src/process-tests.el (process-tests--mixable): New function.
      (make-process/mix-stderr): Don’t assume stdout is merged before
      stderr.  POSIX does not require this, and the assumption failed to
      hold on my Fedora 28 platform.  See Bug#31214.
    • Paul Eggert's avatar
      Update from Gnulib · 79f15092
      Paul Eggert authored
      This incorporates:
      2018-05-21 crypto: omit stream ops Emacs doesn’t need
      2018-05-13 truncate: Fix compilation error on Android
      2018-05-13 imaxdiv: Fix compilation error on Android
      2018-05-13 Support selective inclusion of recent mingw.org headers
      2018-05-13 Add cross-compilation guesses for Linux systems sans glibc
      2018-05-13 stdioext: Fix compilation errors with newer Android headers
      2018-05-07 af_alg: Pacify --enable-gcc-warnings
      2018-05-06 af_alg: Fix bug with streams that are not at position 0
      2018-05-06 Followup to 'af_alg: New module'
      2018-05-05 crypto/{md5,sha1,sha256,sha512}: simplify
      2018-05-05 af_alg: New module
      2018-05-05 af_alg: Improve function signature
      2018-04-28 md5sum: Use AF_ALG when available
      2018-04-28 sha512sum: Use AF_ALG when available
      2018-04-28 sha256sum: Use AF_ALG when available
      2018-04-28 sha1sum: Use AF_ALG when available
      2018-05-05 all: Replace more http URLs by https URLs
      2018-05-03 maint: port more modules to GCC 8
      2018-05-03 Simplify code; drop support for Borland C++ on Windows
      * admin/merge-gnulib (GNULIB_MODULES): Use crypto/md5-buffer
      rather than crypto/md5, since Emacs doesn’t use the stream
      operations that in recent Gnulib pull in other stuff Emacs doesn’t
      need.  Similarly for crypto/sha1-buffer, crypto/sha256-buffer,
      * build-aux/config.guess, build-aux/config.sub, lib/dosname.h:
      * lib/dup2.c, lib/errno.in.h, lib/euidaccess.c, lib/fcntl.c:
      * lib/fcntl.in.h, lib/fpending.c, lib/fsync.c, lib/getdtablesize.c:
      * lib/getopt.c, lib/gettimeofday.c, lib/inttypes.in.h, lib/md5.c:
      * lib/md5.h, lib/open.c, lib/pipe2.c, lib/putenv.c, lib/sha1.c:
      * lib/sha1.h, lib/sha256.c, lib/sha256.h, lib/sha512.c:
      * lib/sha512.h, lib/stat-time.h, lib/stdio-impl.h, lib/stdio.in.h:
      * lib/stdlib.in.h, lib/sys_stat.in.h, lib/sys_types.in.h:
      * lib/timespec.h, lib/unistd.in.h, lib/utimens.c, m4/c-strtod.m4:
      * m4/gnulib-common.m4, m4/inttypes.m4, m4/lstat.m4, m4/nocrash.m4:
      * m4/pselect.m4, m4/readlink.m4, m4/stdio_h.m4, m4/symlink.m4:
      * m4/unistd_h.m4, m4/utimens.m4:
      Copy from Gnulib.
      * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
    • João Távora's avatar
      Fix Flymake's ruby-mode tests when user has "rubocop" installed · f21db9e1
      João Távora authored
      The Flymake test suite fails if the "rubocop" program is installed,
      because the ruby-flymake-rubocop backend is selected automatically by
      ruby-flymake-auto.  The test was designed for ruby-flymake-simple,
      tough, and fails.
      * test/lisp/progmodes/flymake-tests.el (ruby-backend): Ensure
      this test runs exclusively with the ruby-flymake-simple backend.
    • Eli Zaretskii's avatar
    • Michael Albinus's avatar
      Fix Bug#31489 · ab37ceb9
      Michael Albinus authored
      * doc/misc/tramp.texi (Frequently Asked Questions):
      Mention `tramp-ignored-file-name-regexp'.  Improve index.
      ; * etc/NEWS: Mention `tramp-ignored-file-name-regexp'.
      * lisp/net/tramp.el (tramp-ignored-file-name-regexp): New defcustom.
      (tramp-tramp-file-p): Use it.  Check also for `tramp-mode'.
      (tramp-file-name-handler): Don't check for `tramp-mode'.  (Bug#31489)
      * test/lisp/net/tramp-tests.el (tramp-test01-file-name-syntax):
      Extend test.
    • Eli Zaretskii's avatar
      Another attempt to fix sql.el · 2981952b
      Eli Zaretskii authored
      * lisp/progmodes/sql.el (sql-product-interactive): Fix calculation
      of the SQL buffer name.  (Bug#31446)
    • Eli Zaretskii's avatar
      Update binding of 'M-.' in Intro to Emacs Lisp · b1b96d7c
      Eli Zaretskii authored
      * doc/lispintro/emacs-lisp-intro.texi (On Reading this Text)
      (Finding More, Buffer Related Review, Buffer Exercises)
      (Find a File, Conclusion): 'M-.' is now bound to
      'xref-find-definitions'.  (Bug#31542)
    • Eli Zaretskii's avatar
      Fix a typo in last change in sql.el · b239a096
      Eli Zaretskii authored
      * lisp/progmodes/sql.el (sql-product-interactive): Use 'null',
      not 'zerop'.  (Bug#31446)
  5. 20 May, 2018 8 commits
    • Eli Zaretskii's avatar
      Revert part of the previous change · 4010631f
      Eli Zaretskii authored
      * doc/misc/message.texi:
      * doc/misc/efaq.texi:
      * doc/emacs/sending.texi:
      * doc/emacs/rmail.texi: Revert the CC => Cc etc. conversions.
    • Paul Eggert's avatar
      Use “Cc” for email copies, as per RFC 5322. · ee2916c6
      Paul Eggert authored
      Also fix similar problems with Bcc, Fcc, In-Reply-To,
      and similar email headers.  See thread starting at:
    • Noam Postavsky's avatar
      * make-dist: Add '--no-info' option. · a32412b8
      Noam Postavsky authored
    • Alan Mackenzie's avatar
      Enhance CC Mode's fontification, etc., of unterminated strings. · bb591f13
      Alan Mackenzie authored
      String delimiters, including escaped new lines, of correctly terminated
      strings are left in font-lock-string-face.  All others get
      font-lock-warning-face.  The latter get syntax-table text properties on the
      opening string delim and the "terminating EOL".
      Correct two miscellaneous bugs: the handling of text properties on Java Mode's
      generic delimiters; the handling of c-just-done-before-change.
      * lisp/progmodes/cc-defs.el (c-point): New position 'eoll "end of logical line".
      (c-characterp): New macro.
      * lisp/progmodes/cc-fonts.el (c-font-lock-invalid-string): Removed.
      (c-basic-matchers-before): Use a simple matcher in place of the form around
      * lisp/progmodes/cc-langs.el (c-get-state-before-change-functions): Add
      c-before-change-check-unbalanced-strings to the value for all modes except AWK
      Mode.  Also add c-before-change-check-<>-operators to Java Mode, correcting an
      error in that mode's handling of generic delimiters.
      (c-before-font-lock-functions): Add c-after-change-re-mark-unbalanced-strings
      to the value for all modes except AWK Mode.
      (c-single-quotes-quote-strings, c-string-delims): New lang variables for
      future enhancements.
      (c-string-innards-re-alist): New lang variable.
      * lisp/progmodes/cc-mode.el (c-just-done-before-change): Do not set this
      variable when a change is the alteration of text properties.
      (c-basic-common-init): Set parse-sexp-lookup-properties (and the XEmacs
      equivalent) also for Pike Mode.
      (c-neutralize-CPP-line): No longer neutralize unbalanced quotes here.
      (c-unescaped-nls-in-string-p, c-multiline-string-start-is-being-detached)
      (c-pps-to-string-delim, c-before-change-check-unbalanced-strings)
      (c-after-change-re-mark-unbalanced-strings): New functions.
      (c-after-change): Fix a bug with the handling of c-just-done-before-change.
    • Eli Zaretskii's avatar
      Fix capitalization of mail headers · 0d8bae5c
      Eli Zaretskii authored
      * doc/emacs/sending.texi (Mail Format, Mail Headers)
      (Mail Aliases, Header Editing): Use consistent capitalization of
      CC, BCC, and FCC.  (Bug#31532)
    • Eli Zaretskii's avatar
    • Eli Zaretskii's avatar
      Fix buffer names in sql.el · 845fe038
      Eli Zaretskii authored
      * lisp/progmodes/sql.el (sql-product-interactive): Fix the way the
      buffer name is determined by prefix arg.  (Bug#31446)
    • Eli Zaretskii's avatar
      Minor fixes in the Emacs manual · a3885f56
      Eli Zaretskii authored
      * doc/emacs/misc.texi (Gnus Group Buffer): Fix a typo.  (Bug#31534)
      (Single Shell): Rephrase an unclear sentence.  (Bug#31535)
      (Remote Host): Use @command where appropriate.  (Bug#31536)
  6. 19 May, 2018 3 commits
    • Eli Zaretskii's avatar
      Fix a typo in rmail.texi · 542f8302
      Eli Zaretskii authored
      * doc/emacs/rmail.texi (Rmail Summary Edit): Add markup to 'nil'.
    • Paul Eggert's avatar
      * admin/notes/unicode: HELLO is again UTF-8. · 51c1fdcc
      Paul Eggert authored
    • Eli Zaretskii's avatar
      Use Enriched mode in etc/HELLO to keep charset information · 3589c966
      Eli Zaretskii authored
      This allows to encode HELLO in UTF-8, thus supporting the entire
      repertory of Unicode, while still keeping the charset info where
      that is important.  Suggested by Michael Welsh Duggan <mwd@md5i.com>.
      * lisp/textmodes/enriched.el (enriched-translations): Add
      translations for 'charset'.
      (enriched-decode-charset, enriched-handle-charset-prop): New
      * lisp/facemenu.el (facemenu-special-menu): Add sub-menu for
      'charset' property.
      (facemenu-set-charset): New function.
      (facemenu-remove-special): Remove the 'charset' property as well.
      * etc/NEWS: Announce the new feature of Enriched mode.
      * etc/HELLO: Recode in UTF-8 and place under Enriched mode.
      * doc/emacs/text.texi (Enriched Properties): Mention the support
      for 'charset'.