From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Robert Thorpe Newsgroups: gmane.emacs.help Subject: Re: Set emacs as pdf viewer? Date: Fri, 06 Feb 2015 03:05:57 +0000 Message-ID: <87fvaj91t6.fsf@robertthorpeconsulting.com> References: <10f6ac9a-42a6-44ee-8eee-3b42f3c5d533@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1423191981 7549 80.91.229.3 (6 Feb 2015 03:06:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Feb 2015 03:06:21 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Rusi Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Feb 06 04:06:21 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YJZFK-0002D6-8i for geh-help-gnu-emacs@m.gmane.org; Fri, 06 Feb 2015 04:06:18 +0100 Original-Received: from localhost ([::1]:46446 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJZFJ-0005ij-Fh for geh-help-gnu-emacs@m.gmane.org; Thu, 05 Feb 2015 22:06:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52631) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJZF6-0005ia-3e for help-gnu-emacs@gnu.org; Thu, 05 Feb 2015 22:06:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YJZF2-0007AW-RX for help-gnu-emacs@gnu.org; Thu, 05 Feb 2015 22:06:04 -0500 Original-Received: from outbound-smtp06.blacknight.com ([81.17.249.39]:45221) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJZF2-00079R-KI for help-gnu-emacs@gnu.org; Thu, 05 Feb 2015 22:06:00 -0500 Original-Received: from mail.blacknight.com (pemlinmail05.blacknight.ie [81.17.254.26]) by outbound-smtp06.blacknight.com (Postfix) with ESMTPS id 693B7C3CA for ; Fri, 6 Feb 2015 03:05:58 +0000 (UTC) Original-Received: (qmail 15188 invoked from network); 6 Feb 2015 03:05:58 -0000 Original-Received: from unknown (HELO RTLaptop) (rt@robertthorpeconsulting.com@[109.79.191.118]) by 81.17.254.9 with ESMTPSA (DHE-RSA-AES128-SHA encrypted, authenticated); 6 Feb 2015 03:05:58 -0000 In-Reply-To: <10f6ac9a-42a6-44ee-8eee-3b42f3c5d533@googlegroups.com> (message from Rusi on Thu, 5 Feb 2015 17:50:08 -0800 (PST)) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 81.17.249.39 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:102523 Archived-At: Rusi 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