From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#24383: 25.1.50; Deprecation/internalization of `read-from-whole-string' Date: Tue, 6 Sep 2016 09:52:12 -0700 (PDT) Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1473180849 20680 195.159.176.226 (6 Sep 2016 16:54:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 6 Sep 2016 16:54:09 +0000 (UTC) To: 24383@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Sep 06 18:54:00 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bhJd9-0003dM-MU for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Sep 2016 18:53:51 +0200 Original-Received: from localhost ([::1]:35060 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhJd7-0002xd-Lr for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Sep 2016 12:53:49 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37410) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhJcP-0002Go-SU for bug-gnu-emacs@gnu.org; Tue, 06 Sep 2016 12:53:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bhJcM-0008F2-JS for bug-gnu-emacs@gnu.org; Tue, 06 Sep 2016 12:53:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53882) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhJcM-0008Ev-GT for bug-gnu-emacs@gnu.org; Tue, 06 Sep 2016 12:53:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bhJcM-0004Hn-AR for bug-gnu-emacs@gnu.org; Tue, 06 Sep 2016 12:53:02 -0400 X-Loop: help-debbugs@gnu.org 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: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.147318075116435 (code B ref -1); Tue, 06 Sep 2016 16:53:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 6 Sep 2016 16:52:31 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6753.5000 (x86)] 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:123027 Archived-At: 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''