From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.help Subject: Re: (bounds-of-thing-at-point =?utf-8?Q?'?= =?utf-8?B?bnVtYmVyKSDih5I=?= nil Date: Fri, 4 Feb 2022 14:20:47 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="22suEXXdvNOKQdAd" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22002"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Feb 04 14:35:44 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nFykZ-0005Ue-OK for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 04 Feb 2022 14:35:43 +0100 Original-Received: from localhost ([::1]:57162 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nFykY-0000jw-Lp for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 04 Feb 2022 08:35:42 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:53434) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFyWP-0002li-CV for help-gnu-emacs@gnu.org; Fri, 04 Feb 2022 08:21:05 -0500 Original-Received: from mail.tuxteam.de ([5.199.139.25]:51556) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFyWM-0005RD-Cg for help-gnu-emacs@gnu.org; Fri, 04 Feb 2022 08:21:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=From:In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:To:Date:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=oJzT0wDbp3LvyOSBDaZhx2L6yKdSy8sUsTNI3bcm1xU=; b=TVzf7/u3RWdEMZLYqrwrrsPAGP yEOAwHKihOy3r3u4tmjDRuqhZBq49Q8ZOZXyZdeyraLrBgIpokMND9JXYXOupisBX5CPyTFatd7Ys JKWiSMTc0K6PpiK+R6AdQ183J86+ZybYnVHDIiLDNOCqipRUiv1SSRyemGHM/wP/FAn1TUlpPBeCv 485QOMix3O+E21sP/IiypvzAuvtYV3+OInya+fj0RvySD0s41WbkbovacgLJ2Ta/3+Q9fA9NVdbnp XEVrsAw0b0s0vcwF86Pyl4Qp6rMGYGbxF8D7fycOSrWlaSAVaYy1XcN3mP3tR9pflOLJ0OLG37bEh 8RBRh/3g==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.94.2) (envelope-from ) id 1nFyW7-0002qL-SN for help-gnu-emacs@gnu.org; Fri, 04 Feb 2022 14:20:47 +0100 Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=5.199.139.25; envelope-from=tomas@tuxteam.de; helo=mail.tuxteam.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:135732 Archived-At: --22suEXXdvNOKQdAd Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 04, 2022 at 03:47:19PM +0300, Jean Louis wrote: >=20 > (require 'thingatpt) >=20 > 123=20 > ^ >=20 > when I place cursor there under number 2, and > evaluate (bounds-of-thing-at-point 'number) I get result nil. I > am expecting to get the bounds. >=20 > When I evaluate (thing-at-point 'number) then I get see result being 123.= =20 Note that number isn't among the things mentioned in the function doc of `bounds-of-thing-at-point'. It is, however in that of `thing-at-point'. So the behaviour you describe is surprising, but it is documented :) Perhaps both functions might want to get reconciled with each others. But perhaps there is a deeper reason their "things" lists differ. Cheers --=20 t --22suEXXdvNOKQdAd Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCYf0oHgAKCRAFyCz1etHa RmdPAJ9JhDg5mloCuEGxDvAQR0H5YJgOnACfXsunkYtLX+17/9i0B97tHYcCAhM= =6tiO -----END PGP SIGNATURE----- --22suEXXdvNOKQdAd--