1. 26 Nov, 2019 3 commits
    • Robert Pluim's avatar
      Extend network-interface-list to return IPv6 and network info · 650a514e
      Robert Pluim authored
      Bug#38218
      
      * src/process.c (Fnetwork_interface_list): Extend argument list to
      allow requesting full network info and/or IPv4/IPv6 info.
      (network_interface_list) [HAVE_GETIFADDRS]: Use getifaddrs to retrieve
      interface IP addresses.
      
      * src/process.h: Update prototype of network_interface_list.
      
      * src/w32.c (g_b_init_get_adapters_addresses): New init flag.
      (globals_of_w32): Initialize it.
      (GetAdaptersAddresses_Proc): New function typedef.
      (get_adapters_addresses): New wrapper function.
      (init_winsock): Load htonl and ntohl.
      (sys_htonl, sys_ntohl): New wrapper functions.
      (network_interface_list): Implement in terms of
      get_adapters_addresses.
      
      * nt/inc/sys/socket.h: Add sys_htonl and sys_ntohl prototypes.
      
      * etc/NEWS: Announce IPv4/IPv6 changes in network-interface-list.
      
      * doc/lispref/processes.texi (Misc Network): Document updated arglist
      and return values for network-interface-list.
      650a514e
    • Lars Ingebrigtsen's avatar
      Fix previous message.el point-restoring fix · 5c3d0cf7
      Lars Ingebrigtsen authored
      * lisp/gnus/message.el (message-send-and-exit): Restore window
      point before burying buffer so we actually bury the buffer.
      5c3d0cf7
    • Lars Ingebrigtsen's avatar
      Remove outdated documentation · c97c7bb2
      Lars Ingebrigtsen authored
      * doc/misc/eieio.texi (Predicates): Remove documentation of
      same-class-fast-p, which was removed some years back (bug#38362).
      c97c7bb2
  2. 25 Nov, 2019 5 commits
  3. 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.
      5a3e96b1
    • 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.
      603a7c8a
    • 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.
      c2bd4283
    • 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.
      6f3ff47c
    • 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)
      4b5d04be
    • 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
      network-stream-use-client-certificates.
      
      * etc/NEWS: network-stream-use-client-certificates defaults to nil
      now.
      
      * doc/lispref/processes.texi (Network): Flip
      network-stream-use-client-certificates description.
      
      * doc/misc/auth.texi (Help for users): Mention
      network-stream-use-client-certificates.
      8934762b
    • 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
      description.
      
      * etc/NEWS: Announce what-cursor-show-names.
      a27c8929
    • 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.
      b9e99ab5
    • 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.
      311ca036
    • 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)
      be779cf7
    • 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)
      1265e947
    • 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.
      c26556bd
    • João Távora's avatar
  4. 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.
      b7d4c5d1
    • 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.
      0b4eec31
    • 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
      regexp.
      6df8900a
    • 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
      gnus-summary-move-article.
      d3f0cf74
    • 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).
      045cfbef
    • 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.
      (Bug#38264)
      f373cec7
    • 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).
      f9b8c74a
    • 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
      (bug#38310).
      f5667953
    • 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.
      92fda5a7
  5. 21 Nov, 2019 10 commits