1. 05 Jun, 2020 1 commit
  2. 02 Jun, 2020 1 commit
    • Basil L. Contovounesios's avatar
      Improve format-spec documentation (bug#41571) · b07e3b1d
      Basil L. Contovounesios authored
      * doc/lispref/text.texi (Interpolated Strings): Move from here...
      * doc/lispref/strings.texi (Custom Format Strings): ...to here,
      renaming the node and clarifying the documentation.
      (Formatting Strings): End node with sentence referring to the next
      one.
      * lisp/format-spec.el (format-spec): Clarify docstring.
      b07e3b1d
  3. 27 May, 2020 2 commits
  4. 24 May, 2020 1 commit
    • Basil L. Contovounesios's avatar
      Fix Elisp manual entry for format-spec · 4737d0af
      Basil L. Contovounesios authored
      * doc/lispref/text.texi (Interpolated Strings): Fix typos.  Don't
      document modifier for default space padding as it's redundant and
      inconsistent with the docstring and implementation of format-spec.
      4737d0af
  5. 19 Apr, 2020 1 commit
    • Mattias Engdegård's avatar
      Remove #' and function quoting from lambda forms in manual · 14a570af
      Mattias Engdegård authored
      * doc/lispref/abbrevs.texi (Abbrev Expansion):
      * doc/lispref/backups.texi (Reverting):
      * doc/lispref/functions.texi (Mapping Functions):
      * doc/lispref/help.texi (Accessing Documentation):
      * doc/lispref/sequences.texi (Char-Tables):
      * doc/lispref/syntax.texi (Categories):
      * doc/lispref/text.texi (Sorting):
      Remove function quoting from lambda in examples where it still occurs,
      since examples should follow our best style and be consistent.
      14a570af
  6. 18 Apr, 2020 1 commit
  7. 13 Apr, 2020 1 commit
  8. 12 Feb, 2020 1 commit
    • Eli Zaretskii's avatar
      Fix display of minibuffer prompt in ido.el · 027da652
      Eli Zaretskii authored
      * lisp/minibuffer.el (minibuffer--message-overlay-pos): New
      function.
      (set-minibuffer-message): Use it to determine where to show the
      overlay with the temporary message.
      * lisp/ido.el (ido-exhibit): Revert "Render Ido suggestions using
      an overlay"; this restores the original code which inserted the
      match-status information into the minibuffer, instead of
      displaying it in an overlay with an after-string.  Put the special
      'minibuffer-message' text property at the beginning of the
      inserted text.  (Bug#39379)
      
      * etc/NEWS:
      * doc/lispref/display.texi (Displaying Messages):
      * doc/lispref/text.texi (Special Properties): Document the
      'minibuffer-message' text property and its effect.
      027da652
  9. 01 Jan, 2020 1 commit
  10. 31 Oct, 2019 1 commit
    • Mattias Engdegård's avatar
      Inhibit undo-in-region for mouse-drag-region (bug#37700) · d75794fd
      Mattias Engdegård authored
      'mouse-drag-region' leaves the region active around the dragged text,
      so a straight undo did not revert the entire operation.  To remedy
      this, inhibit undo-in-region when the last command was
      mouse-drag-region.  (Method suggested by Stefan Monnier.)
      
      * lisp/mouse.el (undo-drag-region): Set the undo-inhibit-region property.
      * lisp/simple.el (undo): Inhibit undo-in-region if the last command
      had the undo-inhibit-region property set.
      * doc/lispref/symbols.texi (Standard Properties):
      * doc/lispref/text.texi (Undo): Document undo-inhibit-region.
      * etc/NEWS: Announce the property.
      d75794fd
  11. 21 Oct, 2019 1 commit
  12. 20 Oct, 2019 1 commit
    • Juanma Barranquero's avatar
      lisp/*.el: Fix typos and improve some docstrings · 41ba8231
      Juanma Barranquero authored
      * lisp/auth-source.el (auth-source-backend-parse-parameters)
      (auth-source-search-collection)
      (auth-source-secrets-listify-pattern)
      (auth-source--decode-octal-string, auth-source-plstore-search):
      * lisp/registry.el (registry-lookup)
      (registry-lookup-breaks-before-lexbind)
      (registry-lookup-secondary, registry-lookup-secondary-value)
      (registry-search, registry-delete, registry-size, registry-full)
      (registry-insert, registry-reindex, registry-prune)
      (registry-collect-prune-candidates):
      * lisp/subr.el (nbutlast, process-live-p):
      * lisp/tab-bar.el (tab-bar-list):
      * lisp/cedet/ede/linux.el (ede-linux--get-archs)
      (ede-linux--include-path, ede-linux-load):
      * lisp/erc/erc-log.el (erc-log-all-but-server-buffers):
      * lisp/erc/erc-pcomplete.el (pcomplete-erc-commands)
      (pcomplete-erc-ops, pcomplete-erc-not-ops, pcomplete-erc-nicks)
      (pcomplete-erc-all-nicks, pcomplete-erc-channels)
      (pcomplete-erc-command-name, pcomplete-erc-parse-arguments):
      * lisp/eshell/em-term.el (eshell-visual-command-p):
      * lisp/gnus/gnus-cache.el (gnus-cache-fully-p):
      * lisp/gnus/nnmail.el (nnmail-get-active)
      (nnmail-fancy-expiry-target):
      * lisp/mail/mail-utils.el (mail-string-delete):
      * lisp/mail/supercite.el (sc-hdr, sc-valid-index-p):
      * lisp/net/ange-ftp.el (ange-ftp-use-smart-gateway-p):
      * lisp/net/nsm.el (nsm-save-fingerprint-maybe)
      (nsm-network-same-subnet, nsm-should-check):
      * lisp/net/rcirc.el (rcirc-looking-at-input):
      * lisp/net/tramp-cache.el (tramp-get-hash-table):
      * lisp/net/tramp-compat.el (tramp-compat-process-running-p):
      * lisp/net/tramp-smb.el (tramp-smb-get-share)
      (tramp-smb-get-localname, tramp-smb-read-file-entry)
      (tramp-smb-get-cifs-capabilities, tramp-smb-get-stat-capability):
      * lisp/net/zeroconf.el (zeroconf-list-service-names)
      (zeroconf-list-service-types, zeroconf-list-services)
      (zeroconf-get-host, zeroconf-get-domain)
      (zeroconf-get-host-domain):
      * lisp/nxml/rng-xsd.el (rng-xsd-compile)
      (rng-xsd-make-date-time-regexp, rng-xsd-convert-date-time):
      * lisp/obsolete/erc-hecomplete.el (erc-hecomplete)
      (erc-command-list, erc-complete-at-prompt):
      * lisp/org/ob-scheme.el (org-babel-scheme-get-buffer-impl):
      * lisp/org/ob-shell.el (org-babel--variable-assignments:sh-generic)
      (org-babel--variable-assignments:bash_array)
      (org-babel--variable-assignments:bash_assoc)
      (org-babel--variable-assignments:bash):
      * lisp/org/org-clock.el (org-day-of-week):
      * lisp/progmodes/cperl-mode.el (cperl-char-ends-sub-keyword-p):
      * lisp/progmodes/gud.el (gud-find-c-expr, gud-innermost-expr)
      (gud-prev-expr, gud-next-expr):
      * lisp/textmodes/table.el (table--at-cell-p, table--probe-cell)
      (table--get-cell-justify-property)
      (table--get-cell-valign-property)
      (table--put-cell-justify-property)
      (table--put-cell-valign-property): Fix typos.
      
      * lisp/so-long.el (fboundp): Doc fix.
      (so-long-mode-line-info, so-long-mode)
      (so-long--check-header-modes): Fix typos.
      
      * lisp/emulation/viper-mous.el (viper-surrounding-word)
      (viper-mouse-click-get-word): Fix typos.
      (viper-mouse-click-search-word): Doc fix.
      
      * lisp/erc/erc-backend.el (erc-forward-word, erc-word-at-arg-p)
      (erc-bounds-of-word-at-point): Fix typos.
      (erc-decode-string-from-target, define-erc-response-handler):
      Refill docstring.
      
      * lisp/erc/erc-dcc.el (pcomplete/erc-mode/DCC): Fix typo.
      (erc-dcc-get-host, erc-dcc-auto-mask-p, erc-dcc-get-file):
      Doc fixes.
      
      * lisp/erc/erc-networks.el (erc-network-name): Fix typo.
      (erc-determine-network): Refill docstring.
      
      * lisp/net/dbus.el (dbus-list-hash-table)
      (dbus-string-to-byte-array, dbus-byte-array-to-string)
      (dbus-check-event): Fix typos.
      (dbus-introspect-get-property): Doc fix.
      
      * lisp/net/tramp-adb.el (tramp-adb-file-name-handler):
      Rename ARGS to ARGUMENTS.  Doc fix.
      (tramp-adb-sh-fix-ls-output, tramp-adb-execute-adb-command)
      (tramp-adb-find-test-command): Fix typos.
      
      * lisp/net/tramp.el (tramp-set-completion-function)
      (tramp-get-completion-function)
      (tramp-completion-dissect-file-name)
      (tramp-completion-dissect-file-name1)
      (tramp-get-completion-methods, tramp-get-completion-user-host)
      (tramp-get-inode, tramp-get-device, tramp-mode-string-to-int)
      (tramp-call-process, tramp-call-process-region)
      (tramp-process-lines): Fix typos.
      (tramp-interrupt-process): Doc fix.
      
      * lisp/org/ob-core.el (org-babel-named-src-block-regexp-for-name)
      (org-babel-named-data-regexp-for-name): Doc fix.
      (org-babel-src-block-names, org-babel-result-names): Fix typos.
      
      * lisp/progmodes/inf-lisp.el (lisp-input-filter): Doc fix.
      (lisp-fn-called-at-pt): Fix typo.
      
      * lisp/progmodes/xref.el (xref-backend-identifier-at-point):
      Doc fix.
      (xref-backend-identifier-completion-table): Fix typo.
      41ba8231
  13. 15 Oct, 2019 1 commit
  14. 11 Oct, 2019 1 commit
  15. 09 Oct, 2019 1 commit
  16. 07 Oct, 2019 1 commit
  17. 26 Sep, 2019 1 commit
  18. 23 Sep, 2019 1 commit
    • Paul Eggert's avatar
      Update some URLs · 946a56a1
      Paul Eggert authored
      This mostly changes http: to https: in URLs.  It also updates
      some URLs that have moved, removes some URLs that no longer
      work, recommends against using procmail (procmail.org no
      longer works), and removes some mentions of the
      no-longer-existing Gmane, LPF and VTW.
      It doesn't update all URLs, just the ones I had time for.
      * GNUmakefile (help):
      * admin/admin.el (manual-doctype-string):
      * admin/charsets/Makefile.in (${charsetdir}/ALTERNATIVNYJ.map):
      * admin/charsets/mapconv:
      * lisp/net/soap-client.el (soap-create-envelope):
      * lisp/org/org.el (org-doi-server-url):
      * lisp/textmodes/bibtex.el (bibtex-generate-url-list):
      Prefer https: to http: un URLs.
      946a56a1
  19. 20 Sep, 2019 1 commit
    • Stefan Kangas's avatar
      Recommend against SHA-1 and MD5 for security · 6d50010b
      Stefan Kangas authored
      * doc/lispref/text.texi (Checksum/Hash):
      * src/fns.c (Fmd5, Fsecure_hash):
      * lisp/subr.el (sha1): Doc fix to recommend against SHA-1 and MD5 for
      security-related applications, since they are not collision
      resistant.  (Bug#37420)
      6d50010b
  20. 20 Jul, 2019 1 commit
    • Basil L. Contovounesios's avatar
      Fix last change to format-spec · a1b49f3b
      Basil L. Contovounesios authored
      * doc/lispref/text.texi (Interpolated Strings): Use @result and fix
      typos.
      * lisp/format-spec.el: Avoid loading subr-x at runtime.
      (format-spec--parse-modifiers): Optimize slightly.
      a1b49f3b
  21. 14 Jul, 2019 1 commit
  22. 13 Jul, 2019 1 commit
  23. 09 Jul, 2019 1 commit
  24. 06 Jul, 2019 1 commit
    • Pip Cet's avatar
      Update current buffer when changing text properties · c16a8fc1
      Pip Cet authored
      * src/textprop.c (add_text_properties_1, set_text_properties)
      (set_text_properties_1, Fremove_text_properties): Switch buffer if
      necessary.  (Bug#36190)
      
      * doc/lispref/text.texi (Examining Properties): Document performance
      FIXME.
      c16a8fc1
  25. 25 Jun, 2019 1 commit
    • Alan Mackenzie's avatar
      Fix documentation of inhibit-modification-hooks in overlays + text properties · 8c17995f
      Alan Mackenzie authored
      This fixes bug #25111.
      
      * doc/lispref/display.text (Overlay Properties): For the hook property
      modification-hooks, state that inhibit-modification-hooks is bound to non-nil
      when calling its functions.  This also applies to insert-in-front-hooks and
      insert-behind-hooks, which refer to modification-hooks.
      
      * doc/lispref/text.texi (Special Properties): For the hook property
      modification-hooks, state that inhibit-modification-hooks is NOT bound to
      non-nil when calling its functions.  For the hooks insert-in-fron-hooks and
      insert-behind-hooks, state that that variable does get bound to non-nil.
      8c17995f
  26. 12 Jun, 2019 1 commit
  27. 08 Jun, 2019 2 commits
    • Eli Zaretskii's avatar
      Minor fixes for the last commits · 1cc90d21
      Eli Zaretskii authored
      * src/fns.c (Fbase64url_encode_region)
      (Fbase64url_encode_string, Fbase64_decode_region)
      (Fbase64_decode_string): Fix doc strings.
      (base64_decode_1): Minor stylistic code changes.
      
      * doc/lispref/text.texi (Base 64): Fix typos and improve
      wording of the last committed text.
      1cc90d21
    • Pierre Téchoueyres's avatar
      Add support for base64url variant of base-64 encoding/decoding · 7541b068
      Pierre Téchoueyres authored
      Implement the RFC4648 variant of base64 encoding used by URLs.
      * doc/lispref/text.texi (base64url-encode-region,
      base64url-encode-string): Document new functions.
      (base64-decode-region, base64-decode-string): Document new optional
      parameter 'base64url' used to use url variant when decoding data.
      
      * src/fns.c (base64url-encode-region, base64url-encode-region): New
      functions to manage url variant.
      (base64-decode-region, base64-decode-string): Add optional
      parameter to indicate use of url-variant.
      (base64_encode_region_1, base64_encode_string_1): Internal functions
      with extracted code from 'base64_encode_region' and
      'base64_encode_string' and optional parameters to manage padding and
      url variant.
      (base64-encode-region, base64-encode-string) : Use
      base64_encode_region_1 and base64_encode_string_1.
      (base64-encode-1): Add parameters to manage padding and url variant.
      (base64-decode-1): Add parameter to manage url variant.
      
      * test/src/fns-tests.el (fns-tests--with-region): New helper macro to
      test region variant of base64 encode / decode functions.
      (fns-tests--string-repeat): Helper function used in base64 tests.
      (fns-tests-base64-encode-region, fns-tests-base64-encode-string):
      Tests for standard base64 function.
      (fns-test-base64url-encode-region,
      fns-test-base64url-encode-string): Tests for url variant.
      (fns-tests-base64-decode-string): Tests for decoding part.
      7541b068
  28. 09 May, 2019 1 commit
  29. 13 Apr, 2019 2 commits
    • Eli Zaretskii's avatar
      Improve documentation of JSONRPC · d82d4fb9
      Eli Zaretskii authored
      * doc/lispref/text.texi (JSONRPC Overview)
      (Process-based JSONRPC connections)
      (JSONRPC JSON object format): Fix wording and markup.  Add
      indexing.
      d82d4fb9
    • Eli Zaretskii's avatar
      Improve documentation changes of a recent commit · 2475687d
      Eli Zaretskii authored
      * doc/lispref/text.texi (Parsing JSON): Improve wording of the
      documentation of 'json-parse-string' and 'json-parse-buffer'.
      * src/json.c (Fjson_parse_string, Fjson_parse_buffer): Doc fix.
      (Bug#34763)
      2475687d
  30. 12 Apr, 2019 1 commit
    • Dmitry Gutov's avatar
      Add :array-type option to json-parse-string · b41c1ca1
      Dmitry Gutov authored
      * src/json.c (enum json_array_type): New type.
      (struct json_configuration): New field array_type.
      (json_parse_args): Rename the last argument.  Handle the
      :array-type keyword argument (bug#32793).
      (Fjson_parse_string): Update the docstring accordingly.
      (json_to_lisp): Handle the case of :array-type being `list'.  Add
      a call to 'rarely_quit' inside the loop.
      (syms_of_json): Define new symbols.
      (Fjson_serialize, Fjson_insert, Fjson_parse_string)
      (Fjson_parse_buffer): Update the config struct initializers.
      b41c1ca1
  31. 11 Apr, 2019 1 commit
    • Alex Branham's avatar
      Backport: Update documentation for indent-relative functions · 559f64a0
      Alex Branham authored
      * lisp/indent.el (indent-relative): Document what happens when there
        is no previous nonblank line.
      * doc/lispref/text.texi (Relative Indent): Document
        indent-relative-first-indent-point instead of obsolete
        indent-relative-maybe. Fix documentation of which argument from
        'indent-relative' is used.
      
      Bug#34858
      
      (cherry picked from commit 10cd6587)
      559f64a0
  32. 06 Apr, 2019 1 commit
    • Alex Branham's avatar
      Update documentation for indent-relative functions · 10cd6587
      Alex Branham authored
      * lisp/indent.el (indent-relative): Document what happens when there
        is no previous nonblank line.
      * doc/lispref/text.texi (Relative Indent): Document
        indent-relative-first-indent-point instead of obsolete
        indent-relative-maybe. Fix documentation of which argument from
        'indent-relative' is used.
      
      Bug#34858
      10cd6587
  33. 03 Apr, 2019 1 commit
    • Noam Postavsky's avatar
      Allow partial decompression (Bug#33133) · b36913d8
      Noam Postavsky authored
      * src/decompress.c (Fzlib_decompress_region): Add optional
      ALLOW-PARTIAL parameter.
      * lisp/url/url-http.el (url-handle-content-transfer-encoding): Use it.
      * doc/lispref/text.texi (Decompression): Document it.
      * etc/NEWS: Announce it.
      b36913d8
  34. 31 Mar, 2019 1 commit
    • Basil L. Contovounesios's avatar
      Fix recently extended delete-indentation behavior · 0cd250e9
      Basil L. Contovounesios authored
      * doc/lispref/text.texi (User-Level Deletion): Document new optional
      arguments of delete-indentation.
      
      * lisp/simple.el (delete-indentation): Do not barf if called
      interactively when region is inactive. (bug#35021)
      Do not skip blank lines. (bug#35036)
      Consistently deactivate mark even when no text was changed.
      Handle active region spanning a single line.
      
      * test/lisp/simple-tests.el (simple-test--buffer-substrings):
      New convenience function.
      (simple-test--dummy-buffer, simple-test--transpositions): Use it.
      (simple-delete-indentation-no-region)
      (simple-delete-indentation-inactive-region): Update commentary.
      Call delete-indentation interactively when testing for behavior with
      inactive region and region is not explicitly defined.
      (simple-delete-indentation-blank-line)
      (simple-delete-indentation-boundaries)
      (simple-delete-indentation-region)
      (simple-delete-indentation-prefix): New tests.
      0cd250e9
  35. 25 Feb, 2019 1 commit
  36. 24 Feb, 2019 1 commit
  37. 23 Feb, 2019 1 commit
    • Tassilo Horn's avatar
      Improve replace-buffer-contents/replace-region-contents · e96923c1
      Tassilo Horn authored
      * src/editfns.c (Freplace_buffer_contents): Add two optional arguments
        for mitigating performance issues.
      * lisp/emacs-lisp/subr-x.el (replace-region-contents): Move from
        subr.el.  Add the same two arguments as for replace-buffer-contents.
      * lisp/json.el (json-pretty-print-max-secs): New variable holding the
        default MAX-SECS value json-pretty-print passes to
        replace-buffer-contents.
        (json-pretty-print): Use it.
      * doc/lispref/text.texi (Replacing): Add documentation for
        replace-buffer-contents two new optional arguments.  Document
        replace-region-contents.
      e96923c1