1. 02 Aug, 2020 8 commits
    • Lars Ingebrigtsen's avatar
      Make the "All" setting for large-newsgroup-initial in Gnus work · 99d1a666
      Lars Ingebrigtsen authored
      * lisp/gnus/gnus-sum.el (gnus-articles-to-read): Use it.
      (gnus-summary-insert-old-articles): Ditto.
      
      * lisp/gnus/gnus.el (large-newsgroup-initial): Make the "All"
      setting work by using a special symbol, instead of nil which is
      indistinguishable from not being present (bug#38466).
      99d1a666
    • Michael Albinus's avatar
      Fix Tramp portability issues · dc8aa154
      Michael Albinus authored
      * lisp/net/tramp-sh.el (tramp-set-remote-path): Replace "echo -n" by
      "printf", it isn't portable.
      
      * test/lisp/net/tramp-tests.el (tramp-test33-environment-variables)
      (tramp-test33-environment-variables-and-port-numbers): Do not use
      "echo -n", it isn't portable.
      (tramp--test-utf8): Filter out not displayable characters.
      dc8aa154
    • Philipp Stephani's avatar
    • Lars Ingebrigtsen's avatar
      Signal an error in the user clicks "cancel" when signing in epg · 929e7e14
      Lars Ingebrigtsen authored
      * lisp/epg.el (epg-sign-string): If the user clicks "cancel" on
      the pinentry, then we don't have an error from gpg(sm), but
      instead nothing (bug#39058).  Signal an error in that case.
      929e7e14
    • Lars Ingebrigtsen's avatar
      Fix erc bug when there's two channels with the same name · 6f94c240
      Lars Ingebrigtsen authored
      * lisp/erc/erc.el (erc-generate-new-buffer-name): Fix logic when
      there's two channels with the same name from two different servers
      (bug#40121).
      6f94c240
    • Lars Ingebrigtsen's avatar
      Try to fix mailcap parsing again to respect Emacs defaults · eab636c7
      Lars Ingebrigtsen authored
      * lisp/net/mailcap.el (mailcap--computed-mime-data): New variable.
      (mailcap-parse-mailcaps): Don't delete Emacs-distributed fallback
      values (bug#40247).
      (mailcap-add-mailcap-entry): Extend to allow working on different
      variables.
      (mailcap-add): Store data in mailcap-user-mime-data, since it
      should be heeded first.
      eab636c7
    • Lars Ingebrigtsen's avatar
      Make some erc function aliases obsolete · 8f181124
      Lars Ingebrigtsen authored
      * lisp/erc/erc-networks.el (erc-current-network):
      * lisp/erc/erc-join.el (erc-autojoin-channels-delayed):
      * lisp/erc/erc-backend.el (erc-server-setup-periodical-ping)
      (erc-server-send-ping, erc-server-send-queue):
      * lisp/erc/erc-autoaway.el (erc-autoaway-reestablish-idletimer)
      (autoaway): Adjust callers.
      
      * lisp/erc/erc-compat.el (erc-with-selected-window)
      (erc-cancel-timer, erc-make-obsolete)
      (erc-make-obsolete-variable): Make these aliases obsolete.
      8f181124
    • Lars Ingebrigtsen's avatar
      Fix race condition in erc-server-send-queue vs quitting erc · 88244874
      Lars Ingebrigtsen authored
      * lisp/erc/erc-backend.el (erc-server-send-queue): Check that the
      buffer is live before using it (bug#40418).  This fixes a rare
      problem when the queue is non-empty when `erc-quit-server' is run.
      88244874
  2. 01 Aug, 2020 12 commits
  3. 31 Jul, 2020 5 commits
    • Glenn Morris's avatar
      ; Maintainer header updates · fbe363f5
      Glenn Morris authored
      fbe363f5
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/byte-opt.el: Minor simplifications · 450b50df
      Stefan Monnier authored
      (byte-optimize-form-code-walker): Use `byte-optimize-form` after
      inlining, so optimizations are also applied to the top level call.
      Simplify the code for `pure` functions using `byte-optimize-constant-args`.
      (byte-optimize-all-constp): Remove, not used any more.
      (byte-optimize-1+, byte-optimize-1-): Remove, they are redundant
      with the `pure` annotation.
      450b50df
    • Stefan Kangas's avatar
      Declare some ancient compat aliases obsolete (Bug#41328) · 7899fa43
      Stefan Kangas authored
      * lisp/comint.el (comint-read-noecho):
      * lisp/emacs-lisp/edebug.el (edebug-all-defuns):
      * lisp/man.el (manual-entry):
      * lisp/vc/log-edit.el (vc-log-mode-map, vc-log-entry-mode): Declare
      ancient backwards-compatibility aliases and functions obsolete.  The
      oldest in this list was added in 1992, and the most recent in 2004.
      
      * lisp/net/telnet.el (telnet-initial-filter): Don't use
      `comint-read-noecho'.
      7899fa43
    • Lars Ingebrigtsen's avatar
      Minor dns.el clean up · f7a916a6
      Lars Ingebrigtsen authored
      * lisp/net/dns.el (dns-query-asynchronous, dns-query): Adjust some
      parameter names to not end with "p", as these are not predicates.
      f7a916a6
    • Lars Ingebrigtsen's avatar
      Make gravatar-build-url respect dynamically bound variables again · 50a12de8
      Lars Ingebrigtsen authored
      * lisp/image/gravatar.el (gravatar-build-url): Compute
      query-string first, so that dynamically bound values of
      `gravatar-rating' (etc.) are respected, instead of computing it
      when the callback happens.
      50a12de8
  4. 30 Jul, 2020 9 commits
    • Paul Eggert's avatar
    • Paul Eggert's avatar
      Update from Gnulib · 5d89a9c2
      Paul Eggert authored
      This incorporates:
      2020-07-30 work around some Oracle Studio attribute bugs
      2020-07-29 fsusage, regex, stat-size: remove Cray support
      2020-07-26 inttypes: remove support for AIX 4
      2020-07-26 gettimeofday: remove workaround for Mac OS X 10.0
      2020-07-26 don't require gl_LOCALTIME_BUFFER_DEFAULTS
      2020-07-26 alloca: remove Cray-2 and Cray Y-MP support
      2020-07-26 libgmp: remove dependency on havelib
      2020-07-26 libgmp: remove HAVE_GMP, LIB_GMP
      2020-07-25 multiarch: prepare for x86_64+arm64 universal in macOS 11
      2020-07-25 sigprocmask: small autoconf macro improvement
      2020-07-25 small autoconf macro improvements
      2020-07-24 timespec: remove dependence on ‘verify’
      2020-07-24 optimize a few more three-valued comparisons
      2020-07-24 fix _GL_CMP parenthesization typo
      2020-07-23 optimize three-valued comparison between integers
      2020-07-24 doc: update for Mac OS X 10.13
      2020-07-23 fchmodat, lchmod: use /proc on Cygwin
      2020-07-21 inttypes: fix PRI*PTR and SCN*PTR on 64-bit native Windows
      2020-07-12 libgmp: avoid warning when --without-libgmp is used
      2020-07-12 libgmp: link to the correct shared library
      * lib/mini-gmp-gnulib.c: Ignore -Wsuggest-attribute=malloc only for
      * build-aux/config.guess, build-aux/config.sub:
      * build-aux/install-sh, doc/misc/texinfo.tex, lib/c-strcasecmp.c:
      * lib/c-strncasecmp.c, lib/fchmodat.c, lib/fsusage.c:
      * lib/gettimeofday.c, lib/inttypes.in.h, lib/lchmod.c:
      * lib/mini-gmp-gnulib.c, lib/nstrftime.c, lib/regex.h, lib/timespec.h:
      * m4/alloca.m4, m4/getgroups.m4, m4/gettimeofday.m4:
      * m4/gnulib-common.m4, m4/inttypes.m4, m4/libgmp.m4, m4/mktime.m4:
      * m4/multiarch.m4:
      Copy from Gnulib.
      * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
      * src/Makefile.in, test/Makefile.in (LIBGMP):
      Rename from LIB_GMP for compatibility with Gnulib.
      All uses changed.
      5d89a9c2
    • Paul Eggert's avatar
      Port to Oracle Studio 12.6 (sparc) · 88b4516c
      Paul Eggert authored
      * src/alloc.c (__builtin_unwind_init) [!HAVE___BUILTIN_UNWIND_INIT]:
      Move from here ...
      * src/lisp.h: ... to here, since flush_stack_call_func uses it.
      * src/pdumper.c (dump_off_from_lisp): Avoid ‘return n;;’ to pacify
      Oracle Studio.
      88b4516c
    • Eli Zaretskii's avatar
      Fix face extension past EOL in overlay strings · 35564bea
      Eli Zaretskii authored
      * src/xdisp.c (face_at_pos): Pass ATTR_FILTER to
      face_for_overlay_string.
      * src/xfaces.c (face_for_overlay_string): Accept an additional
      argument ATTR_INDEX and pass it to merge_face_ref for merging the
      face at POS.  This ensures a face from buffer text will not be
      merged unless it specifies the :extend attribute.  (Bug#42552)
      * src/dispextern.h (face_for_overlay_string): Adjust prototype.
      35564bea
    • Michael Albinus's avatar
      Fix Tramp bug#42538 · 50ea5b87
      Michael Albinus authored
      * lisp/net/tramp-sh.el (tramp-set-remote-path): Send the command
      in several chunks if it is too large.  (Bug#42538)
      50ea5b87
    • Lars Ingebrigtsen's avatar
      Make libravatar lookups asynchronous · a0b18d3c
      Lars Ingebrigtsen authored
      * lisp/gnus/gnus-gravatar.el (gnus-gravatar-insert): Fix check for
      repeated gravatars, which is now easier to trigger now that things
      are more asynchronous.
      
      * lisp/image/gravatar.el (gravatar--service-libravatar): Fetch the
      data asynchronously (bug#40676).
      (gravatar-service-alist): Adjust all providers so they are
      asynchronous.
      (gravatar-build-url): Adjust caller to be asynchronous.
      (gravatar-retrieve): Ditto.
      (gravatar-retrieve-synchronously): Ditto.
      a0b18d3c
    • Lars Ingebrigtsen's avatar
      Add the new function dns-query-asynchronous · ef7f569c
      Lars Ingebrigtsen authored
      * lisp/net/dns.el (dns-query-asynchronous): New function.
      (dns--lookup, dns--filter): New internal functions.
      (dns-query): Reimplement on top of dns-query-asynchronous.
      ef7f569c
    • Lars Ingebrigtsen's avatar
      Use lexical binding in dns.el · 78919704
      Lars Ingebrigtsen authored
      * lisp/net/dns.el: Use lexical-binding.
      (dns-write-bytes, dns-read): Adjust for lexical-binding.
      78919704
    • Lars Ingebrigtsen's avatar
      Small dns.el code cleanup · 18a5e52e
      Lars Ingebrigtsen authored
      * lisp/net/dns.el (dns-query): Clean up code slightly by removing
      a macro and moving the code into the function itself.
      18a5e52e
  5. 29 Jul, 2020 6 commits