Subject: bug#15436: 24.3.50; reads ~/.mailcap only once

From: Gregor Zattler <[email-masked]>
Date: Sun, 22 Sep 2013 22:41:34 +0200

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