Subject: bug#8330: closed (Re: bug#8339: 24.0.50; Gnus Lisp error: (invalid-function mm-handle-type))

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 29 Mar 2011 20:36:03 +0000

Your bug report

#8339: Undefined macros during compilation in mm-util

which was filed against the emacs,gnus package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
8339: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8339
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#8339: 24.0.50; Gnus Lisp error: (invalid-function mm-handle-type)
From: Lars Magne Ingebrigtsen <[email-masked]>
To: [email-masked]
Cc: [email-masked]
Date: Tue, 29 Mar 2011 22:35:02 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

This has been fixed by moving the functions around.

-- 
(domestic pets only, the antidote for overdose, milk.)
  [email-masked] * Lars Magne Ingebrigtsen

Subject: Undefined macros during compilation in mm-util
From: Stefan Monnier <[email-masked]>
To: [email-masked]
Date: Wed, 23 Mar 2011 13:58:09 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

Package: Emacs,Gnus
Version: 24.0.50

mm-til uses the mm-handle-type macro from mm-decode but doesn't require
mm-decode, so the macro call is compiled as a function call, leading to
runtime errors about invalid function.

Adding a (require 'mm-decode) seems to lead to a circular require loop,
so I'm not sure what's the best fix.

        Stefan

In GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2011-03-12 on pastel
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
configured using `configure  '--enable-maintainer-mode' 'CFLAGS=-Wall -Wno-pointer-sign -DUSE_LISP_UNION_TYPE -DSYNC_INPUT -DENABLE_CHECKING -DXASSERTS -DFONTSET_DEBUG -g -O1 -I/usr/include/GNUstep' '--with-x-toolkit=lucid''

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_CH.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Emacs-Lisp

Minor modes in effect:
  diff-auto-refine-mode: t
  outline-minor-mode: t
  flyspell-mode: t
  eldoc-mode: t
  checkdoc-minor-mode: t
  electric-pair-mode: t
  electric-indent-mode: t
  url-handler-mode: t
  global-reveal-mode: t
  reveal-mode: t
  auto-insert-mode: t
  savehist-mode: t
  minibuffer-electric-default-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
C-c @ C-a <down-mouse-5> <mouse-5> <down-mouse-5> <mouse-5> 
<down-mouse-5> <mouse-5> <down-mouse-1> <mouse-1> C-u 
M-x g r e p <return> <left> <left> <left> <left> * 
* / <return> <switch-frame> <switch-frame> <switch-frame> 
<switch-frame> <switch-frame> <switch-frame> C-x v 
l <switch-frame> <switch-frame> <switch-frame> <switch-frame> 
<switch-frame> <switch-frame> <switch-frame> <switch-frame> 
<switch-frame> <switch-frame> <switch-frame> <switch-frame> 
<switch-frame> <switch-frame> <switch-frame> <switch-frame> 
<switch-frame> <switch-frame> <switch-frame> <switch-frame> 
<switch-frame> <switch-frame> <switch-frame> <help-echo> 
<switch-frame> <switch-frame> <switch-frame> <switch-frame> 
<switch-frame> M-< <down> <down> <down> <down> C-e 
<return> ( e v a l - w h e n - c o m p <tab> ( r e 
q u i r e SPC ' ' <backspace> m m - d e c o d e C-e 
M-; F o r SPC v a r i o u s SPC m a c r o s . C-x C-s 
<switch-frame> <switch-frame> <select-window> <switch-frame> 
<switch-frame> <select-window> <switch-frame> <switch-frame> 
<switch-frame> <switch-frame> <select-window> <select-window> 
<select-window> <select-window> <select-window> <select-window> 
<select-window> <select-window> <select-window> <select-window> 
<select-window> <select-window> <select-window> <select-window> 
<select-window> <select-window> <select-window> <select-window> 
<select-window> <select-window> <select-window> <switch-frame> 
<switch-frame> <switch-frame> C-x v = <switch-frame> 
M-b <M-backspace> C-e <backspace> SPC l i k e SPC m 
m - h a n d l e - t y p e . C-a C-x C-s C-x v = <switch-frame> 
<switch-frame> <switch-frame> <switch-frame> <switch-frame> 
<switch-frame> <switch-frame> <switch-frame> <switch-frame> 
<switch-frame> <switch-frame> <switch-frame> <switch-frame> 
<switch-frame> <switch-frame> <switch-frame> <switch-frame> 
<switch-frame> <switch-frame> <switch-frame> <switch-frame> 
<switch-frame> <switch-frame> <switch-frame> <switch-frame> 
<switch-frame> <switch-frame> <switch-frame> <switch-frame> 
<switch-frame> <switch-frame> <switch-frame> <switch-frame> 
<switch-frame> <switch-frame> <switch-frame> <switch-frame> 
<down-mouse-1> <mouse-movement> <mouse-1> C-u C-x 5 
1 <up> <up> <up> M-x c d <return> <M-backspace> <M-backspace> 
<M-backspace> w o <tab> <return> <M-return> <select-window> 
<help-echo> C-x 1 <switch-frame> C-c C-a <switch-frame> 
C-x C-s <switch-frame> <switch-frame> <switch-frame> 
<switch-frame> <switch-frame> <switch-frame> <switch-frame> 
<switch-frame> <switch-frame> <switch-frame> M-x m 
m <backspace> <backspace> b u g - <M-backspace> r e 
p - e m - b u <tab> <return>

Recent messages:
Wrote /home/monnier/src/emacs/trunk/lisp/gnus/mm-util.el
Finding changes in /home/monnier/src/emacs/trunk/lisp/gnus/mm-util.el...done
Saving file /home/monnier/src/emacs/trunk/lisp/gnus/mm-util.el...
Wrote /home/monnier/src/emacs/trunk/lisp/gnus/mm-util.el
Finding changes in /home/monnier/src/emacs/trunk/lisp/gnus/mm-util.el...done
Hunk not yet applied
Hunk applied
diff-hunk-next: No next hunk
Saving file /home/monnier/src/emacs/work/lisp/gnus/mm-util.el...
Wrote /home/monnier/src/emacs/work/lisp/gnus/mm-util.el

Load-path shadows:
/usr/share/emacs23/site-lisp/bbdb/bbdb hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb
/usr/share/emacs23/site-lisp/bbdb/bbdb-mhe hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-mhe
/usr/share/emacs23/site-lisp/bbdb/bbdb-gnus hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-gnus
/usr/share/emacs23/site-lisp/bbdb/bbdb-migrate hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-migrate
/usr/share/emacs23/site-lisp/bbdb/bbdb-sc hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-sc
/usr/share/emacs23/site-lisp/bbdb/bbdb-snarf hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-snarf
/usr/share/emacs23/site-lisp/bbdb/bbdb-w3 hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-w3
/usr/share/emacs23/site-lisp/bbdb/bbdb-gui hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-gui
/usr/share/emacs23/site-lisp/bbdb/bbdb-print hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-print
/usr/share/emacs23/site-lisp/bbdb/bbdb-rmail hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-rmail
/usr/share/emacs23/site-lisp/bbdb/bbdb-vm hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-vm
/usr/share/emacs23/site-lisp/bbdb/bbdb-ftp hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-ftp
/usr/share/emacs23/site-lisp/bbdb/bbdb-merge hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-merge
/usr/share/emacs23/site-lisp/bbdb/bbdb-whois hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-whois
/usr/share/emacs23/site-lisp/bbdb/bbdb-com hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-com
/usr/share/emacs23/site-lisp/bbdb/bbdb-hooks hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-hooks

Features:
(mail-extr message sendmail format-spec rfc822 mml mml-sec mm-decode
mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums
mailabbrev mail-utils mailheader emacsbug url-util log-view cl-specs
etags informat info texinfo vc-annotate sh-script smie ediff-merg
ediff-diff ediff-wind ediff-help ediff-util ediff-mult ediff-init ediff
dabbrev make-mode grep compile hideif cpp cmacexp log-edit pcvs-util
cc-mode cc-fonts cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars
cc-defs add-log vc-sccs vc-svn vc-cvs vc-rcs vc-dir skeleton nxml-uchnm
rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri
rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns
nxml-mode nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok
epa-file epa derived epg epg-config vc vc-dispatcher whitespace
smerge-mode diff-mode executable copyright xscheme trace testcover
scheme unsafep re-builder shadow inf-lisp ielm pp comint ring gmm-utils
ert find-func ewoc debug elp edebug cust-print cus-edit cus-start
cus-load wid-edit vc-bzr sha1 hex-util filecache multi-isearch sort mpc
server noutline outline easy-mmode flyspell ispell eldoc checkdoc
regexp-opt thingatpt help-mode easymenu view prog-mode electric
url-handlers url-parse auth-source warnings eieio byte-opt bytecomp
byte-compile cconv macroexp assoc gnus-util time-date password-cache
url-vars mm-util mail-prsvr reveal autoinsert uniquify advice help-fns
advice-preload savehist minibuf-eldef cl cl-loaddefs proof-site
proof-autoloads pg-vars bbdb-autoloads agda2 tooltip ediff-hook vc-hooks
lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe
lisp-mode register page newcomment menu-bar rfn-eshadow timer select
scroll-bar mouse jit-lock font-lock syntax 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
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 x-toolkit
x multi-tty emacs)