From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: bounds-of-thing-at-point for paragraphs Date: Sun, 1 Nov 2020 11:00:57 -0800 (PST) Message-ID: <5ce46139-e884-45f9-9332-772ec50e6340@default> References: <568cb7cf-928b-4c5a-af3f-fd0d3d13f55a@default> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13265"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Christopher Dimech , Help Gnu Emacs To: Jean Louis Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 01 20:01:54 2020 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 1kZIbx-0003Ih-DZ for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 01 Nov 2020 20:01:53 +0100 Original-Received: from localhost ([::1]:36950 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kZIbw-0000CT-Fl for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 01 Nov 2020 14:01:52 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39116) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kZIbC-0000C5-De for help-gnu-emacs@gnu.org; Sun, 01 Nov 2020 14:01:06 -0500 Original-Received: from aserp2130.oracle.com ([141.146.126.79]:50122) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kZIbA-0007SS-NI for help-gnu-emacs@gnu.org; Sun, 01 Nov 2020 14:01:06 -0500 Original-Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0A1Iue7Y017235; Sun, 1 Nov 2020 19:01:00 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=CrcbAILy4P9GIxkiRZA3Kpb4OFZeCxVbhNPdoCxxtss=; b=eKdZgwD9KPvbsQLIGfLX/tgaqyBAiMGgcD4WvxI4O+vkHogHvLV311yMV9Dk03q8QVFf /N/SBu+CBPxv525nevxANnIQKv14ficQ0SOUjAOix+tfqrB6k6ucf3z6N2bDGSfQxxAa /lyxghck+Ex8J0gaxIF7U9/7aIUwln9eUuuHmJWDQFmzwk6wNfZhoGawB17FkuIuEC3R PbTxV+C3kO+cj/bWahmEQbUM/R1ajW1c4gJCPtnXQAXazJy1Wr2Lrw0xEsB/vu9d82KX 2wVRvylpGfRDLnrRxha0YuDZXAl2mjPPWL22KXDYFKbStevGqTBThdGX+8VSEpbgIjjn PA== Original-Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by aserp2130.oracle.com with ESMTP id 34hhb1sbc4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Sun, 01 Nov 2020 19:01:00 +0000 Original-Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0A1J0Z1E099015; Sun, 1 Nov 2020 19:00:59 GMT Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userp3020.oracle.com with ESMTP id 34hw0apt1h-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 01 Nov 2020 19:00:59 +0000 Original-Received: from abhmp0008.oracle.com (abhmp0008.oracle.com [141.146.116.14]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 0A1J0wgq007132; Sun, 1 Nov 2020 19:00:58 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.5056.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9792 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 mlxlogscore=999 phishscore=0 bulkscore=0 spamscore=0 malwarescore=0 mlxscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2011010155 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9792 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 phishscore=0 suspectscore=0 clxscore=1015 mlxlogscore=999 impostorscore=0 malwarescore=0 lowpriorityscore=0 adultscore=0 spamscore=0 priorityscore=1501 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2011010154 Received-SPF: pass client-ip=141.146.126.79; envelope-from=drew.adams@oracle.com; helo=aserp2130.oracle.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/01 13:45:05 X-ACL-Warn: Detected OS = Linux 3.1-3.10 [fuzzy] X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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:124891 Archived-At: > > (bounds-of-thing-at-point 'paragraph) works fine. >=20 > It works fine, but documentation does not describe it: >=20 > bounds-of-thing-at-point is an autoloaded compiled Lisp function in > =E2=80=98thingatpt.el=E2=80=99. >=20 > (bounds-of-thing-at-point THING) >=20 > Determine the start and end buffer locations for the THING at point. > THING should be a symbol specifying a type of syntactic entity. > Possibilities include =E2=80=98symbol=E2=80=99, =E2=80=98list=E2=80=99,= =E2=80=98sexp=E2=80=99, =E2=80=98defun=E2=80=99, > =E2=80=98filename=E2=80=99, =E2=80=98url=E2=80=99, =E2=80=98email=E2=80= =99, =E2=80=98uuid=E2=80=99, =E2=80=98word=E2=80=99, =E2=80=98sentence=E2= =80=99, =E2=80=98whitespace=E2=80=99, > =E2=80=98line=E2=80=99, and =E2=80=98page=E2=80=99. >=20 > See the file =E2=80=98thingatpt.el=E2=80=99 for documentation on how to= define a > valid THING. >=20 > Return a cons cell (START . END) giving the start and end > positions of the thing found. Just read it more carefully. 1. "Possibilities include" ^^^^^^^ It doesn't say that those are the only possibilities. 2. It points you to "`thingatpt.el' for documentation on how to define a valid THING." IOW, for documentation what makes a THING defined for use by `thing-at-point'. > > (thing-at-point 'paragraph) also works fine. >=20 > Also there documentation is not describing it: >=20 > thing-at-point is an autoloaded compiled Lisp function in > =E2=80=98thingatpt.el=E2=80=99. >=20 > (thing-at-point THING &optional NO-PROPERTIES) >=20 > Probably introduced at or before Emacs version 20. >=20 > Return the THING at point. > THING should be a symbol specifying a type of syntactic entity. > Possibilities include =E2=80=98symbol=E2=80=99, =E2=80=98list=E2=80=99,= =E2=80=98sexp=E2=80=99, =E2=80=98defun=E2=80=99, > =E2=80=98filename=E2=80=99, =E2=80=98url=E2=80=99, =E2=80=98email=E2=80= =99, =E2=80=98uuid=E2=80=99, =E2=80=98word=E2=80=99, =E2=80=98sentence=E2= =80=99, =E2=80=98whitespace=E2=80=99, > =E2=80=98line=E2=80=99, =E2=80=98number=E2=80=99, and =E2=80=98page=E2= =80=99. See above. The word "include" doesn't mean the same thing as "include only" or "comprise". The list of THINGS mentioned isn't exhaustive. The English language includes the words "thing" and "point" (but it also includes a lot more words).