Gnus development mailing list
 help / color / mirror / Atom feed
* gnus-summary-edit-article and wrapped From-line
@ 2001-08-31 14:38 Reiner Steib
  2001-12-30  6:53 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 21+ messages in thread
From: Reiner Steib @ 2001-08-31 14:38 UTC (permalink / raw)


Hi!

Given the following article (a minimal example):

,----[ cat Incoming13789n9p ]
| From MAILER-DAEMON@aaaaaaa.bbbbbb.ccccccc.dd  Thu Aug 30 19:30:14 2001
| Subject: long From-line
| 
| foo bar
| 
`----

When I hit »e« (gnus-summary-edit-article) in the *Summary* buffer to
edit the article and save the article with C-c C-c, the From-line is
wrapped (this also happens after stripping an attachment with
»Save and strip«):

,----[ cat mail/test ]
| From MAILER-DAEMON@aaaaaaa.bbbbbb.ccccccc.dd  Thu Aug 30 19:30:14
|  2001
| X-Gnus-Mail-Source: file:/var/mail/guest
| Message-ID: <sa6sne9mheg.fsf@totally-fudged-out-message-id>
| Subject: long From-line
| Xref: ni.physik.uni-ulm.de mail.test:5
| Lines: 2
| X-Gnus-Article-Number: 5   Thu Aug 30 22:17:54 2001
| MIME-Version: 1.0
| Content-Type: text/plain; charset=us-ascii
| 
| foo bar
| 
`----

The problem with this is, that nnfolder doesn't recognize this article
anymore (so does the frm(1) command). If I repair the From-line, I can
select the article again.

I'm using Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7 (cvs version of
Gnus from 2001-08-03 but also happens with latest cvs version:
2001-08-31 15:37:41 CEST 2001). It doesn't happen with Gnus v5.8.8
(same Emacs version).

Is this an error in the nnfolder backend (recognizing the wrapped
From-line)? Or is gnus-article-edit-mode doing something wrong? BTW,
in the *Article* buffer, auto-fill-mode is _not_ active. The wrapping
happens _after_ I hit C-c C-c.

Reiner.

P.S.:

In my (test-) ~/.gnus.el I only set gnus-[secondary-]select-methods
and I started emacs with »--no-site-file« and in my ~/.emacs I only
set the load-path for Gnus, nothing else.

-- 
       ,,,
      (o o)
---ooO-(_)-Ooo--- PGP key available via WWW   http://rsteib.home.pages.de/


^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: gnus-summary-edit-article and wrapped From-line
  2001-08-31 14:38 gnus-summary-edit-article and wrapped From-line Reiner Steib
@ 2001-12-30  6:53 ` Lars Magne Ingebrigtsen
  2001-12-30 15:45   ` Reiner Steib
  0 siblings, 1 reply; 21+ messages in thread
From: Lars Magne Ingebrigtsen @ 2001-12-30  6:53 UTC (permalink / raw)


Reiner Steib <reiner.steib@gmx.de> writes:

> Given the following article (a minimal example):
>
> ,----[ cat Incoming13789n9p ]
> | From MAILER-DAEMON@aaaaaaa.bbbbbb.ccccccc.dd  Thu Aug 30 19:30:14 2001
> | Subject: long From-line
> | 
> | foo bar
> | 
> `----
>
> When I hit »e« (gnus-summary-edit-article) in the *Summary* buffer to
> edit the article and save the article with C-c C-c, the From-line is
> wrapped (this also happens after stripping an attachment with
> »Save and strip«):
>
> ,----[ cat mail/test ]
> | From MAILER-DAEMON@aaaaaaa.bbbbbb.ccccccc.dd  Thu Aug 30 19:30:14
> |  2001

Do you have any weird auto-line-wrapping going on?

-- 
(domestic pets only, the antidote for overdose, milk.)
   larsi@gnus.org * Lars Magne Ingebrigtsen



^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: gnus-summary-edit-article and wrapped From-line
  2001-12-30  6:53 ` Lars Magne Ingebrigtsen
