Subject: RE: bug#12692: 24.1; thing-at-point in temp buffer

From: "Drew Adams" <[email-masked]>
Date: Sat, 20 Oct 2012 11:35:18 -0700

> Why does the following return the whole string "this.is.an.example":
> (thing-at-point 'symbol)this.is.an.example
> but using a temp buffer only returns "this":

Sounds like `.' has `symbol' syntax in the first buffer you used (e.g., Emacs
Lisp mode), but not in the temp buffer.  The syntax of a char depends on the
current mode.  See (elisp)`Syntax Tables'.