GNU bug report logs - #11796
24.1; message-mode and mailcap-add

Previous Next

Packages: gnus, emacs;

Reported by: harven <at> free.fr

Date: Wed, 27 Jun 2012 15:28:01 UTC

Severity: normal

Tags: notabug

Found in version 24.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #15 received at 11796 <at> debbugs.gnu.org (full text, mbox):

From: Reiner Steib <reinersteib+gmane <at> imap.cc>
To: harven <at> free.fr
Cc: 11796 <at> debbugs.gnu.org
Subject: Re: bug#11796: 24.1; message-mode and mailcap-add
Date: Sun, 01 Jul 2012 17:32:32 +0200
On Wed, Jun 27 2012, harven <at> free.fr wrote:

> (add-hook 'message-mode-hook (lambda ()
>     (mailcap-add "application/pdf" "gv --safer %s")))
>
> Then try sending a message with C-x m.
> This gives the following message:
> Symbol's function definition is void: mailcap-add

Beyond Glenn's suggestion, I doubt that `message-mode-hook' is
suitable for adding mailcap entries since mailcap is typically used
when displaying articles whereas Message mode is for composing it.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/




This bug report was last modified 13 years and 25 days ago.

Previous Next


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