@ 2001-12-30 15:45   ` Reiner Steib
  2001-12-30 21:29     ` Lars Magne Ingebrigtsen
  2001-12-30 21:37     ` Lars Magne Ingebrigtsen
  0 siblings, 2 replies; 21+ messages in thread
From: Reiner Steib @ 2001-12-30 15:45 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 2128 bytes --]

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> Reiner Steib <reiner.steib@gmx.de> writes:
> 
>> Given the following article (a minimal example):
>>
>> ,----[ cat Incoming13789n9p ]
>> | From MAILER-DAEMON@aaaaaaa.bbbbbb.ccccccc.dd  Thu Aug 30 19:30:14 2001
>> | Subject: long From-line
>> | 
>> | foo bar
>> | 
>> `----
>>
>> When I hit »e« (gnus-summary-edit-article) in the *Summary* buffer to
>> edit the article and save the article with C-c C-c, the From-line is
>> wrapped (this also happens after stripping an attachment with
>> »Save and strip«):
>>
>> ,----[ cat mail/test ]
>> | From MAILER-DAEMON@aaaaaaa.bbbbbb.ccccccc.dd  Thu Aug 30 19:30:14
>> |  2001
> 
> Do you have any weird auto-line-wrapping going on?

No, I don't think so, because I used "emacs --no-site-file" and
minimal init files (see below / attached user settings).

I just reproduced it with both, GNU Emacs 20.7.1 and GNU Emacs 21.1.1,
with a very recent CVS version of Gnus (Sun Dec 30 15:33:08 CET 2001).
The bug does *not* appear with Gnus v5.9.0 (GNU Emacs 21.1.1) or Gnus
v5.8.8 (GNU Emacs 20.7.1).

Here's the content of ~/.emacs and ~/.gnus:

##### ~/.emacs
(setq 
 load-path
 (nconc (list "~/lisp/gnus-Oort/share/emacs/site-lisp/") load-path))
(setq debug-on-error t)
##### ~/.gnus
(setq 
 gnus-select-method '(nntp "news.uni-ulm.de")
 gnus-secondary-select-methods
 '((nnfolder "")))
#####

Oort Gnus v0.04
GNU Emacs 20.7.1 (i386-suse-linux, X toolkit)
 of Sun Jan 21 2001 on Purbach
200 news.uni-ulm.de DNEWS Version 5.5c6, S0, posting OK 

BTW, the parent article <m37kr5ci6y.fsf@quimbies.gnus.org> is not
available on news.gnus.org:

,----[ Sun Dec 30 16:38:42 CET 2001 ]
| $ telnet news.gnus.org nntp
| Trying 195.204.10.66...
| Connected to news.gnus.org.
| Escape character is '^]'.
| 200 quimby.gnus.org InterNetNews NNRP server INN 2.2.2 13-Dec-1999 ready (posting ok).
| article <m37kr5ci6y.fsf@quimbies.gnus.org>
| 430 No such article
`----

Reiner.

-- 
       ,,,
      (o o)
---ooO-(_)-Ooo--- PGP key available via WWW   http://rsteib.home.pages.de/

[-- Attachment #2: User settings --]
[-- Type: application/x-emacs-lisp, Size: 1176 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: gnus-summary-edit-article and wrapped From-line
  2001-12-30 15:45   ` Reiner Steib
@ 2001-12-30 21:29     ` Lars Magne Ingebrigtsen
  2002-01-02 22:58       ` Reiner Steib
  2001-12-30 21:37     ` Lars Magne Ingebrigtsen
  1 sibling, 1 reply; 21+ messages in thread
From: Lars Magne Ingebrigtsen @ 2001-12-30 21:29 UTC (permalink / raw)


Reiner Steib <reiner.steib@gmx.de> writes:

>>> ,----[ cat mail/test ]
>>> | From MAILER-DAEMON@aaaaaaa.bbbbbb.ccccccc.dd  Thu Aug 30 19:30:14
>>> |  2001
>> 
>> Do you have any weird auto-line-wrapping going on?
>
> No, I don't think so, because I used "emacs --no-site-file" and
> minimal init files (see below / attached user settings).

Right.  Well, I don't have any nnfolder groups handy -- could someone
who uses nnfolder have a peek at this problem as see what they cause
is?

(The problem is that `e' on the article creates a buggy "From " line.
I didn't think the "From " line would be included in the `e' output at
all...)

