From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Raffaele Ricciardi Newsgroups: gmane.emacs.help Subject: thing-at-point: inconsistent behaviour? Date: Wed, 15 Aug 2012 19:08:50 +0100 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1345054219 5462 80.91.229.3 (15 Aug 2012 18:10:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 15 Aug 2012 18:10:19 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 15 20:10:20 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T1i2q-0004BF-5K for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Aug 2012 20:10:16 +0200 Original-Received: from localhost ([::1]:36689 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1i2o-0004hR-Je for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Aug 2012 14:10:14 -0400 Original-Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 23 Original-X-Trace: individual.net 0A+uZjUOYvlOv+j0wJ+1EQMzxy/Z9JvC/bimtq18Diw6UamT1EUqc107W7ONfPsq9q Cancel-Lock: sha1:cPp70H1l0G0qPOdr3UOEK35F/Ko= User-Agent: Mozilla/5.0 (X11; Linux i686; rv:14.0) Gecko/20120713 Thunderbird/14.0 Original-Xref: usenet.stanford.edu gnu.emacs.help:193984 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:86352 Archived-At: Hello there, the documentation of `thing-at-point' states that such function returns "the thing around or next to point". This is not the case with either (thing-at-point 'symbol) or (thing-at-point 'sexp), for they both may return the thing before point. Try it with the following snippet (! symbolizes the point): A! (A)! On the contrary, (bounds-of-thing-at-point 'list) returns nil as expected in this snippet: (A)! Is this inconsistent behaviour or am I missing something? Tested on GNU Emacs 24.1 started with "emacs -Q". Thank you.