From: Luca Capello <luca@pca.it>
To: 8330@debbugs.gnu.org
Subject: bug#8330: Undefined macros during compilation in mm-util
Date: Thu, 24 Mar 2011 17:09:46 +0100 [thread overview]
Message-ID: <87tyesfqk5.fsf@gismo.pca.it> (raw)
In-Reply-To: <jwvhbatafda.fsf@iro.umontreal.ca> (Stefan Monnier's message of "Wed, 23 Mar 2011 13:58:09 -0400")
[-- Attachment #1: Type: text/plain, Size: 4411 bytes --]
severity 8330 important
thanks
Hi there!
On Wed, 23 Mar 2011 18:58:09 +0100, Stefan Monnier wrote:
> 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.
Severity: to important given that this causes most of the email in Gnus
to not be available (latest Debian emacs-snapshot package, version
20110323-1), for example with a post on debian-devel@lists.d.o:
<http://lists.debian.org/msgid-search/%3c20110324144017.GD8136%40michelle1%3e>
=====
Debugger entered--Lisp error: (invalid-function mm-handle-type)
mm-handle-type((#<buffer *mm*<2>> ("text/plain" (charset . "iso-8859-1")) quoted-printable nil ("inline") nil nil nil))
mm-handle-filename((#<buffer *mm*<2>> ("text/plain" (charset . "iso-8859-1")) quoted-printable nil ("inline") nil nil nil))
mm-display-inline-fontify((#<buffer *mm*<2>> ("text/plain" (charset . "iso-8859-1")) quoted-printable nil ("inline") nil ni$
mm-inline-text((#<buffer *mm*<2>> ("text/plain" (charset . "iso-8859-1")) quoted-printable nil ("inline") nil nil nil))
mm-display-inline((#<buffer *mm*<2>> ("text/plain" (charset . "iso-8859-1")) quoted-printable nil ("inline") nil nil nil))
mm-display-part((#<buffer *mm*<2>> ("text/plain" (charset . "iso-8859-1")) quoted-printable nil ("inline") nil nil nil) t)
byte-code("^H\203^W^@\306^H\211A^P@ \"\203^@^@\307\300\310\"\210\202^@^@\n\211^[\205\"^@\311\312^K!!)\203/^@r\nq\210\f)\20$
gnus-mime-display-single((#<buffer *mm*<2>> ("text/plain" (charset . "iso-8859-1")) quoted-printable nil ("inline") nil nil$
gnus-mime-display-part((#<buffer *mm*<2>> ("text/plain" (charset . "iso-8859-1")) quoted-printable nil ("inline") nil nil n$
gnus-mime-display-security((#("multipart/signed" 0 16 (boundary "=_samba3-13102-1300977618-0001-2" protocol "application/pgp$
gnus-mime-display-part((#("multipart/signed" 0 16 (boundary "=_samba3-13102-1300977618-0001-2" protocol "application/pgp-sig$
gnus-display-mime()
gnus-article-prepare-display()
gnus-article-prepare(11517 nil)
gnus-summary-display-article(11517 nil)
gnus-summary-select-article(nil nil pseudo)
gnus-summary-scroll-up(1)
call-interactively(gnus-summary-scroll-up nil nil)
=====
FWIW, re-loading mm-util.el.gz (from Debian emacs-snapshot-el) solves it:
(load-file "/usr/share/emacs/24.0.50/lisp/gnus/mm-util.el.gz")
> Adding a (require 'mm-decode) seems to lead to a circular require loop,
> so I'm not sure what's the best fix.
I guess because mm-decode requires mm-bodies which requires mm-util...
Thx, bye,
Gismo / Luca
In GNU Emacs 24.0.50.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.3)
of 2011-03-23 on cigue, modified by Debian
(emacs-snapshot package, version 1:20110323-1)
configured using `configure '--build' 'x86_64-linux-gnu' '--host' 'x86_64-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/24.0.50/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.0.50/site-lisp:/usr/share/emacs/site-lisp' '--without-compress-info' '--with-x=yes' '--with-x-toolkit=gtk' '--with-imagemagick=yes' 'build_alias=x86_64-linux-gnu' 'host_alias=x86_64-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed' 'CPPFLAGS=''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: en_US.UTF-8
value of $LC_MONETARY: nil
value of $LC_NUMERIC: en_US.UTF-8
value of $LC_TIME: nil
value of $LANG: en_US.UTF-8
value of $XMODIFIERS: nil
locale-coding-system: utf-8-unix
default enable-multibyte-characters: t
Major mode: Summary
Minor modes in effect:
gpm-mouse-mode: t
display-battery-mode: t
display-time-mode: t
show-paren-mode: t
mouse-wheel-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
column-number-mode: t
line-number-mode: t
transient-mark-mode: t
[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]
next prev parent reply other threads:[~2011-03-24 16:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-23 17:58 bug#8330: Undefined macros during compilation in mm-util Stefan Monnier
2011-03-23 21:08 ` Lennart Borgman
2011-03-24 16:09 ` Luca Capello [this message]
[not found] ` <mailman.4.1300985451.20655.bug-gnu-emacs@gnu.org>
2011-03-25 18:45 ` Ted Zlatanov
2011-03-25 22:14 ` Ted Zlatanov
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=87tyesfqk5.fsf@gismo.pca.it \
--to=luca@pca.it \
--cc=8330@debbugs.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.