From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: ODT export --> opening in Okular? Date: Mon, 10 Dec 2018 11:41:23 -0500 Message-ID: <877egh1gi4.fsf@alphaville.usersys.redhat.com> References: <16791d4fd13.e5d1114317451.3982391053972540870@zoho.com> <16795ca7e62.123019e8323779.2065181443559693375@zoho.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33609) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gWOcw-0003HO-Vw for emacs-orgmode@gnu.org; Mon, 10 Dec 2018 11:41:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gWOcs-0006ee-Br for emacs-orgmode@gnu.org; Mon, 10 Dec 2018 11:41:50 -0500 Received: from [195.159.176.226] (port=40886 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gWOcn-0006Kk-Ut for emacs-orgmode@gnu.org; Mon, 10 Dec 2018 11:41:43 -0500 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1gWOaV-0002iL-LG for emacs-orgmode@gnu.org; Mon, 10 Dec 2018 17:39:19 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org James Harkins writes: > ... > As a final test, I deleted both the PDF and ODT entries from > org-file-apps -- so that there is absolutely no reference in any org > code file or variable to okular -- and it is *still* opening the > exported ODT in okular! Which strikes me as insane. > > org-open-file seems to be a rather complex function. I can't make > heads or tails of it. If I had to guess, I would suppose that it has > some fallback position that doesn't depend on org configuration > variables. > Check your ~/.mailcap and/or /etc/mailcap file as well: there are indeed many twisty passages through org-open-file, so you may end up calling whatever the system has set up (correctly or not). -- Nick "There are only two hard problems in computer science: cache invalidation, naming things, and off-by-one errors." -Martin Fowler