Subject: Re: bug#25517: 25.1.91; print-format specifier mistaken as comment

From: Lars Ingebrigtsen <[email-masked]>
Date: Mon, 24 Aug 2020 17:34:39 +0200

[email-masked] writes:

> It looks like the problem is that octave-mode-syntax-table sets single
> quotes as punctuation even though GNU Octave's manual says single quotes
> are string syntax [1].

[...]

> -    (modify-syntax-entry ?\' "."  table)
> +    (modify-syntax-entry ?\' "\""  table)

I tried M-x inferior-octave with the test case without and with the
patch, and the patch seems to fix the problem for me, so I've applied it
to Emacs 28.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no