help-gnats
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

using GNATS with xemacs


From: Mel Hatzis
Subject: using GNATS with xemacs
Date: Fri, 10 Oct 2003 18:41:29 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624

Please review the attached patch which fixes a bug
in the gnats.el file, allowing it to be used with
xemacs.

Currently, if you attempt to use the gnats.el
functionality with xemacs nothing works because
every attempt to read the server response is
failing.

--
Mel Hatzis
--- gnats.el~   6 Dec 2002 10:32:58 -0000       1.1.1.1
+++ gnats.el    11 Oct 2003 01:09:57 -0000
@@ -1197,7 +1197,7 @@ gnats-server-conn's `parsed-output' prop
 parsed, the `output-complete' property is set."
   (put gnats-server-conn 'curr-output
        (concat (get gnats-server-conn 'curr-output) output))
-  (if (eq 10 (string-to-char (substring output -1)))
+  (if (eq ?\n (string-to-char (substring output -1)))
       (progn
        (gnats-debug-string (get gnats-server-conn 'curr-output))
        (let ((our-output (get gnats-server-conn 'curr-output)))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]