Gnus development mailing list
 help / color / mirror / Atom feed
From: Michael R. Wolf <MichaelRunningWolf@att.net>
Subject: Re: Problem Viewing MIME Part
Date: Mon, 19 May 2003 21:13:11 -0700	[thread overview]
Message-ID: <usmrab6i0.fsf@att.net> (raw)
In-Reply-To: <m33cjd1egr.fsf@defun.localdomain>

Jesper Harder <harder@myrealbox.com> writes:

> Michael R. Wolf <MichaelRunningWolf@att.net> writes:
>
>> Jesper Harder <harder@myrealbox.com> writes:
>>
>>> What do the following expressions return?
>>>
>>> (mm-inlined-p '(nil ("text/html") nil nil nil nil nil nil))
>> t
>>
>>> (mm-inlinable-p '(nil ("text/html") nil nil nil nil nil nil))
>> lynx
>>
>> What does this mean?
>
> It means that Gnus thinks that it _can_ inline HTML (mm-inlinable-p),
> and that you wan't it inlined (mm-inlined-p).
>
> Have you customized any Gnus settings related to HTML display?

Emperically, the answer would appear to be yes, but I don't know where
I could have done such a modification. Where should I look?

A search for "mm-" or "html" yeilds nothing in ~/.gnus or ~/.emacs.

Here's  an attempt at a ~/.mailcap, though the behavior is the same
with and without this file.  I had gotten various "help" over the
months, but hadn't sucseeded in getting any of it to work.

/
| application/ms-word; start %s
| application/* start "" %s
\

Where else could I be changing the mappings?

For some reason, I'm able to press "CR" on *some* buttons,
specifically, I got a PDF file as a link that looked like this, only
emboldened like a button:

[2. application/pdf; Schebel, p1.pdf]...

Pressing CR on the button, produced this message in the minibuffer,
but does not display the file in a viewer.

Displaying gv -safer "c:/DOCUME~1/toshiba/LOCALS~1/Temp/emm.1360eqi/Schebel, p1.pdf"...

It seems to extract the file into a location that I can open the file
from using this piece of code by typing X in a dired buffer.

/
| ;;; From: David Vanderschel <DvdS@Austin.RR.com>
| ;;; Subject: Re: [h-e-w] mailcap file and filename/type associations for Windows 95
| ;;; To: help-emacs-windows@gnu.org
| ;;; Date: 05 Jan 2002 17:47:47 -0600
| ;;; dired stuff to open files a la Windows from Howard Melman
| (defun dired-execute-file (&optional arg)
|   (interactive "P")
|   (mapcar #'(lambda (file)
| 	      (w32-shell-execute "open" (convert-standard-filename file)))
|           (dired-get-marked-files nil arg)))
| ;;;...
| (defun hrm-dired-mode-hook ()
|   "Hook run when entering dired-mode."
|     (define-key dired-mode-map "X" 'dired-execute-file)
|     (define-key dired-mode-map [M-down-mouse-1] 'dired-mouse-mark-file))
| 
| (global-set-key [?\C-x mouse-2] 'dired-mouse-execute-file)
| (add-hook 'dired-mode-hook 'hrm-dired-mode-hook)
\

So... WinDOS 2000 can do the right thing ifff I could get gnus via
gnuemacs to send everything to "open".

The corresponding information for application/pdf for the function
calls you reqeusted is below.

(mm-inlined-p '(nil ("application/pdf") nil nil nil nil nil nil))
nil

(mm-inlinable-p '(nil ("application/pdf") nil nil nil nil nil nil))
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  mm-readable-p((nil ("application/pdf") nil nil nil nil nil nil))
  mm-inlinable-p((nil ("application/pdf") nil nil nil nil nil nil))
  eval((mm-inlinable-p (quote (nil ... nil nil nil nil nil nil))))
  eval-last-sexp-1(nil)
  eval-last-sexp(nil)
* call-interactively(eval-last-sexp)

I really do appreciate your help. This un-feature has almost had me
stop using gnus on numerous occasions. My eyes are tiring of parsing
HTML, or doing heroics to read PDF MIME attachments or JPEG pictures
my dad sends of our family.

Thanks,
Michael Wolf

P.S. To be explicit, here's what I'm using on a Windows 2000 laptop:
User-Agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.2 (windows-nt)


-- 
Michael R. Wolf
    All mammals learn by playing!
        MichaelRunningWolf@att.net



  reply	other threads:[~2003-05-20  4:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-09 17:32 Jake Colman
2003-05-09 17:54 ` Michael R. Wolf
2003-05-15 15:24 ` Jesper Harder
2003-05-16  4:53   ` Michael R. Wolf
2003-05-17 20:54     ` Jesper Harder
2003-05-20  4:13       ` Michael R. Wolf [this message]
2003-05-21  3:19         ` Jesper Harder

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=usmrab6i0.fsf@att.net \
    --to=michaelrunningwolf@att.net \
    /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).