From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#22560: forward-word etc should be interactive-only Date: Thu, 4 Feb 2016 13:15:17 -0800 (PST) Message-ID: <862b3779-8af0-42b6-9e59-7012e4d10ef4@default> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1454620588 29474 80.91.229.3 (4 Feb 2016 21:16:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Feb 2016 21:16:28 +0000 (UTC) To: Glenn Morris , 22560@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 04 22:16:13 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aRRG9-0006Wj-9D for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Feb 2016 22:16:13 +0100 Original-Received: from localhost ([::1]:44084 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRRG5-0007OT-GI for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Feb 2016 16:16:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33215) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRRG1-0007OM-Tb for bug-gnu-emacs@gnu.org; Thu, 04 Feb 2016 16:16:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRRFy-0004HB-LM for bug-gnu-emacs@gnu.org; Thu, 04 Feb 2016 16:16:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52116) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRRFy-0004H7-HJ for bug-gnu-emacs@gnu.org; Thu, 04 Feb 2016 16:16:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aRRFy-0004CY-8o for bug-gnu-emacs@gnu.org; Thu, 04 Feb 2016 16:16:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 Feb 2016 21:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22560 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22560-submit@debbugs.gnu.org id=B22560.145462052814131 (code B ref 22560); Thu, 04 Feb 2016 21:16:02 +0000 Original-Received: (at 22560) by debbugs.gnu.org; 4 Feb 2016 21:15:28 +0000 Original-Received: from localhost ([127.0.0.1]:60705 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRRFQ-0003fZ-Bo for submit@debbugs.gnu.org; Thu, 04 Feb 2016 16:15:28 -0500 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:47613) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRRFO-0003Y0-J4 for 22560@debbugs.gnu.org; Thu, 04 Feb 2016 16:15:26 -0500 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 u14LFJBu015042 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 4 Feb 2016 21:15:20 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 u14LFJ28009792 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 4 Feb 2016 21:15:19 GMT Original-Received: from abhmp0012.oracle.com (abhmp0012.oracle.com [141.146.116.18]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id u14LFIqh031275; Thu, 4 Feb 2016 21:15:19 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6691.5000 (x86)] X-Source-IP: userv0022.oracle.com [156.151.31.74] 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:112437 Archived-At: > The new implementation of subword-mode means that forward-word etc need > to be marked as interactive-only, all existing uses of such functions > need to be reviewed, and the issue needs to be mentioned in NEWS. >=20 > See bug#17558, where this was all pointed out. Commands such as `forward-word' are explicitly counted on by thingatpt.el and 3rd-party libraries to be used non-interactively. The thingatpt code moves forward and backward over things using `forward-*' and `backward-*' commands noninteractively. Why would/should/must we consider such a command to be "interactive-only"? I see this in Emacs 25 NEWS: ** New properties that can be specified with `declare': *** (interactive-only INSTEAD), says to use INSTEAD for non-interactive use= . Presumably this means that if you declare `forward-word' as `interactive-only' then you will at the same time provide an alternative that replaces it for noninteractive use. If you do that, you will break 3rd-party code (I assume that you will update the thingatpt.el code to use the new replacement). Why not instead create a new _command_ to replace the _interactive_ use? That likely breaks no code, except for key bindings, which are quickly discovered by users and updated. Why would limiting function `forward-ANYTHING' to interactive use be TRT?