[#7300] resolver を呼ばない UDPsocket#recvfrom — Toshihiko SHIMOKAWA / 下川俊彦 <toshi@...>

あんまり ruby-dev な話でも無いのですが、ちょっとした機能拡張の提案なので、

12 messages 1999/07/12
[#7321] Re: resolver を呼ばない UDPsocket#recvfrom — Toshihiko SHIMOKAWA / 下川俊彦 <toshi@...> 1999/07/15

From: Toshihiko SHIMOKAWA / 下川俊彦 <toshi@csce.kyushu-u.ac.jp>

[#7313] Ruby 1.3.5 — Yukihiro Matsumoto <matz@...>

Ruby 1.3.5 is out, check out:

59 messages 1999/07/15
[#7318] Re: Ruby 1.3.5 — WATANABE Hirofumi <watanabe@...> 1999/07/15

わたなべです.

[#7326] Re: Ruby 1.3.5 — Wakou Aoyama <wakou@...> 1999/07/15

青山です。

[#7331] Re: Ruby 1.3.5 — matz@... (Yukihiro Matsumoto) 1999/07/16

まつもと ゆきひろです

[#7340] Re: Ruby 1.3.5 — Wakou Aoyama <wakou@...> 1999/07/16

青山です。

[#7368] Re: Ruby 1.3.5 — matz@... (Yukihiro Matsumoto) 1999/07/19

まつもと ゆきひろです

[#7373] Re: Ruby 1.3.5 — Shin-ichiro Hara <sinara@...> 1999/07/19

原です。

[#7374] Re: Ruby 1.3.5 — matz@... (Yukihiro Matsumoto) 1999/07/19

まつもと ゆきひろです

[#7382] Re: Ruby 1.3.5 — Wakou Aoyama <wakou@...> 1999/07/19

青山です。

[#7386] Re: Ruby 1.3.5 — matz@... (Yukihiro Matsumoto) 1999/07/21

まつもと ゆきひろです

[#7388] Re: Ruby 1.3.5 — Wakou Aoyama <wakou@...> 1999/07/21

青山です。

[#7387] [PATCH]extconf.rb, tcltklib.c, and rubytest.rb for NetBSD — Ryo HAYASAKA <hayasaka@...21.u-aizu.ac.jp>

早坂@会津大学です。

10 messages 1999/07/21

[#7466] [PATCH] for djgpp — WATANABE Hirofumi <watanabe@...>

わたなべです.

21 messages 1999/07/29
[#7467] Re: [PATCH] for djgpp — Katsuyuki Komatsu <komatsu@...> 1999/07/29

小松です。

[ruby-dev:7271] Re: [PATCH] rubydb3x.el, ruby-mode.el

From: Koji Arai <JCA02266@...>
Date: 1999-07-01 16:09:01 UTC
List: ruby-dev #7271
新井です。

> 中田です。

>   XEmacs 20.4 で rubydb3x.el が gud.el の中でエラーになるので、とりあえ
> ずパッチです。gud のバージョンは 1.3 です。他のバージョンでどうなるかは
> 確認してませんので、このままではマズい可能性大(^^;;。

GNU Emacs 20.3 において、rubydb3x.el で

Symbol's function definition is void: gud-overload-functions

というエラーが出ます。添付のパッチはこの関数の存在
チェックで逃げてみました。

ARGV[0] がスクリプト名になる不具合もあって、

|Run rubydb (like this): ruby hoge.rb
|
|Current directory is /tmp/
|(rdb:-) p ARGV
|["hoge.rb"]
|(rdb:-) 

これは元に戻すことで対処しました。XEmacsでは都合が
悪いんですよね?どうしましょう?

gud や comintについてよく調べもせずに修正していま
す。

以下は、Emacs 20.3での gud-common-init 関数のイン
タフェースです。ご参考まで。

;; Perform initializations common to all debuggers.
;; The first arg is the specified command line,
;; which starts with the program to debug.
;; The other three args specify the values to use
;; for local variables in the debugger buffer.
(defun gud-common-init (command-line massage-args marker-filter find-file)

以下、パッチです。

--- misc/rubydb3x.el.org	Thu Jul  1 23:24:59 1999
+++ misc/rubydb3x.el	Fri Jul  2 00:02:04 1999
@@ -8,7 +8,7 @@
 (defvar gud-rubydb-history nil)
 
 (defun gud-rubydb-massage-args (file args)
-  (cons "-r" (cons "debug" (cons file args))))
+  (cons "-r" (cons "debug" args)))
 
 ;; There's no guarantee that Emacs will hand the filter the entire
 ;; marker at once; it could be broken up across several strings.  We
@@ -85,10 +85,13 @@
 			       nil nil
 			       '(gud-rubydb-history . 1))))
 
-  (gud-overload-functions '((gud-massage-args . gud-rubydb-massage-args)
-			    (gud-marker-filter . gud-rubydb-marker-filter)
-			    (gud-find-file . gud-rubydb-find-file)))
-  (gud-common-init command-line rubydb-command-name)
+  (if (not (fboundp 'gud-overload-functions))
+      (gud-common-init command-line 'gud-rubydb-massage-args
+		       'gud-rubydb-marker-filter 'gud-rubydb-find-file)
+    (gud-overload-functions '((gud-massage-args . gud-rubydb-massage-args)
+			      (gud-marker-filter . gud-rubydb-marker-filter)
+			      (gud-find-file . gud-rubydb-find-file)))
+    (gud-common-init command-line rubydb-command-name))
 
   (gud-def gud-break  "b %l"         "\C-b" "Set breakpoint at current line.")
 ;  (gud-def gud-remove "clear %l"     "\C-d" "Remove breakpoint at current line")

In This Thread