1. 25 Nov, 2019 1 commit
    • Robert Pluim's avatar
      Handle auth-source-search failures in open-network-stream · 2d12d4d2
      Robert Pluim authored
      If the user cancels the gpg decryption pop-up, auth-source-search
      fails *and* epa pops up an error buffer.  Fix epa to allow suppressing
      that, and ignore errors returned from auth-source-search.
      * lisp/epa.el (epa-suppress-error-buffer): New defvar.  Bind non-nil
      to stop epa popping up an error buffer.
      * lisp/net/network-stream.el: require epa when byte-compiling.
      (network-stream-certificate): ignore errors when calling
      auth-source-search, and suppress the epa error buffer.
  2. 23 Nov, 2019 13 commits
    • Paul Eggert's avatar
      Add eassert check for bad default face · 5a3e96b1
      Paul Eggert authored
      * src/xdisp.c (append_space_for_newline): Add an eassert check
      that default_face is not null, by calling FACE_FROM_ID instead of
      FACE_FROM_ID_OR_NULL.  Initialize a local only if needed.
    • Paul Eggert's avatar
      Port gnutls.c to --enable-gcc-warnings --without-gnutls · 603a7c8a
      Paul Eggert authored
      * src/gnutls.c: Move the "#ifdef HAVE_GNUTLS" earlier, so
      that "./configure --enable-gcc-warnings --without-gnutls"
      does not complain about macros being defined but never used.
      Indent "#" directives more consistently.
    • Juanma Barranquero's avatar
      Rework previous fix to bug#38222 · c2bd4283
      Juanma Barranquero authored
      * lisp/help.el (help--doc-without-fn): Remove.
      (describe-mode): Use help-split-fundoc instead.
    • Juanma Barranquero's avatar
      Make help-split-fundoc more flexible about what returns · 6f3ff47c
      Juanma Barranquero authored
      * lisp/help.el (help-split-fundoc): New arg SECTION to return
      only the usage or doc parts of the docstring, or both even if
      there is no usage.
      * test/lisp/help-tests.el: New file.
    • Juri Linkov's avatar
      Use new macro debounce-reduce to make mouse scaling of images more responsive · 4b5d04be
      Juri Linkov authored
      * lisp/emacs-lisp/timer.el (debounce, debounce-reduce): New macros.
      * lisp/image.el (image-increase-size, image-decrease-size):
      Use funcall to call image--change-size-function.
      (image--change-size-function): Move code from defun of
      image--change-size to defvar that has the value of lambda
      returned from debounce-reduce.  (Bug#38187)
    • Robert Pluim's avatar
      Default network-stream-use-client-certificates to nil · 8934762b
      Robert Pluim authored
      * lisp/net/network-stream.el (network-stream-use-client-certificates):
      Default to nil.
      (open-network-stream): Adapt description to new default of
      * etc/NEWS: network-stream-use-client-certificates defaults to nil
      * doc/lispref/processes.texi (Network): Flip
      network-stream-use-client-certificates description.
      * doc/misc/auth.texi (Help for users): Mention
    • Robert Pluim's avatar
      Have what-cursor-position optionally show character name · a27c8929
      Robert Pluim authored
      * lisp/simple.el (what-cursor-show-names): New defcustom, default nil.
      (what-cursor-position): Show character names if what-cursor-show-names
      is non-nil.
      * doc/emacs/basic.texi (Position Info): Add what-cursor-show-names
      * etc/NEWS: Announce what-cursor-show-names.
    • Christopher Schmidt's avatar
      Always expand "total" in dired · b9e99ab5
      Christopher Schmidt authored
      * lisp/files.el (insert-directory): Always replace "total" with
      "total used in directory", even when we don't have free disk space
      (bug#13191).  This makes the display more consistent.
    • Michael Heerdegen's avatar
      Fix edebug instrumentation removing from advised functions · 311ca036
      Michael Heerdegen authored
      * lisp/emacs-lisp/edebug.el (edebug-remove-instrumentation): Handle
      advised functions correctly.
    • Eli Zaretskii's avatar
      Improve indexing of modifier keys · be779cf7
      Eli Zaretskii authored
      * doc/emacs/commands.texi (User Input): Add index entry for
      the Alt key serving as Meta.
      * doc/emacs/custom.texi (Modifier Keys): Add index entries for
      Alt, Super, and Hyper modifier keys.  (Bug#38315)
    • Eli Zaretskii's avatar
      Fix cursor display at EOL before extended face · 1265e947
      Eli Zaretskii authored
      * src/xdisp.c (extend_face_to_end_of_line): Make sure the
      character position of the stretch glyph inserted to extend the
      face is zero, as various other parts of the display code rely
      on that.  (Bug#38330)
    • Eli Zaretskii's avatar
      Fix and speed up en/decoding of UTF-8 strings · c26556bd
      Eli Zaretskii authored
      * src/coding.c (get_char_bytes, encode_string_utf_8)
      (decode_string_utf_8): Fix commentary.
      (encode_string_utf_8): Return the original ASCII string only
      if NOCOPY is non-zero.
      (decode_string_utf_8): Accept 2 additional arguments STR and
      STR_LEN, which allow to pass the input text as a C string.
      (make_string_from_utf8): Delegate the job to decode_string_utf_8.
      * src/coding.h: Update the prototype of decode_string_utf_8.
      * src/json.c (json_encode): Call encode_string_utf_8.
    • João Távora's avatar
  3. 22 Nov, 2019 9 commits
    • Juanma Barranquero's avatar
      help-follow-symbol now complains if no symbol found (bug#38248) · b7d4c5d1
      Juanma Barranquero authored
      * lisp/help-mode.el (help-follow-symbol): Signal 'user-error' if
      there's no symbol at POS.
      * etc/NEWS: Document it.
    • Filipp Gunbin's avatar
      Check gnus-mailing-list-groups in turn-on-gnus-mailing-list-mode · 0b4eec31
      Filipp Gunbin authored
      * lisp/gnus/gnus-ml.el (turn-on-gnus-mailing-list-mode): Check also
      gnus-mailing-list-groups variable.
    • Filipp Gunbin's avatar
      Make gnus-mailing-list-archive recognize https · 6df8900a
      Filipp Gunbin authored
      * /lisp/gnus/gnus-ml.el (gnus-mailing-list-archive): Accept https in
    • Filipp Gunbin's avatar
      Unify docstrings of Gnus summary's copy/move/crosspost article functions · d3f0cf74
      Filipp Gunbin authored
      * lisp/gnus/gnus-sum.el (gnus-summary-copy-article)
      (gnus-summary-crosspost-article): Make docstrings refer to
    • dickmao's avatar
      Refix conditional step clauses in cl-loop · 045cfbef
      dickmao authored
      * lisp/emacs-lisp/cl-macs.el
      (cl--loop-bindings, cl--loop-symbol-macs, cl-loop):
      Add cl--loop-conditions, remove cl--loop-guard-cond.
      (cl--push-clause-loop-body): Apply clause to both cl--loop-conditions
      and cl--loop-body
      (cl--parse-loop-clause): Use cl--push-clause-loop-body.
      * test/lisp/emacs-lisp/cl-macs-tests.el (cl-macs-loop-and-assignment):
      Use docstring.
      (cl-macs-loop-for-as-arith): Removed expected failure.
      (cl-macs-loop-conditional-step-clauses): Add some tests (bug#29799).
    • Eli Zaretskii's avatar
      Fix uses of inhibit-message in package.el · f373cec7
      Eli Zaretskii authored
      * lisp/emacs-lisp/package.el (package-generate-autoloads)
      (package--compile, package--save-selected-packages): Don't use
      'inhibit-message' to bind 'noninteractive' and 'save-silently',
      since 'inhibit-message' already disables all messages.
    • Hong Xu's avatar
      font-lock special attributes in python-mode · f9b8c74a
      Hong Xu authored
      * lisp/progmodes/python.el (python-font-lock-keywords-level-2): Add
      special attributes (bug#38318).
    • Lars Ingebrigtsen's avatar
      Give better error messages in image-convert · f5667953
      Lars Ingebrigtsen authored
      * lisp/image/image-converter.el (image-convert): Make
      image-convert bug out earlier on a wrong IMAGE-FORMAT value
    • João Távora's avatar
      Make auth-source-pass-search understand port lists · 92fda5a7
      João Távora authored
      For cases such as a typical IMAP Gnus setup, auto-source-pass-search
      is passed a list of "port aliases" like (993 "imaps" "imap" "993"
      "143") in hopes of finding a matching ~/.password-store entry.
      This modification makes this library understand and unroll the port
      list so that, i.e. "domain:993", "domain:imaps"", "domain:imap",
      etc. are computed as potential suffixes.  Previously a nonsensical
      string "domain:(993 imaps imap ...)" was returned.
      * lisp/auth-source-pass.el
      (auth-source-pass--generate-entry-suffixes): Allow PORT to be a list
      of ports.
  4. 21 Nov, 2019 17 commits