GNU bug report logs - #25517
print-format specifier mistaken as comment in inferior-octave-mode

Previous Next

Package: emacs;

Reported by: Andreas Röhler <andreas.roehler <at> easy-emacs.de>

Date: Tue, 24 Jan 2017 10:27:01 UTC

Severity: minor

Found in versions 25.1.91, 28.0

Full log


Message #31 received at 25517 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: npostavs <at> users.sourceforge.net
Cc: Andreas Röhler <andreas.roehler <at> easy-emacs.de>,
 25517 <at> debbugs.gnu.org
Subject: Re: bug#25517: 25.1.91; print-format specifier mistaken as comment
Date: Mon, 24 Aug 2020 17:34:39 +0200
npostavs <at> users.sourceforge.net 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




This bug report was last modified 3 years and 7 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.