From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/572 Path: news.gmane.org!not-for-mail From: RL Newsgroups: gmane.emacs.gnus.user Subject: Formatting of messages with MIME parts Date: 04 Jun 2002 19:57:25 +0100 Organization: ntl Cablemodem News Service Message-ID: <874rgidg8a.fsf@richl.jtn> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138667526 7481 80.91.229.2 (31 Jan 2006 00:32:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 00:32:06 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:27:47 2006 Original-Path: quimby.gnus.org!lackawana.kippona.com!stargate.gts.cz!news.telebyte.nl!news.shlink.de!gatel-ffm!news-fra1.dfn.de!news-lei1.dfn.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newspeer1-gui.server.ntli.net!ntli.net!newsfep1-win.server.ntli.net.POSTED!53ab2750!not-for-mail Original-Sender: rpil2@richl.jtn Original-Newsgroups: gnu.emacs.gnus User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Original-NNTP-Posting-Host: 213.107.105.166 Original-X-Complaints-To: abuse@ntlworld.com Original-X-Trace: newsfep1-win.server.ntli.net 1023217059 213.107.105.166 (Tue, 04 Jun 2002 19:57:39 BST) Original-NNTP-Posting-Date: Tue, 04 Jun 2002 19:57:39 BST Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:712 Original-Lines: 52 X-Gnus-Article-Number: 712 Tue Jan 17 17:27:47 2006 Xref: news.gmane.org gmane.emacs.gnus.user:572 Archived-At: With the settings (setq gnus-mime-display-multipart-as-mixed t) (setq gnus-unbuttonized-mime-types '("text/plain")) (add-to-list 'mm-discouraged-alternatives "text/html") (eval-after-load "w3" ;Clicking links in w3 opens external browser '(progn (fset 'w3-fetch-orig (symbol-function 'w3-fetch)) (defun w3-fetch (&optional url target) (interactive (list (w3-read-url-with-default))) (if (eq major-mode 'gnus-article-mode) (browse-url url) (w3-fetch-orig url target))))) I pretty much get messages displayed how I would like except that 1. If i get a multi-part message with plain-text and html, then i get both parts displayed inline at the same time. I would prefer to have the html part given a button, but not to be expanded unless i click on it. One way of doing this is to set `gnus-mime-display-multipart-as-mixed' to `nil', but that puts the button before both parts, and I would prefer to ahve a separate button for each. Another option would be to do (add-to-list 'mm-inline-override-types "text/html") But that would hide the html from messages that come only in html format, which i dont want to do. 2. For messages in html only, I would prefer to suppress the button. I guess what i am saying is that i want to hide the button for the first part of every message. 3. I would prefer to insert a blank line before buttons referring to MIME types so that theya re more obviously separate from the preceding part (but I wouldnt want to add extra lines before the *first* [hopefully unbuytonised] part. Since there always seems to be a way to get gnus to do exactly what you want, can someone point me in the right direction here? Thanks in advance R. (gnus 5.9.0, emacs 21.1.1.) ps, I just ran `M-x ispell-message' and it didnt notice the `ahve' in line 31 (this is with ispell 3.1.20-12). Why is that?