Gnus development mailing list
 help / color / mirror / Atom feed
From: Shenghuo ZHU <zsh@cs.rochester.edu>
Subject: bug: unnecessary decoding when remove inline part
Date: 29 Nov 1998 23:58:04 -0500	[thread overview]
Message-ID: <2naf19ojz7.fsf@zsh.cs.rochester.edu> (raw)


Patch is attached.

ChangeLog:

Sun Nov 29 23:51:57 1998  Shenghuo ZHU  <zsh@cs.rochester.edu>

	* gnus-art.el (gnus-mime-inline-part): Do not get part when
	undisplay the part.

-- 
Shenghuo

:- cut -----
--- gnus-art.el	1998/11/30 04:50:13	1.1
+++ gnus-art.el	1998/11/30 04:51:00
@@ -2350,12 +2350,13 @@
   (interactive "P") ; For compatibility reasons we are not using "z".
   (gnus-article-check-buffer)
   (let* ((data (get-text-property (point) 'gnus-data))
-	 (contents (mm-get-part data))
+	 contents
 	 ;(url-standalone-mode (not gnus-plugged))
 	 (b (point))
 	 buffer-read-only)
     (if (mm-handle-undisplayer data)
 	(mm-remove-part data)
+      (setq contents (mm-get-part data))
       (forward-line 2)
       (when charset 
 	(unless (symbolp charset)


                 reply	other threads:[~1998-11-30  4:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=2naf19ojz7.fsf@zsh.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).