emacs-pretest-bug
[Top][All Lists]
Advanced

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

dump-emacs not compatible with toolbar-mode


From: Bill Atkins
Subject: dump-emacs not compatible with toolbar-mode
Date: Sun, 7 Aug 2005 15:10:46 -0400

I normally use the (dump-emacs) function to dump an image of my CVS
Emacs with all of its libraries loaded.  I updated my CVS and rebuilt
Emacs a few days ago and since then dump-emacs has given me trouble
with toolbar-mode.  The dumped image runs fine in -nw mode, but when I
run it in X, I get an "Invalid image specification error".  Here is
the full backtrace:

Debugger entered--Lisp error: (error "Invalid image specification")
  image-mask-p((image :type xpm :file
"/usr/share/emacs/22.0.50/lisp/toolbar/new.xpm"))
  tool-bar-local-item-from-menu(find-file "new" (keymap) nil)
  apply(tool-bar-local-item-from-menu find-file "new" (keymap) nil nil)
  tool-bar-add-item-from-menu(find-file "new")
  tool-bar-setup()
  tool-bar-mode(1)
  command-line()
  normal-top-level()

Through the process of elimination, I found that this error goes away
as long as I don't load php-mode before dumping Emacs.  This is not a
big deal for me, since I do not code in PHP.

However, if I load "toolbar-mode.el" before dumping Emacs, I get this
error.  This suggests that the problem is not directly related to
php-mode, but is rather an issue in toolbar-mode.el

Other people seem to be experiencing this same issue.  The last two
paragraphs of http://www.emacswiki.org/cgi-bin/wiki/DumpingEmacs 
relate similar stories.

Is there a Bugzilla-type place for Emacs bugs, or is posting to this
mailing list the way to go?

-- 
Bill Atkins




reply via email to

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