From: Shenghuo ZHU <zsh@cs.rochester.edu>
Subject: Re: strange behaviour when `B c'ing an empty article
Date: 06 Oct 1999 19:24:09 -0400 [thread overview]
Message-ID: <5b7ll03wfa.fsf@giga.cs.rochester.edu> (raw)
In-Reply-To: Dan Christensen's message of "Wed, 06 Oct 1999 16:57:27 -0400"
[-- Attachment #1: Type: text/plain, Size: 468 bytes --]
>>>>> "Dan" == Dan Christensen <jdc@jhu.edu> writes:
[...]
Dan> When I do the same thing with the second article attached below,
Dan> everything is fine. Could it have to do with the fact that the
Dan> first article is empty?
[...]
I guess I just fixed it.
The patch follows and has been committed.
--
Shenghuo ZHU
1999-10-06 Shenghuo ZHU <zsh@cs.rochester.edu>
* nnfolder.el (nnfolder-request-move-article): For empty article,
search till (point-max).
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 97-106.diff --]
[-- Type: text/x-patch, Size: 654 bytes --]
Index: nnfolder.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/nnfolder.el,v
retrieving revision 5.18
diff -u -r5.18 nnfolder.el
--- nnfolder.el 1999/08/27 13:18:17 5.18
+++ nnfolder.el 1999/10/06 23:21:37
@@ -368,7 +368,8 @@
(goto-char (point-min))
(while (re-search-forward
(concat "^" nnfolder-article-marker)
- (save-excursion (search-forward "\n\n" nil t) (point)) t)
+ (save-excursion (and (search-forward "\n\n" nil t) (point)))
+ t)
(delete-region (progn (beginning-of-line) (point))
(progn (forward-line 1) (point))))
(setq result (eval accept-form))
next prev parent reply other threads:[~1999-10-06 23:24 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-10-06 20:57 Dan Christensen
1999-10-06 23:24 ` Shenghuo ZHU [this message]
1999-10-07 0:26 ` Dan Christensen
1999-10-07 3:20 ` Shenghuo ZHU
1999-10-07 5:07 ` Dan Christensen
1999-10-07 5:51 ` Shenghuo ZHU
1999-10-07 15:37 ` Dan Christensen
1999-10-07 21:15 ` Shenghuo ZHU
1999-10-07 21:44 ` Dan Christensen
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=5b7ll03wfa.fsf@giga.cs.rochester.edu \
--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).