From: Dmitry Gutov <dgutov@yandex.ru>
To: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
Cc: 15251@debbugs.gnu.org
Subject: bug#15251: 24.3.50; do-auto-fill "continues" comment from inside a string
Date: Fri, 04 Oct 2013 05:09:21 +0300 [thread overview]
Message-ID: <524E2351.6050902@yandex.ru> (raw)
In-Reply-To: <524C28CB.6040406@easy-emacs.de>
On 02.10.2013 17:08, Andreas Röhler wrote:
> Doesn't make sense for me. In which way is a string supposed to bear
> string-face, if syntax doesn't exist?
I'm just guessing, but syntax table may have syntax entries for string
delimiters, but not for comments (e.g. because their syntax is too weird
to be adequately expressed using existing syntax table classes), so
comments may be fontified via explicit font-lock-keywords entries.
Another option is, like Stefan mentioned, if font-lock-syntax-table is
defined, it's used for fontification, and it's very different from the
actual buffer syntax table.
> That's shooting into the dark IMHO.
That code is old. I'm pretty sure nobody would've written it if there
weren't any modes in the wild at the time that benefited from it.
next prev parent reply other threads:[~2013-10-04 2:09 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-03 1:26 bug#15251: 24.3.50; do-auto-fill "continues" comment from inside a string Dmitry Gutov
2013-09-29 3:59 ` Dmitry Gutov
2013-09-29 13:12 ` Andreas Röhler
2013-09-29 15:16 ` Dmitry Gutov
2013-09-30 18:27 ` Stefan Monnier
2013-10-01 1:18 ` Dmitry Gutov
2013-10-01 14:11 ` Stefan Monnier
2013-10-01 15:40 ` Dmitry Gutov
2013-10-02 0:32 ` Stefan Monnier
2013-10-02 0:50 ` Dmitry Gutov
2013-10-02 7:22 ` Andreas Röhler
2013-10-02 11:19 ` Dmitry Gutov
2013-10-02 12:24 ` Andreas Röhler
2013-10-02 12:25 ` Dmitry Gutov
2013-10-02 14:08 ` Andreas Röhler
2013-10-04 2:09 ` Dmitry Gutov [this message]
2013-09-30 18:26 ` Stefan Monnier
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=524E2351.6050902@yandex.ru \
--to=dgutov@yandex.ru \
--cc=15251@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.