emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: rust-ts-mode: appropriately fontify doc strings


From: Dmitry Gutov
Subject: Re: rust-ts-mode: appropriately fontify doc strings
Date: Sat, 2 Dec 2023 19:04:32 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0

On 02/12/2023 12:40, Christophe TROESTLER wrote:
On  2 December 2023 at 08:55 +01, Eli Zaretskii<eliz@gnu.org>  wrote:
[…] This seems to result in

     ELC      progmodes/rust-ts-mode.elc

   In rust-ts-mode--comment-docstring:
   progmodes/rust-ts-mode.el:290:61: Warning: Unused lexical argument `end'
Thanks for spotting this and sorry for it.  Here is an updated patch.

Thanks for the update, see commit a547b0e2e83 in emacs-29.

And I suppose for completeness, we should also support the "block" versions of the outer/inner docs? Like documented here:

https://doc.rust-lang.org/reference/comments.html

The description also mentions that

  ////

and

  /***

should be interpreted as "Only a comment", which will require a further more complex regexp. It's not urgent, this is just where googling led me to.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]