[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: view, not download PDF
- From: Naohiro Aota <naota@xxxxxxxxx>
- Date: Mon, 26 Jan 2009 05:35:44 +0900
- X-ml-name: emacs-w3m
- X-mail-count: 10633
- References: <873af8f4ye.fsf@xxxxxxxxxxx>
jidanni@xxxxxxxxxxx writes:
> Odd, why this trouble with this PDF:
> $ set http://blogsecurity.net/projects/WordPress_Whitepaper_rev12.pdf
> $ HOME=/tmp emacs -eval '(w3m "'$1'")'
> gives Input WordPress_Whitepaper_rev12.pdf's content type (default Download):
> $ HEAD -P $1|grep Type
> Content-Type: application/x-pdf
> (Anyway, even if we choose that, xpdf is not started.)
> $ HOME=/tmp w3m $1 #works fine and calls xpdf.bin /tmp/.w3m/w3mtmp9248-0.pdf
It was because emacs-w3m only process "application/pdf" as pdf, but not
"application/x-pdf". I've fixed it in emacs-w3m CVS. Thank you for your
report.
Regards,