unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* pdf, gs etc
@ 2005-04-21 10:44 Mahdi Osman
  2005-04-21 11:24 ` Peter Dyballa
  0 siblings, 1 reply; 2+ messages in thread
From: Mahdi Osman @ 2005-04-21 10:44 UTC (permalink / raw)


Dear all,

I was wondering if someone could give a hint on how to open my pdf files
when I am in "dire" buffer of my emacs.

Thanks in advance


Regards
-- 
Mahdi Osman (PhD)

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

* Re: pdf, gs etc
  2005-04-21 10:44 pdf, gs etc Mahdi Osman
@ 2005-04-21 11:24 ` Peter Dyballa
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Dyballa @ 2005-04-21 11:24 UTC (permalink / raw)
  Cc: help-gnu-emacs


Am 21.04.2005 um 12:44 schrieb Mahdi Osman:

> I was wondering if someone could give a hint on how to open my pdf 
> files
> when I am in "dire" buffer of my emacs.
>

Once you've customized dired you can simple press "v" to view a file in 
an external viewer. The other way is to press "!" and spawn a new 
process. For this you enter the external viewer's name and a RET. Dired 
will pass the file's name to the viewer process.

'(dired-view-command-alist (quote (("\\.\\(ps\\|ps_pages\\|eps\\)\\'" . 
"texdoc %s") ("\\.pdf\\'" . "texdoc %s") 
("\\.\\(jpe?g\\|gif\\|png\\)\\'" . "xv %s") ("\\.dvi\\'" . "texdoc 
%s")))) ....

--
Greetings

   Pete

Time flies like an error
but fruitflies like a banana

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

end of thread, other threads:[~2005-04-21 11:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-21 10:44 pdf, gs etc Mahdi Osman
2005-04-21 11:24 ` Peter Dyballa

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 read-only IMAP folder(s) and NNTP newsgroup(s).