From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Gregor Zattler Newsgroups: gmane.emacs.bugs Subject: bug#15436: 24.3.50; reads ~/.mailcap only once Date: Sat, 25 Oct 2014 10:38:54 +0200 Message-ID: <20141025083854.GA24005@boo.workgroup> References: <87r4cgmyhn.fsf@boo.workgroup> <83a9j4k4ch.fsf@gnu.org> <87li2omvwh.fsf@boo.workgroup> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1414228654 27008 80.91.229.3 (25 Oct 2014 09:17:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 25 Oct 2014 09:17:34 +0000 (UTC) To: 15436@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 25 11:17:24 2014 Return-path: Envelope-to: geb-bug-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 1XhxTP-0005mg-Vg for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 Oct 2014 11:17:24 +0200 Original-Received: from localhost ([::1]:52717 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XhxTP-0002wV-Hz for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 Oct 2014 05:17:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38908) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XhxTE-0002s7-VM for bug-gnu-emacs@gnu.org; Sat, 25 Oct 2014 05:17:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XhxT6-0004PU-EC for bug-gnu-emacs@gnu.org; Sat, 25 Oct 2014 05:17:12 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42454) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XhxT6-0004Ou-Aq for bug-gnu-emacs@gnu.org; Sat, 25 Oct 2014 05:17:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XhwtI-0005tm-H4 for bug-gnu-emacs@gnu.org; Sat, 25 Oct 2014 04:40:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gregor Zattler Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 Oct 2014 08:40:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15436 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15436-submit@debbugs.gnu.org id=B15436.141422638022641 (code B ref 15436); Sat, 25 Oct 2014 08:40:03 +0000 Original-Received: (at 15436) by debbugs.gnu.org; 25 Oct 2014 08:39:40 +0000 Original-Received: from localhost ([127.0.0.1]:34544 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xhwst-0005t6-PA for submit@debbugs.gnu.org; Sat, 25 Oct 2014 04:39:40 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:64485) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xhwsr-0005st-KW for 15436@debbugs.gnu.org; Sat, 25 Oct 2014 04:39:38 -0400 Original-Received: from boo.workgroup ([87.185.148.107]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0LwJko-1YBAA10w0M-0186Lb; Sat, 25 Oct 2014 10:39:31 +0200 Original-Received: from grfz by boo.workgroup with local (Exim 4.84) (envelope-from ) id 1Xhwse-0006c5-R7; Sat, 25 Oct 2014 10:39:24 +0200 Mail-Followup-To: 15436@debbugs.gnu.org, Eli Zaretskii Content-Disposition: inline In-Reply-To: <87li2omvwh.fsf@boo.workgroup> User-Agent: Mutt/1.5.23 (2014-03-12) X-Provags-ID: V03:K0:L1xBrePO3fV8d7ny7n72AcL+jnyB4NATNZxzvHkvApg1C9HOYUV jGRdDwm6qz7OUillOfD90Y1oGo9XuBZoNVVKtBgn5Fmnkcyfco1QxT+W3K6totnqiGTzpjN Zvi+vgn0JiV6oE7qYSfjSufBrnQugxI666fAqBrHW/SaeOaCcQq1ZkN5ksE6v0UFj5WFQ92 kNT7OmSg2hD/Xw8uJrmYw== X-UI-Out-Filterresults: notjunk:1; X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:95061 Hi Eli, emacs developers, * Gregor Zattler [22. Sep. 2013]: >>> When opening a file link to say an image or PDF document within >>> org-mode via C-u C-u C-c C-o Emacs reads (in default >>> configuration) ~/.mailcap in search for a application to open the >>> file with. If one then changes this ~/.mailcap, saves it and opens >>> the same file again it is opened via the mailcap entry before the >>> change. >> >> Does it help to invoke "M-x mailcap-parse-mailcaps RET"? > > Yes. Thanks for this pointer. > > I still consider this to be a bug. Emacs should behave as > configured in .mailcap not as in an old version of it. If the > Emacs developers consider this behaviour to be ok then it should > be documented somewhere. This could be a use case for the inotify infrastructure. (Way beyond my skills). Ciao, Gregor -- -... --- .-. . -.. ..--.. ...-.-