[Top][All Lists]

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

Re: Icicles, Printing and Easy Menu

From: Herbert Euler
Subject: Re: Icicles, Printing and Easy Menu
Date: Wed, 01 Nov 2006 11:04:04 +0800

Herbert Euler wrote:
I reproduce the same problem with the following operations:

1. Start Emacs with either

   $ emacs -Q


   $ emacs -q

2. In the *scratch* window:

(require 'pp)
==> pp
(require 'printing)
==> printing
(pr-update-menus t)
==> Debugger entered--Lisp error: (wrong-type-argument listp 3)

So, there is clearly something wrong with Easy Menu.  I will
track this later.

The problem is in Printing. (require 'pp) is not needed at all. Only (require 'printing) and (pr-update-menus t) when Emacs is started with '-q' is sufficient to produce the error.

Guanpeng Xu

Well, I'm using Linux and Emacs

I couldn't reproduce the problem using the steps above.

But using the steps that Drew Adams wrote, I got the error too.
The steps are:

  1. create file foo.el with these contents:

  (defun define-foo-mode-map () ""
    (setq foo-mode-map (make-sparse-keymap))
    ;; Bind foo-find-file in foo-mode-map to whatever
    ;; whatever find-file is bound to globally.
    (substitute-key-definition 'find-file
                               foo-mode-map global-map))

  (define-minor-mode foo-mode "" (define-foo-mode-map))
  (defun foo-find-file (file &optional wild) "" (interactive))

  2. emacs -Q
  3. M-x load-file foo.el
  4. M-x foo-mode
  5. M-x load-file printing.el
  6. M-: (pr-update-menus t)

I have known what is wrong, and written to Drew Adams.  Thank you.

Guanpeng Xu

Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

reply via email to

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