GNU bug report logs - #4030
forward-sexp parses character literal ?; as comment

Previous Next

Package: emacs;

Reported by: era+emacsbugs <at> iki.fi

Date: Tue, 4 Aug 2009 12:15:04 UTC

Severity: normal

Tags: wontfix

Found in version 23.1.50.1

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


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

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Andrew Hyatt <ahyatt <at> gmail.com>
Cc: martin rudalics <rudalics <at> gmx.at>, 4030 <at> debbugs.gnu.org,
 era+emacsbugs <at> iki.fi
Subject: Re: bug#4030: forward-sexp parses character literal ?; as comment
Date: Sat, 18 Jun 2016 00:31:39 -0400
> Does anyone have any further thoughts?  It wasn't clear to me from this
> discussion whether there was any consensus that this was actually a bug
> or not.

With the support for syntax-fontification "on-the-fly" within
forward-sexp, we could actually make forward-sexp handle those
cases correctly nowadays.

So we can either:
- make it work with a syntax-propertize-function.  Not sure it's worth
  the cost.
- deprecate ?; and friends, probably adding font-lock highlights to help
  spot the problematic cases, and maybe changing the Lisp reader code to
  warn about those things as well (with intention to remove support for
  them).
- keep on living with this occasional problem.


        Stefan




This bug report was last modified 8 years and 72 days ago.

Previous Next


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