From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/18893 Path: main.gmane.org!not-for-mail From: yamaoka@jpl.org (Katsumi Yamaoka / =?iso-2022-jp?b?GyRCOzMyLBsoQiAbJEI5bkh+GyhC?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: 0.50 bug: gnus tries to search for empty line in message Date: 19 Nov 1998 09:33:44 +0900 Sender: owner-ding@hpc.uh.edu Message-ID: <2890h8msgn.fsf@kchisa.ga.sony.co.jp> References: <5bg1bgn825.fsf@schnapps.cs.rochester.edu> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 X-Trace: main.gmane.org 1035157339 8649 80.91.224.250 (20 Oct 2002 23:42:19 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:42:19 +0000 (UTC) Return-Path: Original-Received: from karazm.math.uh.edu (karazm.math.uh.edu [129.7.128.1]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id TAA24027 for ; Wed, 18 Nov 1998 19:40:18 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by karazm.math.uh.edu (8.9.1/8.9.1) with ESMTP id SAB01183; Wed, 18 Nov 1998 18:38:49 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 18 Nov 1998 18:38:40 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id SAA14581 for ; Wed, 18 Nov 1998 18:38:29 -0600 (CST) Original-Received: from gatekeeper8.sony.co.jp (firewall-user@gatekeeper8.Sony.CO.JP [202.238.80.22]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id TAA23956 for ; Wed, 18 Nov 1998 19:38:15 -0500 (EST) Original-Received: from mail3.sony.co.jp by inetgw8.sony.co.jp (3.7W+11/17/98) with ESMTP id JAA27653 for ; Thu, 19 Nov 1998 09:22:52 +0900 (JST) Original-Received: from shigw.shi.sony.co.jp by mail3.sony.co.jp (3.7W98111523c) with SMTP id JAA13043 for ; Thu, 19 Nov 1998 09:33:41 +0900 (JST) Original-Received: from gagw.ga.sony.co.jp (gabrg [43.1.185.224]) by shigw.shi.sony.co.jp (8.6.12+2.4W/3.4W-97092516) with SMTP id JAA23872 for ; Thu, 19 Nov 1998 09:33:31 +0900 Original-Received: from kchisa.ga.sony.co.jp by gagw.ga.sony.co.jp (4.2/6.4J.6) id AA02011; Thu, 19 Nov 98 09:32:20 JST Original-To: ding@gnus.org In-Reply-To: Shenghuo ZHU's message of "18 Nov 1998 13:56:50 -0500" Original-Lines: 36 User-Agent: Gnus/5.07005 (Pterodactyl Gnus v0.50) Emacs/20.3.2 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:18893 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:18893 >>>>> In <5bg1bgn825.fsf@schnapps.cs.rochester.edu> >>>>> Shenghuo ZHU wrote: >>>>> "VVV" == Vladimir Volovich writes: VVV> i get an error: VVV> Signaling: (search-failed " VVV> ") ZSH> Hope this patch works. This is another patch for the problem. How's it? --- message.el~ Wed Nov 18 10:20:17 1998 +++ message.el Thu Nov 19 09:22:10 1998 @@ -4126,11 +4126,14 @@ (widen) (forward-line -1) (let ((beg (point)) - (line (buffer-substring (point) (progn (forward-line 1) (point))))) + (line (buffer-substring + (point) + (progn (forward-line 1) (1- (point)))))) (delete-region beg (point)) (insert "Mime-Version: 1.0\n") - (search-forward "\n\n") - (forward-char -1) + (unless (eolp) + (search-forward "\n\n") + (forward-char -1)) (insert line) (when (save-excursion (re-search-backward "^Content-Type: multipart/" nil t)) -- Katsumi Yamaoka