using GNATS with xemacs

Mel Hatzis <[email protected]>
Newsgroups gmane.comp.bug-tracking.gnats.general
Message-ID <[email protected]>
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

_______________________________________________
Help-gnats mailing list
[email protected]
http://mail.gnu.org/mailman/listinfo/help-gnats
gnats.el.1.patch (text/plain, 543 B)
--- 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)))
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.