From: "Drew Adams" <drew.adams@oracle.com>
To: "'martin rudalics'" <rudalics@gmx.at>, <3395@emacsbugs.donarmstrong.com>
Subject: bug#3395: 23.0.94; Remove colon after option etc. name
Date: Thu, 28 May 2009 08:34:26 -0700 [thread overview]
Message-ID: <E58F664245864E3DA6AC16382878DE84@us.oracle.com> (raw)
In-Reply-To: <4A1EAAAA.9030706@gmx.at>
> > 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.
There is no need to envisage complicated fixes that in any case do not address
the inconvenience I raised. That is not the point of this bug report. Please
open a separate thread if you want to propose such a thing.
I specifically went to the trouble of speaking in generic terms, talking about
"a command that picks up the symbol at point", without referring to any specific
such command, such as `variable-at-point'.
The fix I mentioned lets you use any command at all that picks up symbol syntax
here. A change to `variable-at-point' is not what I'm asking for - that will not
affect other commands that (already DTRT) pick up a symbol name at or near
point.
Simply removing the colon solves the problem, and it has absolutely no negative
effect. Besides being bothersome here, the colon is 100% useless.
next prev parent reply other threads:[~2009-05-28 15:34 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
2009-05-28 15:34 ` Drew Adams [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E58F664245864E3DA6AC16382878DE84@us.oracle.com \
--to=drew.adams@oracle.com \
--cc=3395@emacsbugs.donarmstrong.com \
--cc=rudalics@gmx.at \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.