From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: kjonca@poczta.onet.pl (Kamil =?iso-8859-2?Q?Jo=F1ca?=) Newsgroups: gmane.emacs.help Subject: Re: pdf viewer Date: Sat, 06 Oct 2018 11:51:45 +0200 Organization: Telekomunikacja Polska Message-ID: <874ldzl7wu.fsf@alfa.kjonca> References: <87k1mv78ht.fsf@alfa.kjonca> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1538819603 29489 195.159.176.226 (6 Oct 2018 09:53:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 6 Oct 2018 09:53:23 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Oct 06 11:53:19 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g8jGw-0007Yb-Di for geh-help-gnu-emacs@m.gmane.org; Sat, 06 Oct 2018 11:53:18 +0200 Original-Received: from localhost ([::1]:38526 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g8jJ2-0007ZW-Ib for geh-help-gnu-emacs@m.gmane.org; Sat, 06 Oct 2018 05:55:28 -0400 Original-Path: usenet.stanford.edu!goblin1!goblin.stu.neva.ru!newsfeed.neostrada.pl!unt-exc-02.news.neostrada.pl!unt-spo-a-01.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Cancel-Lock: sha1:A2gbRBdYnyO9GTu2aWNKnaKADnQ= Original-Lines: 22 Original-NNTP-Posting-Host: 178.235.55.163 Original-X-Trace: 1538819581 unt-rea-a-01.news.neostrada.pl 493 178.235.55.163:55674 Original-X-Complaints-To: abuse@news.neostrada.pl Original-Xref: usenet.stanford.edu gnu.emacs.help:224024 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.help:118150 Archived-At: Teemu Likonen writes: > Kamil Jońca [2018-10-06 11:02:54+02] wrote: > >> For some time emacs view pdf files with its internal viewer. But I >> want to keep old behavior - open them with xpdf/evince How can I do >> it? > > You can use mailcap-user-mime-data variable to override the (generated) > defaults in mailcap-mime-data: > > (setq mailcap-user-mime-data > '(((type . "application/pdf") > (viewer . "evince %s")))) It does not work. Still pdf is open by internal viewer :( KJ -- http://wolnelektury.pl/wesprzyj/teraz/ Hope is a waking dream. -- Aristotle