[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#46327: 28.0.50; octave-mode: transpose-quotes taken as string-quotes
From: |
Lars Ingebrigtsen |
Subject: |
bug#46327: 28.0.50; octave-mode: transpose-quotes taken as string-quotes |
Date: |
Thu, 16 Jun 2022 15:11:42 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Lars Ingebrigtsen <larsi@gnus.org> writes:
> "Basil L. Contovounesios" <contovob@tcd.ie> writes:
>
>> I'm new to Octave, so I could be wrong, but AFAIK single-quoted string
>> literals do not support line continuations. The only special construct
>> they may contain is '' which inserts a single '.
>
> Thanks; I guess that should make it possible to distinguish between the
> transpose operator and single-quoted strings (and the '' quoting sounds
> quite similar to how SQL quotes single quotes, so the code to handle
> that could be cribbed from sql.el).
Looking at this again, it seems like things work as they're supposed to.
I.e., this fontifies/indents correctly:
x = [2 2]'
foo = 'bar'
disp(x)
So I'm closing this bug report. (If I've missed something, please
respond to the debbugs address and we'll reopen.)
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#46327: 28.0.50; octave-mode: transpose-quotes taken as string-quotes,
Lars Ingebrigtsen <=