Gnus development mailing list
 help / color / mirror / Atom feed
* [nntp.el] patch for the unofficial version of mule based on 19.30
@ 1995-12-23 11:18 SAKIYAMA Nobuo
  1995-12-29 14:13 ` Hallvard B Furuseth
  0 siblings, 1 reply; 2+ messages in thread
From: SAKIYAMA Nobuo @ 1995-12-23 11:18 UTC (permalink / raw)


If you are using the current version of September Gnus on the
unofficial version of mule based on 19.29 or 19.30 and not using tm
package, your posting messages to the news would be damaged.

This is a patch resolving this problem. Of course, this code will be
slower than the original.

*** nntp.el.orig	Thu Dec 21 12:09:48 1995
--- nntp.el	Sat Dec 23 19:36:47 1995
***************
*** 1002,1008 ****
  	  (size 100))			;Size of text sent at once.
        (while (/= last (point-max))
  	(process-send-region 
! 	 nntp-server-process last (setq last (min (+ last size) (point-max))))
  	;; Read any output from the server.  May be unnecessary.
  	(accept-process-output)))
      ;; Delete the area we sent.
--- 1002,1013 ----
  	  (size 100))			;Size of text sent at once.
        (while (/= last (point-max))
  	(process-send-region 
! 	 nntp-server-process
! 	 last 
! 	 (setq last (save-excursion
! 		      (goto-char (min (+ last size) (point-max)))
! 		      (or (eobp) (forward-char 1))
! 		      (point))))
  	;; Read any output from the server.  May be unnecessary.
  	(accept-process-output)))
      ;; Delete the area we sent.

--
SAKIYAMA Nobuo        nobuo@is.s.u-tokyo.ac.jp


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

end of thread, other threads:[~1995-12-29 14:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1995-12-23 11:18 [nntp.el] patch for the unofficial version of mule based on 19.30 SAKIYAMA Nobuo
1995-12-29 14:13 ` Hallvard B Furuseth

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 NNTP newsgroup(s).