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#15117: 24.3.50; doc of `(forward|backward)-*': state return value Date: Tue, 11 Feb 2014 11:13:47 -0800 (PST) Message-ID: <342d1809-3109-4629-8599-0b99727a96bd@default> References: <1dc76f7a-5481-41df-b976-ec22229d7283@default> <874n4a42f0.fsf@building.gnus.org> <1281d0fd-77cb-45e2-b99d-f4ad24b0fc4e@default> <2fefcbaf-9417-4f57-93af-490ea73aea98@default> <68a64949-d801-4d09-8dc8-4b6ae0824855@default> <8361oltxu1.fsf@gnu.org> <67b917ca-8b69-49fd-9e12-68da310f7567@default> <52FA6F2C.3010602@easy-emacs.de> <83zjlxscgs.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1392146124 14450 80.91.229.3 (11 Feb 2014 19:15:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Feb 2014 19:15:24 +0000 (UTC) Cc: 15117@debbugs.gnu.org To: Eli Zaretskii , Andreas =?UTF-8?Q?R=C3=B6hler?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 11 20:15:30 2014 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 1WDInj-0002S6-Jx for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Feb 2014 20:15:23 +0100 Original-Received: from localhost ([::1]:35570 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDInj-00035q-5c for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Feb 2014 14:15:23 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54535) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDInY-00034j-Gy for bug-gnu-emacs@gnu.org; Tue, 11 Feb 2014 14:15:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WDInP-0007t9-UR for bug-gnu-emacs@gnu.org; Tue, 11 Feb 2014 14:15:12 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46661) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDInP-0007sV-RY for bug-gnu-emacs@gnu.org; Tue, 11 Feb 2014 14:15:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WDInO-0006T8-7i for bug-gnu-emacs@gnu.org; Tue, 11 Feb 2014 14:15: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: Tue, 11 Feb 2014 19:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15117 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix Original-Received: via spool by 15117-submit@debbugs.gnu.org id=B15117.139214604224756 (code B ref 15117); Tue, 11 Feb 2014 19:15:01 +0000 Original-Received: (at 15117) by debbugs.gnu.org; 11 Feb 2014 19:14:02 +0000 Original-Received: from localhost ([127.0.0.1]:47843 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WDImP-0006Qw-2k for submit@debbugs.gnu.org; Tue, 11 Feb 2014 14:14:01 -0500 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:50649) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WDImL-0006QS-2c for 15117@debbugs.gnu.org; Tue, 11 Feb 2014 14:13:58 -0500 Original-Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s1BJDovm021896 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 11 Feb 2014 19:13:50 GMT Original-Received: from userz7021.oracle.com (userz7021.oracle.com [156.151.31.85]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s1BJDmPx006427 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Tue, 11 Feb 2014 19:13:49 GMT Original-Received: from abhmp0017.oracle.com (abhmp0017.oracle.com [141.146.116.23]) by userz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s1BJDmFe028946; Tue, 11 Feb 2014 19:13:48 GMT In-Reply-To: <83zjlxscgs.fsf@gnu.org> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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:85404 Archived-At: > > IMO these functions should return point if successful, i.e. if > > point was moved, but nil otherwise, for example at EOB. >=20 > Why point? E.g., forward-to-indentation could returns the column > where it ended up, forward-same-syntax could return the syntax > class, forward-visible-line could return the number of screen lines > traversed, etc. >=20 > Once again, the potentially useful value might well be different for > each function, and needs to be considered separately for each. > There's no "one fits all" here. I agree 100%, and said the same thing earlier. Point is likely a reasonable value for some functions, for which there is no more useful value. But we should think carefully about each function, especially in terms of its common use case(s).