[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

inferior octave mode for emacs is unable to detect octave completion cap

From: Anselm Helbig
Subject: inferior octave mode for emacs is unable to detect octave completion capabilities
Date: Thu, 18 Aug 2005 13:27:58 +0200 (MET DST)
User-agent: SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/22.0.50 (alphaev67-dec-osfp4.0) MULE/5.0 (SAKAKI)

affected: octave-inf.el as shipped with octave-2.1.71

on line 232-233:

    (setq inferior-octave-complete-impossible 
          (not (string-match "5$" (car inferior-octave-output-list))))

should read

    (setq inferior-octave-complete-impossible 
          (not (string-match "5$" (cadr inferior-octave-output-list))))
because the car of inferior-octave-output-list is the command sent,
not the result which is to be tested, which is in the cdr. 

as a result there were problems when sending a region that contained
tabs from an octave file to the inferior octave. 


anselm helbig

Emacs  : GNU Emacs (alphaev67-dec-osfp4.0, X toolkit, Xaw3d scroll 
 of 2005-06-30 on helene.molgen.mpg.de
Package: Emacs version

current state:
 octave-auto-indent nil
 octave-auto-newline nil
 octave-blink-matching-block t
 octave-block-offset 2
 octave-comment-char 35
 octave-continuation-offset 4
 octave-continuation-string "\\"
 octave-mode-startup-message t
 octave-send-echo-input t
 octave-send-line-auto-forward t
 octave-send-show-buffer t

reply via email to

[Prev in Thread] Current Thread [Next in Thread]