unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Anselm Helbig <anselm.helbig@gmx.de>
Subject: inferior octave mode for emacs is unable to detect octave completion capabilities
Date: Thu, 18 Aug 2005 13:27:58 +0200 (MET DST)	[thread overview]
Message-ID: <200508181127.NAA21702@helene.molgen.mpg.de> (raw)

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. 

regards,

anselm helbig


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

current state:
==============
(setq
 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	other threads:[~2005-08-18 11:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-18 11:27 Anselm Helbig [this message]
2005-08-24  7:30 ` inferior octave mode for emacs is unable to detect octave completion capabilities Kurt Hornik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200508181127.NAA21702@helene.molgen.mpg.de \
    --to=anselm.helbig@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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