Gnus development mailing list
 help / color / mirror / Atom feed
From: Shenghuo ZHU <zsh@cs.rochester.edu>
Subject: Re: test message: broken content-type & 8-bit messages
Date: 09 Dec 1998 15:46:12 -0500	[thread overview]
Message-ID: <5bogpddox7.fsf@brandy.cs.rochester.edu> (raw)
In-Reply-To: <m37lw1w16u.fsf@vvv.vsu.ru>

>>>>> "VVV" == Vladimir Volovich <vvv@vvv.vsu.ru> writes:

VVV> this did not help either. no changes; i see
VVV> \301\305\302... instead of russian chars in those broken
VVV> messages. note that when there is absolutely no content-type
VVV> header, gnus shows russian characters right (by default in
VVV> koi8-r). but i those message there was a content-type header, but
VVV> it was broken: it contained "text". in some earlier versions of
VVV> pgnus these messages were shown right.

You means there is "Content-type: text" in header?  So you can see a
[1. text] button in *Article* buffer. Am I right?

If so, the content is not supposed to be decoded, since the minor type
of content is unknown. The mm-insert-inline is called instead of
mm-inline-text.

There is a trick to show the decoded content. Press 'i' on the button,
then 'C-u i koi8-r RET'.

There is a bug when you click the button 4 times. A patch is attached.

VVV> btw: from documentation on gnus-default-charset:
VVV> Default charset assumed to be used when viewing non-ASCII
VVV> characters.  This variable is used only in non-Mule Emacsen.
VVV> but i do use mule (emacs 20.3 with mule).

The documentation is incorrect.

-- 
Shenghuo

ChangeLog:

Wed Dec  9 15:18:39 1998  Shenghuo ZHU  <zsh@cs.rochester.edu>

	* mm-decode.el (mm-display-part): Forward a line.

:- cut ----
--- mm-decode.el	1998/12/09 20:17:55	1.1
+++ mm-decode.el	1998/12/09 20:18:18
@@ -236,7 +236,8 @@
 	(if (eq user-method 'inline)
 	    (progn
 	      (forward-line 1)
-	      (mm-display-inline handle))
+	      (mm-display-inline handle)
+	      'inline)
 	  (when (or user-method
 		    method
 		    (not no-default))
@@ -244,6 +245,7 @@
 		     (not method)
 		     (equal "text" (car (split-string type))))
 		(progn
+		  (forward-line 1)
 		  (mm-insert-inline handle (mm-get-part handle))
 		  'inline)
 	      (mm-display-external


  parent reply	other threads:[~1998-12-09 20:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-12-09 15:37 Vladimir Volovich
     [not found] ` <5bk901z3lk.fsf@brandy.cs.rochester.edu>
     [not found]   ` <m367blnp7x.fsf@vvv.vsu.ru>
     [not found]     ` <5b90ghf956.fsf@brandy.cs.rochester.edu>
     [not found]       ` <m37lw1w16u.fsf@vvv.vsu.ru>
1998-12-09 20:46         ` Shenghuo ZHU [this message]
1998-12-10  8:54           ` Vladimir Volovich
1998-12-10 18:27           ` Vladimir Volovich
1998-12-10 20:31             ` Michael Welsh Duggan
1998-12-10 20:57               ` Vladimir Volovich

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=5bogpddox7.fsf@brandy.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).