unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Error happened to my Emacs when I configure the ECB for Emacs 21.4
@ 2007-05-15 15:51 mclos.lin
  2007-05-15 18:50 ` Lennart Borgman (gmail)
       [not found] ` <mailman.714.1179255523.32220.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 3+ messages in thread
From: mclos.lin @ 2007-05-15 15:51 UTC (permalink / raw)
  To: help-gnu-emacs

Does anybody let me know what happened to my Emacs? I run the Emacs
under OpenBSD 4.1. The Emacs' version is 21.4

My emacs for ECB configuration is following:

;; Configure ECB
(add-to-list 'load-path "~/.emacs.d/cedet-1.0pre3/eieio/")
(add-to-list 'load-path "~/.emacs.d/cedet-1.0pre3/semantic/")
(setq semantic-load-turn-everything-on t)
(setq semantic-idle-scheduler-idle-time 432000)
(add-to-list 'load-path "~/.emacs.d/cedet-1.0pre3/speedbar/")
(add-to-list 'load-path "~/.emacs.d/ecb-2.32")
(require 'ecb)
(require 'ecb-autoloads)


The debug message:

Debugger entered--Lisp error: (void-function case)
  (case system-type (cygwin32 (quote cygwin)) (windows-nt
(if ... ... ...)) (otherwise (quote other)))
  (cons (if (fboundp ...) (executable-find "wget") "wget") (case
system-type (cygwin32 ...) (windows-nt ...) (otherwise ...)))
  eval((cons (if (fboundp ...) (executable-find "wget") "wget") (case
system-type (cygwin32 ...) (windows-nt ...) (otherwise ...))))
  custom-initialize-reset(ecb-wget-setup (cons (if (fboundp ...)
(executable-find "wget") "wget") (case system-type (cygwin32 ...)
(windows-nt ...) (otherwise ...))))
  custom-declare-variable(ecb-wget-setup (cons (if (fboundp ...)
(executable-find "wget") "wget") (case system-type (cygwin32 ...)
(windows-nt ...) (otherwise ...))) ("/home/lin_gx/.emacs.d/ecb-2.32/
ecb-upgrade.elc" . -42420) :group ecb-download :type (cons (file :tag
"wget binary" :value "wget") (choice :tag "Path type" :menu-tag "Path
type" (const :tag "Windows" :value windows) (const :tag
"Cygwin" :value cygwin) (const :tag "Other" :value other))))
  require(ecb-upgrade)
  byte-code("<binary code>" [current-load-list ecb-semantic-load-ok
ecb-eieio-load-ok ecb-speedbar-load-ok require ecb-upgrade ecb-util
G6536 (byte-code "<binary code>" [require semantic] 2) ((error)) G6537
(byte-code "<binary code>" [require eieio] 2) ((error)) G6538 (byte-
code "<binary code>" [require speedbar] 2) ((error))] 3)
  require(ecb)
  eval-buffer(#<buffer  *load*> nil "~/.emacs" nil t)
  load-with-code-conversion("/home/lin_gx/.emacs" "~/.emacs" t t)
  load("~/.emacs" t t)
  #[nil "<binary code>" [init-file-user system-type user-init-file-1
user-init-file source alt ms-dos "~" "/_emacs" windows-nt directory-
files nil "^\\.emacs\\(\\.elc?\\)?$" "~/.emacs" "~/_emacs" vax-vms "sys
$login:.emacs" "/.emacs" t load file-name-extension "elc" file-name-
sans-extension ".el" file-exists-p file-newer-than-file-p message
"Warning: %s is newer than %s" sit-for 1 "default" inhibit-default-
init inhibit-startup-message] 5]()
  command-line()
  normal-top-level()

What can I fix this issue?

Thank you very much for your help!

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

* Re: Error happened to my Emacs when I configure the ECB for Emacs 21.4
  2007-05-15 15:51 Error happened to my Emacs when I configure the ECB for Emacs 21.4 mclos.lin
@ 2007-05-15 18:50 ` Lennart Borgman (gmail)
       [not found] ` <mailman.714.1179255523.32220.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 3+ messages in thread
From: Lennart Borgman (gmail) @ 2007-05-15 18:50 UTC (permalink / raw)
  To: mclos.lin; +Cc: help-gnu-emacs

mclos.lin@gmail.com wrote:
> Does anybody let me know what happened to my Emacs? I run the Emacs
> under OpenBSD 4.1. The Emacs' version is 21.4
> 
> My emacs for ECB configuration is following:
> 
> ;; Configure ECB
> (add-to-list 'load-path "~/.emacs.d/cedet-1.0pre3/eieio/")
> (add-to-list 'load-path "~/.emacs.d/cedet-1.0pre3/semantic/")
> (setq semantic-load-turn-everything-on t)
> (setq semantic-idle-scheduler-idle-time 432000)
> (add-to-list 'load-path "~/.emacs.d/cedet-1.0pre3/speedbar/")
> (add-to-list 'load-path "~/.emacs.d/ecb-2.32")
> (require 'ecb)
> (require 'ecb-autoloads)
> 
> 
> The debug message:
> 
> Debugger entered--Lisp error: (void-function case)
>   (case system-type (cygwin32 (quote cygwin)) (windows-nt

Looks like there is a missing

   (eval-when-compile
     (require 'cl))

somewhere.

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

* Re: Error happened to my Emacs when I configure the ECB for Emacs 21.4
       [not found] ` <mailman.714.1179255523.32220.help-gnu-emacs@gnu.org>
@ 2007-05-16  5:34   ` mclos.lin
  0 siblings, 0 replies; 3+ messages in thread
From: mclos.lin @ 2007-05-16  5:34 UTC (permalink / raw)
  To: help-gnu-emacs

On May 15, 11:50 am, "Lennart Borgman (gmail)"
<lennart.borg...@gmail.com> wrote:
> mclos....@gmail.com wrote:
> > Does anybody let me know what happened to my Emacs? I run the Emacs
> > under OpenBSD 4.1. The Emacs' version is 21.4
>
> > My emacs for ECB configuration is following:
>
> > ;; Configure ECB
> > (add-to-list 'load-path "~/.emacs.d/cedet-1.0pre3/eieio/")
> > (add-to-list 'load-path "~/.emacs.d/cedet-1.0pre3/semantic/")
> > (setq semantic-load-turn-everything-on t)
> > (setq semantic-idle-scheduler-idle-time 432000)
> > (add-to-list 'load-path "~/.emacs.d/cedet-1.0pre3/speedbar/")
> > (add-to-list 'load-path "~/.emacs.d/ecb-2.32")
> > (require 'ecb)
> > (require 'ecb-autoloads)
>
> > The debug message:
>
> > Debugger entered--Lisp error: (void-function case)
> >   (case system-type (cygwin32 (quote cygwin)) (windows-nt
>
> Looks like there is a missing
>
>    (eval-when-compile
>      (require 'cl))
>
> somewhere.- Hide quoted text -
>
> - Show quoted text -

Is it said that I shouldn't compile the ECB?

BTW, would you mind to let me know where to put the (eval-whe-compile
(require 'cl)) in the *.el files?

Thank you

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

end of thread, other threads:[~2007-05-16  5:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-15 15:51 Error happened to my Emacs when I configure the ECB for Emacs 21.4 mclos.lin
2007-05-15 18:50 ` Lennart Borgman (gmail)
     [not found] ` <mailman.714.1179255523.32220.help-gnu-emacs@gnu.org>
2007-05-16  5:34   ` mclos.lin

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