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: Sun, 22 Sep 2013 22:41:34 +0200 Message-ID: <87li2omvwh.fsf@boo.workgroup> References: <87r4cgmyhn.fsf@boo.workgroup> <83a9j4k4ch.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1379882538 25461 80.91.229.3 (22 Sep 2013 20:42:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 22 Sep 2013 20:42:18 +0000 (UTC) Cc: 15436@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 22 22:42:18 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 1VNqTw-0001D9-Fl for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Sep 2013 22:42:16 +0200 Original-Received: from localhost ([::1]:36625 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VNqTw-0005cJ-3c for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Sep 2013 16:42:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60770) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VNqTo-0005c9-On for bug-gnu-emacs@gnu.org; Sun, 22 Sep 2013 16:42:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VNqTi-0000pu-UA for bug-gnu-emacs@gnu.org; Sun, 22 Sep 2013 16:42:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48033) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VNqTi-0000po-Qg for bug-gnu-emacs@gnu.org; Sun, 22 Sep 2013 16:42:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VNqTi-0003UP-H5 for bug-gnu-emacs@gnu.org; Sun, 22 Sep 2013 16:42:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gregor Zattler Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 22 Sep 2013 20:42:02 +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.137988251013396 (code B ref 15436); Sun, 22 Sep 2013 20:42:02 +0000 Original-Received: (at 15436) by debbugs.gnu.org; 22 Sep 2013 20:41:50 +0000 Original-Received: from localhost ([127.0.0.1]:56326 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VNqTV-0003Tz-Ng for submit@debbugs.gnu.org; Sun, 22 Sep 2013 16:41:50 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:57590) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VNqTR-0003Tj-Vx for 15436@debbugs.gnu.org; Sun, 22 Sep 2013 16:41:46 -0400 Original-Received: from boo.workgroup ([87.187.184.116]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0LoaCE-1Vq1MH1KUE-00gVzL for <15436@debbugs.gnu.org>; Sun, 22 Sep 2013 22:41:39 +0200 Original-Received: from grfz by boo.workgroup with local (Exim 4.80) (envelope-from ) id 1VNqTG-0007Ae-4d; Sun, 22 Sep 2013 22:41:34 +0200 In-Reply-To: <83a9j4k4ch.fsf@gnu.org> User-Agent: Notmuch/0.16 (http://notmuchmail.org) Emacs/24.3.50.1 (i486-pc-linux-gnu) X-Provags-ID: V03:K0:TuHpsLSr8x6CMmGHZsvbCFVABvgbz/mTiXtVEvwJStSQ54TiUna smo8iwpfVx+s8UDtlRfzfjJL77pO43RuNgh390kpOK0EodRl51G+dTc1vyrGdNVEDi01O8+ Ee6zHO4V3L7zkbPp7078TgYnsvvgSzCcThosoOIX73S4cy7T8iNJTE+w6nggZFzP1delfkZ yBoAikmHlL82B2V3js/5Q== 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:78680 Archived-At: Hi Eli, * Eli Zaretskii [2013-09-22; 22:07]: >> 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"? 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. Thank you for your fast reply, gregor