Vladimir G. Ivanovic | 2 Feb 22:30 2003
Picon

Errors reading an MH mail message when auto-fill is turned on

Running XEmacs thusly 

   xemacs -vanilla -eval "(add-hook 'text-mode-hook 'turn-on-auto-fill)"

produces this error 

   Signaling: (end-of-buffer)
     fill-region-as-paragraph(3809 4025 left nosqueeze)
     fill-region(3809 4025 left nosqueeze)
     fill-flowed()
     mm-inline-text((#<buffer " *mm*"> ("text/plain" (charset . "us-ascii") (format . "flowed")) 7bit nil
nil nil nil nil))
     mm-display-inline((#<buffer " *mm*"> ("text/plain" (charset . "us-ascii") (format . "flowed")) 7bit
nil nil nil nil nil))
     mm-display-part((#<buffer " *mm*"> ("text/plain" (charset . "us-ascii") (format . "flowed")) 7bit nil
nil nil nil nil))
     mh-mime-display-single((#<buffer " *mm*"> ("text/plain" (charset . "us-ascii") (format . "flowed"))
7bit nil nil nil nil nil))
     mh-mime-display-part((#<buffer " *mm*"> ("text/plain" (charset . "us-ascii") (format . "flowed"))
7bit nil nil nil nil nil))
     mh-mime-display()
     mh-display-msg(1 "+problem_messages")
     mh-show-msg(nil)
     mh-show(nil)
     mh-maybe-show()
     mh-previous-undeleted-msg(1)
     call-interactively(mh-previous-undeleted-msg)

when I read just a few (out of many hundreds) mail messages with MH-E.
(I have kept about a dozen of these messages.) I am using MH-E 7.1, but
(Continue reading)

Satyaki Das | 2 Feb 23:42 2003
X-Face
Picon

Re: Errors reading an MH mail message when auto-fill is turned on

Vladimir G. Ivanovic <vladimir <at> acm.org> writes:

> Running XEmacs thusly 
> 
>    xemacs -vanilla -eval "(add-hook 'text-mode-hook 'turn-on-auto-fill)"
> 
> produces this error 
> 
>    Signaling: (end-of-buffer)
>      fill-region-as-paragraph(3809 4025 left nosqueeze)
>      fill-region(3809 4025 left nosqueeze)
>      fill-flowed()
>      mm-inline-text((#<buffer " *mm*"> ("text/plain" (charset . "us-ascii") (format . "flowed")) 7bit nil
nil nil nil nil))
>      mm-display-inline((#<buffer " *mm*"> ("text/plain" (charset . "us-ascii") (format . "flowed")) 7bit
nil nil nil nil nil))
>      mm-display-part((#<buffer " *mm*"> ("text/plain" (charset . "us-ascii") (format . "flowed")) 7bit
nil nil nil nil nil))

I could reproduce the same error with XEmacs-21.4.8, CVS MH-E and
Gnus-5.8.8. However if Gnus from CVS is used then the error
doesn't happen.

MH-E uses Gnus' MIME display code. The call to mm-display-part is
where Gnus is invoked and that itself seems fine. The contents of
the " *mm*" buffer is also consistent with the mail being
displayed.

Could you upgrade your Gnus?

(Continue reading)

Simon Josefsson | 3 Feb 02:23 2003
X-Face

Re: Errors reading an MH mail message when auto-fill is turned on

"Vladimir G. Ivanovic" <vladimir <at> acm.org> writes:

> Running XEmacs thusly 
>
>    xemacs -vanilla -eval "(add-hook 'text-mode-hook 'turn-on-auto-fill)"
>
> produces this error 
>
>    Signaling: (end-of-buffer)
>      fill-region-as-paragraph(3809 4025 left nosqueeze)
>      fill-region(3809 4025 left nosqueeze)
>      fill-flowed()
>      mm-inline-text((#<buffer " *mm*"> ("text/plain" (charset . "us-ascii") (format . "flowed")) 7bit nil
nil nil nil nil))
>      mm-display-inline((#<buffer " *mm*"> ("text/plain" (charset . "us-ascii") (format . "flowed")) 7bit
nil nil nil nil nil))
>      mm-display-part((#<buffer " *mm*"> ("text/plain" (charset . "us-ascii") (format . "flowed")) 7bit
nil nil nil nil nil))
>      mh-mime-display-single((#<buffer " *mm*"> ("text/plain" (charset . "us-ascii") (format .
"flowed")) 7bit nil nil nil nil nil))
>      mh-mime-display-part((#<buffer " *mm*"> ("text/plain" (charset . "us-ascii") (format . "flowed"))
7bit nil nil nil nil nil))
>      mh-mime-display()
>      mh-display-msg(1 "+problem_messages")
>      mh-show-msg(nil)
>      mh-show(nil)
>      mh-maybe-show()
>      mh-previous-undeleted-msg(1)
>      call-interactively(mh-previous-undeleted-msg)
>
(Continue reading)

