1. 19 May, 2019 1 commit
  2. 17 May, 2019 3 commits
  3. 14 May, 2019 2 commits
    • Paul Eggert's avatar
      Backport: fix broken build on m68k · cf545776
      Paul Eggert authored
      The GCC + valgrind fix caused the m68k build to fail (Bug#35711).
      Simplify string allocation a bit to make similar problems less
      likely in the future.
      * src/alloc.c (sdata, SDATA_NBYTES, SDATA_DATA) [GC_CHECK_STRING_BYTES]:
      Use the same implementation as with !GC_CHECK_STRING_BYTES,
      as the special case is no longer needed.
      (SDATA_ALIGN): New constant.
      (SDATA_SIZE): Remove this macro, replacing with ...
      (sdata_size): ... this new function.  All uses changed.
      Properly account for sizes and alignments even in the m68k case,
      and even if GC_CHECK_STRING_BYTES is not defined.
      cf545776
    • Noam Postavsky's avatar
      Handle GNUTLS_E_AGAIN in emacs_gnutls_read (Bug#34341) · 202ff53d
      Noam Postavsky authored
      Don't merge to master, this has already been fixed there by 2019-01-15
      "Fix unlikely races with GnuTLS, datagrams".
      * src/gnutls.c (emacs_gnutls_read): Similar to emacs_gnutls_write,
      when gnutls_record_recv returns GNUTLS_E_AGAIN set errno to EGAIN.
      202ff53d
  4. 12 May, 2019 1 commit
    • Neil Roberts's avatar
      Let dir locals for more specific modes override those from less · 02bee786
      Neil Roberts authored
      The list of dir local variables to apply is now sorted by the number
      of parent modes of the mode used as the key in the association list.
      That way when the variables are applied in order the variables from
      more specific modes will override those from less specific modes.
      
      If there are directory entries in the list then they are sorted in
      order of name length.  The list of modes for that dir is then
      recursively sorted with the same mechanism.  That way variables tied
      to a particular subdirectory override those in in a parent directory.
      
      Previously the behaviour didn’t seem to be well defined anyway and was
      dependent on the order they appeared in the file.  However this order
      was changed in version 26.1 and it probably also depended on the
      number of dir-local files that are merged.
      
      Bug#33400
      
      * lisp/files.el (dir-locals-get-sort-score, dir-locals-sort-variables)
      (dir-locals-read-from-dir): Sort the dir locals so that more precise
      modes and directory-specific entries have override lesser ones.
      * doc/emacs/custom.texi (Directory Variables): Document the priority.
      02bee786
  5. 11 May, 2019 1 commit
  6. 09 May, 2019 5 commits
    • Alan Mackenzie's avatar
      Fix description of (move-to-column <n> t) when column <n> is inside a tab · 32d18132
      Alan Mackenzie authored
      This fixes bug #35647.  State that when indent-tabs-mode is non-nil, spaces
      are inserted before the tab rather than the tab being replaced by spaces.
      
      * doc/lispref/text.texi (columns)
      * src/indent.c (move-to-column): Make the above documentation amendment.
      32d18132
    • Noam Postavsky's avatar
      ; Fix smtpmail-stream-type docstring · 0397b7c7
      Noam Postavsky authored
      * lisp/mail/smtpmail.el (smtpmail-stream-type): Remove redundant
      docstring verbiage.
      0397b7c7
    • Noam Postavsky's avatar
      Recognize single quote attribute values in nxml and sgml (Bug#35381) · 7dab3ee7
      Noam Postavsky authored
      * lisp/textmodes/sgml-mode.el (sgml-specials): Add single quote.
      (sgml-syntax-propertize-rules): Handle single quote.
      * test/lisp/nxml/nxml-mode-tests.el (nxml-mode-font-lock-quotes): New
      test.
      * test/lisp/textmodes/sgml-mode-tests.el
      (sgml-delete-tag-bug-8203-should-not-delete-apostrophe): Now passes.
      7dab3ee7
    • Noam Postavsky's avatar
      Disable extra display of &#10; in nxml-mode (Bug#32897) · e4cde426
      Noam Postavsky authored
      * lisp/nxml/nxml-mode.el (nxml-char-ref-display-extra): Don't put
      display for the newline, it makes the indentation look wrong.
      e4cde426
    • Noam Postavsky's avatar
      Fix nxml-get-inside (Bug#32003) · ca14dd1d
      Noam Postavsky authored
      The change from 2016-01-16 "lisp/nxml: Use syntax-tables for comments"
      made nxml-get-inside return non-nil for any string or comment,
      including attribute strings.  This caused incorrect and therefore
      indentation.
      * lisp/nxml/nxml-rap.el: Update commentary to reflect changes to
      nxml-mode parsing.
      (nxml-get-inside): Only return non-nil when inside comments and
      generic strings, not normal quote-delimited strings.
      * test/lisp/nxml/nxml-mode-tests.el: New tests.
      ca14dd1d
  7. 08 May, 2019 3 commits
  8. 07 May, 2019 2 commits
  9. 06 May, 2019 1 commit
  10. 05 May, 2019 1 commit
  11. 04 May, 2019 1 commit
  12. 02 May, 2019 1 commit
  13. 01 May, 2019 3 commits
  14. 28 Apr, 2019 3 commits
  15. 27 Apr, 2019 1 commit
  16. 26 Apr, 2019 1 commit
  17. 25 Apr, 2019 1 commit
  18. 23 Apr, 2019 1 commit
  19. 22 Apr, 2019 3 commits
    • Noam Postavsky's avatar
      Be more careful about indent-sexp going over eol (Bug#35286) · 93912bae
      Noam Postavsky authored
      * lisp/emacs-lisp/lisp-mode.el (indent-sexp): Only go over multiple
      sexps if the end of line is within a sexp.
      * test/lisp/emacs-lisp/lisp-mode-tests.el
      (indent-sexp-stop-before-eol-comment)
      (indent-sexp-stop-before-eol-non-lisp): New tests.
      93912bae
    • Basil L. Contovounesios's avatar
      Backport: Improve pure and side-effect-free docs · 3988e93d
      Basil L. Contovounesios authored
      For discussion, see thread starting at:
      https://lists.gnu.org/archive/html/emacs-devel/2019-04/msg00316.html
      * doc/lispref/customize.texi (Composite Types): Do not overspecify
      :match-alternatives predicates.
      * doc/lispref/eval.texi (Intro Eval): Anchor definition of "side
      effect" for cross-referencing...
      * doc/lispref/functions.texi (What Is a Function): ...from here.
      Define what a pure function is.
      * doc/lispref/internals.texi (Writing Emacs Primitives): Describe
      currently preferred approach to marking primitives as pure and
      side-effect-free.
      * doc/lispref/symbols.texi (Standard Properties): Expand description
      of pure and side-effect-free properties.
      
      (cherry picked from commit 4430a9b5)
      3988e93d
    • Basil L. Contovounesios's avatar
      Backport: Avoid using obsolete indent-relative-maybe · 7565d2d2
      Basil L. Contovounesios authored
      * lisp/electric.el (electric-indent-functions-without-reindent):
      * lisp/indent.el (indent-according-to-mode): Check for
      indent-relative-first-indent-point in addition to its obsolete alias
      indent-relative-maybe.
      * lisp/obsolete/vi.el (vi-com-map): Use
      indent-relative-first-indent-point in place of its obsolete alias
      indent-relative-maybe.
      
      (cherry picked from commit 0e468a62)
      7565d2d2
  20. 21 Apr, 2019 4 commits
  21. 20 Apr, 2019 1 commit