unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* tool-bar related errors when loading compile.el
@ 2008-10-06  5:20 Miles Bader
  2008-10-06  5:47 ` Dan Nicolaescu
  0 siblings, 1 reply; 6+ messages in thread
From: Miles Bader @ 2008-10-06  5:20 UTC (permalink / raw)
  To: emacs-devel

I get the appended backtrace when loading compile.el.  I don't use
tool-bars, and it looks like compile.el is doing tool-bar stuff, so
maybe the problem is caused by this change:

   2008-10-04  Dan Nicolaescu  <dann@ics.uci.edu>

           * faces.el (x-create-frame-with-faces): Only setup the toolbar if
           tool-bar-mode is on.

The command I used to get the backtrace was just:

   M-x load-library RET compile.el RET

Here's the backtrace:

   Debugger entered--Lisp error: (wrong-type-argument keymapp nil)
     signal(wrong-type-argument (keymapp nil))
     define-key-after(nil [previous-error-no-select] (menu-item "previous-error-no-select" previous-error-no-select :image (tool-bar-find-image (if ... ... ...)) :rtl "right-arrow" :help "Goto previous error"))
     tool-bar-local-item("left-arrow" previous-error-no-select previous-error-no-select nil :rtl "right-arrow" :help "Goto previous error")
     (let ((map ...) (help ...)) (tool-bar-local-item "left-arrow" (quote previous-error-no-select) (quote previous-error-no-select) map :rtl "right-arrow" :help "Goto previous error") (tool-bar-local-item "right-arrow" (quote next-error-no-select) (quote next-error-no-select) map :rtl "left-arrow" :help "Goto next error") (tool-bar-local-item "cancel" (quote kill-compilation) (quote kill-compilation) map :enable (quote ...) :help "Stop compilation") (tool-bar-local-item "refresh" (quote recompile) (quote recompile) map :help "Restart compilation") (append map help))
     (if (display-graphic-p) (let (... ...) (tool-bar-local-item "left-arrow" ... ... map :rtl "right-arrow" :help "Goto previous error") (tool-bar-local-item "right-arrow" ... ... map :rtl "left-arrow" :help "Goto next error") (tool-bar-local-item "cancel" ... ... map :enable ... :help "Stop compilation") (tool-bar-local-item "refresh" ... ... map :help "Restart compilation") (append map help)))
     (defvar compilation-mode-tool-bar-map (if (display-graphic-p) (let ... ... ... ... ... ...)))
     eval-buffer(#<buffer  *load*> nil "/usr/local/share/emacs/23.0.60/lisp/progmodes/compile.el" nil t)  ; Reading at buffer position 58656
     load-with-code-conversion("/usr/local/share/emacs/23.0.60/lisp/progmodes/compile.el" "/usr/local/share/emacs/23.0.60/lisp/progmodes/compile.el" nil nil)
     load("compile.el")
     load-library("compile.el")
     call-interactively(load-library t nil)
     execute-extended-command(nil)
     call-interactively(execute-extended-command nil nil)

Thanks,

-Miles

-- 
80% of success is just showing up.  --Woody Allen




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-10-06 10:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-06  5:20 tool-bar related errors when loading compile.el Miles Bader
2008-10-06  5:47 ` Dan Nicolaescu
2008-10-06  5:58   ` martin rudalics
2008-10-06  7:04     ` Dan Nicolaescu
2008-10-06  9:37       ` martin rudalics
2008-10-06 10:08         ` Dan Nicolaescu

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