all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Gregor Zattler <telegraph@gmx.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 15436@debbugs.gnu.org
Subject: bug#15436: 24.3.50; reads ~/.mailcap only once
Date: Sun, 22 Sep 2013 22:41:34 +0200	[thread overview]
Message-ID: <87li2omvwh.fsf@boo.workgroup> (raw)
In-Reply-To: <83a9j4k4ch.fsf@gnu.org>

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





  reply	other threads:[~2013-09-22 20:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-22 19:45 bug#15436: 24.3.50; reads ~/.mailcap only once Gregor Zattler
2013-09-22 20:07 ` Eli Zaretskii
2013-09-22 20:41   ` Gregor Zattler [this message]
2014-10-25  8:38     ` Gregor Zattler
2020-08-05  7:05 ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87li2omvwh.fsf@boo.workgroup \
    --to=telegraph@gmx.net \
    --cc=15436@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.