Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Gnus and Preview.app on a Mac
@ 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>
  0 siblings, 2 replies; 5+ messages in thread
From: Alex Schroeder @ 2013-10-09 20:58 UTC (permalink / raw)
  To: info-gnus-english

In an old message I saw Lars say, that using ~/.mailcap should do 
the trick. So I tried this:

application/pdf; open %s

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Gnus and Preview.app on a Mac
  2013-10-09 20:58 Gnus and Preview.app on a Mac Alex Schroeder
@ 2013-10-10  8:57 ` Rainer M Krug
       [not found] ` <mailman.3746.1381395449.10748.info-gnus-english@gnu.org>
  1 sibling, 0 replies; 5+ messages in thread
From: Rainer M Krug @ 2013-10-10  8:57 UTC (permalink / raw)
  To: info-gnus-english

Alex Schroeder <alex@gnu.org> 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


_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Gnus and Preview.app on a Mac
       [not found] ` <mailman.3746.1381395449.10748.info-gnus-english@gnu.org>
@ 2013-10-11  9:45   ` mikael.svahnberg
  2013-10-11 10:03     ` Alex Schroeder
  0 siblings, 1 reply; 5+ messages in thread
From: mikael.svahnberg @ 2013-10-11  9:45 UTC (permalink / raw)
  To: info-gnus-english

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Gnus and Preview.app on a Mac
  2013-10-11  9:45   ` mikael.svahnberg
@ 2013-10-11 10:03     ` Alex Schroeder
  2013-10-11 10:31       ` Rainer M Krug
  0 siblings, 1 reply; 5+ messages in thread
From: Alex Schroeder @ 2013-10-11 10:03 UTC (permalink / raw)
  To: info-gnus-english

mikael.svahnberg@gmail.com writes:

> I've gone one step further:
>
> ---
> application/*; open %s
> ---
>
> ... which works for most of the stuff that OSX recognises.

Good point. Strange that you have never run into the invalid temp 
file directories, though. I'll keep an eye open for further 
occurences.

Alex.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Gnus and Preview.app on a Mac
  2013-10-11 10:03     ` Alex Schroeder
@ 2013-10-11 10:31       ` Rainer M Krug
  0 siblings, 0 replies; 5+ messages in thread
From: Rainer M Krug @ 2013-10-11 10:31 UTC (permalink / raw)
  To: info-gnus-english


[-- Attachment #1.1: Type: text/plain, Size: 613 bytes --]

Alex Schroeder <alex@gnu.org> writes:

> mikael.svahnberg@gmail.com writes:
>
>> I've gone one step further:
>>
>> ---
>> application/*; open %s
>> ---
>>
>> ... which works for most of the stuff that OSX recognises.
>
> Good point. Strange that you have never run into the invalid temp file
> directories, though. I'll keep an eye open for further occurences.

I had cases, where I had to open the pdf twice, because it gave an error
message at the first try, but I don't remember the eror message.

Cheers,

Rainer


>
> Alex.


-- 
Rainer M. Krug

email: RMKrug<at>gmail<dot>com

[-- Attachment #1.2: Type: application/pgp-signature, Size: 486 bytes --]

[-- Attachment #2: Type: text/plain, Size: 162 bytes --]

_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-10-11 10:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-09 20:58 Gnus and Preview.app on a Mac 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
2013-10-11 10:03     ` Alex Schroeder
2013-10-11 10:31       ` Rainer M Krug

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).