From: Hrvoje Niksic <hniksic@srce.hr>
Subject: Re: MIME variables
Date: 05 Jul 1999 15:15:11 +0200 [thread overview]
Message-ID: <874sjjdyqo.fsf@pc-hrvoje.srce.hr> (raw)
In-Reply-To: Lars Magne Ingebrigtsen's message of "05 Jul 1999 06:16:48 +0200"
Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
> ("image/gif" mm-inline-image (mm-valid-and-fit-image-p 'gif handle))
> ("image/tiff" mm-inline-image (mm-valid-and-fit-image-p 'tiff handle))
>
> [...]
>
> ("text/html" mm-inline-text (locate-library "w3"))
>
> Of course, I could just wrap all these in `lambda's, which would
> make things more better, although more verbose. As well as making
> the magic `handle' dynamic variable explicit.
Please please do. At the cost of a few more words, the code will be
much saner, and easier to replace with something else.
> > Also, the variable could probably stand a better name.
> > `mm-inline-media-tests' is, uhm, less than suggestive.
>
> Well, they are tests to see whether media can be displayed inline...
> :-)
How about `mm-types-displayable-inline'?
> > > `mm-inlines-types'
> > > This, on the other hand, says what types are to be displayed
> > > inline, if they satisfy the conditions set by the variable above.
> > > It's a list of MIME media types.
> >
> > Maybe this should also allow a function, or a list of them.
>
> The idea is that the first variable says whether something is
> possible, and if so, how to do it, while the second says whether we
> want it or not, so I don't see any need to re-specify a function
> here. The first variable will probably not be altered by the user,
> while the second probably will be.
How about `mm-types-displayed-inline'? :-)
> > > `mm-attachment-override-types'
> > > Some MIME agents create parts that have a content-disposition of
> > > `attachment'. This variable allows overriding that disposition and
> > > displaying the part inline.
> >
> > I think this variable is misconceived, at least as far as
> > text/plain goes. Many patches are rightfully sent out as
> > "attachments", and I don't get the button for them (I have to
> > press `K b' explicitly, which is quite slow.)
>
> But patches shouldn't be text/plain, since they aren't...
Huh?
> > Mind you, it's perfectly fine for the type to be *displayed* by
> > default, but the button should still be there for attachments. Broken
> > software that generates bogus content-dispositions should not be
> > catered to.
>
> I agree with that. Perhaps I should just alter the default to
> exclude text/plain, and then the user who want to cater to such
> software can add it?
Please do. I've asked for this before, but I guess the mail got lost.
next prev parent reply other threads:[~1999-07-05 13:15 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-07-04 5:21 Lars Magne Ingebrigtsen
1999-07-04 15:55 ` Hrvoje Niksic
1999-07-04 20:09 ` Kai.Grossjohann
1999-07-05 4:17 ` Lars Magne Ingebrigtsen
1999-07-05 4:16 ` Lars Magne Ingebrigtsen
1999-07-05 13:15 ` Hrvoje Niksic [this message]
1999-07-05 13:52 ` Lars Magne Ingebrigtsen
1999-07-05 13:54 ` Hrvoje Niksic
1999-07-06 4:42 ` Lars Magne Ingebrigtsen
1999-07-06 15:17 ` Hrvoje Niksic
1999-07-06 16:01 ` Lars Magne Ingebrigtsen
1999-07-06 21:41 ` David Kågedal
1999-07-07 11:53 ` Robert Bihlmeyer
1999-07-08 7:11 ` Lars Magne Ingebrigtsen
1999-07-04 20:06 ` Kai.Grossjohann
1999-07-05 4:20 ` Lars Magne Ingebrigtsen
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=874sjjdyqo.fsf@pc-hrvoje.srce.hr \
--to=hniksic@srce.hr \
/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).