Gnus development mailing list
 help / color / mirror / Atom feed
From: SAKIYAMA Nobuo <nobuo@is.s.u-tokyo.ac.jp>
Subject: [nntp.el] patch for the unofficial version of mule based on 19.30
Date: Sat, 23 Dec 1995 20:18:09 +0900	[thread overview]
Message-ID: <10696.819717489@deneb.is.s.u-tokyo.ac.jp> (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


             reply	other threads:[~1995-12-23 11:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-12-23 11:18 SAKIYAMA Nobuo [this message]
1995-12-29 14:13 ` Hallvard B Furuseth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=10696.819717489@deneb.is.s.u-tokyo.ac.jp \
    --to=nobuo@is.s.u-tokyo.ac.jp \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).