From: Dmitry Gutov <dmitry@gutov.dev>
To: Christophe TROESTLER <Christophe.TROESTLER@umons.ac.be>,
"emacs-devel@gnu.org" <emacs-devel@gnu.org>
Subject: Re: rust-ts-mode: appropriately fontify doc strings
Date: Fri, 1 Dec 2023 02:50:44 +0200 [thread overview]
Message-ID: <a608d305-4a77-f1a8-6253-28a65e376507@gutov.dev> (raw)
In-Reply-To: <8734wotac6.fsf@poincare.umons.ac.be>
On 30/11/2023 01:21, Christophe TROESTLER wrote:
> + (prefix (buffer-substring-no-properties beg (min (+ beg 3) end)))
> + (face (if (string-equal "///" prefix)
It'll probably be faster overall to use save-excursion and looking-at
instead of creating a substring.
next prev parent reply other threads:[~2023-12-01 0:50 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-29 23:21 rust-ts-mode: appropriately fontify doc strings Christophe TROESTLER
2023-12-01 0:50 ` Dmitry Gutov [this message]
2023-12-01 8:25 ` Christophe TROESTLER
2023-12-01 21:38 ` Christophe TROESTLER
2023-12-01 23:58 ` Dmitry Gutov
2023-12-02 0:59 ` Christophe TROESTLER
2023-12-02 3:41 ` Yuan Fu
2023-12-02 7:55 ` Eli Zaretskii
2023-12-02 10:40 ` Christophe TROESTLER
2023-12-02 17:04 ` Dmitry Gutov
2023-12-02 20:57 ` Christophe TROESTLER
2023-12-03 14:12 ` Dmitry Gutov
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=a608d305-4a77-f1a8-6253-28a65e376507@gutov.dev \
--to=dmitry@gutov.dev \
--cc=Christophe.TROESTLER@umons.ac.be \
--cc=emacs-devel@gnu.org \
/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.