GNU bug report logs - #15436
24.3.50; reads ~/.mailcap only once

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: minor; Reported by: Gregor Zattler <telegraph@HIDDEN>; dated Sun, 22 Sep 2013 19:47:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 15436 <at> debbugs.gnu.org:


Received: (at 15436) by debbugs.gnu.org; 25 Oct 2014 08:39:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 25 04:39:40 2014
Received: from localhost ([127.0.0.1]:34544 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Xhwst-0005t6-PA
	for submit <at> debbugs.gnu.org; Sat, 25 Oct 2014 04:39:40 -0400
Received: from mout.gmx.net ([212.227.17.21]:64485)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <error4me@HIDDEN>) id 1Xhwsr-0005st-KW
 for 15436 <at> debbugs.gnu.org; Sat, 25 Oct 2014 04:39:38 -0400
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
Received: from grfz by boo.workgroup with local (Exim 4.84)
 (envelope-from <error4me@HIDDEN>)
 id 1Xhwse-0006c5-R7; Sat, 25 Oct 2014 10:39:24 +0200
Date: Sat, 25 Oct 2014 10:38:54 +0200
From: Gregor Zattler <telegraph@HIDDEN>
To: 15436 <at> debbugs.gnu.org
Subject: Re: bug#15436: 24.3.50; reads ~/.mailcap only once
Message-ID: <20141025083854.GA24005@HIDDEN>
Mail-Followup-To: 15436 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>
References: <87r4cgmyhn.fsf@HIDDEN> <83a9j4k4ch.fsf@HIDDEN>
 <87li2omvwh.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <87li2omvwh.fsf@HIDDEN>
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-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 15436
Cc: Eli Zaretskii <eliz@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

Hi Eli, emacs developers,
* Gregor Zattler <telegraph@HIDDEN> [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
-- 
 -... --- .-. . -.. ..--.. ...-.-




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#15436; Package emacs. Full text available.

Message received at 15436 <at> debbugs.gnu.org:


Received: (at 15436) by debbugs.gnu.org; 22 Sep 2013 20:41:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 22 16:41:50 2013
Received: from localhost ([127.0.0.1]:56326 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1VNqTV-0003Tz-Ng
	for submit <at> debbugs.gnu.org; Sun, 22 Sep 2013 16:41:50 -0400
Received: from mout.gmx.net ([212.227.15.19]:57590)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <error4me@HIDDEN>) id 1VNqTR-0003Tj-Vx
 for 15436 <at> debbugs.gnu.org; Sun, 22 Sep 2013 16:41:46 -0400
Received: from boo.workgroup ([87.187.184.116]) by mail.gmx.com (mrgmx101)
 with ESMTPSA (Nemesis) id 0LoaCE-1Vq1MH1KUE-00gVzL for
 <15436 <at> debbugs.gnu.org>; Sun, 22 Sep 2013 22:41:39 +0200
Received: from grfz by boo.workgroup with local (Exim 4.80)
 (envelope-from <error4me@HIDDEN>)
 id 1VNqTG-0007Ae-4d; Sun, 22 Sep 2013 22:41:34 +0200
From: Gregor Zattler <telegraph@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#15436: 24.3.50; reads ~/.mailcap only once
In-Reply-To: <83a9j4k4ch.fsf@HIDDEN>
References: <87r4cgmyhn.fsf@HIDDEN> <83a9j4k4ch.fsf@HIDDEN>
User-Agent: Notmuch/0.16 (http://notmuchmail.org) Emacs/24.3.50.1
 (i486-pc-linux-gnu)
Date: Sun, 22 Sep 2013 22:41:34 +0200
Message-ID: <87li2omvwh.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K0:TuHpsLSr8x6CMmGHZsvbCFVABvgbz/mTiXtVEvwJStSQ54TiUna
 smo8iwpfVx+s8UDtlRfzfjJL77pO43RuNgh390kpOK0EodRl51G+dTc1vyrGdNVEDi01O8+
 Ee6zHO4V3L7zkbPp7078TgYnsvvgSzCcThosoOIX73S4cy7T8iNJTE+w6nggZFzP1delfkZ
 yBoAikmHlL82B2V3js/5Q==
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 15436
Cc: 15436 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

Hi Eli,
* Eli Zaretskii <eliz@HIDDEN> [2013-09-22; 22:07]:
>> From: Gregor Zattler <telegraph@HIDDEN>
>> 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




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#15436; Package emacs. Full text available.

Message received at 15436 <at> debbugs.gnu.org:


Received: (at 15436) by debbugs.gnu.org; 22 Sep 2013 20:07:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 22 16:07:27 2013
Received: from localhost ([127.0.0.1]:56290 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1VNpwF-0002fK-9n
	for submit <at> debbugs.gnu.org; Sun, 22 Sep 2013 16:07:27 -0400
Received: from mtaout23.012.net.il ([80.179.55.175]:37413)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <eliz@HIDDEN>) id 1VNpwB-0002f0-R2
 for 15436 <at> debbugs.gnu.org; Sun, 22 Sep 2013 16:07:25 -0400
Received: from conversion-daemon.a-mtaout23.012.net.il by
 a-mtaout23.012.net.il (HyperSendmail v2007.08) id
 <0MTJ00B00M9PG100@HIDDEN> for 15436 <at> debbugs.gnu.org;
 Sun, 22 Sep 2013 23:07:17 +0300 (IDT)
Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il
 (HyperSendmail v2007.08) with ESMTPA id
 <0MTJ00B7QMK4G910@HIDDEN>;
 Sun, 22 Sep 2013 23:07:17 +0300 (IDT)
Date: Sun, 22 Sep 2013 23:07:26 +0300
From: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#15436: 24.3.50; reads ~/.mailcap only once
In-reply-to: <87r4cgmyhn.fsf@HIDDEN>
X-012-Sender: halo1@HIDDEN
To: Gregor Zattler <telegraph@HIDDEN>
Message-id: <83a9j4k4ch.fsf@HIDDEN>
References: <87r4cgmyhn.fsf@HIDDEN>
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 15436
Cc: 15436 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: Eli Zaretskii <eliz@HIDDEN>
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

> From: Gregor Zattler <telegraph@HIDDEN>
> 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"?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#15436; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 22 Sep 2013 19:46:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 22 15:46:19 2013
Received: from localhost ([127.0.0.1]:56261 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1VNpbn-0002BK-AD
	for submit <at> debbugs.gnu.org; Sun, 22 Sep 2013 15:46:19 -0400
Received: from eggs.gnu.org ([208.118.235.92]:49298)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <error4me@HIDDEN>) id 1VNpbl-0002B5-A3
 for submit <at> debbugs.gnu.org; Sun, 22 Sep 2013 15:46:17 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <error4me@HIDDEN>) id 1VNpbW-0003Qk-Ki
 for submit <at> debbugs.gnu.org; Sun, 22 Sep 2013 15:46:11 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:32850)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <error4me@HIDDEN>) id 1VNpbW-0003Qg-HY
 for submit <at> debbugs.gnu.org; Sun, 22 Sep 2013 15:46:02 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:50954)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <error4me@HIDDEN>) id 1VNpbP-0005t4-3r
 for bug-gnu-emacs@HIDDEN; Sun, 22 Sep 2013 15:46:02 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <error4me@HIDDEN>) id 1VNpbH-0003PT-RP
 for bug-gnu-emacs@HIDDEN; Sun, 22 Sep 2013 15:45:55 -0400
