[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: symbol-at-point
From: |
Stefan Monnier |
Subject: |
Re: symbol-at-point |
Date: |
Thu, 26 Jul 2007 15:17:48 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) |
> Wouldn't it be more clean to write a separate (intern
> SYMBOL-at-point) function, if someone wants to do that?
I agree that symbol-at-point should return a string.
When I fixed symbol-at-point to work in non-elisp major modes, I preserved
this part of the behavior for no good reason.
But returning a symbol has the main disadvantage that you can't distinguish
the case where point is not on a symbol (w.g. it's looking at a semi-colon)
from the case where it's looking at the symbol "nil".
Stefan
- symbol-at-point, Andreas Röhler, 2007/07/26
- Re: symbol-at-point, Eli Zaretskii, 2007/07/26
- Re: symbol-at-point, Tassilo Horn, 2007/07/26
- Re: symbol-at-point,
Stefan Monnier <=
- RE: symbol-at-point, Drew Adams, 2007/07/26
- Re: symbol-at-point, Stefan Monnier, 2007/07/27
- RE: symbol-at-point, Drew Adams, 2007/07/27
- Re: symbol-at-point, Stefan Monnier, 2007/07/27
- RE: symbol-at-point, Drew Adams, 2007/07/27
- Re: symbol-at-point, Stefan Monnier, 2007/07/28