From: Robert Thorpe <rt@robertthorpeconsulting.com>
To: Rusi <rustompmody@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Set emacs as pdf viewer?
Date: Fri, 06 Feb 2015 03:05:57 +0000 [thread overview]
Message-ID: <87fvaj91t6.fsf@robertthorpeconsulting.com> (raw)
In-Reply-To: <10f6ac9a-42a6-44ee-8eee-3b42f3c5d533@googlegroups.com> (message from Rusi on Thu, 5 Feb 2015 17:50:08 -0800 (PST))
Rusi <rustompmody@gmail.com> writes:
...
> As it happens I just discovered this yesterday, though it will depend on desktop
> (kde/gnome/ etc) I use xfce.
>
> For a long time for certain types of files (certain mime types), instead of starting some editor (let alone emacs) it would start wine and call notepad!
>
> The official app for that is xdg-open -- which I found completely impenetrable.
> Yesterday I found that xfce uses exo-open which is linked to xfce4-mime-settings
>
> Your desktop will have something similar
Emacs has it's own system for things like this though,
"auto-mode-alist" and "interpreter-mode-alist". These days Emacs will
open a PDF in doc-view mode by default. If this isn't happening in
Auctex then that probably means that an Auctex variable must be set. Or
it could mean that browse-pdf-generic-program should not be set.
BR,
Robert Thorpe
next prev parent reply other threads:[~2015-02-06 3:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.19358.1423169207.1147.help-gnu-emacs@gnu.org>
2015-02-06 1:50 ` Set emacs as pdf viewer? Rusi
2015-02-06 3:05 ` Robert Thorpe [this message]
2015-02-05 20:46 Tory S. Anderson
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=87fvaj91t6.fsf@robertthorpeconsulting.com \
--to=rt@robertthorpeconsulting.com \
--cc=help-gnu-emacs@gnu.org \
--cc=rustompmody@gmail.com \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.