bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#11796: 24.1; message-mode and mailcap-add


From: harven
Subject: bug#11796: 24.1; message-mode and mailcap-add
Date: Wed, 27 Jun 2012 17:22:31 +0200

I have just built emacs 24.1 from the sources on the fsf website and
there is an option from my emacs23 init file that doesn't work anymore.
Here is the recipe.

Starting from emacs -Q,
type and execute the following in the *scratch* buffer.

(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
and the *mail* buffer does not appear.

Under emacs23, no error is reported and the *mail* buffer appears as 
expected. Is there some way to get this behavior back ? 

Sincerely,
Harven.


In GNU Emacs 24.1.1 (i686-pc-linux-gnu, GTK+ Version 2.20.1)
 of 2012-06-27 on ergodik
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: fr_FR.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  show-paren-mode: t
  display-time-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  temp-buffer-resize-mode: t
  column-number-mode: t
  line-number-mode: t

Recent input:
M-t r e p o r t - b u f DEL DEL DEL <tab> <return>

Recent messages:
Loading quail/latin-post...done
Enriched: decoding document...
Indenting...
Parsing /home/yves/.mailrc... done
For information about GNU Emacs and the GNU system, type C-h C-a.

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 gmm-utils
mailheader sendmail regexp-opt rfc2047 rfc2045 ietf-drums mm-util
mail-prsvr mail-utils ps-mule ps-print ps-def lpr mailabbrev disp-table
enriched paren webjump browse-url slime-autoloads edmacro kmacro quail
help-mode easymenu view windmove uniquify advice help-fns advice-preload
time server time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel
x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page
menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core frame cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs
button faces cus-face files text-properties overlay sha1 md5 base64
format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process dbusbind dynamic-setting
system-font-setting font-render-setting move-toolbar gtk x-toolkit x
multi-tty emacs)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]