Gnus development mailing list
 help / color / mirror / Atom feed
From: Robert Pluim <rpluim@gmail.com>
To: ding@gnus.org
Subject: latest change to mm-util.el causes failure
Date: Tue, 22 Mar 2011 18:02:00 +0100	[thread overview]
Message-ID: <pkny647m6lz.fsf@this.is.really.invalid> (raw)


This change:

    revno: 103715
    author: Julien Danjou <julien@danjou.info>
    committer: Katsumi Yamaoka <yamaoka@jpl.org>
    branch nick: trunk
    timestamp: Tue 2011-03-22 13:40:41 +0000
    message:
    mm-view.el (mm-display-inline-fontify): Make mode optional, and call normal-mode if not set. Set temp buffer unmodified to avoid kill-buffer query.
    (mm-inline-text): Render normal text with fontification whenever possible.
    gnus-sum.el (gnus-summary-save-parts-1):
    gnus-art.el (gnus-article-browse-html-save-cid-content)
    (gnus-article-browse-html-parts, gnus-mime-delete-part)
    (gnus-mime-copy-part, gnus-mime-inline-part, gnus-insert-mime-button):
    Use `mm-handle-filename'.
    mm-util.el (mm-handle-filename): New function, return the filename of an handle.

introduces 

(defun mm-handle-filename (handle)
  "Return filename of HANDLE if any."
  (or (mail-content-type-get (mm-handle-type handle)
                             'name)
      (mail-content-type-get (mm-handle-disposition handle)
                             'filename)))


But mm-handle-type is a macro, so I get:

Debugger entered--Lisp error: (invalid-function mm-handle-type)
  mm-handle-type((#<buffer  *mm*> ("text/html" (charset . "utf-8")) 8bit nil nil nil nil nil))
  mm-handle-filename((#<buffer  *mm*> ("text/html" (charset . "utf-8")) 8bit nil nil nil nil nil))

This is with the bzr head of the gnus that's part of Emacs. It's entirely
possible that the issue lies in the way Emacs is compiling gnus.

Robert






             reply	other threads:[~2011-03-22 17:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-22 17:02 Robert Pluim [this message]
2011-03-23 13:02 ` Leonidas Tsampros
2011-03-29 18:13 ` Lars Magne Ingebrigtsen
2011-03-29 18:20   ` Robert Pluim
2011-03-31  9:28     ` Olivier Sirven

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=pkny647m6lz.fsf@this.is.really.invalid \
    --to=rpluim@gmail.com \
    --cc=ding@gnus.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).