GNU bug report logs - #32504
[PATCH] syntax-is-{comment|string}-p

Previous Next

Package: emacs;

Reported by: Alex Branham <alex.branham <at> gmail.com>

Date: Wed, 22 Aug 2018 20:20:02 UTC

Severity: wishlist

Tags: fixed, patch

Fixed in version 27.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #54 received at 32504 <at> debbugs.gnu.org (full text, mbox):

From: Leo Liu <sdl.web <at> gmail.com>
To: Noam Postavsky <npostavs <at> gmail.com>
Cc: Alex Branham <alex.branham <at> gmail.com>, 32504 <at> debbugs.gnu.org
Subject: Re: bug#32504: [PATCH] syntax-is-{comment|string}-p
Date: Thu, 11 Jul 2019 13:11:33 +0800
On 2019-07-08 20:05 -0400, Noam Postavsky wrote:
> Well, for me I just want to stop having to look up the docstring of
> parse-partial-sexp every damn time I see (nth X PPSS).  But I wouldn't
> be against having syntax-is-comment/string-p which take a position as
> well.

syntax-ppss-context looks better. It is there for a long time and I have
personally used it many times (13 times in one of my projects).
Introduce a new set seems overkill at this point.

BTW, please don't name functions combining -is- and -p. They sound odd.




This bug report was last modified 5 years and 314 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.