public inbox for gnats-devel@sourceware.org
 help / color / mirror / Atom feed
* using GNATS with xemacs
@ 2003-10-11  1:43 Mel Hatzis
  2003-10-11 18:06 ` Mark D. Baushke
  0 siblings, 1 reply; 2+ messages in thread
From: Mel Hatzis @ 2003-10-11  1:43 UTC (permalink / raw)
  To: help-gnats

[-- Attachment #1: Type: text/plain, Size: 273 bytes --]

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

[-- Attachment #2: gnats.el.1.patch --]
[-- Type: text/plain, Size: 543 bytes --]

--- 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)))

[-- Attachment #3: Type: text/plain, Size: 139 bytes --]

_______________________________________________
Help-gnats mailing list
Help-gnats@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnats

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-10-11 18:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-11  1:43 using GNATS with xemacs Mel Hatzis
2003-10-11 18:06 ` Mark D. Baushke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).