1. 27 Oct, 2013 1 commit
  2. 26 Oct, 2013 2 commits
  3. 24 Oct, 2013 1 commit
  4. 23 Oct, 2013 1 commit
  5. 22 Oct, 2013 1 commit
  6. 21 Oct, 2013 5 commits
  7. 17 Oct, 2013 1 commit
  8. 15 Oct, 2013 1 commit
  9. 14 Oct, 2013 1 commit
  10. 12 Oct, 2013 1 commit
  11. 11 Oct, 2013 2 commits
  12. 09 Oct, 2013 1 commit
  13. 07 Oct, 2013 4 commits
  14. 06 Oct, 2013 3 commits
  15. 05 Oct, 2013 1 commit
    • Stefan Monnier's avatar
      Get Ruby's SMIE code to pass the test suite. · 34d1a133
      Stefan Monnier authored
      * lisp/progmodes/ruby-mode.el (ruby-use-smie): Change default.
      (ruby-comment-column): Follow the global default, by default.
      (ruby-smie-grammar): Add assignment syntax.
      (ruby-smie--implicit-semi-p): No implicit semi-colon after an
      open-paren, a comma, or a \.
      (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
      and line continuations.
      (ruby-smie-rules): Adjust handling of open-paren, now that it's never
      followed by implicit semi-colons.  Add rule for string concatenation
      and for indentation at BOB.
      (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
      
      * lisp/emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
      calling next-sexp, since next-token may have skipped chars which
      next-sexp doesn't know should be skipped!
      
      * test/indent/ruby.rb: Port a few cases from automated/ruby-mode-tests.el.
      Adjust indentation of continued line to the new SMIE behavior.
      34d1a133
  16. 04 Oct, 2013 1 commit
  17. 15 Sep, 2013 1 commit
  18. 03 Sep, 2013 1 commit
  19. 29 May, 2013 1 commit
  20. 25 May, 2013 1 commit
  21. 24 May, 2013 1 commit
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust. · 650cff3d
      Stefan Monnier authored
      (smie-setup): Use add-function to set it.
      
      * lisp/progmodes/octave.el (octave-smie-rules): Return nil rather than
      0 after a semi-colon; it works better for smie-auto-fill.
      (octave--indent-new-comment-line): New function.
      (octave-indent-new-comment-line): Use it (indirectly).
      (octave-mode): Don't disable smie-auto-fill.  Use add-function to
      modify comment-line-break-function.
      650cff3d
  22. 19 May, 2013 1 commit
    • Dmitry Gutov's avatar
      * lisp/progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to · 1a0a0a8a
      Dmitry Gutov authored
      start at point, so that expansion starting right after opening
      slash in a regexp is recognized.
      (ruby-syntax-before-regexp-re): New defvar, extracted from
      ruby-syntax-propertize-function.  Since the value of this regexp
      is looked up at runtime now, we should be able to turn
      `ruby-syntax-methods-before-regexp' into a defcustom later.
      (ruby-syntax-propertize-function): Split regexp matching into two
      parts, for opening and closing slashes.  That allows us to skip
      over string interpolations and support multiline regexps.
      Don't call `ruby-syntax-propertize-expansions', instead use another rule
      for them, which calls `ruby-syntax-propertize-expansion'.
      (ruby-syntax-propertize-expansions): Move `remove-text-properties'
      call to `ruby-syntax-propertize-function'.
      (ruby-syntax-propertize-expansion): Extracted from
      `ruby-syntax-propertize-expansions'.  Handles one expansion.
      (ruby-syntax-propertize-heredoc): Explicitly call
      `ruby-syntax-propertize-expansions'.
      (ruby-syntax-propertize-percent-literal): Leave point right after
      the percent symbol, so that the expression expansion rule can
      propertize the contents.
      
      * test/automated/ruby-mode-tests.el (ruby-heredoc-highlights-interpolations)
      (ruby-regexp-skips-over-interpolation)
      (ruby-regexp-continues-till-end-when-unclosed)
      (ruby-regexp-can-be-multiline)
      (ruby-interpolation-inside-percent-literal): New tests.
      
      * test/indent/ruby.rb: Add multiline regexp example.
      1a0a0a8a
  23. 08 May, 2013 1 commit
    • Stefan Monnier's avatar
      * lisp/progmodes/ruby-mode.el: First cut at SMIE support. · a9e4425b
      Stefan Monnier authored
      (ruby-use-smie): New var.
      (ruby-smie-grammar): New constant.
      (ruby-smie--bosp, ruby-smie--implicit-semi-p)
      (ruby-smie--forward-token, ruby-smie--backward-token)
      (ruby-smie-rules): New functions.
      (ruby-mode-variables): Setup SMIE if applicable.
      * test/indent/ruby.rb: Fix indentation after =; add more cases.
      a9e4425b
  24. 06 May, 2013 1 commit
  25. 05 May, 2013 1 commit
  26. 05 Mar, 2013 1 commit
  27. 31 Jan, 2013 1 commit
    • Stefan Monnier's avatar
      * lisp/progmodes/opascal.el: Rename from delphi.el. Use lexical-binding. · c4f268a1
      Stefan Monnier authored
      (opascal-newline-always-indents): Remove custom.
      (opascal-tab, opascal-newline): Remove commands.
      (opascal-new-comment-line): Insert "\n" instead of calling newline.
      (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
      (opascal-save-match-data): Remove, use save-match-data instead.
      (opascal-save-state): Use with-silent-modifications.
      c4f268a1
  28. 04 Jan, 2013 1 commit
  29. 01 Jan, 2013 1 commit