From unknown Sat Sep 06 20:03:28 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#9454 <9454@debbugs.gnu.org> To: bug#9454 <9454@debbugs.gnu.org> Subject: Status: 24.0.50; thingatpt.el should be updated to respect field boundaries Reply-To: bug#9454 <9454@debbugs.gnu.org> Date: Sun, 07 Sep 2025 03:03:28 +0000 retitle 9454 24.0.50; thingatpt.el should be updated to respect field bound= aries reassign 9454 emacs submitter 9454 "Drew Adams" severity 9454 wishlist thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 06 19:19:13 2011 Received: (at submit) by debbugs.gnu.org; 6 Sep 2011 23:19:13 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R14vA-0003PT-Qu for submit@debbugs.gnu.org; Tue, 06 Sep 2011 19:19:13 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R14v7-0003PL-Uu for submit@debbugs.gnu.org; Tue, 06 Sep 2011 19:19:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R14rO-0000X2-V7 for submit@debbugs.gnu.org; Tue, 06 Sep 2011 19:15:20 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:41727) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R14rO-0000Wt-QA for submit@debbugs.gnu.org; Tue, 06 Sep 2011 19:15:18 -0400 Received: from eggs.gnu.org ([140.186.70.92]:39095) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R14rN-0002nC-Od for bug-gnu-emacs@gnu.org; Tue, 06 Sep 2011 19:15:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R14rM-0000WR-KV for bug-gnu-emacs@gnu.org; Tue, 06 Sep 2011 19:15:17 -0400 Received: from rcsinet15.oracle.com ([148.87.113.117]:57368) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R14rM-0000W6-FQ for bug-gnu-emacs@gnu.org; Tue, 06 Sep 2011 19:15:16 -0400 Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by rcsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id p86NFBYD026141 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 6 Sep 2011 23:15:13 GMT Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p86NFARD010865 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 6 Sep 2011 23:15:11 GMT Received: from abhmt106.oracle.com (abhmt106.oracle.com [141.146.116.58]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p86NF5sn023619 for ; Tue, 6 Sep 2011 18:15:05 -0500 Received: from dradamslap1 (/10.159.62.133) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 06 Sep 2011 16:15:05 -0700 From: "Drew Adams" To: Subject: 24.0.50; thingatpt.el should be updated to respect field boundaries Date: Tue, 6 Sep 2011 16:14:57 -0700 Message-ID: <44787C2CD18A4D45913B6FD72C387219@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109 Thread-Index: Acxs6ssXAldXf3OIQL2PwTwpU3Kn6A== X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090207.4E66A981.008C:SCFMA922111,ss=1,re=-4.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -6.2 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.2 (------) I'm no expert on fields, to put it mildly. But my impression is that thing-at-point functions should not cross field boundaries. I ran into this using a thing-at-point function (actually, a thing-near-point function) in the minibuffer. Now that (forward-line 0) takes you across the field boundary and into the prompt field, I ended up with "Text is read-only" errors. (And just why is it an improvement to have two fields here? What was wrong with the (simple) situation before?) To fix this I ended up splattering my own thing-at-point code with `constrain-to-field' calls. Butt ugly, but unless I'm missing something (quite possible), unavoidable. Anyway, this is a heads-up that you might want to take a look at thingatpt.el and DTRT wrt field boudaries. FWIW, my own code is here: http://www.emacswiki.org/emacs/download/thingatpt%2b.el. Among other things, it contains fixes for Emacs bugs #8667, #8628, and #9300 (fixes already communicated, but still not applied to vanilla Emacs). In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600) of 2011-09-05 on 3249CTO Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (4.5) --no-opt' From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 19 22:47:09 2019 Received: (at 9454) by debbugs.gnu.org; 20 Aug 2019 02:47:09 +0000 Received: from localhost ([127.0.0.1]:60720 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hzuAv-0008QH-B6 for submit@debbugs.gnu.org; Mon, 19 Aug 2019 22:47:09 -0400 Received: from quimby.gnus.org ([80.91.231.51]:39900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hzuAt-0008OL-93 for 9454@debbugs.gnu.org; Mon, 19 Aug 2019 22:47:07 -0400 Received: from [12.144.191.101] (helo=sandy) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hzuAp-000229-2Z; Tue, 20 Aug 2019 04:47:05 +0200 From: Lars Ingebrigtsen To: "Drew Adams" Subject: Re: bug#9454: 24.0.50; thingatpt.el should be updated to respect field boundaries References: <44787C2CD18A4D45913B6FD72C387219@us.oracle.com> Date: Mon, 19 Aug 2019 19:47:00 -0700 In-Reply-To: <44787C2CD18A4D45913B6FD72C387219@us.oracle.com> (Drew Adams's message of "Tue, 6 Sep 2011 16:14:57 -0700") Message-ID: <87pnl0zh7f.fsf@mouse.gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.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: "Drew Adams" writes: > I'm no expert on fields, to put it mildly. But my impression is that > thing-at-point functions should not cross field boundaries. > > I ran into this using a thing-at-point function (actually, a > [...] 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: 0.0 (/) X-Debbugs-Envelope-To: 9454 Cc: 9454@debbugs.gnu.org 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.0 (-) "Drew Adams" writes: > I'm no expert on fields, to put it mildly. But my impression is that > thing-at-point functions should not cross field boundaries. > > I ran into this using a thing-at-point function (actually, a > thing-near-point function) in the minibuffer. Now that (forward-line 0) > takes you across the field boundary and into the prompt field, I ended > up with "Text is read-only" errors. Do you have a test case to reproduce this bug? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 20 11:26:46 2019 Received: (at 9454) by debbugs.gnu.org; 20 Aug 2019 15:26:46 +0000 Received: from localhost ([127.0.0.1]:33592 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i0622-00005O-EH for submit@debbugs.gnu.org; Tue, 20 Aug 2019 11:26:46 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:37222) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i0620-000056-3i for 9454@debbugs.gnu.org; Tue, 20 Aug 2019 11:26:44 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x7KF8x7F032234; Tue, 20 Aug 2019 15:26:38 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; s=corp-2019-08-05; bh=zGx25g4pelSTxPJUWds1ukE2qOgndnHd5KMus3LrTe8=; b=ekgsnzX5BLi4w0bDxf+U63IWEae/fK+yeNEFI041XlJhPcCeN3nMMNYH9aBcuLffTaOy Qoy0RaIGWwO34iujTdRM5nHt03VW2jmKvUGTIHTQfOaQylXfLcpjutOqLWYBvlUnan5O rBW1ggeUQZaFURr66Ykvr/o1iwadwvv8JrGaQE4Jzxb+d5TWOdTyqFiTAI6+MFWxIsVB nMjd4FwiM8EjKCWAbPl2Ub0R+woIFSvO7qAK8SmWbNM2jaEbn7ddo7SmH7x1FhwEKwno fAcUDePKakKyAjF+0nc4oxiExIyj1VYQiaD5F3kxa/06eLmS02LmFBI4KSqFojNcKXrM bg== Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by userp2130.oracle.com with ESMTP id 2ue90tf8m1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 20 Aug 2019 15:26:37 +0000 Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x7KF8H4b084601; Tue, 20 Aug 2019 15:26:37 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userp3020.oracle.com with ESMTP id 2ug268u7b3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 20 Aug 2019 15:26:36 +0000 Received: from abhmp0005.oracle.com (abhmp0005.oracle.com [141.146.116.11]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id x7KFQaoD029389; Tue, 20 Aug 2019 15:26:36 GMT MIME-Version: 1.0 Message-ID: Date: Tue, 20 Aug 2019 08:26:34 -0700 (PDT) From: Drew Adams To: Lars Ingebrigtsen Subject: RE: bug#9454: 24.0.50; thingatpt.el should be updated to respect field boundaries References: <44787C2CD18A4D45913B6FD72C387219@us.oracle.com> <87pnl0zh7f.fsf@mouse.gnus.org> In-Reply-To: <87pnl0zh7f.fsf@mouse.gnus.org> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4873.0 (x86)] Content-Type: multipart/mixed; boundary="__156631479581221973abhmp0005.oracle.com" X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9355 signatures=668684 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=810 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1908200147 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9355 signatures=668684 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=874 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1908200147 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 9454 Cc: 9454@debbugs.gnu.org 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 (---) --__156631479581221973abhmp0005.oracle.com Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable > Do you have a test case to reproduce this bug? No. See the original report. It points you to my code that fixes the problem by sprinkling `constrain-to-field' everywhere. To give an idea, attached are two functions, my version and the vanilla version. Ediff them. See the additions of this: (constrain-to-field nil orig) I believe that the vanilla function needs similar protection. For you to decide. That's just one thingatpt.el function. I also added `constraint-to-field to other such functions. See thingatpt+.el if you want to see the occurrences, to maybe save some time when checking where thingatpt.el might need the same treatment. I think you get the idea. Thing-at-point should respect fields. Do it or don't do it; your choice. --__156631479581221973abhmp0005.oracle.com Content-Type: application/octet-stream; name="throw-my-thg.el" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="throw-my-thg.el" KGRlZnVuIHRhcC1ib3VuZHMtb2YtdGhpbmctYXQtcG9pbnQtMSAodGhpbmcpCiAgIkhlbHBlciBm b3IgYHRhcC1ib3VuZHMtb2YtdGhpbmctYXQtcG9pbnQnLgpEbyBldmVyeXRoaW5nIGV4Y2VwdCBo YW5kbGUgdGhlIG9wdGlvbmFsIFNZTlRBWC1UQUJMRSBhcmcuIgogIChsZXQgKChib3VuZHMtZm4g IChvciAoZ2V0IHRoaW5nICd0YXAtYm91bmRzLW9mLXRoaW5nLWF0LXBvaW50KQogICAgICAgICAg ICAgICAgICAgICAgICAoZ2V0IHRoaW5nICdib3VuZHMtb2YtdGhpbmctYXQtcG9pbnQpKSkpCiAg ICAoaWYgYm91bmRzLWZuCiAgICAgICAgKGZ1bmNhbGwgYm91bmRzLWZuKQogICAgICAobGV0ICgo b3JpZyAgKHBvaW50KSkpCiAgICAgICAgKGNvbmRpdGlvbi1jYXNlIG5pbAogICAgICAgICAgICAo c2F2ZS1leGN1cnNpb24KICAgICAgICAgICAgICA7OyBUcnkgbW92aW5nIGZvcndhcmQsIHRoZW4g YmFjay4KICAgICAgICAgICAgICAoZnVuY2FsbCAob3IgKGdldCB0aGluZyAnZW5kLW9wKSA7IE1v dmUgdG8gZW5kLgogICAgICAgICAgICAgICAgICAgICAgICAgICAobGFtYmRhICgpIChmb3J3YXJk LXRoaW5nIHRoaW5nIDEpKSkpCiAgICAgICAgICAgICAgKGNvbnN0cmFpbi10by1maWVsZCBuaWwg b3JpZykKICAgICAgICAgICAgICAoZnVuY2FsbCAob3IgKGdldCB0aGluZyAnYmVnaW5uaW5nLW9w KSA7IE1vdmUgdG8gYmVnLgogICAgICAgICAgICAgICAgICAgICAgICAgICAobGFtYmRhICgpIChm b3J3YXJkLXRoaW5nIHRoaW5nIC0xKSkpKQogICAgICAgICAgICAgIChjb25zdHJhaW4tdG8tZmll bGQgbmlsIG9yaWcpCiAgICAgICAgICAgICAgKGxldCAoKGJlZyAgKHBvaW50KSkpCiAgICAgICAg ICAgICAgICAoaWYgKDw9IGJlZyBvcmlnKQogICAgICAgICAgICAgICAgICAgIDs7IElmIHRoYXQg YnJpbmdzIHVzIGFsbCB0aGUgd2F5IGJhY2sgdG8gT1JJRywKICAgICAgICAgICAgICAgICAgICA7 OyBpdCB3b3JrZWQuICBCdXQgRU5EIG1heSBub3QgYmUgdGhlIHJlYWwgZW5kLgogICAgICAgICAg ICAgICAgICAgIDs7IFNvIGZpbmQgdGhlIHJlYWwgZW5kIHRoYXQgY29ycmVzcG9uZHMgdG8gQkVH LgogICAgICAgICAgICAgICAgICAgIDs7IEZJWE1FOiBpbiB3aGljaCBjYXNlcyBjYW4gYHJlYWwt ZW5kJyBkaWZmZXIgZnJvbSBgZW5kJz8KICAgICAgICAgICAgICAgICAgICAobGV0ICgocmVhbC1l bmQgIChwcm9nbiAoZnVuY2FsbAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAob3IgKGdldCB0aGluZyAnZW5kLW9wKQogICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgKGxhbWJkYSAoKSAoZm9yd2FyZC10aGluZyB0aGluZyAx KSkpKQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChjb25zdHJh aW4tdG8tZmllbGQgbmlsIG9yaWcpCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgKHBvaW50KSkpKQogICAgICAgICAgICAgICAgICAgICAgKGFuZCAoPCBvcmlnIHJl YWwtZW5kKSAgKDwgYmVnIHJlYWwtZW5kKQogICAgICAgICAgICAgICAgICAgICAgICAgICAoY29u cyBiZWcgcmVhbC1lbmQpKSkKICAgICAgICAgICAgICAgICAgKGdvdG8tY2hhciBvcmlnKQogICAg ICAgICAgICAgICAgICA7OyBUcnkgYSBzZWNvbmQgdGltZSwgbW92aW5nIGZpcnN0IGJhY2t3YXJk IGFuZCB0aGVuIGZvcndhcmQsCiAgICAgICAgICAgICAgICAgIDs7IHNvIHRoYXQgd2UgY2FuIGZp bmQgYSB0aGluZyB0aGF0IGVuZHMgYXQgT1JJRy4KICAgICAgICAgICAgICAgICAgKGZ1bmNhbGwg KG9yIChnZXQgdGhpbmcgJ2JlZ2lubmluZy1vcCkgOyBNb3ZlIHRvIGJlZy4KICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgIChsYW1iZGEgKCkgKGZvcndhcmQtdGhpbmcgdGhpbmcgLTEpKSkp CiAgICAgICAgICAgICAgICAgIChjb25zdHJhaW4tdG8tZmllbGQgbmlsIG9yaWcpCiAgICAgICAg ICAgICAgICAgIChmdW5jYWxsIChvciAoZ2V0IHRoaW5nICdlbmQtb3ApIDsgTW92ZSB0byBlbmQu CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAobGFtYmRhICgpIChmb3J3YXJkLXRoaW5n IHRoaW5nIDEpKSkpCiAgICAgICAgICAgICAgICAgIChjb25zdHJhaW4tdG8tZmllbGQgbmlsIG9y aWcpCiAgICAgICAgICAgICAgICAgIChsZXQgKChlbmQgICAgICAgKHBvaW50KSkKICAgICAgICAg ICAgICAgICAgICAgICAgKHJlYWwtYmVnICAocHJvZ24gKGZ1bmNhbGwKICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgIChvciAoZ2V0IHRoaW5nICdiZWdpbm5pbmctb3Ap CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKGxhbWJkYSAo KSAoZm9yd2FyZC10aGluZyB0aGluZyAtMSkpKSkKICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgKGNvbnN0cmFpbi10by1maWVsZCBuaWwgb3JpZykKICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKHBvaW50KSkpKQogICAgICAgICAgICAgICAg ICAgIChhbmQgKDw9IHJlYWwtYmVnIG9yaWcpICAoPCBvcmlnIGVuZCkgICg8IHJlYWwtYmVnIGVu ZCkKICAgICAgICAgICAgICAgICAgICAgICAgIChjb25zIHJlYWwtYmVnIGVuZCkpKSkpKQogICAg ICAgICAgKGVycm9yIG5pbCkpKSkpKQ== --__156631479581221973abhmp0005.oracle.com Content-Type: application/octet-stream; name="throw-vanilla-thg.el" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="throw-vanilla-thg.el" KGRlZnVuIGJvdW5kcy1vZi10aGluZy1hdC1wb2ludCAodGhpbmcpCiAgIkRldGVybWluZSB0aGUg c3RhcnQgYW5kIGVuZCBidWZmZXIgbG9jYXRpb25zIGZvciB0aGUgVEhJTkcgYXQgcG9pbnQuClRI SU5HIHNob3VsZCBiZSBhIHN5bWJvbCBzcGVjaWZ5aW5nIGEgdHlwZSBvZiBzeW50YWN0aWMgZW50 aXR5LgpQb3NzaWJpbGl0aWVzIGluY2x1ZGUgYHN5bWJvbCcsIGBsaXN0JywgYHNleHAnLCBgZGVm dW4nLApgZmlsZW5hbWUnLCBgdXJsJywgYGVtYWlsJywgYHdvcmQnLCBgc2VudGVuY2UnLCBgd2hp dGVzcGFjZScsCmBsaW5lJywgYW5kIGBwYWdlJy4KClNlZSB0aGUgZmlsZSBgdGhpbmdhdHB0LmVs JyBmb3IgZG9jdW1lbnRhdGlvbiBvbiBob3cgdG8gZGVmaW5lIGEKdmFsaWQgVEhJTkcuCgpSZXR1 cm4gYSBjb25zIGNlbGwgKFNUQVJUIC4gRU5EKSBnaXZpbmcgdGhlIHN0YXJ0IGFuZCBlbmQKcG9z aXRpb25zIG9mIHRoZSB0aGluZyBmb3VuZC4iCiAgKGlmIChnZXQgdGhpbmcgJ2JvdW5kcy1vZi10 aGluZy1hdC1wb2ludCkKICAgICAgKGZ1bmNhbGwgKGdldCB0aGluZyAnYm91bmRzLW9mLXRoaW5n LWF0LXBvaW50KSkKICAgIChsZXQgKChvcmlnIChwb2ludCkpKQogICAgICAoaWdub3JlLWVycm9y cwoJKHNhdmUtZXhjdXJzaW9uCgkgIDs7IFRyeSBtb3ZpbmcgZm9yd2FyZCwgdGhlbiBiYWNrLgoJ ICAoZnVuY2FsbCA7OyBGaXJzdCBtb3ZlIHRvIGVuZC4KCSAgIChvciAoZ2V0IHRoaW5nICdlbmQt b3ApCgkgICAgICAgKGxhbWJkYSAoKSAoZm9yd2FyZC10aGluZyB0aGluZyAxKSkpKQoJICAoZnVu Y2FsbCA7OyBUaGVuIG1vdmUgdG8gYmVnLgoJICAgKG9yIChnZXQgdGhpbmcgJ2JlZ2lubmluZy1v cCkKCSAgICAgICAobGFtYmRhICgpIChmb3J3YXJkLXRoaW5nIHRoaW5nIC0xKSkpKQoJICAobGV0 ICgoYmVnIChwb2ludCkpKQoJICAgIChpZiAoPD0gYmVnIG9yaWcpCgkJOzsgSWYgdGhhdCBicmlu Z3MgdXMgYWxsIHRoZSB3YXkgYmFjayB0byBPUklHLAoJCTs7IGl0IHdvcmtlZC4gIEJ1dCBFTkQg bWF5IG5vdCBiZSB0aGUgcmVhbCBlbmQuCgkJOzsgU28gZmluZCB0aGUgcmVhbCBlbmQgdGhhdCBj b3JyZXNwb25kcyB0byBCRUcuCgkJOzsgRklYTUU6IGluIHdoaWNoIGNhc2VzIGNhbiBgcmVhbC1l bmQnIGRpZmZlciBmcm9tIGBlbmQnPwoJCShsZXQgKChyZWFsLWVuZAoJCSAgICAgICAocHJvZ24K CQkJIChmdW5jYWxsCgkJCSAgKG9yIChnZXQgdGhpbmcgJ2VuZC1vcCkKCQkJICAgICAgKGxhbWJk YSAoKSAoZm9yd2FyZC10aGluZyB0aGluZyAxKSkpKQoJCQkgKHBvaW50KSkpKQoJCSAgKHdoZW4g KGFuZCAoPD0gb3JpZyByZWFsLWVuZCkgKDwgYmVnIHJlYWwtZW5kKSkKCQkgICAgKGNvbnMgYmVn IHJlYWwtZW5kKSkpCgkgICAgICAoZ290by1jaGFyIG9yaWcpCgkgICAgICA7OyBUcnkgYSBzZWNv bmQgdGltZSwgbW92aW5nIGJhY2t3YXJkIGZpcnN0IGFuZCB0aGVuIGZvcndhcmQsCgkgICAgICA7 OyBzbyB0aGF0IHdlIGNhbiBmaW5kIGEgdGhpbmcgdGhhdCBlbmRzIGF0IE9SSUcuCgkgICAgICAo ZnVuY2FsbCA7OyBGaXJzdCwgbW92ZSB0byBiZWcuCgkgICAgICAgKG9yIChnZXQgdGhpbmcgJ2Jl Z2lubmluZy1vcCkKCQkgICAobGFtYmRhICgpIChmb3J3YXJkLXRoaW5nIHRoaW5nIC0xKSkpKQoJ ICAgICAgKGZ1bmNhbGwgOzsgVGhlbiBtb3ZlIHRvIGVuZC4KCSAgICAgICAob3IgKGdldCB0aGlu ZyAnZW5kLW9wKQoJCSAgIChsYW1iZGEgKCkgKGZvcndhcmQtdGhpbmcgdGhpbmcgMSkpKSkKCSAg ICAgIChsZXQgKChlbmQgKHBvaW50KSkKCQkgICAgKHJlYWwtYmVnCgkJICAgICAocHJvZ24KCQkg ICAgICAgKGZ1bmNhbGwKCQkJKG9yIChnZXQgdGhpbmcgJ2JlZ2lubmluZy1vcCkKCQkJICAgIChs YW1iZGEgKCkgKGZvcndhcmQtdGhpbmcgdGhpbmcgLTEpKSkpCgkJICAgICAgIChwb2ludCkpKSkK CQkoaWYgKGFuZCAoPD0gcmVhbC1iZWcgb3JpZykgKDw9IG9yaWcgZW5kKSAoPCByZWFsLWJlZyBl bmQpKQoJCSAgICAoY29ucyByZWFsLWJlZyBlbmQpKSkpKSkpKSkp --__156631479581221973abhmp0005.oracle.com-- From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 21 16:11:15 2019 Received: (at 9454) by debbugs.gnu.org; 21 Aug 2019 20:11:15 +0000 Received: from localhost ([127.0.0.1]:36501 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i0Wwt-0007tS-F9 for submit@debbugs.gnu.org; Wed, 21 Aug 2019 16:11:15 -0400 Received: from quimby.gnus.org ([80.91.231.51]:42590) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i0Wwr-0007tK-VE for 9454@debbugs.gnu.org; Wed, 21 Aug 2019 16:11:14 -0400 Received: from 77.16.217.167.tmi.telenormobil.no ([77.16.217.167] helo=sandy) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i0Wwn-00067t-AU; Wed, 21 Aug 2019 22:11:12 +0200 From: Lars Ingebrigtsen To: Drew Adams Subject: Re: bug#9454: 24.0.50; thingatpt.el should be updated to respect field boundaries References: <44787C2CD18A4D45913B6FD72C387219@us.oracle.com> <87pnl0zh7f.fsf@mouse.gnus.org> Date: Wed, 21 Aug 2019 13:11:06 -0700 In-Reply-To: (Drew Adams's message of "Tue, 20 Aug 2019 08:26:34 -0700 (PDT)") Message-ID: <87v9uqxorp.fsf@mouse.gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.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: Drew Adams writes: >> Do you have a test case to reproduce this bug? > > No. > > See the original report. It points you to my > code that fixes the problem by sprinkling > `constrain-to-field' everywhere. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 TVD_RCVD_IP Message was received from an IP address -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 9454 Cc: 9454@debbugs.gnu.org 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.0 (-) Drew Adams writes: >> Do you have a test case to reproduce this bug? > > No. > > See the original report. It points you to my > code that fixes the problem by sprinkling > `constrain-to-field' everywhere. I understand the problem conceptually, but without a test case to verify that there's a problem here in practice, it's difficult to say whether the proposed fix fixes the problem. This is why we (in the bug reporting process) encourage sending in test cases, because that makes everything easier. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 25 12:05:40 2021 Received: (at 9454) by debbugs.gnu.org; 25 Aug 2021 16:05:40 +0000 Received: from localhost ([127.0.0.1]:47402 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mIvPI-0003ph-Hg for submit@debbugs.gnu.org; Wed, 25 Aug 2021 12:05:40 -0400 Received: from quimby.gnus.org ([95.216.78.240]:38426) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mIvPE-0003pM-NN for 9454@debbugs.gnu.org; Wed, 25 Aug 2021 12:05:39 -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=fvCTsVZ7LIXGgAJ4VqA86U3P9jgVzmBgFAaOAxjnN00=; b=c4/TuGmmcb3uUUV/MYjmLeUY8n 3Xmm8JF/8tAusnQBqk5KCqn6Z+u33ngE1cWGcqIyUbklpb7Z7K0iNKqHXLQL5rNktZ72rcGwU0amA X/0GU46gsPwg+qhROjdfffzq/TVb8vRencVUkW0QUgyd97SaPtkAQugkUoHjuD+dIPeA=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mIvP3-0006LV-9F; Wed, 25 Aug 2021 18:05:29 +0200 From: Lars Ingebrigtsen To: Drew Adams Subject: Re: bug#9454: 24.0.50; thingatpt.el should be updated to respect field boundaries References: <44787C2CD18A4D45913B6FD72C387219@us.oracle.com> <87pnl0zh7f.fsf@mouse.gnus.org> <87v9uqxorp.fsf@mouse.gnus.org> Date: Wed, 25 Aug 2021 18:05:22 +0200 In-Reply-To: <87v9uqxorp.fsf@mouse.gnus.org> (Lars Ingebrigtsen's message of "Wed, 21 Aug 2019 13:11:06 -0700") Message-ID: <875yvt4iil.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.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: Lars Ingebrigtsen writes: > I understand the problem conceptually, but without a test case to verify > that there's a problem here in practice, it's difficult to say whether > the proposed fix fixes the problem. 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: 9454 Cc: 9454@debbugs.gnu.org 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 (---) Lars Ingebrigtsen writes: > I understand the problem conceptually, but without a test case to verify > that there's a problem here in practice, it's difficult to say whether > the proposed fix fixes the problem. I've now pushed a fix to Emacs 28. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 25 12:05:43 2021 Received: (at control) by debbugs.gnu.org; 25 Aug 2021 16:05:44 +0000 Received: from localhost ([127.0.0.1]:47405 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mIvPL-0003pw-Nf for submit@debbugs.gnu.org; Wed, 25 Aug 2021 12:05:43 -0400 Received: from quimby.gnus.org ([95.216.78.240]:38440) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mIvPI-0003pT-Ut for control@debbugs.gnu.org; Wed, 25 Aug 2021 12:05:41 -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=0uG7agNEJ8DwWznQv0A8nnfoxwAKC1OvhuPjlSHTYSk=; b=a2u/TKDpf9Q+7QWkV7Rbv9vL0z CreP5XIz0O3kh20qwCZbDxhXE0yp29ZgSRfkksQY+7mPYO+8RQBzpVGT2QR4f2G6O5S3jPKMzkPd0 1rE1JN5o4lEzKm//nif2O0hDieah+stCwz3DQXDts2LXeboH1//oMYldj7gnV/eX+80U=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mIvPB-0006Lc-4c for control@debbugs.gnu.org; Wed, 25 Aug 2021 18:05:35 +0200 Date: Wed, 25 Aug 2021 18:05:32 +0200 Message-Id: <874kbd4iib.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #9454 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 9454 28.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 9454 28.1 quit From unknown Sat Sep 06 20:03:28 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 23 Sep 2021 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator