emacs-bug-tracker
[Top][All Lists]
Advanced

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

[Emacs-bug-tracker] bug#6014: closed (processing of "'" inside Emacs oct


From: GNU bug Tracking System
Subject: [Emacs-bug-tracker] bug#6014: closed (processing of "'" inside Emacs octave-mode)
Date: Tue, 31 Aug 2010 13:12:01 +0000

Your message dated Tue, 31 Aug 2010 14:56:01 +0200
with message-id <address@hidden>
and subject line Re: bug#6014: processing of "'" inside Emacs octave-mode
has caused the GNU bug report #6014,
regarding processing of "'" inside Emacs octave-mode
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
6014: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6014
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: processing of "'" inside Emacs octave-mode Date: Fri, 23 Apr 2010 14:56:09 +0200 User-agent: Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4
Emacs  : GNU Emacs 23.1.1 (i486-pc-linux-gnu, GTK+ Version 2.18.3)
 of 2010-03-26 on palmer, modified by Debian
Package: Emacs version 23.1.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-send-echo-input t
 octave-send-line-auto-forward t
 octave-send-show-buffer t
 )

Hello,

I have to interchange programs with collegues working under
MatLab. This implies that I have to use the single quote as string
delimiter. I enclose a simple .m file where MatLab's editor smart
indent feature works OK, but octave-mode chokes on the seventh
line. It considers a brace is opened; this doesn't occur if I use a
double quote instead. Would it be possible to have the single and
double quote treated the same way ?

Regards

Pascal

--
Dr. ir. Pascal Dupuis, assistant de recherche / research assistant
U.C.Louvain EPL/ELEC/DICE :  http://www.dice.ucl.ac.be/
Batiment Maxwell; Place du Levant, 3; B-1348 Louvain-la-Neuve Belgium
Tel. +32-10-47 22 74; Fax +32-10-47 25 98

Attachment: mysimple.m
Description: Text Data


--- End Message ---
--- Begin Message --- Subject: Re: bug#6014: processing of "'" inside Emacs octave-mode Date: Tue, 31 Aug 2010 14:56:01 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)
> I have to interchange programs with collegues working under
> MatLab. This implies that I have to use the single quote as string
> delimiter. I enclose a simple .m file where MatLab's editor smart
> indent feature works OK, but octave-mode chokes on the seventh
> line. It considers a brace is opened; this doesn't occur if I use a
> double quote instead. Would it be possible to have the single and
> double quote treated the same way ?

The latest code in Emacs's trunk (slated for Emacs-24) handles your
example correctly.  Please try it (it also includes a complete rewrite
of the indentation and navigation code).


        Stefan


--- End Message ---

reply via email to

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