[scilab-Users] Help: emacs with scilab

Dean S. Messing deanm at sharplabs.com
Tue Oct 19 23:21:28 CEST 2010


On Tue, 19 Oct 2010 11:28:03 +0200, Sylvestre Ledru wrote:
> Le mardi 19 octobre 2010 à 02:02 -0700, Dean S. Messing a écrit :
> > I've been using emacs v21 with scilab for years.  Now I've upgraded my
> > system with v23 (and scilab-5 from scilab-4) and the scilab-shell won't
> > start.
> > 
> > I get     Waiting for scilab process ready...
> > 
> > and no scilab comes up. It just sits there.
> I saw a bug in Scilab 5 with this kind of symptoms. Does it happen also
> with Scilab 4 ?
> 
> I am asking in order to know if it is an emacs, scilab-mode or Scilab
> bug.


Ok, I built scilab-4.1.1 on Fedora 13 (with no problems :-).
The scilab.el mode of Emacs-23  behaves the same way.

I suspect the reason is buried somewhare in the following messages.  (I
byte-compiled the scilab.el w/in emacs-23 and it successfully completed,
but with this pile of warnings.)

I do hope someone w/in the Scilab community who knows how to program
in e-lisp and would be willing to get this valuable mode working again
will see if it is fixable.  I, personally, live in Emacs 98% of the time
and to _not_ be able to use Scilab in that mode is already VERY painful!

In case it helps: the mode seems to work for editing.  Key binding work
and the few editing functions I tried work.  It is just the scilab-shell
that hangs.  The run buffer get created but scilab never starts.

Regards,
Dean


#### Output of M-x byte-compile scilab.el ####


Compiling file /usr/share/emacs/site-lisp/scilab.el at Tue Oct 19 13:58:18 2010
scilab.el:205:1:Warning: !! The file uses old-style backquotes !!
This functionality has been obsolete for more than 10 years already
and will be removed soon.  See (elisp)Backquote in the manual.

In scilab-server-start:
scilab.el:280:39:Warning: reference to free variable `gnuserv-process'

In scilab-server-status:
scilab.el:326:33:Warning: reference to free variable `gnuserv-process'

In scilab-mode:
scilab.el:1520:21:Warning: `default-fill-column' is an obsolete variable (as
    of Emacs 23.2); use `fill-column' instead.
scilab.el:1523:27:Warning: assignment to free variable `which-func-format'
scilab.el:1571:7:Warning: reference to free variable
    `scilab-launch-automatically'

In scilab-valid-end-construct-p:
scilab.el:1693:16:Warning: error called with 0 arguments, but requires 1+

In scilab-ltype-empty:
scilab.el:2052:42:Warning: reference to free variable
    `scilab-shell-buffer-name'

In scilab-lattr-semantics:
scilab.el:2228:42:Warning: reference to free variable
    `scilab-shell-buffer-name'

In scilab-fill-paragraph:
scilab.el:3187:20:Warning: assignment to free variable `here'
scilab.el:3189:23:Warning: assignment to free variable `par-start'
scilab.el:3192:24:Warning: reference to free variable `par-start'
scilab.el:3193:25:Warning: reference to free variable `here'
scilab.el:3196:42:Warning: assignment to free variable `nocomment'
scilab.el:3196:52:Warning: reference to free variable `nocomment'
scilab.el:3196:52:Warning: `next-line' used from Lisp code
That command is designed for interactive use only

In scilab-find-scifunctions-list:
scilab.el:3355:30:Warning: reference to free variable
    `scilab-shell-initial-directory'

In scilab-complete-symbol:
scilab.el:3581:13:Warning: assignment to free variable
    `scilab-current-window-configuration'

In scilab-dynamic-list-completions:
scilab.el:3696:54:Warning: reference to free variable `allsyms'
scilab.el:3703:24:Warning: `save-excursion' defeated by `set-buffer'
scilab.el:3712:19:Warning: `mouse-choose-completion' is an obsolete function
    (as of Emacs 23.2); use `choose-completion' instead.

In scilab-mode-vf-quietafy-buffer:
scilab.el:4174:20:Warning: `beginning-of-buffer' used from Lisp code
That command is designed for interactive use only

In scilab-mode-hilit:
scilab.el:4192:16:Warning: assignment to free variable
    `hilit-mode-enable-list'
scilab.el:4193:16:Warning: assignment to free variable `hilit-background-mode'
scilab.el:4194:16:Warning: assignment to free variable `hilit-inhibit-hooks'
scilab.el:4195:16:Warning: assignment to free variable
    `hilit-inhibit-rebinding'

In scilab-shell-active-p:
scilab.el:4493:31:Warning: `save-excursion' defeated by `set-buffer'

In scilab-shell:
scilab.el:4617:18:Warning: assignment to free variable
    `scilab-system-uses-terminfo'
scilab.el:4629:8:Warning: reference to free variable
    `scilab-system-uses-terminfo'

In scilab-shell-versions:
scilab.el:4679:21:Warning: assignment to free variable `emacsname'
scilab.el:4679:74:Warning: assignment to free variable `client'
scilab.el:4679:74:Warning: reference to free variable `emacsname'
scilab.el:4679:48:Warning: reference to free variable `client'
scilab.el:4686:43:Warning: assignment to free variable `vv'
scilab.el:4680:10:Warning: assignment to free variable `p'
scilab.el:4681:5:Warning: reference to free variable `vv'

In scilab-shell-mode:
scilab.el:4785:10:Warning: assignment to free variable
    `scilab-shell-number-graphic-window'

