GNU bug report logs - #36434
26.2; smie-rule-next-p needs smie--after to be defined

Previous Next

Package: emacs;

Reported by: Sam Halliday <sam.halliday <at> gmail.com>

Date: Sat, 29 Jun 2019 13:24:02 UTC

Severity: normal

Found in version 26.2

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: Sam Halliday <sam.halliday <at> gmail.com>, 36434 <at> debbugs.gnu.org
Subject: bug#36434: 26.2; smie-rule-next-p needs smie--after to be defined
Date: Tue, 22 Jun 2021 16:11:55 +0200
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

> Basically, I think this is a documentation bug: the smie-rule-*
> functions are meant to be used for the :after and :before cases, but not
> for :elem where there isn't necessarily such a clear "current token"
> (tho I think it would be good to be more careful and try to
> define such a "current token" when we can).

Looking at the smie-rules-function doc string, this doesn't seem to have
been added?  My understanding of smie is...   er...  let's be
charitable and call it "not funny encompassing", so I don't feel
qualified to take a stab at it.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 363 days ago.

Previous Next


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