[#3567] Nil is a subclass of Object? — shugo@... (maeda shugo)

前田です。

26 messages 1997/08/02
[#3570] Re: Nil is a subclass of Object? — matz@... (Yukihiro Matsumoto) 1997/08/03

まつもと ゆきひろです

[#3572] Re: Nil is a subclass of Object? — keiju@... (石塚圭樹 ) 1997/08/03

けいじゅ@日本ラショナルです.

[#3573] Re: Nil is a subclass of Object? — matz@... (Yukihiro Matsumoto) 1997/08/03

まつもと ゆきひろです

[#3715] may i make a ruby.rpm? — Shoichi OZAWA <ozawa@...>

こんにちは 小澤@日立 です。

15 messages 1997/08/20

[#3736] module for GNU Readline Library — shugo@... (前田 修吾 / maeda shugo)

前田です。

12 messages 1997/08/20

[#3833] [Bug] Regexp.quote — shugo@... (前田 修吾 / maeda shugo)

前田です。

25 messages 1997/08/26
[#3836] BEGIN and END — Masaki Suketa <suke@...> 1997/08/26

助田です。

[#3837] Re: BEGIN and END — matz@... (Yukihiro Matsumoto) 1997/08/27

まつもと ゆきひろです

[#3842] Re: BEGIN and END — keiju@... (石塚圭樹 ) 1997/08/27

けいじゅ@日本ラショナルです.

[#3839] Re: SyslogSendmail class — takagi@... (TAKAGI Hiromitsu)

> そうですね.本当はこーゆーのが ruby-list の本来の形ですね.

18 messages 1997/08/27
[#3840] Re: SyslogSendmail class — matz@... (Yukihiro Matsumoto) 1997/08/27

まつもと ゆきひろです

[#3852] Re: SyslogSendmail class — keiju@... (石塚圭樹 ) 1997/08/27

けいじゅ@日本ラショナルソフトウェアです.

[#3909] Object#id <=> Fixnum#id2object ? (Re: SyslogSendmail class) — shugo@... (前田 修吾 / maeda shugo) 1997/08/28

前田です。

[#3869] Re: SyslogSendmail class — takagi@... (TAKAGI Hiromitsu)

> Moduleのところに書いてあるんですねえ.こういうノウハウを記述

15 messages 1997/08/27
[#3870] Re: SyslogSendmail class — matz@... (Yukihiro Matsumoto) 1997/08/27

まつもと ゆきひろです

[#3906] document for beginner — toyofuku@...

豊福@パパイヤです。

21 messages 1997/08/28
[#3917] Re: document for beginner — Kikutani Makoto <kikutani@...> 1997/08/29

きくたにです。

[#3925] Re: document for beginner — Masaki Suketa <suke@...> 1997/08/29

助田です

[#3926] Curses (Re: document for beginner) — Kikutani Makoto <kikutani@...> 1997/08/29

Fri, Aug 29, 1997 at 12:54:15PM +0900 において

[#3933] Re: ruby constants — toyofuku@...

豊福@パパイヤです。

16 messages 1997/08/29
[#3934] Re: ruby constants — matz@... (Yukihiro Matsumoto) 1997/08/29

まつもと ゆきひろです

[#3939] Re: ruby constants — WATANABE Hirofumi <watanabe@...> 1997/08/29

わたなべです.

[ruby-list:3792] Re: ruby-mode auto-indent problem

From: matz@... (Yukihiro Matsumoto)
Date: 1997-08-25 04:43:01 UTC
List: ruby-list #3792
まつもと ゆきひろです

In message "[ruby-list:3791] ruby-mode auto-indent problem"
    on 97/08/25, Eiji-usagi-MATSUmoto <ematsu@pfu.co.jp> writes:

|うさぎです。

|『\』を含む行があると、次の行でTABを押してもインデントされな
|い場合があるというものです。

簡単に言うとruby-modeのバグです."の直前がバックスラッシュで
あると,それが\\であっても"のエスケープであるとみなしてしま
うのが原因です.

パッチを付けておきます.

--- sample/ruby-mode.el~	Fri Aug 22 18:17:53 1997
+++ sample/ruby-mode.el	Mon Aug 25 13:33:37 1997
@@ -215,13 +215,12 @@
 		    (looking-at "'")
 		    (looking-at "`"))
 		(setq w (char-after (point)))
-		(cond
-		 ((and (not (eobp))
-		       (re-search-forward (format "[^\\]%c" w) indent-point t))
-		  nil)
-		 (t
+		(if (and (not (eobp))
+			 (or (re-search-forward (format "[^\\]%c" w) indent-point t)
+			     (re-search-forward (format "\\\\\\\\%c" w) indent-point t)))
+		    nil
 		  (setq in-string (point))
-		  (goto-char indent-point))))
+		  (goto-char indent-point)))
 	       ((looking-at "/")
 		(cond
 		 ((and (not (eobp)) (ruby-expr-beg))

In This Thread