Gnus development mailing list
 help / color / mirror / Atom feed
From: Shenghuo ZHU <zsh@cs.rochester.edu>
Subject: Re: p0.40 still doesn't produce 1st text/plain portion
Date: 26 Oct 1998 14:51:30 -500	[thread overview]
Message-ID: <5bogqzhzjx.fsf@rye.cs.rochester.edu> (raw)
In-Reply-To: Karl Kleinpaste's message of "26 Oct 1998 13:39:28 -500"

>>>>> "Karl" == Karl Kleinpaste <karl@jprc.com> writes:

Karl> http://www.cs.cmu.edu/~karl/pgnus/no-plain-again contains 1
Karl> screenshot and the original article.  The image displays fine
Karl> now, the text/html help text has been rendered complete with
Karl> apparent clickability on the URL, but the article text is AWOL.

1st portion IS produced, although not correctly. The reason is that
there is no header in 1st portion. The attached patch makes gnus show
the whole portion.

BTW: ietf-drums-narrow-to-header may face the same bug.

In GNU Emacs + pgnus 0.40, the html portion is shown before the first
mime-button. Is my W3 too old? (WWW 4.0pre.23, URL p4.0pre.23, MM
1.96)

ClariNet offers photos in MIME multipart format in two resolutions, [Sm]all
and Large [Lg], posted as two articles with the same story. Choose the one
that's best for your network connection and optionally read the other one by
following the USENET or web-browser links. Our web site has full details on
how to use the pictures.[1. text/plain]

-- 
Shenghuo

:- cut -----------------------------------------------
--- ChangeLog	1998/10/26 19:37:04	1.1
+++ ChangeLog	1998/10/26 19:38:50
@@ -1,3 +1,7 @@
+Mon Oct 26 14:37:19 1998  Shenghuo ZHU  <zsh@cs.rochester.edu>
+
+	* mm-decode.el (mm-copy-to-buffer): Make it works when no header.
+
 Sun Oct 25 23:11:44 1998  Lars Magne Ingebrigtsen  <larsi@menja.ifi.uio.no>
 
 	* gnus.el: Pterodactyl Gnus v0.40 is released.

--- mm-decode.el	1998/10/26 19:36:00	1.1
+++ mm-decode.el	1998/10/26 19:36:32
@@ -174,7 +174,7 @@
     (let ((obuf (current-buffer))
 	  beg)
       (goto-char (point-min))
-      (search-forward "\n\n" nil t)
+      (search-forward-regexp "^\n" nil t)
       (setq beg (point))
       (set-buffer (generate-new-buffer " *mm*"))
       (insert-buffer-substring obuf beg)


      reply	other threads:[~1998-10-26 19:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-10-26 18:39 Karl Kleinpaste
1998-10-26 19:51 ` Shenghuo ZHU [this message]

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=5bogqzhzjx.fsf@rye.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).