[#3726] Fixnum#clone and Float#clone raise different exceptions — "David A. Black" <dblack@...>

Hi --

15 messages 2004/11/12
[#3749] Re: Fixnum#clone and Float#clone raise different exceptions — "David A. Black" <dblack@...> 2004/11/16

Hi --

[#3751] Re: Fixnum#clone and Float#clone raise different exceptions — Yukihiro Matsumoto <matz@...> 2004/11/16

Hi,

[#3752] Re: Fixnum#clone and Float#clone raise different exceptions — "David A. Black" <dblack@...> 2004/11/16

Hi --

[#3785] The latest 1.8.2 cvs prints parse error when starting extension compiling — Yukihiro Matsumoto <matz@...>

Hi,

13 messages 2004/11/23
[#3787] Re: The latest 1.8.2 cvs prints parse error when starting extension compiling — Johan Holmberg <holmberg@...> 2004/11/23

ruby-mode.el patch

From: Yohanes Santoso <ysantoso-rubycore@...>
Date: 2004-11-12 17:45:12 UTC
List: ruby-core #3719
Currently it does not indent the following properly:

for_foo do |bar|
something   # <-- indented to col 0
end

The problem is ruby-non-block-do-re
"\\(while\\|until\\|for\\|rescue\\)\\>" matches 'for_'

since '_' is the only valid identifier character that is not an
alphanumeric, let's change the re to:

(defconst ruby-non-block-do-re
  "\\(while\\|until\\|for\\|rescue\\)\\>[^_]")



YS.

In This Thread

Prev Next