From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#15436: 24.3.50; reads ~/.mailcap only once Date: Sun, 22 Sep 2013 23:07:26 +0300 Message-ID: <83a9j4k4ch.fsf@gnu.org> References: <87r4cgmyhn.fsf@boo.workgroup> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1379880501 5257 80.91.229.3 (22 Sep 2013 20:08:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 22 Sep 2013 20:08:21 +0000 (UTC) Cc: 15436@debbugs.gnu.org To: Gregor Zattler Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 22 22:08:22 2013 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 1VNpx6-0005fX-Ha for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Sep 2013 22:08:20 +0200 Original-Received: from localhost ([::1]:36517 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VNpx5-0001mI-Tz for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Sep 2013 16:08:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55142) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VNpwv-0001k5-VH for bug-gnu-emacs@gnu.org; Sun, 22 Sep 2013 16:08:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VNpwo-0000gi-Lp for bug-gnu-emacs@gnu.org; Sun, 22 Sep 2013 16:08:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47997) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VNpwo-0000ge-IT for bug-gnu-emacs@gnu.org; Sun, 22 Sep 2013 16:08:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VNpwo-0002g8-18 for bug-gnu-emacs@gnu.org; Sun, 22 Sep 2013 16:08:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 22 Sep 2013 20:08:01 +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.137988044710255 (code B ref 15436); Sun, 22 Sep 2013 20:08:01 +0000 Original-Received: (at 15436) by debbugs.gnu.org; 22 Sep 2013 20:07:27 +0000 Original-Received: from localhost ([127.0.0.1]:56290 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VNpwF-0002fK-9n for submit@debbugs.gnu.org; Sun, 22 Sep 2013 16:07:27 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:37413) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VNpwB-0002f0-R2 for 15436@debbugs.gnu.org; Sun, 22 Sep 2013 16:07:25 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MTJ00B00M9PG100@a-mtaout23.012.net.il> for 15436@debbugs.gnu.org; Sun, 22 Sep 2013 23:07:17 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MTJ00B7QMK4G910@a-mtaout23.012.net.il>; Sun, 22 Sep 2013 23:07:17 +0300 (IDT) In-reply-to: <87r4cgmyhn.fsf@boo.workgroup> X-012-Sender: halo1@inter.net.il 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:78679 Archived-At: > From: Gregor Zattler > Date: Sun, 22 Sep 2013 21:45:40 +0200 > > Emacs reads ~/.mailcap only once, does not recognize later > changes in this configuration file even if made with Emacs in the > same session. This happens with Emacs23 and Emacs-snapshot. I > consider this behaviour a bug. Quitting Emacs and starting anew > forces reload of ~/.mailcap. > > How to reproduce: > > 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"?