bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#32504: [PATCH] syntax-is-{comment|string}-p


From: Andreas Röhler
Subject: bug#32504: [PATCH] syntax-is-{comment|string}-p
Date: Sun, 26 Aug 2018 08:33:38 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

On 24.08.2018 21:49, Alex Branham wrote:

On Fri 24 Aug 2018 at 14:28, Eli Zaretskii <eliz@gnu.org> wrote:

That could be because it isn't documented.  After all, that was your
reason for not knowing about it, right?

Yes, absolutely. I meant I'm ambivalent about its usefulness versus
syntax-is-comment/string-p, which seem more descriptive to me.




+1

Using here my home-made ar-in-comment-p, ar-in-string-p

But there is another thing, syntax-ppss-context isn't that convenient: it requires still a check for eq instead of simply delivering a boolean.

Andreas





reply via email to

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