Received: from mout.gmx.net ([212.227.15.18]:51064)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <error4me@HIDDEN>) id 1VNpbH-0003PL-HY
 for bug-gnu-emacs@HIDDEN; Sun, 22 Sep 2013 15:45:47 -0400
Received: from boo.workgroup ([87.187.184.116]) by mail.gmx.com (mrgmx101)
 with ESMTPSA (Nemesis) id 0MP0LT-1VHX0o15Ox-006MFC for
 <bug-gnu-emacs@HIDDEN>; Sun, 22 Sep 2013 21:45:45 +0200
Received: from grfz by boo.workgroup with local (Exim 4.80)
 (envelope-from <error4me@HIDDEN>)
 id 1VNpbA-0005vG-Ea; Sun, 22 Sep 2013 21:45:40 +0200
From: Gregor Zattler <telegraph@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 24.3.50; reads ~/.mailcap only once
Date: Sun, 22 Sep 2013 21:45:40 +0200
Message-ID: <87r4cgmyhn.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K0:JqZnug8hllLXa6rOGJxqd4Q7sS3YAVK5MCa8OR3/FxUO2jbZj20
 8vwwv/qhnhJrwOdI0BN4SYhkX40fSQR8fPVY6VAV7yHX+Hs8BWwIMcn+0E3+BJcd/Qot7ni
 34weEf3ZZtOAwAv0+00HCtwGwhrJO0EiEEOG0jPozBaW6QD/OdjhC59bH4ZY9WHf3Akqzyl
 b/YjSl9I6CMXqvg2yYFBg==
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic]
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.1 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.1 (----)

Dear Emacs Developers, 

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.

Thanks for your attention, Gregor




Acknowledgement sent to Gregor Zattler <telegraph@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#15436; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.