In scilab-shell-frame-init:
scilab.el:4886:8:Warning: reference to free variable
    `scilab-shell-graphic-menu-title'
scilab.el:4888:57:Warning: reference to free variable
    `scilab-shell-number-graphic-window'
scilab.el:4893:6:Warning: assignment to free variable
    `scilab-shell-graphic-menu-title'

In gud-scilab-marker-filter:
scilab.el:5116:21:Warning: `string-to-int' is an obsolete function (as of
    Emacs 22.1); use `string-to-number' instead.

In scilab-output-to-temp-buffer:
scilab.el:5338:56:Warning: `save-excursion' defeated by `set-buffer'

In scilab-shell-describe-variable:
scilab.el:5377:18:Warning: `string-to-int' is an obsolete function (as of
    Emacs 22.1); use `string-to-number' instead.
scilab.el:5380:7:Warning: `string-to-int' is an obsolete function (as of Emacs
    22.1); use `string-to-number' instead.

In scilab-on-prompt-p:
scilab.el:5503:8:Warning: `save-excursion' defeated by `set-buffer'
scilab.el:5509:21:Warning: `previous-line' used from Lisp code
That command is designed for interactive use only

In scilab-shell-lisp2scilab:
scilab.el:5549:16:Warning: assignment to free variable `type-of-lispvar'
scilab.el:5550:16:Warning: reference to free variable `type-of-lispvar'
scilab.el:5553:42:Warning: reference to free variable `|'

In scilab-shell-collect-command-output:
scilab.el:5573:18:Warning: `save-excursion' defeated by `set-buffer'

In scilab-shell-run-region:
scilab.el:5793:14:Warning: `save-excursion' defeated by `set-buffer'

In scilab-shell-last-error:
scilab.el:5825:34:Warning: `string-to-int' is an obsolete function (as of
    Emacs 22.1); use `string-to-number' instead.

In scilab-shell-after-pause:
scilab.el:5844:34:Warning: `string-to-int' is an obsolete function (as of
    Emacs 22.1); use `string-to-number' instead.

In scilab-shell-help-mode:
scilab.el:6117:18:Warning: reference to free variable
    `scilab-shell-help-mode-menu'

In scilab-shell-topic-mode:
scilab.el:6172:18:Warning: reference to free variable
    `scilab-shell-topic-mode-menu'

In scilab-shell-topic-browser-create-contents:
scilab.el:6224:14:Warning: `insert-file' used from Lisp code
That command is designed for interactive use only
scilab.el:6229:20:Warning: `insert-file' used from Lisp code
That command is designed for interactive use only

In scilab-shell-topic-highlight-line:
scilab.el:6294:37:Warning: reference to free variable `mouse-grabbed-buffer'
scilab.el:6307:41:Warning: reference to free variable `mode-motion-extent'

In scilab-find-function-over-buffers:
scilab.el:6375:7:Warning: assignment to free variable `currbf'
scilab.el:6379:26:Warning: assignment to free variable `lst'
scilab.el:6379:39:Warning: assignment to free variable `success'
scilab.el:6378:7:Warning: assignment to free variable `flag'
scilab.el:6380:32:Warning: reference to free variable `lst'
scilab.el:6385:11:Warning: reference to free variable `success'
scilab.el:6381:35:Warning: assignment to free variable `bfn'
scilab.el:6396:42:Warning: reference to free variable `bfn'

In scilab-find-function-in-file:
scilab.el:6496:18:Warning: assignment to free variable `fun'
scilab.el:6499:22:Warning: reference to free variable `fun'

In scilab-find-library-function:
scilab.el:6520:11:Warning: assignment to free variable `pth'
scilab.el:6520:26:Warning: reference to free variable `pth'
scilab.el:6526:26:Warning: assignment to free variable `pthf'
scilab.el:6527:15:Warning: reference to free variable `pthf'
scilab.el:6547:31:Warning: assignment to free variable `buff'
scilab.el:6547:19:Warning: reference to free variable `buff'

In scilab-find-help-file:
scilab.el:6577:28:Warning: assignment to free variable `dirs'
scilab.el:6577:20:Warning: assignment to free variable `found'
scilab.el:6578:11:Warning: assignment to free variable `str'
scilab.el:6579:19:Warning: reference to free variable `found'
scilab.el:6580:13:Warning: reference to free variable `dirs'
scilab.el:6581:4:Warning: reference to free variable `str'

In end of data:
scilab.el:6981:1:Warning: the following functions are not known to be defined: start-itimer,
    gnuserv-running-p, gnuserv-shutdown, scilab-point-at-eol,
    scilab-point-at-bol, scilab-delete-overlay, scilab-cancel-timer,
    scilab-run-with-idle-timer, scilab-make-overlay,
    scilab-overlay-put, hilit-set-mode-patterns, delete-menu-item,
    set-extent-begin-glyph, make-extent, make-glyph, view-major-mode,
    event-buffer, event-point, mode-motion-ensure-extent-ok,
    detach-extent, set-extent-endpoints



More information about the users mailing list