Vladimir G. Ivanovic | 3 Feb 02:49 2003
Picon

Re: Errors reading an MH mail message when auto-fill is turned on

Thanks for the quick update.

--- Vladimir

------------------------------------------------------------------------
Vladimir G. Ivanovic                        http://leonora.org/~vladimir
2770 Cowper St.                                         vladimir <at> acm.org
Palo Alto, CA 94306-2447                                 +1 650 678 8014

The lyfe so short, the craft so long to learne.  -- Chaucer

>>>>> "SJ" == Simon Josefsson <jas <at> extundo.com> writes:

  > It is a known bug in flow-fill.el.  Incorporating the current Gnus CVS
  > version or Emacs CVS version in the XEmacs gnus package should be
  > safe.

Kevin Layer | 4 Feb 06:38 2003
Picon

who executes /usr/bin/htmlview?

I've grep'd through MH-E, GNUS and all other .el files and I can't
find what code executes /usr/bin/htmlview when I view (hit \r on) a
text/html mime part.  I want to change it to start mozilla on the file
(I don't have htmlview installed).

Satyaki Das | 4 Feb 07:23 2003
X-Face
Picon

Re: who executes /usr/bin/htmlview?

Kevin Layer <layer <at> known.net> writes:

> I've grep'd through MH-E, GNUS and all other .el files and I can't
> find what code executes /usr/bin/htmlview when I view (hit \r on) a
> text/html mime part.  I want to change it to start mozilla on the file
> (I don't have htmlview installed).

I believe it gets htmlview from /etc/mailcap or ~/.mailcap (if you
have one).

Satyaki

Kevin Layer | 4 Feb 17:05 2003
Picon

Re: who executes /usr/bin/htmlview?

Satyaki Das <satyakid <at> stanford.edu> wrote:

>> Kevin Layer <layer <at> known.net> writes:
>> 
>> > I've grep'd through MH-E, GNUS and all other .el files and I can't
>> > find what code executes /usr/bin/htmlview when I view (hit \r on) a
>> > text/html mime part.  I want to change it to start mozilla on the file
>> > (I don't have htmlview installed).
>> 
>> I believe it gets htmlview from /etc/mailcap or ~/.mailcap (if you
>> have one).

Yep.  Thanks!  Changing the text/html line to this:

text/html; /usr/bin/mozilla file://%s ; copiousoutput

worked like a charm.

Kevin Layer | 5 Feb 20:18 2003
Picon

bogus display of a (bogus?) message

MH-E 7.2.

Put this into a file:

------------------------------
Return-Path: foo
Delivery-Date: Wed Feb  5 10:44:17 2003
Message-Id: <5.0.2.1.2.20030205104402.00b13b48 <at> pop1>
X-Sender: foo <at> pop1
Date: Wed, 05 Feb 2003 10:44:15 -0800
To: blahblahblah
From: foo <foo>
Subject: Out of the office this afternnon
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
------------------------------

and view the message in MH-E.  I see:

------------------------------
Date: Wed, 05 Feb 2003 10:44:15 -0800
To: blahblahblah
From: foo <foo>
Subject: Out of the office this afternnon
Date: Wed, 05 Feb 2003 10:44:15 -0800
To: blahblahblah
From: foo <foo>
Subject: Out of the office this afternnon
------------------------------

(Continue reading)

Satyaki Das | 5 Feb 21:06 2003
X-Face
Picon

Re: bogus display of a (bogus?) message

Kevin Layer <layer <at> franz.com> writes:

> MH-E 7.2.
> 
> 
> A message very much like this can be generated by Eudora, if the body
> is left blank.
> 

This has now been fixed in CVS. Thanks for the bug report.

Satyaki

Steve Youngs | 5 Feb 22:34 2003
X-Face
Picon

Re: Errors reading an MH mail message when auto-fill is turned on

|--==> "SD" == Satyaki Das <satyakid <at> stanford.edu> writes:

  SD> Vladimir G. Ivanovic <vladimir <at> acm.org> writes:
  >>Running XEmacs thusly 
  >>
  >>xemacs -vanilla -eval "(add-hook 'text-mode-hook 'turn-on-auto-fill)"
  >>
  >>produces this error 

[...]

  SD> I could reproduce the same error with XEmacs-21.4.8, CVS MH-E and
  SD> Gnus-5.8.8. However if Gnus from CVS is used then the error
  SD> doesn't happen.

[...]

  SD> Could you upgrade your Gnus?

I'll apply a fix to the XEmacs package Gnus shortly so that MH-E
current should work fine with XEmacs package Gnus (5.8.8+).

--

-- 
|---<Steve Youngs>---------------<GnuPG KeyID: 10D5C9C5>---|
|            XEmacs - It's not just an editor.             |
|                    It's a way of life.                   |
|------------------------------------<youngs <at> xemacs.org>---|


Gmane