all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* symbol-at-point
@ 2007-07-26  9:07 Andreas Röhler
  2007-07-26 12:20 ` symbol-at-point Eli Zaretskii
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Andreas Röhler @ 2007-07-26  9:07 UTC (permalink / raw)
  To: emacs-devel


AFAIU implementation of `symbol-at-point' is not
straightforward in relation with other thing at point
functions:

These return THING as a substring of buffer, doing
nothing else, whereas symbol-at-point interns existing
THING unconditionally

(defun symbol-at-point ()
  (let ((thing (thing-at-point 'symbol)))
    (if thing (intern thing))))

Wouldn't it be more clean to write a separate (intern
SYMBOL-at-point) function, if someone wants to do that?

Thanks

Andreas Roehler

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2007-07-28  4:01 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-26  9:07 symbol-at-point Andreas Röhler
2007-07-26 12:20 ` symbol-at-point Eli Zaretskii
2007-07-26 18:45   ` symbol-at-point Andreas Röhler
2007-07-26 19:06     ` symbol-at-point Eli Zaretskii
2007-07-26 15:37 ` symbol-at-point Tassilo Horn
2007-07-26 19:17 ` symbol-at-point Stefan Monnier
2007-07-26 20:31   ` symbol-at-point Drew Adams
2007-07-27  5:36     ` symbol-at-point Stefan Monnier
2007-07-27 16:24       ` symbol-at-point Drew Adams
2007-07-27 18:56         ` symbol-at-point Stefan Monnier
2007-07-27 23:22           ` symbol-at-point Drew Adams
2007-07-28  4:01             ` symbol-at-point Stefan Monnier

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.