|
From: | Dmitry Gutov |
Subject: | Re: [Emacs-diffs] /srv/bzr/emacs/trunk r112522: * lisp/progmodes/ruby-mode.el: First cut at SMIE support. |
Date: | Wed, 22 May 2013 23:15:49 +0400 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 |
On 22.05.2013 23:07, Dmitry Gutov wrote:
On 22.05.2013 22:55, Stefan Monnier wrote: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.Good point, though I think I still prefer the reliability of automated testing over that convenience.
Speaking of SMIE and indentation, though, don't you find it inconvenient that to run the tests with it enabled, you have to put (setq ruby-use-smie t) in your init file, and then maybe remove it later and rerun the tests, to see that some changes did't break anything in the default algorithm?
M-: (setq ruby-use-smie t) is easier.ruby-mode also has customization variables that change indentation behavior (at least one, for now, and we should add more). How do you propose to test that?
[Prev in Thread] | Current Thread | [Next in Thread] |