From: RL <alcoco@carrotmail.com>
Subject: Formatting of messages with MIME parts
Date: 04 Jun 2002 19:57:25 +0100 [thread overview]
Message-ID: <874rgidg8a.fsf@richl.jtn> (raw)
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?
reply other threads:[~2002-06-04 18:57 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=874rgidg8a.fsf@richl.jtn \
--to=alcoco@carrotmail.com \
/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).