From unknown Sun Jun 22 00:31:42 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24383: 25.1.50; Deprecation/internalization of `read-from-whole-string' Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 06 Sep 2016 16:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 24383 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 24383@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.147318075116435 (code B ref -1); Tue, 06 Sep 2016 16:53:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 Sep 2016 16:52:31 +0000 Received: from localhost ([127.0.0.1]:51594 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bhJbq-0004H0-Vv for submit@debbugs.gnu.org; Tue, 06 Sep 2016 12:52:31 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46131) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bhJbp-0004Go-31 for submit@debbugs.gnu.org; Tue, 06 Sep 2016 12:52:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bhJbj-000801-6S for submit@debbugs.gnu.org; Tue, 06 Sep 2016 12:52:24 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: ** X-Spam-Status: No, score=2.5 required=5.0 tests=BAYES_40,XPRIO autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:52741) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhJbj-0007zo-31 for submit@debbugs.gnu.org; Tue, 06 Sep 2016 12:52:23 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37085) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhJbg-0001qL-TX for bug-gnu-emacs@gnu.org; Tue, 06 Sep 2016 12:52:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bhJbc-0007xi-SU for bug-gnu-emacs@gnu.org; Tue, 06 Sep 2016 12:52:20 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:17221) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhJbc-0007xV-K4 for bug-gnu-emacs@gnu.org; Tue, 06 Sep 2016 12:52:16 -0400 Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u86GqEMt007712 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 6 Sep 2016 16:52:15 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userv0022.oracle.com (8.14.4/8.13.8) with ESMTP id u86GqEFV001740 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 6 Sep 2016 16:52:14 GMT Received: from abhmp0017.oracle.com (abhmp0017.oracle.com [141.146.116.23]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id u86GqDeW021939 for ; Tue, 6 Sep 2016 16:52:14 GMT MIME-Version: 1.0 Message-ID: Date: Tue, 6 Sep 2016 09:52:12 -0700 (PDT) From: Drew Adams X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6753.5000 (x86)] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Source-IP: userv0022.oracle.com [156.151.31.74] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -1.6 (-) 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: -4.0 (----) What's the rationale behind the demotion of `read-from-whole-string' and its replacement by "internal" function `thing-at-point--read-from-whole-string'? "This is an internal thingatpt function and should not be used." Should not be used? Really? Why? This function has been around forever, and is used by Emacs users. And there has been no change in the function definition. Why should it suddenly be considered "internal" and something not to be used? And what does it have to do, in particular, with thingatpt.el? (It should instead be promoted to a file such as subr.el.) Based on this (seemingly gratuitous) change, existing user code now has to fiddle, to be usable in more than one Emacs version (versions 0 to 24.5 vs version 25.1). (if (fboundp 'read-from-whole-string) (read-from-whole-string strg) (thing-at-point--read-from-whole-string strg)) In GNU Emacs 25.1.50.1 (i686-pc-mingw32) of 2015-12-10 Repository revision: 6148555ee5a3d0139ae517803718b3e0357933c7 Windowing system distributor 'Microsoft Corp.', version 6.1.7601 Configured using: 'configure --prefix=3D/c/Devel/emacs/snapshot/trunk --enable-checking=3Dye= s --enable-check-lisp-object-type --without-compress-install 'CFLAGS=3D-Og -ggdb3' LDFLAGS=3D-Lc:/Devel/emacs/lib 'CPPFLAGS=3D-DGC_MCHECK=3D1 -Ic:/Devel/emacs/include'' From unknown Sun Jun 22 00:31:42 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24383: 25.1.50; Deprecation/internalization of `read-from-whole-string' Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 08 Nov 2019 03:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24383 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Drew Adams Cc: 24383@debbugs.gnu.org, Glenn Morris Received: via spool by 24383-submit@debbugs.gnu.org id=B24383.157318433013373 (code B ref 24383); Fri, 08 Nov 2019 03:39:01 +0000 Received: (at 24383) by debbugs.gnu.org; 8 Nov 2019 03:38:50 +0000 Received: from localhost ([127.0.0.1]:44325 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iSv6m-0003Tb-1r for submit@debbugs.gnu.org; Thu, 07 Nov 2019 22:38:50 -0500 Received: from host.gofardesign.uk ([208.79.239.190]:52456) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iSv6i-0003TI-T6 for 24383@debbugs.gnu.org; Thu, 07 Nov 2019 22:38:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To: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=X1jWqD5BvA6FGiD4piozAofivzM8ryyVqEBoxOPuEDA=; b=mlQBcyIQDanbXMxjAP+XM28Xxd zS1jqTANHihpsJDw0x6GTUTnOxbIp/hPR9GQ6i3LszeVHLtOmL3r14BQjTTC4c2IG1kZukAZt2j6k J252wYiMYVLmdaztyPvFNSKcRZrSf00lzPDysibuhQW0j602n1ACR8WE6eojZXWt255U=; Received: from h-70-69.a785.priv.bahnhof.se ([155.4.70.69]:59122 helo=localhost) by host.gofardesign.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1iSv6b-0004Jx-NF; Thu, 07 Nov 2019 21:38:38 -0600 From: Stefan Kangas In-Reply-To: (Drew Adams's message of "Tue, 6 Sep 2016 09:52:12 -0700 (PDT)") References: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Date: Fri, 08 Nov 2019 04:38:36 +0100 Message-ID: <87eeyjvxz7.fsf@marxist.se> MIME-Version: 1.0 Content-Type: text/plain X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host.gofardesign.uk X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - marxist.se X-Get-Message-Sender-Via: host.gofardesign.uk: authenticated_id: stefan@marxist.se X-Authenticated-Sender: host.gofardesign.uk: stefan@marxist.se X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -0.0 (/) 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: > What's the rationale behind the demotion of `read-from-whole-string' > and its replacement by "internal" function > `thing-at-point--read-from-whole-string'? > > "This is an internal thingatpt function and should not be used." > > Should not be used? Really? Why? > > This function has been around forever, and is used by Emacs users. > And there has been no change in the function definition. > > Why should it suddenly be considered "internal" and something not > to be used? > > And what does it have to do, in particular, with thingatpt.el? > (It should instead be promoted to a file such as subr.el.) > > Based on this (seemingly gratuitous) change, existing user code now > has to fiddle, to be usable in more than one Emacs version (versions > 0 to 24.5 vs version 25.1). Glenn, you made the change mentioned above. Do you have an opinion here? Best regards, Stefan Kangas From unknown Sun Jun 22 00:31:42 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24383: 25.1.50; Deprecation/internalization of `read-from-whole-string' Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 06 Feb 2021 12:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24383 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Drew Adams Cc: 24383@debbugs.gnu.org Received: via spool by 24383-submit@debbugs.gnu.org id=B24383.161261508530678 (code B ref 24383); Sat, 06 Feb 2021 12:39:02 +0000 Received: (at 24383) by debbugs.gnu.org; 6 Feb 2021 12:38:05 +0000 Received: from localhost ([127.0.0.1]:45390 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l8Mqj-0007yj-7d for submit@debbugs.gnu.org; Sat, 06 Feb 2021 07:38:05 -0500 Received: from quimby.gnus.org ([95.216.78.240]:52592) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l8Mqh-0007y9-QV for 24383@debbugs.gnu.org; Sat, 06 Feb 2021 07:38:04 -0500 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=NQtAGgGF0Il1IrHvm7LVBPfvbshBd2QQtanXzIf3QhY=; b=gwehM/V9e/Q42ko3m4F7A8MFX+ a0NSo/Txcm9xZIiWFuB/O528AlWO19Xs3e+7tE2/G/YgXE3Tm80EIKbzOsK1AegeRM6bE+pdaY9Mo Hbmo3Pgi8yKNOVTI2PbDKoAPg0eEFPgGPkoz4JBXbt4YMHjtaNU4a10sf6fRpzJo1V2U=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l8MqX-0005da-9s; Sat, 06 Feb 2021 13:37:57 +0100 From: Lars Ingebrigtsen References: X-Now-Playing: Dayteller's _Shining Bright (The Songs of Lal & Mike Waterson)_: "Fine Horseman" Date: Sat, 06 Feb 2021 13:37:51 +0100 In-Reply-To: (Drew Adams's message of "Tue, 6 Sep 2016 09:52:12 -0700 (PDT)") Message-ID: <87im759xsw.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: Drew Adams writes: > What's the rationale behind the demotion of `read-from-whole-string' > and its replacement by "internal" function > `thing-at-point--read-from-whole-string'? > > "This is an internal thingatpt funct [...] 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-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: > What's the rationale behind the demotion of `read-from-whole-string' > and its replacement by "internal" function > `thing-at-point--read-from-whole-string'? > > "This is an internal thingatpt function and should not be used." > > Should not be used? Really? Why? "Should not be used" is perhaps over-stating the case, but it's an internal thingatpt function with a name that didn't reflect that, so renaming it is appropriate. > Based on this (seemingly gratuitous) change, existing user code now > has to fiddle, to be usable in more than one Emacs version (versions > 0 to 24.5 vs version 25.1). > > (if (fboundp 'read-from-whole-string) > (read-from-whole-string strg) > (thing-at-point--read-from-whole-string strg)) It's up to you whether you want to use internal Emacs functions, of course. Closing. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 06 07:38:11 2021 Received: (at control) by debbugs.gnu.org; 6 Feb 2021 12:38:11 +0000 Received: from localhost ([127.0.0.1]:45393 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l8Mqo-0007z2-MY for submit@debbugs.gnu.org; Sat, 06 Feb 2021 07:38:10 -0500 Received: from quimby.gnus.org ([95.216.78.240]:52608) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l8Mqm-0007yc-JA for control@debbugs.gnu.org; Sat, 06 Feb 2021 07:38:08 -0500 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=TPmjmNmBqZ0oJ5/SFkVdw3ypaWIDw1c+XpntqmTgASA=; b=cEVcDsYkJyI9JLGsL+1hMkQM8V lPH9n1iK3DgoVdAqXQagjgl2m9yLrLL/bDdu1Sm4Rp855ufpTR7XjKvXkp18ajnTmcpp+SBMZK4VY J4WzuklLjxS2/1LrtDfdZt6+PL6ooNGQawGIki4YiI+tX3LxNBv8qfqt6JH1GXaZAiNk=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l8Mqf-0005di-07 for control@debbugs.gnu.org; Sat, 06 Feb 2021 13:38:03 +0100 Date: Sat, 06 Feb 2021 13:38:00 +0100 Message-Id: <87h7mp9xsn.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #24383 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 24383 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: 0.0 (/) 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: -1.0 (-) close 24383 quit From unknown Sun Jun 22 00:31:42 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24383: [External] : Re: bug#24383: 25.1.50; Deprecation/internalization of `read-from-whole-string' Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 06 Feb 2021 18:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24383 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: "24383@debbugs.gnu.org" <24383@debbugs.gnu.org> Received: via spool by 24383-submit@debbugs.gnu.org id=B24383.161263758017014 (code B ref 24383); Sat, 06 Feb 2021 18:53:01 +0000 Received: (at 24383) by debbugs.gnu.org; 6 Feb 2021 18:53:00 +0000 Received: from localhost ([127.0.0.1]:46432 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l8ShY-0004QM-HP for submit@debbugs.gnu.org; Sat, 06 Feb 2021 13:53:00 -0500 Received: from userp2120.oracle.com ([156.151.31.85]:38204) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l8ShV-0004Q8-PR for 24383@debbugs.gnu.org; Sat, 06 Feb 2021 13:52:58 -0500 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 116InvZf187852; Sat, 6 Feb 2021 18:52:50 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2020-01-29; bh=u5v+/zWj4jrcAk/xFrovB2MKPvCPqEaTjwIT6U2FIag=; b=DrDVO1CqhEbt/dXJ+TVGsXOOolfUVnH8kDykpdeFanbpr3e0/UuN3Uof/xEbt1kL1gGG T3pf48bRYYP1VEwykh2DTxUfa184kDV7ol4MyTxGkVS5oEAJ81JRl79ww7tYEzuyRf0P n1/n/sSw12em0Q0xYlIMhTw3Cw9f1y48/V5MrFDv2D24QdoEEIBlww6Y4rqLcd1305J9 WNqnlx92ew/nedUqF/2QmA1dPHit7fa7eXF/2FA4HGQd+WLlJLKiSCvlum3khFdRW3Ca zIcOUzeGegRzTs7T6zcTDp8ZKscl5UICK1P2vEr9Vo7foKlRsCcCrbEUU4Vpx+iVxoOX AQ== Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by userp2120.oracle.com with ESMTP id 36hkrmrwsm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 06 Feb 2021 18:52:50 +0000 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 116IoSJF069876; Sat, 6 Feb 2021 18:52:50 GMT Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2169.outbound.protection.outlook.com [104.47.57.169]) by userp3020.oracle.com with ESMTP id 36hjeh8rrm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 06 Feb 2021 18:52:49 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XqW8kcUa2qA4Uhs1igfOJqv+QYeWqhGXI3GRQfIO0H++ihhztgnf09Mk9Ski9nMhD2HYS/3XQnJCdYkARs95g55d3ERkjhhp6IRUVnXdfj5+3AsKK5sTSmKZEq4HObDnGbw3fHQJcQ59Fj2FweAJU7F5z54WU973jm3jltq1hnj5Ou+F5VBJmHxdKWS7UJHsu2fAqIGvGHM9N2yUyv48uQrZdTuIyskjLlGBsb84JLbP2cxt/5mw/fRq2eCdyWKIDRt3oH0wj9R2BaVuywRVioC1qE80nzSepH/NYa5MYcNJcWJNQgFqQrKEZLhEfreamHzFbA5W4joKAgmut7/viw== 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-SenderADCheck; bh=u5v+/zWj4jrcAk/xFrovB2MKPvCPqEaTjwIT6U2FIag=; b=aRBzQFlq5Iir4pLp3iM4crVpZuXXH5pd1vDPJ5pmOoh5Y9eN7xIKC0ndhWcYLja1xbEgoy63g49Ngfo6T9TAQhErQwenYHMz7idto1rAGVPsqaRX0wYuEUZrzJZPZb+V3un70DrovqtrmkDYtW6TEF5LanHRvf+5KuQOVJ2X0VaK8w4AO/R3lCYbQ/5j8QsOJufZQ+eXlN5jvVJGnQzhicqwbMG9t+IZgYXcbSuRFizwQi4rbEvnpYTyt32AgSPCwY39KSTU7VAqHGUA+IeXiZ3ohHvS9JjrS2nR9GsiajUJUnsieoZhbKq6hHuoCJnr60+4gW8XRK3vAle5NfM7Qg== 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=u5v+/zWj4jrcAk/xFrovB2MKPvCPqEaTjwIT6U2FIag=; b=tyVIP9YYrg/P27Q4A//w22vGAOrB5bM/mXl0h53svGdbWKD2gD7Xb5PzdpU81KnSgvIZRqCx6qe98PzFXSuiGaSYfDr+sd0ZFIQhxuHXRkj7pmj/2WAqQJyAvT3I1TfPa83IEykcqMVizD5YxkExz4dWJdCrCPfpid8bm1dXzrg= Received: from SA2PR10MB4474.namprd10.prod.outlook.com (2603:10b6:806:11b::15) by SN6PR10MB2781.namprd10.prod.outlook.com (2603:10b6:805:d4::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3805.19; Sat, 6 Feb 2021 18:52:47 +0000 Received: from SA2PR10MB4474.namprd10.prod.outlook.com ([fe80::dc4d:9cd0:2010:daa2]) by SA2PR10MB4474.namprd10.prod.outlook.com ([fe80::dc4d:9cd0:2010:daa2%7]) with mapi id 15.20.3825.030; Sat, 6 Feb 2021 18:52:47 +0000 From: Drew Adams Thread-Topic: [External] : Re: bug#24383: 25.1.50; Deprecation/internalization of `read-from-whole-string' Thread-Index: AQHW/ITrpuBen7XMlkGiV9MGSld9ZKpLcmMg Date: Sat, 6 Feb 2021 18:52:47 +0000 Message-ID: References: <87im759xsw.fsf@gnus.org> In-Reply-To: <87im759xsw.fsf@gnus.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: gnus.org; dkim=none (message not signed) header.d=none;gnus.org; dmarc=none action=none header.from=oracle.com; x-originating-ip: [73.170.83.28] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 0b1c6e05-fced-4bbe-bdcb-08d8cad0655b x-ms-traffictypediagnostic: SN6PR10MB2781: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: nvrrVgdtCN/bjsRvWuYYGxNqM30975fNhDIZOntfk4UBGDoFrSdUTPOStPB78MSAGAgLdVyKyYd6DzvjbnHXJcRTq7Ynw3UN9GJKYQtuodr+JwdU8kjB9fEvyRdZBZ2a+nJpyUxFIVLqGVmcnEySjfFH3qLVs7LYS8IimgZRF2wOsSJ7m1y9oAGItyUJ0ST3PQAeSRbX1G8KsSHYPlNp1EAn1ilPpvSJPYGFkWQeXpsCxmWy06PnlXtDwYx7zNXHuFbVqbEt6b1+O1cklt9cVjyUED9CDYEXGcI1pydkcFbtgD5b2EgM4ZfgzGvLPY9iwITZh5mViGKkt9YwvAvJwXEepqyBa84Z2Ar0GcHeow9rvKWWTRVQJRd1khfV0ZFu06xsIvWRgzI6/f2CskEKv2QhlOrKyi6PJjl+F7i/oJFfvgnT1K3/BVD5qlfhC42svVKgJ4iZ7j/Y5iZ5eXu3WIT3/4sR8bk2MrIy0DzZmJeO9l3uz0outkzih6MZnYmiEJ/LcNVU1t2oMcfqP3gdeknLHzNTJFUWVLISv5nnstxjI/ZxQyOSMdBKLnZEPnW0 x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SA2PR10MB4474.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(396003)(366004)(376002)(346002)(136003)(39860400002)(66556008)(64756008)(66446008)(66476007)(66946007)(4326008)(86362001)(5660300002)(6916009)(52536014)(7696005)(76116006)(8676002)(6506007)(478600001)(33656002)(2906002)(9686003)(44832011)(8936002)(71200400001)(26005)(55016002)(316002)(186003)(81973001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: /AA9JeMCnqUa0PDY+aCdNDV/N+1OUFuSUbfGRh1HxNa0FLzxStFhECBPscO8o9X8XLEv3KmPl8ladgsuNPq2O0fpR5ZArqmeNqruBZXD0MWm3Vh627wCXtpaUvWDUqEVGle1y0ATrYSAZkOMJ7k2nNCc0Ach+aEMG24dLIKB44vIRtndBemaNPK+4Gwu7KUu7aA7uieT0ELrH+py+X7uvTqK7BJiOQoZgmzi3MkSIcJlFrRHBuINdAKs2OJzXMF51zH785SEcU8vGh4df7TwxOkDKsiiTL1krDj9TXTJDhloWyedOwzFNkWs7+Zf8c5GANbCaOZ+ulTasr/dNAUdzaVUjG/etcPAmpwa8g8qiJps8FNA1pVVwTQfXBdwqLwhwkpbmWeTjR3PgtJBFnRIP+UOngVOfE3haCofttBA4h+OnoepiNmDGMwH4T+5XFwPZ+dbBzYVL8lR+rF5Q3ilxLHR7yVjLyUF7wEj2XeVnL/t8LNHI+Pkg8zVa+UQp7Vf4wLSNEMaDiVk+DIMtcoNw0RWHU3zxfzzGdZeT8udgDNY7qThySg46tdRzxPe6y063mCMXSp7eJ6WOKqQU3lwwvnX9fN55dj0Wc7LbPJhBZRb3nRhmqa9gzJoBirSyb5CuKPAf2B4j/rO1qNbbK4322rjMiNEkq3kOOEiefCtd7CFimVmKGQIt4FJNe2Fec2m7LMEIY+KyLZn7JbPC4X54W3WXg2mEqaRvrNBbeEyIT2J8aLoRpWxR9nmgR+CL5syoQMDTqVosYTmYnYwzBKBQEUJ2uZTU0E4YwsJDoghvvr57RV45nhWq8ovr6wsN9NT9FvUDm6W4S5e+V6aDekykvwzEWmr6jMEDuK7WWGLdeeEDeNtTHlMFhrcRa/g8x9stfVvLQ2NaM0/jkZ3vkPajmLyRPvSaD0kaEyaFRlQKYKtMPGH7Zrav44RcwOpei4tMhS4ie5b0PZvYq9HFlHbUIasTu2a3QdXYCmONBWqK1ufDn1iTOKNLHoXdFE76pbikDyw06feSocKEpai9Diy7kKRfz9bk6f9FywOm02wepb/ITyxOdt9ppfydm8XRBbIo7GRaAufsC6i5O2sSiOFXrQYPb30ASm1dPYSQsK4G4mycxYhGzi1qXdAmOvVUEeYaMk3vpOtYulZdFtUNWgICUjRPxYdHBBX31V0/dZzYBk4Okvvr+x3fxUsa28mEb5SDAEm+bT75bvZQTXbMwCRc6HD4A1vpWfsu0Lu4grpiwCUAQTMKS9ZLsdOlG6OMOnPWtFzBMhecWI+OgABBXzKkTCWWfkDcNqtgs42fXfTasL8SrtryZRDpLsPdzeghg48 x-ms-exchange-transport-forked: True 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: SA2PR10MB4474.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0b1c6e05-fced-4bbe-bdcb-08d8cad0655b X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Feb 2021 18:52:47.3811 (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: /TJFbkNOaXfNL69Usp6UhJvRQdwbBjwKsYvxHZ0NgWxGd0BIlrG8P3eyBiuo/ACP3xjM7sBUjl0ozJ4v1ikvGA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR10MB2781 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9887 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 suspectscore=0 adultscore=0 phishscore=0 bulkscore=0 mlxlogscore=999 spamscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2102060135 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9887 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 malwarescore=0 priorityscore=1501 bulkscore=0 spamscore=0 impostorscore=0 mlxscore=0 suspectscore=0 mlxlogscore=999 adultscore=0 clxscore=1011 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2102060135 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 (---) > > What's the rationale behind the demotion of > > `read-from-whole-string' and its replacement by > > "internal" function > > `thing-at-point--read-from-whole-string'? ? > > "This is an internal thingatpt function and should not be used." > > > > Should not be used? Really? Why? >=20 > "Should not be used" is perhaps over-stating the case, but it's an > internal thingatpt function with a name that didn't reflect that, so > renaming it is appropriate. What makes it "internal"? The name change is based on it being internal, so the reason it's considered internal can't be because of its name. Does it have anything at all to do specifically with thing-at-point? What makes it a candidate for being designated "internal"? Does anything in the code or the doc string suggest thing-at-point? "Read a Lisp expression from STR. Signal an error if the entire string was not used." > It's up to you whether you want to use internal > Emacs functions, of course. Closing. The alternative to using this function is to reproduce its definition. Is that better? Wouldn't it be better to move this out of thingatpt.el? Isn't this function generally useful? I've copied the definition to two libraries, unrelated to each other. That says something about how internal this is, no?