>If you change the prompt for Octave, you'll need to modify the Emacs >variable inferior-octave-prompt.
I see. I should have realized that before... > The default definition is: > > (defcustom inferior-octave-prompt > "\\(^octave\\(-[.0-9]+\\)?\\(:[0-9]+\\)?\\|^debug\\|^\\)>+ " > "*Regexp to match prompts for the inferior Octave process." > :type 'regexp > :group 'octave-inferior) Hmm. Why not simply "^[^>]+>+ "? >Or perhaps we should arrange for the prompt to be set when the >Octave process is started by Emacs? Anyway, setting PS1 inside .octaverc is useless with run-octave, because PS1 is then reset to "octave> ". Mh. inferior-octave-startup does it. Why? > But that still would solve the >problem of people changing the prompt during a session. In principle, the inferior octave mode could detect this and adjust comint-prompt-regexp accordingly. Or just ignore this problem (as it currently does). -- Francesco Potort� (ricercatore) Voice: +39 050 315 3058 (op.2111) ISTI - Area della ricerca CNR Fax: +39 050 313 8091 via G. Moruzzi 1, I-56124 Pisa Email: [EMAIL PROTECTED] Web: http://fly.isti.cnr.it/ Key: fly.isti.cnr.it/public.key -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