> BTW, the parent article <m37kr5ci6y.fsf@quimbies.gnus.org> is not
> available on news.gnus.org:

Huh.  Did I just respond by mail and not news?

-- 
(domestic pets only, the antidote for overdose, milk.)
   larsi@gnus.org * Lars Magne Ingebrigtsen



^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: gnus-summary-edit-article and wrapped From-line
  2001-12-30 15:45   ` Reiner Steib
  2001-12-30 21:29     ` Lars Magne Ingebrigtsen
@ 2001-12-30 21:37     ` Lars Magne Ingebrigtsen
  1 sibling, 0 replies; 21+ messages in thread
From: Lars Magne Ingebrigtsen @ 2001-12-30 21:37 UTC (permalink / raw)


Reiner Steib <reiner.steib@gmx.de> writes:

> BTW, the parent article <m37kr5ci6y.fsf@quimbies.gnus.org> is not
> available on news.gnus.org:

Looking at the logs, it was rejected because I inserted a To header,
leading to the article getting two To headers.  Would it be more
reasonable if `C-c C-t' inserted a Cc header instead?

Anyway, I've now had the posting script rename To to Original-To.

-- 
(domestic pets only, the antidote for overdose, milk.)
   larsi@gnus.org * Lars Magne Ingebrigtsen



^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: gnus-summary-edit-article and wrapped From-line
  2001-12-30 21:29     ` Lars Magne Ingebrigtsen
@ 2002-01-02 22:58       ` Reiner Steib
  2002-01-03  5:08         ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 21+ messages in thread
From: Reiner Steib @ 2002-01-02 22:58 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 754 bytes --]

On Sun, Dec 30 2001, Lars Magne Ingebrigtsen <larsi@gnus.org> wrote:

> Right.  Well, I don't have any nnfolder groups handy -- could someone
> who uses nnfolder have a peek at this problem as see what they cause
> is?
>
> (The problem is that `e' on the article creates a buggy "From " line.
> I didn't think the "From " line would be included in the `e' output at
> all...)

The attached `patch' prevents the folding of the From-line (simply
skip rfc2047-fold-region in lisp/rfc2047.el after
  `;; No encoding necessary, but folding is nice').

Maybe folding isn't so nice after all. :-/ At least the From-line
shouldn't be folded, AFAICS.

Reiner.

-- 
       ,,,
      (o o)
---ooO-(_)-Ooo--- PGP key available via WWW   http://rsteib.home.pages.de/

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: skip rfc2047-fold-region --]
[-- Type: text/x-patch, Size: 973 bytes --]

Index: lisp/rfc2047.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/rfc2047.el,v
retrieving revision 6.27
diff -u -r6.27 rfc2047.el
--- lisp/rfc2047.el     2001/12/31 05:28:05     6.27
+++ lisp/rfc2047.el     2002/01/02 22:08:28
@@ -147,14 +147,14 @@
                     (car message-posting-charset))
                  nil)
                ;; No encoding necessary, but folding is nice
-               (rfc2047-fold-region
+               (if nil (rfc2047-fold-region
                 (save-excursion
                   (goto-char (point-min))
                   (skip-chars-forward "^:")
                   (when (looking-at ": ")
                     (forward-char 2))
                   (point))
-                (point-max)))
+                (point-max))))
            ;; We found something that may perhaps be encoded.
            (setq method nil
                  alist rfc2047-header-encoding-alist)

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: gnus-summary-edit-article and wrapped From-line
  2002-01-02 22:58       ` Reiner Steib
@ 2002-01-03  5:08         ` Lars Magne Ingebrigtsen
  2002-01-03 12:31           ` Reiner Steib
  0 siblings, 1 reply; 21+ messages in thread
From: Lars Magne Ingebrigtsen @ 2002-01-03  5:08 UTC (permalink / raw)


Reiner Steib <4uce.02.r.steib@gmx.net> writes:

> The attached `patch' prevents the folding of the From-line (simply
> skip rfc2047-fold-region in lisp/rfc2047.el after
>   `;; No encoding necessary, but folding is nice').

Could you say `M-x debug-on-entry RET rfc2047-encode-message-header RET'
and then edit a message?  It doesn't seem to be called for me, and
I want to see who the caller is.

