unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Vinicius Jose Latorre <viniciusjl@ig.com.br>
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: Re: Icicles, Printing and Easy Menu
Date: Wed, 01 Nov 2006 00:11:21 -0200	[thread overview]
Message-ID: <45480249.5040107@ig.com.br> (raw)
In-Reply-To: <BAY116-F25945B1830FA91B3BCF60BDAFA0@phx.gbl>

Herbert Euler wrote:
>> I reproduce the same problem with the following operations:
>>
>> 1. Start Emacs with either
>>
>>    $ emacs -Q
>>
>> or
>>
>>    $ 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.
>
> Regards,
> Guanpeng Xu

Well, I'm using Linux and Emacs 22.0.50.1.

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-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)


Regards,


Vinicius

  reply	other threads:[~2006-11-01  2:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-28  2:38 Icicles, Printing and Easy Menu Herbert Euler
2006-10-28 18:14 ` Richard Stallman
2006-10-28 19:45   ` Drew Adams
2006-10-30  7:38   ` Herbert Euler
2006-10-30  7:46     ` Herbert Euler
2006-11-01  2:11       ` Vinicius Jose Latorre [this message]
2006-11-01  3:04         ` Herbert Euler
2006-11-01  5:08           ` Vinicius Jose Latorre

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45480249.5040107@ig.com.br \
    --to=viniciusjl@ig.com.br \
    --cc=emacs-devel@gnu.org \
    --cc=rms@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).