From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/25650 Path: main.gmane.org!not-for-mail From: Shenghuo ZHU Newsgroups: gmane.emacs.gnus.general Subject: Re: 0.97: bug while sending mail Date: 05 Oct 1999 03:53:10 -0400 Organization: U of Rochester Sender: owner-ding@hpc.uh.edu Message-ID: <2nk8p25jmh.fsf@tiger.jia.vnet> References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: main.gmane.org 1035162997 15126 80.91.224.250 (21 Oct 2002 01:16:37 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:16:37 +0000 (UTC) Return-Path: Original-Received: from spinoza.math.uh.edu (spinoza.math.uh.edu [129.7.128.18]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id DAA06585 for ; Tue, 5 Oct 1999 03:51:21 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by spinoza.math.uh.edu (8.9.1/8.9.1) with ESMTP id CAB23481; Tue, 5 Oct 1999 02:50:22 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 05 Oct 1999 02:51:21 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id CAA28366 for ; Tue, 5 Oct 1999 02:51:08 -0500 (CDT) Original-Received: from cayuga.cs.rochester.edu (cayuga.cs.rochester.edu [192.5.53.209]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id DAA06577 for ; Tue, 5 Oct 1999 03:49:10 -0400 (EDT) Original-Received: from heart.cs.rochester.edu (heart.cs.rochester.edu [192.5.53.109]) by cayuga.cs.rochester.edu (8.9.3/Q) with ESMTP id DAA17929 for ; Tue, 5 Oct 1999 03:49:02 -0400 (EDT) Original-Received: (from zsh@localhost) by heart.cs.rochester.edu (8.9.3/8.9.3) id DAA04755; Tue, 5 Oct 1999 03:53:11 -0400 Original-To: ding@gnus.org X-Attribution: ZSH X-Face: 'IF:e51ib'Qbl^(}l^&4-J`'P!@[4~O|&k#:@Gld#b/]oMq&`&FVY._3+b`mzp~Jeve~/#/ ERD!OTe<86UhyN=l`mrPY)M7_}`Ktt\K+58Z!hu7>qU,i.N7TotU[FYE(f1;}`g2xj!u*l`^&=Q!g{ *q|ddto|nkt"$r,K$[)"|6,elPH= GJ6Q In-Reply-To: Vladimir Volovich's message of "05 Oct 1999 10:44:49 +0400" Original-Lines: 24 User-Agent: Gnus/5.07009701 (Pterodactyl Gnus v0.97.1) XEmacs/21.2 (Shinjuku) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:25650 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:25650 --=-=-= >>>>> "VV" == Vladimir Volovich writes: VV> Hi, VV> while trying to send my previous mail, i've got the following error VV> when pressed C-c C-c. It was triggered by presence of a latin-1 VV> character in Francois' name... (after replacing that char with ASCII VV> analog, error disappeared). [...] This happens in a blue moon, latin-1 characters in the message and the last line contains 72 characters. A patch follows. (Committed) -- Shenghuo ZHU 1999-10-05 Shenghuo ZHU * qp.el (quoted-printable-encode-region): Check eobp. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=97-zsh5.diff Index: qp.el =================================================================== RCS file: /usr/local/cvsroot/gnus/lisp/qp.el,v retrieving revision 5.11 diff -u -r5.11 qp.el --- qp.el 1999/09/27 15:19:05 5.11 +++ qp.el 1999/10/05 07:40:04 @@ -99,11 +99,12 @@ (end-of-line) (while (> (current-column) 72) (beginning-of-line) - (forward-char 72) + (forward-char 71) ;; 71 char plus an "=" (search-backward "=" (- (point) 2) t) (insert "=\n") (end-of-line)) - (forward-line)))))) + (unless (eobp) + (forward-line))))))) (defun quoted-printable-encode-string (string) "QP-encode STRING and return the results." --=-=-=--