1. 16 Apr, 2019 3 commits
  2. 15 Apr, 2019 1 commit
  3. 14 Apr, 2019 2 commits
    • Michael Albinus's avatar
      Explain ad-hoc multi-hop in the Tramp Quick Start Guide · 98a5958f
      Michael Albinus authored
      * doc/misc/tramp.texi (Quick Start Guide): New section "Combining
      @option{ssh} or @option{plink} with @option{su} or @option{sudo}".
    • Paul Eggert's avatar
      Update from Gnulib · d209d646
      Paul Eggert authored
      This incorporates:
      2019-04-07 Add copyright notices in several files
      * build-aux/config.sub, doc/misc/texinfo.tex, lib/_Noreturn.h:
      Copy from Gnulib.
      * lib/gnulib.mk.in: Regenerate.
  4. 13 Apr, 2019 3 commits
  5. 12 Apr, 2019 2 commits
    • 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.
    • Eli Zaretskii's avatar
  6. 11 Apr, 2019 2 commits
    • Eli Zaretskii's avatar
      Improve documentation of 'read-command' · 85829363
      Eli Zaretskii authored
      * src/minibuf.c (Fread_command): Document the return value
      when DEFAULT-VALUE is nil and the user enters nothing.
      * doc/lispref/minibuf.texi (High-Level Completion): Document
      the printed representation of a symbol whose name is empty.
    • 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.
      (cherry picked from commit 10cd6587)
  7. 10 Apr, 2019 1 commit
    • Noam Postavsky's avatar
      Update nxml-mode.texi: completion now gives xmlns="-!-" · cb5a3408
      Noam Postavsky authored
      * doc/misc/nxml-mode.texi (Completion): As of 2016-01-16 "* lisp/nxml:
      Use standard completion; it also works for company-mode", completing
      an attribute when there is only one candidate inserts both quotes.
      Update the example accordingly.
  8. 09 Apr, 2019 1 commit
    • Gemini Lasswell's avatar
      Address name conflicts in EIEIO documentation (bug#31660) · 8d2f1df5
      Gemini Lasswell authored
      * doc/misc/eieio.texi (Quick Start): Rename the class used in the
      example from 'record' to 'person'.
      (Building Classes): Advise user to check for name conflicts before
      naming a class.  Add a missing apostrophe.
      (Making New Objects): Correct grammar.  Rename the class used in the
      example from 'record' to 'my-class'.
  9. 07 Apr, 2019 1 commit
    • Michael Albinus's avatar
      Fix typo in tramp.texi · f28c2090
      Michael Albinus authored
      * doc/misc/tramp.texi (Change file name syntax)
      (Frequently Asked Questions): '.' or ',' must follow xref.
  10. 06 Apr, 2019 5 commits
  11. 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.
  12. 02 Apr, 2019 4 commits
    • Paul Eggert's avatar
      Improve regexp advice again, and unchain ranges · f9ff60e0
      Paul Eggert authored
      * doc/lispref/searching.texi (Regexp Special):
      Mention char classes earlier, in a more-logical place.
      Advise sticking to ASCII letters and digits in ranges.
      Reword negative advice to make it clearer that it’s negative.
      * lisp/files.el (make-auto-save-file-name):
      * lisp/gnus/message.el (message-mailer-swallows-blank-line):
      * lisp/gnus/nndoc.el (nndoc-lanl-gov-announce-type-p)
      * lisp/org/org-eshell.el (org-eshell-open):
      * lisp/org/org.el (org-deadline-time-hour-regexp)
      * lisp/progmodes/bat-mode.el (bat-font-lock-keywords):
      * lisp/progmodes/bug-reference.el (bug-reference-bug-regexp):
      * lisp/textmodes/less-css-mode.el (less-css-font-lock-keywords):
      * lisp/vc/vc-cvs.el (vc-cvs-valid-symbolic-tag-name-p):
      * lisp/vc/vc-svn.el (vc-svn-valid-symbolic-tag-name-p):
      Avoid attempts to chain ranges, as this can be confusing.
      For example, instead of [0-9-_.], use [0-9_.-].
    • Eli Zaretskii's avatar
      Fix documentation of last change · bb669166
      Eli Zaretskii authored
      * doc/misc/cl.texi (Structures): Document :noinline.
      * etc/NEWS: Mark the entry for :noinline as documented.
    • Michael Albinus's avatar
      Give example for configuration in tramp.texi · 52e3d3d4
      Michael Albinus authored
      * doc/misc/tramp.texi (Configuration): Explain how to call Tramp
      configuration functions in the init file.
    • Paul Eggert's avatar
      More regexp advice and clarifications · 076ed98f
      Paul Eggert authored
      * doc/lispref/searching.texi (Regexp Special): Simplify style
      advice for order of ], ^, and - in character alternatives.
      Stick with saying that it’s not a good idea to put ‘-’ after a
      range.  Remove the special case about raw 8-bit bytes and
      unibyte characters, as this documentation is confusing and
      seems to be incorrect in some cases.  Say that z-a is the
      preferred style for reversed ranges, since it’s clearer and is
      typically what’s used in practice.  Mention some bad styles:
      duplicates in character alternatives, ranges that denote <=3
      characters, and ‘-’ as the first character.
  13. 31 Mar, 2019 4 commits
    • Basil L. Contovounesios's avatar
      Do not set indent-line-function in text-mode · 2e3deb09
      Basil L. Contovounesios authored
      For discussion, see thread starting at:
      * lisp/textmodes/text-mode.el (text-mode): Do not reset
      indent-line-function to its global default value of indent-relative.
      * doc/lispref/modes.texi (Example Major Modes):
      * etc/NEWS: Document change accordingly.
    • Basil L. Contovounesios's avatar
      Use lexical-binding in text-mode.el · 4c9950d0
      Basil L. Contovounesios authored
      * lisp/textmodes/text-mode.el: Use lexical-binding.
      (text-mode, paragraph-indent-minor-mode, text-mode-hook-identify):
      Use setq-local.
      (toggle-text-mode-auto-fill): Quote function symbols as such.
      (center-line): Minor simplification.
      * doc/lispref/modes.texi (Example Major Modes): Update code example
      for these changes to text-mode.
    • 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-inactive-region): Update commentary.
      Call delete-indentation interactively when testing for behavior with
      inactive region and region is not explicitly defined.
      (simple-delete-indentation-prefix): New tests.
    • Mattias Engdegård's avatar
      Fix typo in regexp-opt example code · 6d7e18e8
      Mattias Engdegård authored
      * doc/lispref/searching.texi (Regexp Functions):
      Fix typo in example code (Bug#34596).
  14. 27 Mar, 2019 1 commit
  15. 25 Mar, 2019 2 commits
    • Paul Eggert's avatar
      Update from Gnulib. · a3c55309
      Paul Eggert authored
      This incorporates:
      2019-03-23 Support cross-compilation to musl libc
      2019-03-23 noreturn: In C++ mode with clang, use _Noreturn as fallback
      2019-03-22 _Noreturn: beware of C's _Noreturn in C++ pre C++11
      2019-03-19 Help making signal handlers more reliable
      2019-03-18 _Noreturn: clang and MSVC do support [[noreturn]] in C++11
      2019-03-17 _Noreturn: GCC 4.7 does not support [[noreturn]] in C++11
      2019-03-14 all: Update URLs to msdn.microsoft.com
      * doc/misc/texinfo.tex, lib/_Noreturn.h, lib/gettimeofday.c:
      * lib/mktime.c, lib/regcomp.c, lib/regexec.c, lib/stat-time.h:
      * lib/utimens.c, m4/fdopendir.m4, m4/getgroups.m4:
      * m4/gettimeofday.m4, m4/gnulib-common.m4, m4/putenv.m4, m4/utimes.m4:
      Update from gnulib.
    • Basil L. Contovounesios's avatar
      Fix non_local_exit_get signature in Elisp manual · 04a228f4
      Basil L. Contovounesios authored
      * doc/lispref/internals.texi (Module Nonlocal): Fix typo in return
      type of non_local_exit_get.
  16. 22 Mar, 2019 3 commits
    • Eli Zaretskii's avatar
      Minor fixes for the last change · 09c220a5
      Eli Zaretskii authored
      * lisp/simple.el (delete-indentation):
      * doc/emacs/indent.texi (Indentation Commands):
      * etc/NEWS: Fix last change.  (Bug#34796)
    • Łukasz Stelmach's avatar
      If the region is active, join all the lines it spans · 8fa94a1e
      Łukasz Stelmach authored
      * lisp/simple.el (delete-indentation): Join lines in the active region.
      * doc/misc/org.texi: Describe the arguments of delete-indentation.
      * etc/NEWS: Mention region support in delete-indentation.
    • Stefan Monnier's avatar
      Fix misuses of NULL when talking about the NUL character · 76fea1eb
      Stefan Monnier authored
      * lisp/subr.el (inhibit-null-byte-detection): Make it an obsolete alias.
      * src/coding.c (setup_coding_system): Use new name.
      (detect_coding): Rename null_byte_found => nul_byte_found.
      (detect_coding_system): Use new name.
      Rename null_byte_found => nul_byte_found.
      (Fdefine_coding_system_internal): Use new name.
      (syms_of_coding): Rename inhibit-null-byte-detection to
      * src/w16select.c (get_clipboard_data): null_char => nul_char.
      * src/json.c (check_string_without_embedded_nuls): Rename from
      (Fjson_parse_string): Adjust accordingly.
      * src/coding.h (enum define_coding_undecided_arg_index)
      (enum coding_attr_index): ...null_byte... => ...nul_byte....
      * lisp/info.el (info-insert-file-contents, Info-insert-dir):
      * lisp/international/mule.el (define-coding-system):
      * lisp/vc/vc-git.el (vc-git--call):
      * doc/lispref/nonascii.texi (Lisp and Coding Systems): Use the new name.
  17. 21 Mar, 2019 2 commits
    • NicolasPetton's avatar
      New seq-contains-p predicate (Bug#34852) · 287cc58f
      NicolasPetton authored
      * lisp/emacs-lisp/seq.el (seq-contains-p): New predicate function.  It
      is a replacement for seq-contains which cannot be used as a predicate
      when a sequence contains nil values as it returns the element found.
      (seq-contains): Make obsolete.
      * test/lisp/emacs-lisp/seq-tests.el (test-seq-contains-p):
      (test-seq-intersection-with-nil, test-seq-set-equal-p-with-nil,
      test-difference-with-nil): Add regression tests.
      * doc/lispref/sequences.texi (Sequence Functions): Document
    • Stefan Monnier's avatar
      * doc: Recommend putting '-' as last char in Emacs charset regexps · c569cceb
      Stefan Monnier authored
      * doc/lispref/searching.texi (Regexp Special):
      * doc/emacs/search.texi (Regexps): Recommend - as last char in [...].
  18. 20 Mar, 2019 2 commits
    • Paul Eggert's avatar
      Say which regexp ranges should be avoided · 0924b27b
      Paul Eggert authored
      * doc/lispref/searching.texi (Regexp Special): Say that
      regular expressions like "[a-m-z]" and "[[:alpha:]-~]" should
      be avoided, for the same reason that regular expressions like
      "+" and "*" should be avoided: POSIX says their behavior is
      undefined, and they are confusing anyway.  Also, explain
      better what happens when the bound of a range is a raw 8-bit
      byte; the old explanation appears to have been obsolete
      anyway.  Finally, say that ranges like "[\u00FF-\xFF]" that
      mix non-ASCII characters and raw 8-bit bytes should be
      avoided, since it’s not clear what they should mean.
    • Eli Zaretskii's avatar
      Improve indexing of the user manual · 0f523dee
      Eli Zaretskii authored
      * doc/emacs/search.texi (Word Search): Improve indexing of
      "M-s M-w".