[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] /srv/bzr/emacs/trunk r112522: * lisp/progmodes/ruby-mo
From: |
Stefan Monnier |
Subject: |
Re: [Emacs-diffs] /srv/bzr/emacs/trunk r112522: * lisp/progmodes/ruby-mode.el: First cut at SMIE support. |
Date: |
Wed, 22 May 2013 14:55:42 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> Don't you think it would be better to have these tests in
> test/automated/ruby-mode-tests.el?
I find it inconvenient, actually, because when the test fails, it's
a handy to be able to have a ruby-mode buffer where I can try out sexp
movement and indentation functions "in the usual way", together with
Edebug if needed.
> Having examples in ruby.rb that one has to check manually makes certain
> sense for syntax highligting, but automated indentation tests are easier
> to read and run.
Indentation checking is automated, via "(cd test/indent; make ruby.rb.test)"
It's not for syntax-highlighting, sadly.
> By the way, if you're going to return to this in the near future, I'd
> suggest you take a look at the automated tests. With SMIE enabled, a few
> of them fail and at least one infloops.
Ruby's SMIE indentation is very much "work in progress", indeed.
Stefan
- [Emacs-diffs] /srv/bzr/emacs/trunk r112522: * lisp/progmodes/ruby-mode.el: First cut at SMIE support., Stefan Monnier, 2013/05/08
- Re: [Emacs-diffs] /srv/bzr/emacs/trunk r112522: * lisp/progmodes/ruby-mode.el: First cut at SMIE support., Dmitry Gutov, 2013/05/19
- Re: [Emacs-diffs] /srv/bzr/emacs/trunk r112522: * lisp/progmodes/ruby-mode.el: First cut at SMIE support.,
Stefan Monnier <=
- Re: [Emacs-diffs] /srv/bzr/emacs/trunk r112522: * lisp/progmodes/ruby-mode.el: First cut at SMIE support., Dmitry Gutov, 2013/05/22
- Re: [Emacs-diffs] /srv/bzr/emacs/trunk r112522: * lisp/progmodes/ruby-mode.el: First cut at SMIE support., Dmitry Gutov, 2013/05/22
- Re: [Emacs-diffs] /srv/bzr/emacs/trunk r112522: * lisp/progmodes/ruby-mode.el: First cut at SMIE support., Stefan Monnier, 2013/05/22
- Re: [Emacs-diffs] /srv/bzr/emacs/trunk r112522: * lisp/progmodes/ruby-mode.el: First cut at SMIE support., Dmitry Gutov, 2013/05/22
- Re: [Emacs-diffs] /srv/bzr/emacs/trunk r112522: * lisp/progmodes/ruby-mode.el: First cut at SMIE support., Stefan Monnier, 2013/05/22
- Re: [Emacs-diffs] /srv/bzr/emacs/trunk r112522: * lisp/progmodes/ruby-mode.el: First cut at SMIE support., Dmitry Gutov, 2013/05/22
- Re: [Emacs-diffs] /srv/bzr/emacs/trunk r112522: * lisp/progmodes/ruby-mode.el: First cut at SMIE support., Stefan Monnier, 2013/05/22
- Re: [Emacs-diffs] /srv/bzr/emacs/trunk r112522: * lisp/progmodes/ruby-mode.el: First cut at SMIE support., Dmitry Gutov, 2013/05/22
- Re: [Emacs-diffs] /srv/bzr/emacs/trunk r112522: * lisp/progmodes/ruby-mode.el: First cut at SMIE support., Stefan Monnier, 2013/05/23