Gnus development mailing list
 help / color / mirror / Atom feed
From: Simon Josefsson <jas@extundo.com>
Cc: ding@gnus.org
Subject: Re: (void-function popup-menu)
Date: Tue, 29 Apr 2003 18:16:21 +0200	[thread overview]
Message-ID: <iluk7dds2i2.fsf@latte.josefsson.org> (raw)
In-Reply-To: <8765oxwekd.oscillatively@boppy.dyndns.org> (Paul Stevenson's message of "Tue, 29 Apr 2003 15:42:10 +0100")

Paul Stevenson <paul@gleet.org.uk> writes:

> Signaling: (void-function popup-menu)
>   (popup-menu gnus-mime-button-menu nil prefix)
>   (let ((pos ...)) (select-window (posn-window pos)) (goto-char
>   (posn-point pos)) (gnus-article-check-buffer) (popup-menu
>   gnus-mime-button-menu nil prefix))

Did you byte compile gnus?  gnus-art.el contains:

(eval-when-compile
  (define-compiler-macro popup-menu (&whole form
					    menu &optional position prefix)
    (if (and (fboundp 'popup-menu)
	     (not (memq 'popup-menu (assoc "lmenu" load-history))))
	form
      ;; Gnus is probably running under Emacs 20.
      `(let* ((menu (cdr ,menu))
	      (response (x-popup-menu
			 t (list (car menu)
				 (cons "" (mapcar (lambda (c)
						    (cons (caddr c) (car c)))
						  (cdr menu)))))))
	 (if response
	     (call-interactively (nth 3 (assq response menu))))))))




  reply	other threads:[~2003-04-29 16:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-29 14:42 Paul Stevenson
2003-04-29 16:16 ` Simon Josefsson [this message]
2003-04-29 16:46   ` Paul Stevenson

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=iluk7dds2i2.fsf@latte.josefsson.org \
    --to=jas@extundo.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).