1. 28 Apr, 2014 2 commits
    • Stefan Monnier's avatar
      * lisp/progmodes/ps-mode.el: Use SMIE. Move string and comment recognition · 9b7b020d
      Stefan Monnier authored
      to syntax-propertize.
      (ps-mode-auto-indent): Mark as obsolete.
      (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
      (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
      word regexp operators.
      (ps-mode-map): Move initialization into declaration.  Remove binding
      for TAB, RET, >, ], and }.
      (ps-mode-syntax-table): Move initialization into declaration.
      Don't give word syntax to non-word chars.
      (ps-run-mode-map): Move initialization into declaration.
      (ps-mode-menu-main): Remove auto-indent entry.
      (ps-mode-smie-rules): New function.
      (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
      (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
      (ps-mode--string-syntax-table): New const.
      (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
      New functions.
      (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
      (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
      9b7b020d
    • Paul Eggert's avatar
      Avoid undefined behavior in signed left shift. · 6ab1b16c
      Paul Eggert authored
      This ports to GCC 4.9.0 with -fsanitize=undefined.
      * alloc.c (bool_vector_fill, SETMARKBIT, UNSETMARKBIT):
      * data.c (Fash):
      * regex.c (extract_number):
      * lisp.h (make_number, XINT):
      Do not shift a 1 bit left into a sign bit.
      * alloc.c (struct cons_block, struct float_block): Use unsigned,
      not int, for gcmarkbits.  All uses changed.
      6ab1b16c
  2. 27 Apr, 2014 2 commits
  3. 25 Apr, 2014 3 commits
  4. 24 Apr, 2014 11 commits
  5. 23 Apr, 2014 6 commits
  6. 22 Apr, 2014 16 commits