>>>> "Aki" == Aki Vehtari
<Aki.Vehtari(a)hut.fi> writes:
Hello Aki,
I submitted a patch against gud.el yesterday to make perldb work under
WindowsNT.
Patches should go to xemacs-patches(a)xemacs.org.
Regards,
Adrian
Aki> There is some support for gud in matlab-mode too, but
Aki> `C-x SPC' which runs `gud-break' caused following error
Aki> Signaling: (wrong-type-argument sequencep 83)
Aki> gud-format-command("dbstop at %l in %f" 1)
Aki> gud-call("dbstop at %l in %f" 1)
Aki> gud-break(1)
Aki> call-interactively(gud-break)
Aki> Following patch fixes this, but I just wonder why no one else has
Aki> noticed this? concat accepts integer arguments in Emacs but not in
Aki> XEmacs. I don't remember when this was changed in XEmacs, but
Aki> apparently after that change, no one has used gud.el in XEmacs
Aki> (until now).
Aki> Btw. gud.el in XEmacs is dated 1993 and gud.el in emacs-20.3 is
Aki> dated 1998. Unfortunately gud.el in emacs-20.3 does not work in
Aki> XEmacs and I don't know much work it would need to make it work and
Aki> I haven't yet asked maintainer of gud.el (Eric S. Raymond) if he
Aki> would be interested to help making gud.el XEmacs compatible.
Aki> --- lisp/debug/gud.el.orig Mon Jan 26 06:40:48 1998
Aki> +++ lisp/debug/gud.el Wed Dec 9 14:11:16 1998
Aki> @@ -2953,7 +2953,8 @@
Aki> (save-excursion
Aki> (beginning-of-line)
Aki> (save-restriction (widen)
Aki> - (1+ (count-lines 1 (point)))))
Aki> + (int-to-string
Aki> + (1+ (count-lines 1 (point))))))
Aki> (cdr gud-last-frame))
Aki> (substring str (match-beginning 2) (match-end 2)))))
Aki> (if (string-match "\\(.*\\)%e\\(.*\\)" str)