From: Shenghuo ZHU <zsh@cs.rochester.edu>
Subject: Re: 0.97: bug while sending mail
Date: 05 Oct 1999 03:53:10 -0400 [thread overview]
Message-ID: <2nk8p25jmh.fsf@tiger.jia.vnet> (raw)
In-Reply-To: Vladimir Volovich's message of "05 Oct 1999 10:44:49 +0400"
[-- Attachment #1: Type: text/plain, Size: 579 bytes --]
>>>>> "VV" == Vladimir Volovich <vvv@vvv.vsu.ru> 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 <zsh@cs.rochester.edu>
* qp.el (quoted-printable-encode-region): Check eobp.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 97-zsh5.diff --]
[-- Type: text/x-patch, Size: 660 bytes --]
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."
prev parent reply other threads:[~1999-10-05 7:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-10-05 6:44 Vladimir Volovich
1999-10-05 7:53 ` Shenghuo ZHU [this message]
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=2nk8p25jmh.fsf@tiger.jia.vnet \
--to=zsh@cs.rochester.edu \
/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).