emacs-wiki-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [emacs-wiki-discuss] opening pdf documents


From: fouvry+emacs-wiki
Subject: Re: [emacs-wiki-discuss] opening pdf documents
Date: Mon, 6 Sep 2004 20:12:12 +0200 (CEST)

,-- On Mon, 6 Sep 2004 10:56:51 -0400, Ray Fix wrote:
| 
| This thread goes way back but I finally figured something out about it 
| so here is my report.  ;-) When we last left our enthusiastic novice, 
| he was having trouble with non-text links.  For example:
| 
| [[/some/path/file.txt][Text File]]    Good
| [[/some/path/file.png][PNG]]        Non-optimal
| [[/some/path/file.pdf][PDF]]          Non-optimal
| 
| All of these files would open in text mode.  Upgrading my version of 
| Emacs fixed the PNG case.  Now it inlines the picture. Yay!  (Charles 
| guess that my emacs was not compiled correctly was probably correct.)
| 
| However, I was still having problems with PDF files.  (Again it would 
| open them as a text file....)
| 
| My solution here was to use trivial mode as described on:
| 
| http://www.emacswiki.org/cgi-bin/wiki/TrivialMode

You may want to look at dired-x as well: it has the same
functionality (press ! on a file name, and choose from the
commands you get offered by dired-do-shell-command()), except
that it is for Dired mode.  Question of reducing duplication of
setup (the least one can do in that direction I guess is to reuse
the association lists used for determining appropriate shell
commands).

Frederik




reply via email to

[Prev in Thread] Current Thread [Next in Thread]