Gnus development mailing list
 help / color / mirror / Atom feed
From: Shenghuo ZHU <zsh@cs.rochester.edu>
Subject: Re: strange behaviour when `B c'ing an empty article
Date: 07 Oct 1999 01:51:28 -0400	[thread overview]
Message-ID: <5bd7uroh0f.fsf@giga.cs.rochester.edu> (raw)
In-Reply-To: Dan Christensen's message of "Thu, 07 Oct 1999 01:07:52 -0400"

>>>>> "Dan" == Dan Christensen <jdc@jhu.edu> writes:

Dan> Shenghuo ZHU <zsh@cs.rochester.edu> writes:
>> Now, another patch make more things work. (Committed)

Dan> Getting closer.  :-)  I copied the articles to groups test8 and
Dan> test9 (with `B c') and have attached the files below.

Dan> Here are various things that seem odd:

Dan> o The number of lines in the non-empty article got changed from 3
Dan>   to 1 when the move is done.  What is the correct way to count
Dan>   lines in an article?

    (search-forward "\n\n" nil t)
    (setq lines (count-lines (point) (point-max)))

It seems only 1 line in test9.

Dan> o The number of lines in the empty article is calculated as 1
Dan>   (both before and after the move).  Is this correct?

Maybe 0 or 1. Maybe a hide blank line is counted.

Dan> o The Xref lines are different for the two articles.  One is
Dan>   self-referential, and the other points back to my Inbox.
Dan>   I think the latter is correct, right?

The former is correct. Xref is for cross-post. Each item refers to the
copy in one group. If only one in the Xref, it must be
self-referential. I guess Gnus does not treat 'B c' as cross-post.

Dan> o On the short article, if display the full headers by
Dan>   hitting `t', everything looks ok except that I get two
Dan>   headers combined on one line:

Dan> X-Gnus-Article-Number: 1   Thu Oct  7 00:55:51 1999From: Dan Christensen <jdc@chow.mat.jhu.edu>

This is awkward. Anyway, now I insert one blank line for others can
not find "\n\n". I guess it helps. I'll commit it later.

[...]

-- 
Shenghuo ZHU


  reply	other threads:[~1999-10-07  5:51 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
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 [this message]
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=5bd7uroh0f.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).