GNU bug report logs - #12692
24.1; thing-at-point in temp buffer

Previous Next

Package: emacs;

Reported by: Jerome Truong <jerometruong <at> gmail.com>

Date: Sat, 20 Oct 2012 18:26:01 UTC

Severity: minor

Tags: notabug

Found in version 24.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: "Drew Adams" <drew.adams <at> oracle.com>
To: "'Jerome Truong'" <jerometruong <at> gmail.com>, <12692 <at> debbugs.gnu.org>
Subject: bug#12692: 24.1; thing-at-point in temp buffer
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'.





This bug report was last modified 12 years and 212 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.