From: npostavs@users.sourceforge.net
To: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
Cc: 25517@debbugs.gnu.org
Subject: bug#25517: 25.1.91; print-format specifier mistaken as comment
Date: Tue, 24 Jan 2017 08:19:02 -0500 [thread overview]
Message-ID: <87vat4tx2x.fsf@users.sourceforge.net> (raw)
In-Reply-To: <e3f68ac5-17cd-843c-26bd-3f0c1beedada@easy-emacs.de> ("Andreas \=\?utf-8\?Q\?R\=C3\=B6hler\=22's\?\= message of "Tue, 24 Jan 2017 11:36:24 +0100")
Andreas Röhler <andreas.roehler@easy-emacs.de> writes:
> See also png attached
>
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].
[1]:
https://www.gnu.org/software/octave/doc/interpreter/String-Objects.html
Does this fix it?
--- i/lisp/progmodes/octave.el
+++ w/lisp/progmodes/octave.el
@@ -165,7 +165,7 @@ octave-mode-syntax-table
(modify-syntax-entry ?| "." table)
(modify-syntax-entry ?! "." table)
(modify-syntax-entry ?\\ "." table)
- (modify-syntax-entry ?\' "." table)
+ (modify-syntax-entry ?\' "\"" table)
(modify-syntax-entry ?\` "." table)
(modify-syntax-entry ?. "." table)
(modify-syntax-entry ?\" "\"" table)
next prev parent reply other threads:[~2017-01-24 13:19 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-24 10:36 bug#25517: 25.1.91; print-format specifier mistaken as comment Andreas Röhler
2017-01-24 13:19 ` npostavs [this message]
2017-01-24 15:35 ` Andreas Röhler
2017-01-24 15:41 ` Noam Postavsky
2017-01-24 16:10 ` Andreas Röhler
2017-01-24 22:49 ` npostavs
2017-01-25 8:41 ` Andreas Röhler
2017-01-25 16:13 ` Noam Postavsky
2020-08-24 15:34 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87vat4tx2x.fsf@users.sourceforge.net \
--to=npostavs@users.sourceforge.net \
--cc=25517@debbugs.gnu.org \
--cc=andreas.roehler@easy-emacs.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.