Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: mikael.svahnberg@gmail.com
To: info-gnus-english@gnu.org
Subject: Re: Gnus and Preview.app on a Mac
Date: Fri, 11 Oct 2013 02:45:38 -0700 (PDT)	[thread overview]
Message-ID: <d4457713-e109-4620-81ee-996837e27ebb@googlegroups.com> (raw)
In-Reply-To: <mailman.3746.1381395449.10748.info-gnus-english@gnu.org>

On Thursday, 10 October 2013 10:57:00 UTC+2, Rainer M Krug  wrote:
> Alex Schroeder <> writes:
> 
> 
> 
> > In an old message I saw Lars say, that using ~/.mailcap should do the
> 
> > trick. So I tried this:
> 
> >
> 
> > application/pdf; open %s
> 
> 
> 
> I just put 
> 
> 
> 
> ,----
> 
> | application/pdf; open %s
> 
> `----
> 
> 
> 
> into my new ~/.mailcap file and did “M-x mailcap-parse-mailcaps” and it did
> 
> works here - taken from http://www.emacswiki.org/emacs/MimeTypesWithGnus
> 
> 
> 
> Now I just would like to use this for all pdf links in emacs, but this
> 
> is a different issue.
> 
> 
> 
> Thanks for the question.
> 
> 
> 
> Cheers,
> 
> 
> 
> Rainer
> 
> 
> 
> >
> 
> > When I look at my *Messages* buffer, I see the following:
> 
> >
> 
> > Displaying open
> 
> > /var/folders/tv/tvbc\+bneEXWIKBV8nDtCXE\+\+\+TI/-Tmp-/emm.1878mQ/ZTS_Okt13.pdf...done
> 
> >
> 
> > Then, nothing happens. When I check the path, I see no emm* directory.
> 
> >
> 
> > alex@Pyrobombus:~$ ls
> 
> > /var/folders/tv/tvbc+bneEXWIKBV8nDtCXE+++TI/-Tmp-/
> 
> > PreviewTemp-6d5jS3/ emacs501/           docview501/         xcrun_db            
> 
> >
> 
> > Something is not working correctly. Any ideas?
> 
> >
> 
> > Cheers
> 
> > Alex
> 
> <#secure method=pgpmime mode=sign>
> 
> 
> 
> -- 
> 
> Rainer M. Krug
> 
> 
> 
> email: RMKrug<at>gmail<dot>com

I've gone one step further:

---
application/*; open %s
---

... which works for most of the stuff that OSX recognises.

/Mikael

  parent reply	other threads:[~2013-10-11  9:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-09 20:58 Alex Schroeder
2013-10-10  8:57 ` Rainer M Krug
     [not found] ` <mailman.3746.1381395449.10748.info-gnus-english@gnu.org>
2013-10-11  9:45   ` mikael.svahnberg [this message]
2013-10-11 10:03     ` Alex Schroeder
2013-10-11 10:31       ` Rainer M Krug

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=d4457713-e109-4620-81ee-996837e27ebb@googlegroups.com \
    --to=mikael.svahnberg@gmail.com \
    --cc=info-gnus-english@gnu.org \
    /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).