Kevin,
sorry that I can't give you much joy, but also I have
a problem with jde-sort-imports, however my problem
appears to be different to yours.
When I type: Alt-x jde-sort-imports, I get the
following message:
Wrong number of arguments: (lambda (&optional \
checkcache) "Bovinate the entire current buffer.\
If the optional argument CHECKCACHE is non-nil, then \
flush the cache iff
there has been a size change." (if (and \
semantic-toplevel-bovine-cache checkcache \
semantic-toplevel-bovine-cache-check) (semantic-clear-toplevel-cache))
(prog1 (cond (semantic-toplevel-bovinate-override (funcall \
semantic-toplevel-bovinate-override checkcache)) \
((and semantic-toplevel-bovine-cache (car \
semantic-toplevel-bovine-cache)) (car \
semantic-toplevel-bovine-cache)) (t (let ((ss \
(semantic-flex (point-min) (point-max))) (res nil) \
(semantic-overlay-error-recovery-stack nil)) (if semantic-dump-parse
(semantic-dump-buffer-init)) (working-status-forms \
(buffer-name) "done" (setq res \
(semantic-bovinate-nonterminals ss (quote \
bovine-toplevel) semantic-flex-depth)) (working-status \
t)) (setq semantic-toplevel-bovine-cache (list \
(nreverse res) (point-max)) \
semantic-toplevel-bovine-cache-check nil) (add-hook \
(quote after-change-functions) (quote \
semantic-change-function) nil t) (run-hooks (quote \
semantic-after-toplevel-bovinate-hook)) (car \
semantic-toplevel-bovine-cache)))))), 3
regards,
James Sinnamon
-----Original Message-----
From: D'Elia, Kevin
To: 'JDE'
Sent: 11/16/00 3:59 AM
Subject: problems with jde-sort-imports
Hello,
I had sent this to the author, without any response, and was
wondering if anyone else has encountered this or has a solution. Thanks
in
advance to all who respond...
> I am having a problem which I think is being caused by this
function
> in jde-wiz.el. On line 151, you access the sort-fold-case variable.
This
> same variable is used by the lisp function 'sort-lines' in sort.el. I
am
> seeing the following behavior: jde-sort-imports works fine, but when
I
> try and sort lines using M-x sort-lines, I get the following error:
>
> Symbol's value as variable is void: sort-fold-case
>
> which is indeed the case, as C-h v sort-fold-case says. Can you help?
I
> do need, on occasion, to sort lines other than import statements, so
the
> lack of this functionality is a slight problem for me.
>
> Thanks, and if more information is needed, please let me know...