[#41120] ActiveScriptRuby で Racc をインストールできない — "conundrum /" <conundrum@...>

conundrumです。

11 messages 2005/09/09

[#41157] RD と rdoc に関する newbie な質問 — "conundrum /" <conundrum@...>

conundrumです。

13 messages 2005/09/19
[#41158] Re: RD と rdoc に関する newbie な質問 — rubikitch <rubikitch@...> 2005/09/19

From: "conundrum /" <conundrum@hotmail.co.jp>

[#41159] Re: RD と rdoc に関する newbie な質問 — "conundrum /" <conundrum@...> 2005/09/19

conundrumです。るびきちさん、直々の回答ありがとうございます。

[ruby-list:41171] Re: ruby-mode.el bug?

From: nobu@...
Date: 2005-09-24 14:32:19 UTC
List: ruby-list #41171
なかだです。

At Fri, 23 Sep 2005 17:42:06 +0900,
rubikitch wrote in [ruby-list:41168]:
> この場合はインデントが0になってしまいます。
> def g
>   [].find{|x| x =~ /a/ }
> #

[ruby-core:04415]の影響ですね。


Index: ruby-mode.el
===================================================================
RCS file: /cvs/ruby/src/ruby/misc/ruby-mode.el,v
retrieving revision 1.92
diff -U2 -p -r1.92 ruby-mode.el
--- ruby-mode.el	12 Jun 2005 16:56:04 -0000	1.92
+++ ruby-mode.el	24 Sep 2005 13:40:55 -0000
@@ -313,9 +313,8 @@ The variable ruby-indent-level controls 
 		   (ruby-special-char-p))))
 	nil)
-       ((or (save-excursion (goto-char start) (looking-at ruby-operator-re))
+       ((and (eq option 'heredoc) (< space 0)) t)
+       ((or (looking-at ruby-operator-re)
 	    (looking-at "[\\[({,;]")
-	    (and (or (not (eq option 'heredoc))
-		     (< space 0))
-		 (looking-at "[!?]")
+	    (and (looking-at "[!?]")
 		 (or (not (eq option 'modifier))
 		     (bolp)


-- 
--- 僕の前にBugはない。
--- 僕の後ろにBugはできる。
    中田 伸悦

In This Thread