unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Drew Adams <drew.adams@oracle.com>, 3395@emacsbugs.donarmstrong.com
Subject: bug#3395: 23.0.94; Remove colon after option etc. name
Date: Thu, 28 May 2009 17:15:54 +0200	[thread overview]
Message-ID: <4A1EAAAA.9030706@gmx.at> (raw)
In-Reply-To: <43B19EE291914BCFA51EC5AFA8C91ADB@us.oracle.com>

 > 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





  parent reply	other threads:[~2009-05-28 15:15 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-26 23:38 bug#3395: 23.0.94; Remove colon after option etc. name Drew Adams
2009-05-26 23:54 ` Drew Adams
2009-05-28 15:15 ` martin rudalics [this message]
2009-05-28 15:34   ` Drew Adams
2009-05-28 15:43     ` martin rudalics
2009-05-28 16:08       ` Drew Adams
2009-05-28 17:11         ` martin rudalics
2009-05-28 18:24           ` Drew Adams
2009-05-28 20:40             ` martin rudalics
2009-05-28 20:57               ` Drew Adams
2011-07-11 16:23 ` Lars Magne Ingebrigtsen
2011-07-11 16:53   ` Drew Adams
2011-07-11 17:04     ` Lars Magne Ingebrigtsen
2011-07-11 17:19       ` Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A1EAAAA.9030706@gmx.at \
    --to=rudalics@gmx.at \
    --cc=3395@emacsbugs.donarmstrong.com \
    --cc=drew.adams@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).