Klaus Zeitler | 4 Aug 2005 08:26
Picon
Favicon

ecb build failed with 'syntax error: `;' unexpected'


When I tried to build ecb under Solaris, I got 'syntax error: `;' unexpected'.
I had to change the following line in Makefile from:
	   for loadpath in ${LOADPATH}; do \
to:
	   for loadpath in "${LOADPATH}"; do \

Klaus

--

-- 
 ------------------------------------------
|  Klaus Zeitler      Lucent Technologies  |
|  Email:             kzeitler <at> lucent.com  |
 ------------------------------------------
---
A preposition is not a good thing to end a sentence with.

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
klaus.berndl | 4 Aug 2005 18:59
Picon

RE: Symbol's function definition is void: case

Hmm, no - require 'cl is not a good idea - see coding conventions of
GNU Emacs... Cl is only necessary during byte-compilation and for this
Ecb loads it...

Hmm, which (X)Emacs do you use??

Klaus Zeitler wrote:
> My first try to start ecb resulted in:
> cons: Symbol's function definition is void: case
> 
> I could easily fix that by loading cl. I'd suggest to add a (require
> 'cl) to ecb.el.
> 
> Klaus
> 
>>  Klaus Zeitler      Lucent Technologies  |
>>  Email:             kzeitler <at> lucent.com  |
>  ------------------------------------------
> ---
> The trouble with being punctual is that nobody's
> there to appreciate it.     -- Franklin P. Jones
> 
> 
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle
> Practices Agile & Plan-Driven Development * Managing Projects & Teams
> * Testing & QA Security * Process Improvement & Measurement *
> http://www.sqe.com/bsce5sf
> _______________________________________________ 
(Continue reading)

klaus.berndl | 4 Aug 2005 19:31
Picon

RE: emacs stalls for a long time while trying ecb-stealthy-updates

First of all you can switch off the stealthy updates...

I know this problem in general - the emacs-devel version has a new macro
`while-no-input' which could be used to enable ECB/Emacs to
interrupt each long-lasting operation by any key- or mouse-press.

But because this macro is not in the official-release ECB does not
currently use this macro - but maybe it would be worth the effort...

Ciao,
Klaus

Klaus Zeitler wrote:
> The following is probably more an emacs than an ecb problem.
> emacs seems to stall when I activate ecb and load a file.
> 
> gdb shows the following function and backtrace:
> 
> directory_files_internal (directory=16076323, full=3313665,
>     match=3313665, nosort=3313713, attrs=0, id_format=3313665)
>     at /vol/freeware/cvs/emacs/head/emacs/src/dired.c:226
> 226           if (dp == NULL && errno == EAGAIN)
> (gdb) p directory
> $1 = 16076323
> (gdb) pr
> "/vol/cld_scratch"
> 
> (gdb) xbacktrace
> "directory-files"
> "apply"
(Continue reading)

Klaus Zeitler | 5 Aug 2005 09:03
Picon
Favicon

Re: Symbol's function definition is void: case

>>>>> "Klaus" == klaus berndl <klaus.berndl <at> sdm.de> writes:
    Klaus> 
    Klaus> Hmm, no - require 'cl is not a good idea - see coding conventions
    Klaus> of GNU Emacs... Cl is only necessary during byte-compilation and
    Klaus> for this Ecb loads it...

yes, I know that and that's why I normally do not load this library.
But when I try to start ECB, the function 'case' is not defined.
I only had the following line in my .emacs.el:
(require 'ecb-autoloads "ecb-autoloads" 'no-error)
and when I call ecb-activate, emacs complains:
Symbol's function definition is void: case

I'd guess that you have cl (or some other package that defines 'case')
already loaded somehow when you start ECB.

    Klaus> Hmm, which (X)Emacs do you use??

Oops, sorry I forgot to mention that. I'm using CVS emacs.

Thanks

Klaus

--

-- 
 ------------------------------------------
|  Klaus Zeitler      Lucent Technologies  |
|  Email:             kzeitler <at> lucent.com  |
 ------------------------------------------
---
(Continue reading)

klaus.berndl | 5 Aug 2005 09:57
Picon

RE: Symbol's function definition is void: case

Ok, i will try it - maybe a bug which has not occured until now ...

Thanks!
Klaus

Klaus Zeitler wrote:
>>>>>> "Klaus" == klaus berndl <klaus.berndl <at> sdm.de> writes:
>     Klaus>
>     Klaus> Hmm, no - require 'cl is not a good idea - see coding
>     conventions Klaus> of GNU Emacs... Cl is only necessary during
>     byte-compilation and Klaus> for this Ecb loads it...
> 
> yes, I know that and that's why I normally do not load this library.
> But when I try to start ECB, the function 'case' is not defined.
> I only had the following line in my .emacs.el:
> (require 'ecb-autoloads "ecb-autoloads" 'no-error)
> and when I call ecb-activate, emacs complains:
> Symbol's function definition is void: case
> 
> I'd guess that you have cl (or some other package that defines 'case')
> already loaded somehow when you start ECB.
> 
>     Klaus> Hmm, which (X)Emacs do you use??
> 
> Oops, sorry I forgot to mention that. I'm using CVS emacs.
> 
> Thanks
> 
> Klaus
> 
(Continue reading)

Klaus Zeitler | 4 Aug 2005 15:53
Picon
Favicon

emacs stalls for a long time while trying ecb-stealthy-updates


The following is probably more an emacs than an ecb problem.
emacs seems to stall when I activate ecb and load a file.

gdb shows the following function and backtrace:

directory_files_internal (directory=16076323, full=3313665, match=3313665, 
    nosort=3313713, attrs=0, id_format=3313665)
    at /vol/freeware/cvs/emacs/head/emacs/src/dired.c:226
226           if (dp == NULL && errno == EAGAIN)
(gdb) p directory
$1 = 16076323
(gdb) pr
"/vol/cld_scratch"

(gdb) xbacktrace
"directory-files"
"apply"
"ecb-directory-files"
"ecb-check-emptyness-of-dir"
"ecb-stealthy-empty-dir-check"
"ecb-stealthy-updates"
"apply"
"byte-code"
"timer-event-handler"

The culprit BTW is a mount point to a VAX cluster that e.g. need 20 minutes
to respond to a ls command.

Unfortunately C-g doesn't work during stealthy update. But as I said above,
(Continue reading)

Klaus Zeitler | 4 Aug 2005 14:15
Picon
Favicon

Symbol's function definition is void: case

My first try to start ecb resulted in:
cons: Symbol's function definition is void: case

I could easily fix that by loading cl. I'd suggest to add a (require 'cl)
to ecb.el.

Klaus

--

-- 
 ------------------------------------------
|  Klaus Zeitler      Lucent Technologies  |
|  Email:             kzeitler <at> lucent.com  |
 ------------------------------------------
---
The trouble with being punctual is that nobody's
there to appreciate it.     -- Franklin P. Jones

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
klaus.berndl | 4 Aug 2005 10:25
Picon

RE: ecb build failed with 'syntax error: `;' unexpected'