-- 
(domestic pets only, the antidote for overdose, milk.)
   larsi@gnus.org * Lars Magne Ingebrigtsen



^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: gnus-summary-edit-article and wrapped From-line
  2002-01-03  5:08         ` Lars Magne Ingebrigtsen
@ 2002-01-03 12:31           ` Reiner Steib
  2002-01-03 12:48             ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 21+ messages in thread
From: Reiner Steib @ 2002-01-03 12:31 UTC (permalink / raw)


On Thu, Jan 03 2002, Lars Magne Ingebrigtsen <larsi@gnus.org> wrote:

> Could you say `M-x debug-on-entry RET rfc2047-encode-message-header RET'
> and then edit a message?  

,----[ M-x debug-on-entry RET rfc2047-encode-message-header RET ]
| Debugger entered--entering a function:
| * mail-encode-encoded-word-buffer()
|   mml-to-mime()
|   (progn (mml-to-mime) (mml-destroy-buffers) (remove-hook (quote kill-buffer-hook) (quote mml-destroy-buffers) t) (kill-local-variable (quote mml-buffer-list)))
|   (let ((mail-parse-charset ...) (message-options message-options) (message-options-set-recipient) (mail-parse-ignored-charsets ...)) (progn (mml-to-mime) (mml-destroy-buffers) (remove-hook ... ... t) (kill-local-variable ...)) (gnus-summary-edit-article-done "" nil #<buffer *Summary nnfolder:mail.misc*> no-highlight))
|   (lambda (no-highlight) (let (... ... ... ...) (progn ... ... ... ...) (gnus-summary-edit-article-done "" nil #<buffer *Summary nnfolder:mail.misc*> no-highlight)))(nil)
|   gnus-article-edit-done(nil)
| * call-interactively(gnus-article-edit-done)
`----

> It doesn't seem to be called for me, and I want to see who the
> caller is.

,----[ C-h f mail-encode-encoded-word-buffer RET ]
| mail-encode-encoded-word-buffer is an alias for
| `rfc2047-encode-message-header' in `mail-parse'.
| (mail-encode-encoded-word-buffer)
| 
| Encode the message header according to `rfc2047-header-encoding-alist'.
| Should be called narrowed to the head of the message.
`----

Reiner.

-- 
       ,,,
      (o o)
---ooO-(_)-Ooo--- PGP key available via WWW   http://rsteib.home.pages.de/



^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: gnus-summary-edit-article and wrapped From-line
  2002-01-03 12:31           ` Reiner Steib
@ 2002-01-03 12:48             ` Lars Magne Ingebrigtsen
  2002-01-04 14:41               ` Reiner Steib
  0 siblings, 1 reply; 21+ messages in thread
From: Lars Magne Ingebrigtsen @ 2002-01-03 12:48 UTC (permalink / raw)


Reiner Steib <4uce.02.r.steib@gmx.net> writes:

> |   mml-to-mime()

Right.  I've now fixed this (not in CVS yet).

-- 
(domestic pets only, the antidote for overdose, milk.)
   larsi@gnus.org * Lars Magne Ingebrigtsen



^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: gnus-summary-edit-article and wrapped From-line
  2002-01-03 12:48             ` Lars Magne Ingebrigtsen
@ 2002-01-04 14:41               ` Reiner Steib
  2002-01-04 17:18                 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 21+ messages in thread
From: Reiner Steib @ 2002-01-04 14:41 UTC (permalink / raw)


On Thu, Jan 03 2002, Lars Magne Ingebrigtsen <larsi@gnus.org> wrote:

>> |   mml-to-mime()
>
> Right.  I've now fixed this (not in CVS yet).

could you please drop me a line after committing it to CVS?

Thanx,
Reiner.

-- 
       ,,,
      (o o)
---ooO-(_)-Ooo--- PGP key available via WWW   http://rsteib.home.pages.de/



^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: gnus-summary-edit-article and wrapped From-line
  2002-01-04 14:41               ` Reiner Steib
