GNU bug report logs - #3395
23.0.94; Remove colon after option etc. name

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Tue, 26 May 2009 23:45:03 UTC

Severity: minor

Tags: wontfix

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: Drew Adams <drew.adams <at> oracle.com>, 3395 <at> debbugs.gnu.org
Subject: bug#3395: 23.0.94; Remove colon after option etc. name
Date: Thu, 28 May 2009 17:15:54 +0200
> A colon is a symbol consituent. A command that picks up the symbol at
> point will conveniently pick up the variable etc. name, but it will
> also include the colon (assuming that it correctly respects Lisp
> symbol syntax), which is incorrect.

Maybe we should improve or expand the regexp of `variable-at-point'

      "\\`\\W*\\(.*?\\)\\W*\\'"

to strip _any_ symbol characters surrounding a word-bounded substring at
point.  Or add yet another condition with a laxer regexp.

martin



This bug report was last modified 13 years and 315 days ago.

Previous Next


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