Thanks, i will correct the Makefile!

Ciao,
Klaus

Klaus Zeitler wrote:
> When I tried to build ecb under Solaris, I got 'syntax error: `;'
> unexpected'. I had to change the following line in Makefile from:
> 	   for loadpath in ${LOADPATH}; do \
> to:
> 	   for loadpath in "${LOADPATH}"; do \
> 
> Klaus
> 
>>  Klaus Zeitler      Lucent Technologies  |
>>  Email:             kzeitler <at> lucent.com  |
>  ------------------------------------------
> ---
> A preposition is not a good thing to end a sentence with.
> 
> 
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle
> Practices Agile & Plan-Driven Development * Managing Projects & Teams
> * Testing & QA Security * Process Improvement & Measurement *
> http://www.sqe.com/bsce5sf
> _______________________________________________ 
> Ecb-list mailing list
> Ecb-list <at> lists.sourceforge.net
(Continue reading)

Nick Cross | 8 Aug 2005 09:34

Re: Symbol's function definition is void: case


I have just upgraded to the latest ecb (from 2.27) and have also seen 
this. I am using GNU Emacs 21.3.2 (i386-mandrake-linux-gnu, X toolkit, 
Xaw3d scroll bars) of 2005-02-16.

It only happens if I byte compile the ecb code. I have tried removing 
all of my other custom setups leaving only ecb on the offchance 
something else was affecting it but that didn't help. It makes no 
difference whether I use (require ecb) or require the autoloads (only 
withthe latter it happens as soon as I active ecb as opposed on 
startup). I managed to get this backtrace
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 ...))) 
("/var/sun18/users/rnc/emacs/Packages/ecb/ecb-upgrade.elc" . -42444) 
: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)
(Continue reading)

Nick Cross | 8 Aug 2005 14:21

dump-emacs


Hi,

I currently use the dump-emacs function to dump out what I use to
minimise loading times. It generally works extrememly well but for one
small thing - if I require ecb and dump out the new executable I loose
all images. I suspect its something to do with dump working only in
batch mode (i.e console) and ecb checking whether it can display images.
  If I don't include ecb in the dumped image or use the standard
initialisation all the images display fine.
I was wondering whether anyone had any insight into this, whether it
would be possible to work around it. I suppose I almost want to load all
of ecb but the icon determination code as that seems to be X dependant.

Thanks

Nick

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf

Gmane