@ 2002-01-04 17:18                 ` Lars Magne Ingebrigtsen
  2002-01-06 19:22                   ` Reiner Steib
  0 siblings, 1 reply; 21+ messages in thread
From: Lars Magne Ingebrigtsen @ 2002-01-04 17:18 UTC (permalink / raw)


Reiner Steib <4uce.02.r.steib@gmx.net> writes:

> could you please drop me a line after committing it to CVS?

It's been checked in by now.

-- 
(domestic pets only, the antidote for overdose, milk.)
   larsi@gnus.org * Lars Magne Ingebrigtsen



^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: gnus-summary-edit-article and wrapped From-line
  2002-01-04 17:18                 ` Lars Magne Ingebrigtsen
@ 2002-01-06 19:22                   ` Reiner Steib
  2002-01-19 19:59                     ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 21+ messages in thread
From: Reiner Steib @ 2002-01-06 19:22 UTC (permalink / raw)


On Fri, Jan 04 2002, Lars Magne Ingebrigtsen <larsi@gnus.org> wrote:

> It's been checked in by now.

sorry, it still seems to be b0rked in the current CVS version. :-(

Reiner.

-- 
       ,,,
      (o o)
---ooO-(_)-Ooo--- PGP key available via WWW   http://rsteib.home.pages.de/



^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: gnus-summary-edit-article and wrapped From-line
  2002-01-06 19:22                   ` Reiner Steib
@ 2002-01-19 19:59                     ` Lars Magne Ingebrigtsen
  2002-01-20 19:02                       ` Reiner Steib
  0 siblings, 1 reply; 21+ messages in thread
From: Lars Magne Ingebrigtsen @ 2002-01-19 19:59 UTC (permalink / raw)


Reiner Steib <4uce.02.r.steib@gmx.net> writes:

> sorry, it still seems to be b0rked in the current CVS version. :-(

How come you get a "From " line when you `e' the message, anyhow?  I
don't get that -- I get an "X-From-Line".

-- 
(domestic pets only, the antidote for overdose, milk.)
   larsi@gnus.org * Lars Magne Ingebrigtsen



^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: gnus-summary-edit-article and wrapped From-line
  2002-01-19 19:59                     ` Lars Magne Ingebrigtsen
@ 2002-01-20 19:02                       ` Reiner Steib
  2002-01-20 19:22                         ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 21+ messages in thread
From: Reiner Steib @ 2002-01-20 19:02 UTC (permalink / raw)


On Sat, Jan 19 2002, Lars Magne Ingebrigtsen <larsi@gnus.org> wrote:

> How come you get a "From " line when you `e' the message, anyhow?  I
> don't get that -- I get an "X-From-Line".

yes, in the Article buffer (and in the buffer for editing) the line is
displayed as `X-From-Line: ...' but on disk it is saved as `From ...'.
The backend is nnfolder, so each article _must_ have a `From ...'
line, as nnfolder is standard Unix mbox format (plus extra headers).

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo--- PGP key available via WWW   http://rsteib.home.pages.de/



^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: gnus-summary-edit-article and wrapped From-line
  2002-01-20 19:02                       ` Reiner Steib
@ 2002-01-20 19:22                         ` Lars Magne Ingebrigtsen
  2002-01-20 20:45                           ` Reiner Steib
  0 siblings, 1 reply; 21+ messages in thread
From: Lars Magne Ingebrigtsen @ 2002-01-20 19:22 UTC (permalink / raw)


Reiner Steib <4uce.02.r.steib@gmx.net> writes:

> yes, in the Article buffer (and in the buffer for editing) the line is
> displayed as `X-From-Line: ...' but on disk it is saved as `From ...'.
> The backend is nnfolder, so each article _must_ have a `From ...'
> line, as nnfolder is standard Unix mbox format (plus extra headers).

Right.  I've now looked at the code in nnfolder for accepting
articles, and I've made it unfold the X-From-Line header if it's
there. 

-- 
(domestic pets only, the antidote for overdose, milk.)
   larsi@gnus.org * Lars Magne Ingebrigtsen



^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: gnus-summary-edit-article and wrapped From-line
  2002-01-20 19:22                         ` Lars Magne Ingebrigtsen
@ 2002-01-20 20:45                           ` Reiner Steib
  2002-01-20 20:53                             ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 21+ messages in thread
From: Reiner Steib @ 2002-01-20 20:45 UTC (permalink / raw)


On Sun, Jan 20 2002, Lars Magne Ingebrigtsen <larsi@gnus.org> wrote:

> Right.  I've now looked at the code in nnfolder for accepting
> articles, and I've made it unfold the X-From-Line header if it's
> there. 

Sorry, this didn't fix it (Gnus from Sun Jan 20 21:14:18 CET 2002;
incl. revision 6.34 of nnfolder.el).

In the spool, I have:
,----
| From MAILER-DAEMON@aaaaaaa.bbbbbb.ccccccc.dd  Thu Aug 30 19:30:14 2001
| Subject: test long From-line [Sun Jan 20 21:29:58 CET 2002]
| 
| foo bar
| 
`----

It's displayed in the article buffer as:
,----
| X-From-Line: MAILER-DAEMON@aaaaaaa.bbbbbb.ccccccc.dd  Thu Aug 30 19:30:14 2001
| X-Gnus-Mail-Source: directory:~/Mail/spool/mail-source/../procmail/
| Message-ID: <v91ygkpxxt.fsf@totally-fudged-out-message-id>
| Subject: test long From-line [Sun Jan 20 21:29:58 CET 2002]
| Lines: 2
| Xref: theotp5.physik.uni-ulm.de Test:158
| X-Gnus-Article-Number: 158   Sun Jan 20 21:30:38 2002
| 
| foo bar
`----

Same after `e'. After editing and C-c C-c, it's displayed as:
,----
| X-From-Line: MAILER-DAEMON@aaaaaaa.bbbbbb.ccccccc.dd  Thu Aug 30 19:30:14
|  2001
| X-Gnus-Mail-Source: directory:~/Mail/spool/mail-source/../procmail/
| Message-ID: <v91ygkpxxt.fsf@totally-fudged-out-message-id>
| Subject: test long From-line [Sun Jan 20 21:29:58 CET 2002]
| Lines: 3
| Xref: theotp5.physik.uni-ulm.de Test:158
| X-Gnus-Article-Number: 158   Sun Jan 20 21:30:38 2002
| MIME-Version: 1.0
| Content-Type: text/plain; charset=us-ascii
| 
| foo bar
| 
| editing ...
`----

But on disk ...
,----[ tail -15 ~/Mail/Test ]
| From MAILER-DAEMON@aaaaaaa.bbbbbb.ccccccc.dd  Thu Aug 30 19:30:14
|  2001
| X-Gnus-Mail-Source: directory:~/Mail/spool/mail-source/../procmail/
| Message-ID: <v91ygkpxxt.fsf@totally-fudged-out-message-id>
| Subject: test long From-line [Sun Jan 20 21:29:58 CET 2002]
| Lines: 3
| Xref: theotp5.physik.uni-ulm.de Test:158
| X-Gnus-Article-Number: 158   Sun Jan 20 21:30:38 2002
| MIME-Version: 1.0
| Content-Type: text/plain; charset=us-ascii
| 
| foo bar
| 
| editing ...
| 
`----

And now, this article is no longer visible for nnfolder. Hitting `g',
I get: `No such article (may have expired or been canceled)'. 

And the missing article is appended to the body of the previous
article in this folder. :-(

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo--- PGP key available via WWW   http://rsteib.home.pages.de/



^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: gnus-summary-edit-article and wrapped From-line
  2002-01-20 20:45                           ` Reiner Steib
@ 2002-01-20 20:53                             ` Lars Magne Ingebrigtsen
  2002-01-21 14:28                               ` Reiner Steib
  0 siblings, 1 reply; 21+ messages in thread
From: Lars Magne Ingebrigtsen @ 2002-01-20 20:53 UTC (permalink / raw)


Reiner Steib <4uce.02.r.steib@gmx.net> writes:

> Sorry, this didn't fix it (Gnus from Sun Jan 20 21:14:18 CET 2002;
> incl. revision 6.34 of nnfolder.el).

[...]

> But on disk ...
> ,----[ tail -15 ~/Mail/Test ]
> | From MAILER-DAEMON@aaaaaaa.bbbbbb.ccccccc.dd  Thu Aug 30 19:30:14
> |  2001

I'm unable to reproduce this.  Did you byte-compile and stuff?

-- 
(domestic pets only, the antidote for overdose, milk.)
   larsi@gnus.org * Lars Magne Ingebrigtsen



^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: gnus-summary-edit-article and wrapped From-line
  2002-01-20 20:53                             ` Lars Magne Ingebrigtsen
@ 2002-01-21 14:28                               ` Reiner Steib
  2002-01-21 19:57                                 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 21+ messages in thread
From: Reiner Steib @ 2002-01-21 14:28 UTC (permalink / raw)


On Sun, Jan 20 2002, Lars Magne Ingebrigtsen <larsi@gnus.org> wrote:

> Reiner Steib <4uce.02.r.steib@gmx.net> writes:

>> But on disk ...
>> ,----[ tail -15 ~/Mail/Test ]
>> | From MAILER-DAEMON@aaaaaaa.bbbbbb.ccccccc.dd  Thu Aug 30 19:30:14
>> |  2001
>
> I'm unable to reproduce this.  

strange.

> Did you byte-compile and stuff?

I'm not sure what you mean exactly with `and stuff', but I did the
usual installation (and reproduced it today):

,----
| $ cvs -d :pserver:gnus@cvs.gnus.org:/usr/local/cvsroot co gnus
| $ cd gnus
| $ ./configure  --prefix=/usr/local \
|     --with-lispdir=/usr/local/share/emacs/site-lisp/gnus-Oort
| $ make install
`----
(byte-compiled with GNU Emacs 20.7.1; CVS Gnus from Mon Jan 21
12:20:24 CET 2002)

,----[ test user account ]
| $ rm -fr Mail/ News/ .newsrc*
| $ cat .emacs
| (setq debug-on-error t)
| (setq load-path 
|   (nconc (list "/usr/local/share/emacs/site-lisp/gnus-Oort/") load-path))
| $ cat .gnus
| (setq 
|  gnus-select-method '(nntp "news.uni-ulm.de")
|  gnus-secondary-select-methods
|  '((nnfolder "")))
| $ emacs --no-site-file -f gnus &
| $ grep "^From " long-from-line.mbox 
| From MAILER-DAEMON@aaaaaaa.bbbbbb.ccccccc.dd  Thu Aug 30 19:30:14 2001
| $ > $MAIL
| $ sed "s|^Subject:.*$|& [$(date)]|" < long-from-line.mbox >> $MAIL
| $ sed "s|^Subject:.*$|& [$(date)]|" < long-from-line.mbox >> $MAIL
| $ frm
| Foo                   long From-line [Mon Jan 21 12:31:13 CET 2002]
| Foo                   long From-line [Mon Jan 21 12:31:16 CET 2002]
`----

In emacs: `g' `F' [1], enter the group (nnfolder:mail.misc), and repeat
the steps described in <v9pu44oioi.fsf@marauder.physik.uni-ulm.de>.
After editing the second article and re-entering the group, I see only
the first article and the second is in the body of the first message. 

Bye, Reiner.

- - - - -

[1] I tried with both GNU Emacs 20.7.1 and GNU Emacs 21.1.1 [2]. In Emacs
    21, I had to use `j nnfolder:mail.misc RET' (or `R') to see the
    new group.

[2] No unexpected load-path-shadows (only .../gnus-Oort/... hides
    .../emacs/21.1/lisp/gnus/...
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo--- PGP key available via WWW   http://rsteib.home.pages.de/



^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: gnus-summary-edit-article and wrapped From-line
  2002-01-21 14:28                               ` Reiner Steib
@ 2002-01-21 19:57                                 ` Lars Magne Ingebrigtsen
  2002-01-30 20:25                                   ` Reiner Steib
  0 siblings, 1 reply; 21+ messages in thread
From: Lars Magne Ingebrigtsen @ 2002-01-21 19:57 UTC (permalink / raw)


Reiner Steib <4uce.02.r.steib@gmx.net> writes:

> In emacs: `g' `F' [1], enter the group (nnfolder:mail.misc), and repeat
> the steps described in <v9pu44oioi.fsf@marauder.physik.uni-ulm.de>.
> After editing the second article and re-entering the group, I see only
> the first article and the second is in the body of the first message. 

I'm unable to reproduce this bug.  Could someone else see whether they
can?

(The bug is that if you `e' an nnfolder message, and fold the
X-From-Header, then the resulting "From " mail header separator won't
be unfolded.)

-- 
(domestic pets only, the antidote for overdose, milk.)
   larsi@gnus.org * Lars Magne Ingebrigtsen



^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: gnus-summary-edit-article and wrapped From-line
  2002-01-21 19:57                                 ` Lars Magne Ingebrigtsen
@ 2002-01-30 20:25                                   ` Reiner Steib
  2002-01-31 22:08                                     ` ShengHuo ZHU
  0 siblings, 1 reply; 21+ messages in thread
From: Reiner Steib @ 2002-01-30 20:25 UTC (permalink / raw)


On Mon, Jan 21 2002, Lars Magne Ingebrigtsen wrote:

> I'm unable to reproduce this bug.  Could someone else see whether they
> can?
>
> (The bug is that if you `e' an nnfolder message, and fold the
> X-From-Header, then the resulting "From " mail header separator won't
> be unfolded.)

Holger Sparr reported the same bug today.

Additionally he noticed that ...

,----[ <lnwuxz52ks.fsf@mfkrs1.mw.tu-dresden.de> ]
| When I edit the raw article (ARG is 1) everything works as expected.
`----

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo--- PGP key available via WWW   http://rsteib.home.pages.de/



^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: gnus-summary-edit-article and wrapped From-line
  2002-01-30 20:25                                   ` Reiner Steib
@ 2002-01-31 22:08                                     ` ShengHuo ZHU
  0 siblings, 0 replies; 21+ messages in thread
From: ShengHuo ZHU @ 2002-01-31 22:08 UTC (permalink / raw)


Reiner Steib <4uce.02.r.steib@gmx.net> writes:

> On Mon, Jan 21 2002, Lars Magne Ingebrigtsen wrote:
>
>> I'm unable to reproduce this bug.  Could someone else see whether they
>> can?
>>
>> (The bug is that if you `e' an nnfolder message, and fold the
>> X-From-Header, then the resulting "From " mail header separator won't
>> be unfolded.)
>
> Holger Sparr reported the same bug today.

Now fixed.

ShengHuo



^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2002-01-31 22:08 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-31 14:38 gnus-summary-edit-article and wrapped From-line Reiner Steib
2001-12-30  6:53 ` Lars Magne Ingebrigtsen
2001-12-30 15:45   ` Reiner Steib
2001-12-30 21:29     ` Lars Magne Ingebrigtsen
2002-01-02 22:58       ` Reiner Steib
2002-01-03  5:08         ` Lars Magne Ingebrigtsen
2002-01-03 12:31           ` Reiner Steib
2002-01-03 12:48             ` Lars Magne Ingebrigtsen
2002-01-04 14:41               ` Reiner Steib
2002-01-04 17:18                 ` Lars Magne Ingebrigtsen
2002-01-06 19:22                   ` Reiner Steib
2002-01-19 19:59                     ` Lars Magne Ingebrigtsen
2002-01-20 19:02                       ` Reiner Steib
2002-01-20 19:22                         ` Lars Magne Ingebrigtsen
2002-01-20 20:45                           ` Reiner Steib
2002-01-20 20:53                             ` Lars Magne Ingebrigtsen
2002-01-21 14:28                               ` Reiner Steib
2002-01-21 19:57                                 ` Lars Magne Ingebrigtsen
2002-01-30 20:25                                   ` Reiner Steib
2002-01-31 22:08                                     ` ShengHuo ZHU
2001-12-30 21:37     ` Lars Magne Ingebrigtsen

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).