From unknown Sat Sep 20 15:43:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#54555: 28.0.91; number is not an accepted value for THING in bounds-of-thing-at-point Resent-From: Rodrigo Morales Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 24 Mar 2022 20:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54555 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 54555@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164815425926595 (code B ref -1); Thu, 24 Mar 2022 20:38:01 +0000 Received: (at submit) by debbugs.gnu.org; 24 Mar 2022 20:37:39 +0000 Received: from localhost ([127.0.0.1]:49532 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXUDD-0006ut-CA for submit@debbugs.gnu.org; Thu, 24 Mar 2022 16:37:39 -0400 Received: from lists.gnu.org ([209.51.188.17]:33108) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXUDA-0006ul-W5 for submit@debbugs.gnu.org; Thu, 24 Mar 2022 16:37:37 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33930) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nXUDA-0003UP-Po for bug-gnu-emacs@gnu.org; Thu, 24 Mar 2022 16:37:36 -0400 Received: from [2001:4860:4864:20::30] (port=38083 helo=mail-oa1-x30.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nXUD9-0004lW-B1 for bug-gnu-emacs@gnu.org; Thu, 24 Mar 2022 16:37:36 -0400 Received: by mail-oa1-x30.google.com with SMTP id 586e51a60fabf-dacc470e03so6115631fac.5 for ; Thu, 24 Mar 2022 13:37:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:mime-version; bh=j9BzUXJcLAIz4vdfVYrsZNKWNXMejOpAsLA+R8IurYw=; b=hp6RSP0hifAg4JLrGc+g7rVQKqf2AQyj7ttxuvth9EASLBSGktQzGh14VFJn9o0mdj fyimmp3NT4a0uwqRpq0CVO7Bfw3wlphI1ERh+8CSouxPnphgi0Xl0iObvlpqswc+o2TW NVuOb9Ko1QW+CDm1fA3bRP+Y3PweWbPjsjMJM+opTKj/UdMJg0GNbnKOPxOInesRW67B Vpm39agFmCB0qmI3Jy3VBhonol4Jk7QRGLcT0lu9EOXZm3wCURJc9h9MPpICHsHtb0aH fdf0UaRFbd7nwSGQxRoBnuWWcfMbZdNnQzKosKYBC5OuUIAplO0sH4PhcZerE/BFJTMR m8vQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=j9BzUXJcLAIz4vdfVYrsZNKWNXMejOpAsLA+R8IurYw=; b=1P3CAxZKqY24XvGdQXkZcqJ+luPcd2QIT829s0MH0ZKiE7lKG0+pCcJDPSaQwbZgU9 C2i6vCkGg78YMrHEKFF3lJM0GOPATGdlaZEQtnIzqI7sa2XhKvd+0dTihh7IT0ZaceKU gXjL4XFS9w9B833fri/IDizZc+/RMys+FpU0tU1PfpP+k4469b/IG2VZ+MFy3L5BEi0Y yK6Vg/MJLLeAfUYwU9CDzDvO7/4wqj5wvc1fRTkHr9/bsuEJK8zwepF2GFxEcGkZFHWU ldoFj07ezFiteYGhIgA4ciYIEdwnHRw+peAkegBqYyqTDeTZJ/JG2K25I3wa4I0t2JRy w42w== X-Gm-Message-State: AOAM530ZIWWYwBWxwW3pz1qo1oR43pKv3m/wcZZQOh+5nHnttwSPeWv4 IHE2BMoTzcRxNp+yOf6qJSW3d2j4sBHTjg== X-Google-Smtp-Source: ABdhPJxv7xwrP24vKeSfQma884eF9yojQHNN8VGSVwUyQrXwDHFgmlrrUzh2eXU3Lmr2fp71/2r1Zw== X-Received: by 2002:a05:6870:b6a6:b0:dd:999f:6596 with SMTP id cy38-20020a056870b6a600b000dd999f6596mr7546916oab.106.1648154254003; Thu, 24 Mar 2022 13:37:34 -0700 (PDT) Received: from r1 ([181.65.25.184]) by smtp.gmail.com with ESMTPSA id l14-20020a056820030e00b00320edaf9b8esm1633581ooe.44.2022.03.24.13.37.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Mar 2022 13:37:33 -0700 (PDT) From: Rodrigo Morales Date: Thu, 24 Mar 2022 15:32:51 -0500 Message-ID: <87wngjdrbg.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Host-Lookup-Failed: Reverse DNS lookup failed for 2001:4860:4864:20::30 (failed) Received-SPF: pass client-ip=2001:4860:4864:20::30; envelope-from=moralesrodrigo1100@gmail.com; helo=mail-oa1-x30.google.com X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.4 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.659, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.2 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Actions that triggered the bug 1. Start Emacs with the flag -Q: $ emacs -Q 2. Insert the number "123" in any buffer (preferably, the current one, "*scratch*") 3. Place the cursor on any digit in the number that was written in the p [...] Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (moralesrodrigo1100[at]gmail.com) 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (moralesrodrigo1100[at]gmail.com) 0.0 RCVD_IN_MSPIKE_H5 RBL: Excellent reputation (+5) [209.51.188.17 listed in wl.mailspike.net] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders -0.0 T_SCC_BODY_TEXT_LINE No description available. 1.5 SPOOFED_FREEMAIL No description available. 0.8 SPOOF_GMAIL_MID From Gmail but it doesn't seem to be... X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) Actions that triggered the bug 1. Start Emacs with the flag -Q: $ emacs -Q 2. Insert the number "123" in any buffer (preferably, the current one, "*scratch*") 3. Place the cursor on any digit in the number that was written in the previous step 5. Evaluate this sexp (bounds-of-thing-at-point 'number) in a number. Current result "nil" is returned Expected result The boundaries of the number should be returned. Additional information First, some context: The following sexp (thing-at-point 'number) is able to get the number at point. For example, when the cursor is on any digit of the following number: 123, that sexp returns "123". One might think that the following sexp (bounds-of-thing-at-point 'number) returns the boundaries of the number at point. However, this doesn't happen because "number" is not a recognized value for the THING parameter in the function bounds-of-thing-at-point although "number" is a recognized parameter in parameter with the same name THING in thing-at-point. Note that both thing-at-point and bounds-of-thing-at-point belong to the same package: thingatpt.el In GNU Emacs 28.0.91 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.31, cairo version 1.17.4) of 2022-02-09 built on r1 Repository revision: d193801f59822554d28e497da146d982f5ab7995 Repository branch: HEAD Windowing system distributor 'The X.Org Foundation', version 11.0.12101003 System Description: Arch Linux Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK3 ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Memory information: ((conses 16 2520424 464021) (symbols 48 74192 87) (strings 32 512469 221518) (string-bytes 1 17720034) (vectors 16 236556) (vector-slots 8 4539095 616527) (floats 8 9916 1150) (intervals 56 138426 14734) (buffers 992 140)) From unknown Sat Sep 20 15:43:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#54555: 28.0.91; number is not an accepted value for THING in bounds-of-thing-at-point Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 24 Mar 2022 21:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54555 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Rodrigo Morales , "54555@debbugs.gnu.org" <54555@debbugs.gnu.org> Received: via spool by 54555-submit@debbugs.gnu.org id=B54555.164815641030282 (code B ref 54555); Thu, 24 Mar 2022 21:14:02 +0000 Received: (at 54555) by debbugs.gnu.org; 24 Mar 2022 21:13:30 +0000 Received: from localhost ([127.0.0.1]:49557 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXUlu-0007sK-Dp for submit@debbugs.gnu.org; Thu, 24 Mar 2022 17:13:30 -0400 Received: from mx0b-00069f02.pphosted.com ([205.220.177.32]:51768) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXUlq-0007sA-Dw for 54555@debbugs.gnu.org; Thu, 24 Mar 2022 17:13:29 -0400 Received: from pps.filterd (m0246631.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 22OJCLd5031945; Thu, 24 Mar 2022 21:13:25 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2021-07-09; bh=Jso8uC7XZ1pTdHKEUQuTWsQ+EUURixAk/ndUWaQ1HGM=; b=YKnDv32U9KW9UYFUtmlpfi1mlgMaqqEpVBE0IzKHHmBDxohde5CPY1nqvD3jWZGDY2tA KpSz8tGhewKR6vPyYesMeLx+qrWJzrXBRc0HXn2v2EdNoA65sryJy68O/3kumum2h9IP 2IHMNNmA8GORfc7j1jJxv+um/0t85IfxEhQdcdnPDlvgb83q1n2SqcyCrkOEwn1y+qZG X94D0vF+ayDw1hjIiQZ6UDiFk/yame5nNnOp+m0FJ1YJEjUno/51m+TpYALhyNFQKjZD iUuO8En34/VMf81+vKgSc4TRZ38rkABH6ar9pCiasUrg1FzfryrIEhGXPa+uvDeP4+Gh pw== Received: from aserp3030.oracle.com ([141.146.126.71]) by mx0b-00069f02.pphosted.com with ESMTP id 3ew5y25uy0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 24 Mar 2022 21:13:25 +0000 Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.1.2/8.16.1.2) with SMTP id 22OLAOWr191629; Thu, 24 Mar 2022 21:13:24 GMT Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2168.outbound.protection.outlook.com [104.47.56.168]) by aserp3030.oracle.com with ESMTP id 3ew5791djm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 24 Mar 2022 21:13:24 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=l+XI9DcLLnLDhq5zW4abOPdtnvDKee/PpO3kc13oDVy0PL0T/zE2i8qmZC1bSH83coZgcRHs9mG0qGffcJzbi9mt61YBSJ+uL8WQkU3FbEsoiOJ3Z46p5WW3JsWHCXAcTTv/pa57gCw7PWWz0EE7shewmi/adzeDstENnw+CeEPG83mY7AES6Usy0fTCNFplb8RNYKuvFYpGZEqKbj/7SHoUvzFsxPE1sy77mqF9xzcwSnCTEP5EL1S0SjVVYo1HYv9o7T+i8logo2vQicDFZX0R4PbKYUrys0+2CIQQ/r5uE1d85djix9Tw2eFbqQZbEHDr32VzFtRE1zl+65luaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Jso8uC7XZ1pTdHKEUQuTWsQ+EUURixAk/ndUWaQ1HGM=; b=XL6SALDGn1kLRD8k6yavfDiALYo87UzwfTh879jrqD8rW2eoEXF1CLB3/SuvpCcYBBkO9nsL42HoTpSrRmGEDIW8o5RP4dqCdCvJB3VjxwQvE9mt/d1uwXD3RTdVM9eidEZQU9HxNK8PAbcysw6fgJIPPeBRkiAiuLNzmGkPId/8QntoXqf9AacEi2mUL7Z6sS2IxeYRb7Rf4m+8bHvfGVTqPHcdNfk9wSDdI5iTN4hZ8mMBWu8vY4JZHNLFgLA9wmzyHR35ZJGCUx1nTMnpW9gNHkON/lIbijIngmGttX3wZEpcEMhXSnsp7evTX82+PUa4wfVGJQ4HEPqaAnQX5w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Jso8uC7XZ1pTdHKEUQuTWsQ+EUURixAk/ndUWaQ1HGM=; b=BaKrYAqj98u4Y9jogPKQ5zV1XTZak5cbi+smw+4tWkBVjBSRMDyQsGiOjjhT6IQ7ly3P4+WOJOs4/q6cerCc9DqU/pSUJ7qvHdWY0L9xpecZKlCJ3vbfrjXn4iq4JnNO2hp9DuVufWxkAU9Q+Xx0wUyA+v5PlXrG2Rao988InW8= Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by DM6PR10MB3324.namprd10.prod.outlook.com (2603:10b6:5:1ad::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5102.16; Thu, 24 Mar 2022 21:13:22 +0000 Received: from SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::ec69:8077:89b0:4379]) by SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::ec69:8077:89b0:4379%6]) with mapi id 15.20.5102.016; Thu, 24 Mar 2022 21:13:22 +0000 From: Drew Adams Thread-Topic: [External] : bug#54555: 28.0.91; number is not an accepted value for THING in bounds-of-thing-at-point Thread-Index: AQHYP8CTLm2oLJ54w0qelUVK4iRqx6zPB3jw Date: Thu, 24 Mar 2022 21:13:22 +0000 Message-ID: References: <87wngjdrbg.fsf@gmail.com> In-Reply-To: <87wngjdrbg.fsf@gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 695a1547-bc40-482e-e50d-08da0ddb20c6 x-ms-traffictypediagnostic: DM6PR10MB3324:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: tYbnIjeZ9LBI2SPYU/YH+/pKauTFy20GSBPH3cEr3kSuGl2f2vvbDpuMdLLX5sPCMRFKn5FJslbllHZHGecNSkqWst28P5mBGr88nr7ArwKBxIQqlDs2jAEDdU/VP0DEEdcHIy8FzikKPFemX7dZ0PATbXFRv1J8Cugy/83Gjsk/VBIx+f3QNv31Zx6IaSdOiuUEhB2uwDpSJQ19SDuAbmeKRZ5w9vZRLbh1OUIEr3xXxt2ior14OVzlpzp2NUWxnJFY+xgK5r9Xcu4EXDfBxpDRrHX5qQlxrcMpUQKL4UPOwXeX05mGPe6l+u4B8fmMMwMtzee/id2H5GBxqLVOsEmQBtQer0uFPLV8uNkqQUfOkUWl5xENNdKV2Jzk6hau8QeXAue9Z98cBfPmLxeoKJYjdgb65Ub0DOiY5uWOUh4uf1VRkXcsHZtaPAfj6xN6z5k7iS4ZceZdhRF3hiqiYHqRd5VuawkRaudWsnG71dmGT7Y7YivurfjcXNyBzi4Md5B9nLSB6lo2Je9sO6W71mAH5/s3tccypA3HOyfzfASEpGxiNiRoFAbcjyG6oEo45z7oRVsFBabw+Mp8BW+knbdhPuahAClEER8CxKPiSbhotdZKwwDw48FnPMBNb5brZ1mszv/E4lKb43wDFgp984o/yvunKBDKwR634MkJcHaRc2tgiqgXYz/c+SitjWP3vdpsp3npsPh5loM/woIyWhtVBr/lQTFs0jCoHW3p3y8nXx6NBvEWfqa+4nuzOQCLhOwW5KDn0xdqrdBTJMkFhAxArcvFUeAugBakau4ZO+o= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR10MB5488.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(8936002)(44832011)(122000001)(71200400001)(52536014)(38070700005)(6506007)(5660300002)(4744005)(33656002)(66446008)(2906002)(966005)(38100700002)(66946007)(66556008)(8676002)(7696005)(9686003)(64756008)(76116006)(66476007)(86362001)(508600001)(55016003)(26005)(186003)(83380400001)(316002)(110136005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: fYlfXtkkay391Z1N00qz0Z3wVOa6u/USFDW/HLTOw8BxDWSWepnbnIOASixLZehlWjHC5CQLSXWIGEJkZvmKj7fT2b7cOc4RL8a2qH8rXtczWbg4yHSN/UpIjhh0wNfhOR/svqkGTy0ZN66gyjlnGhDwvD+1nqHXNCa2I68IL22+n9wM7u4ps+ggaR5BAVHHlicBVtUnKRPQLiAVQ4Wwm6rETeg7ZTEihWh0Jgk3lHjBSj9R/w7YTGoN5tEb3fpKnuEFIh49X/LD4wT9rC/OsVCPTECrWFadeT8Dim/BD26AEPahOU7aIF0B5BDRlm4sT10AxksR8YAuhqAoiK+FYNI94rljD5nO9+j/M0ROBWgd7FWnT27jbB8fRUQNH6T8G5DE74j0YXGVtT2ZV33989rJYyReDzmLrz+o1K3XYSR/Irg/M4q2cd+B4UqI5FZL8ik/H3lwQ1VT+IJc9Wp6FhLGRu1/OLDMM6Rkjhcs2ezDAJioW0ZJH7o6HL4V3X+IJVAROi/9Mc8sjHRKRFkt99fTWIlvNEDFwwbUQ2KwYFrZS9NOQn7S7VFqlOUgDPBRnrVlke32te7W8RsLzOcMg4xDAvgFDIHiSoOMscOYMpCyYOO0qQT55jzhi3XHCMX5HHDZ6fdvxZtNUPpYMISEGMPVtCS7geg8x1pl8K2jPbLgSHBPWfttpNUl96hEI7x6jQRiD+OQAR+zbPeM8deOdVYVsjYDrZv2c5sVPUlUcVaJsW7VbqexKLq6nP3ffnXCz5MAhQcIPeMNca9h/uXF/3za+HXGY7/dUI1ELmfldtqWx/7uB011wOYmDKMA87j4JYc5efyJn9Qx3S/pcTZIgR+1cjl4lf+uGUP1tEqxcz+inbNhJXBO2E5x8NXaA+utaH8Z96YAMqiJlTvK+mKNhQuDZoa62ksIYnOtJz5gOnmEXanQm3jzbJMAkivjQLL3NxUEUIeIzJ56jv2KcTAOhspNghnels0hgnkmhSLX3ZMmjxIeI6B3VIYQUnGWffOB8jWa7c6BkD89V0byRDFLMMlsY/NOU9HDlDDb16T1B7ZST8ONI30Zsz8yzeB8D9yFvzxZBpKPQTUOleXrlADGW9GGfMKh//6Yvo4Fq+ZcDgKGjFeDrNFvXtsjpRoo+VWyohSrJceIwZLRpA8egA1cxECem1aEtElwmYfKDhYeDqt6OkQymZOFyL9n5WzIdgAtNyh2zh71RpUyaOs1rje1Xt1zbV2WbiHDkojMmMNjeFtHQIcr9dDCkP8Sks8yRpMUhYuMQwOfu3TwvStEGiKGiNjY2giiufyQgdwll0Dm/rGvqgBoRTRaJk5u0h1oCUpbqo7asmj07x0FP9BV7nDca3taqW8paA5yDYydwKJdK1Izl61TACjrQhwVaOsyPGAaCu7HIQeS4XDg/ZkbXqhNM1obETOugHeSVOvcW/AlL+pDe36Q7t7VZwBN1RRIrB3L Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0PR10MB5488.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 695a1547-bc40-482e-e50d-08da0ddb20c6 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Mar 2022 21:13:22.4001 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: +k4Z2Lg1qkym/o+3hVctj482g3LPds8nt0BhMgoUd1PbjX/1JnYlQRB1uNHuxbODXT8LiOdgNZHdryCOQAfh7g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR10MB3324 X-Proofpoint-Virus-Version: vendor=nai engine=6300 definitions=10296 signatures=694973 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 suspectscore=0 spamscore=0 mlxlogscore=999 phishscore=0 bulkscore=0 malwarescore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2202240000 definitions=main-2203240111 X-Proofpoint-GUID: TeWLWWWILtillLZXpCuzcbOtCBehsHIi X-Proofpoint-ORIG-GUID: TeWLWWWILtillLZXpCuzcbOtCBehsHIi X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > 2. Insert the number "123" in any buffer (preferably, the current one, > "*scratch*") > 3. Place the cursor on any digit in the number that was written in the > previous step > 5. Evaluate this sexp (bounds-of-thing-at-point 'number) in a number. >=20 > Current result > "nil" is returned > Expected result > The boundaries of the number should be returned. Yeah, `bounds-of-thing-at-point' is still somewhat broken - at least neglected. ____ If you use `thing-at-point+.el' then (bounds-of-thing-at-point 'number) and similar just work. https://www.emacswiki.org/emacs/download/thingatpt%2b.el ____ In this case, you can code a fix yourself, with just this (or similar): (defun my-bounds-of-number-at-point () "Return the bounds of the number represented by the numeral at point. Return nil if none is found." (and (number-at-point) (bounds-of-thing-at-point 'sexp))) (put 'number 'bounds-of-thing-at-point 'my-bounds-of-number-at-point) From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 25 10:11:24 2022 Received: (at control) by debbugs.gnu.org; 25 Mar 2022 14:11:24 +0000 Received: from localhost ([127.0.0.1]:52118 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXkey-0003Hl-Ap for submit@debbugs.gnu.org; Fri, 25 Mar 2022 10:11:24 -0400 Received: from quimby.gnus.org ([95.216.78.240]:42090) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXkex-0003HW-7M for control@debbugs.gnu.org; Fri, 25 Mar 2022 10:11:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=vHhtTiibQNKBp3JxSe0NLH2X7vDGqz2Y8AOC7uDQy1c=; b=SDVzVjh8oqQj/bMykG6AaiYPxP 115bJ311k05tlnL/hIyhKI218FJDhyaoQMihtLrtq1jEYXRbY/dA7YgYbXy3pbaScuhjosbzgaocd D7cNQnUSxJtgq3bR7otWE+aZGcVQwrBcIavqSR2VSRn8wRR4DHOzcrWAZJ0o15PD5rQU=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nXkep-0003Zv-37 for control@debbugs.gnu.org; Fri, 25 Mar 2022 15:11:17 +0100 Date: Fri, 25 Mar 2022 15:11:13 +0100 Message-Id: <87fsn6f7ge.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #54553 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: forcemerge 54553 54555 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) forcemerge 54553 54555 quit From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 25 10:11:39 2022 Received: (at control) by debbugs.gnu.org; 25 Mar 2022 14:11:39 +0000 Received: from localhost ([127.0.0.1]:52121 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXkfD-0003IC-Gw for submit@debbugs.gnu.org; Fri, 25 Mar 2022 10:11:39 -0400 Received: from quimby.gnus.org ([95.216.78.240]:42102) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXkfB-0003Hz-Uk for control@debbugs.gnu.org; Fri, 25 Mar 2022 10:11:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=vHhtTiibQNKBp3JxSe0NLH2X7vDGqz2Y8AOC7uDQy1c=; b=gfXTbWtfTqORPFQoszIcGSItO5 ImLOdHC2oLSLOhLWYRAp33tHMoNoMOfMwksLZqC4GAkiG67OF9xs9TsA3rOhD5syG+z111+Tpxv0V Zmvugml3gH4AhFMoSz5Pfuh4LEuD5sg2wHaXJpvo3PAX/YOBRyMzIMZHzpDOra+qO/uE=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nXkf4-0003a8-Fl for control@debbugs.gnu.org; Fri, 25 Mar 2022 15:11:32 +0100 Date: Fri, 25 Mar 2022 15:11:29 +0100 Message-Id: <87ee2qf7fy.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #54553 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: forcemerge 54553 54555 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) forcemerge 54553 54555 quit From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 25 11:30:47 2022 Received: (at control) by debbugs.gnu.org; 25 Mar 2022 15:30:47 +0000 Received: from localhost ([127.0.0.1]:52187 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXltn-00016m-Ba for submit@debbugs.gnu.org; Fri, 25 Mar 2022 11:30:47 -0400 Received: from eggs.gnu.org ([209.51.188.92]:56160) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXltm-00016b-8n for control@debbugs.gnu.org; Fri, 25 Mar 2022 11:30:46 -0400 Received: from [2001:470:142:3::e] (port=40684 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nXlth-00013v-0q for control@debbugs.gnu.org; Fri, 25 Mar 2022 11:30:41 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1nXltT-0006fB-M0 for control@debbugs.gnu.org; Fri, 25 Mar 2022 11:30:36 -0400 Subject: control message for bug 54553 To: X-Mailer: mail (GNU Mailutils 3.4) Message-Id: From: Glenn Morris Date: Fri, 25 Mar 2022 11:30:27 -0400 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) unmerge 54553 From unknown Sat Sep 20 15:43:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#54555: 28.0.91; number is not an accepted value for THING in bounds-of-thing-at-point Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 25 Mar 2022 16:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54555 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Rodrigo Morales Cc: 54555@debbugs.gnu.org Received: via spool by 54555-submit@debbugs.gnu.org id=B54555.16482259832802 (code B ref 54555); Fri, 25 Mar 2022 16:34:01 +0000 Received: (at 54555) by debbugs.gnu.org; 25 Mar 2022 16:33:03 +0000 Received: from localhost ([127.0.0.1]:52301 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXms3-0000j8-6E for submit@debbugs.gnu.org; Fri, 25 Mar 2022 12:33:03 -0400 Received: from quimby.gnus.org ([95.216.78.240]:43244) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXms1-0000ie-Lm for 54555@debbugs.gnu.org; Fri, 25 Mar 2022 12:33:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To: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=VH9vhW9XMaVpngrFQdVAnuber3j3RbbMc9LmfYz6CG8=; b=e8nomjONy9flNdbEQxwd27CcEg PX5n9HM7iyjXPD4mUhhy5O5mmD3k1EgoUTBtpGU07WPPuHDRXUYdzGIJCHGVGcj64vxK5Gwlfb9oK kcHWLPOoc4g4FGIza1mkjI4pSKP8onI/Df1lrhbjVwaTRxJ3RTDDLgUZ1qYl8VSmptf8=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nXmrt-0004xJ-OL; Fri, 25 Mar 2022 17:32:55 +0100 From: Lars Ingebrigtsen References: <87wngjdrbg.fsf@gmail.com> Date: Fri, 25 Mar 2022 17:32:52 +0100 In-Reply-To: <87wngjdrbg.fsf@gmail.com> (Rodrigo Morales's message of "Thu, 24 Mar 2022 15:32:51 -0500") Message-ID: <87a6dedmbv.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Rodrigo Morales writes: > 1. Start Emacs with the flag -Q: $ emacs -Q > 2. Insert the number "123" in any buffer (preferably, the current one, > "*scratch*") > 3. Place the cursor on any digit in the number that was written [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Rodrigo Morales writes: > 1. Start Emacs with the flag -Q: $ emacs -Q > 2. Insert the number "123" in any buffer (preferably, the current one, > "*scratch*") > 3. Place the cursor on any digit in the number that was written in the > previous step > 5. Evaluate this sexp (bounds-of-thing-at-point 'number) in a number. > > Current result > > "nil" is returned > > Expected result > > The boundaries of the number should be returned. I've now fixed this in Emacs 29. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 25 12:33:07 2022 Received: (at control) by debbugs.gnu.org; 25 Mar 2022 16:33:07 +0000 Received: from localhost ([127.0.0.1]:52304 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXms7-0000jO-D6 for submit@debbugs.gnu.org; Fri, 25 Mar 2022 12:33:07 -0400 Received: from quimby.gnus.org ([95.216.78.240]:43260) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXms5-0000ii-OW for control@debbugs.gnu.org; Fri, 25 Mar 2022 12:33:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Xm0+6htLU0M5TiktlaL7vO8gFanf+HfdOG6gNPd+Fo4=; b=sdBeBviqBwFNBdOK8vISK/579P GLm7NmCwoWAz2r1XBrsc4BFICAu8kaLi3AJGctw2ySeI55EfzWh4DKiG6xL25QrY/lqmHVfc2cRDI BxVRIbWWONbMN3Oe7DmcK/FB0cqwFWHCoKdbfmxH804ZDSPW/cmUDcCejZaJ4zyfI4jQ=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nXmry-0004xV-FH for control@debbugs.gnu.org; Fri, 25 Mar 2022 17:33:00 +0100 Date: Fri, 25 Mar 2022 17:32:58 +0100 Message-Id: <878rsydmbp.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #54555 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 54555 29.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 54555 29.1 quit