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#24353: 25.1.1: looking-back wrong info Date: Fri, 2 Sep 2016 10:51:01 -0700 (PDT) Message-ID: References: <83lgzael08.fsf@gnu.org> <83k2euehyc.fsf@gnu.org> 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 1472838753 28429 195.159.176.226 (2 Sep 2016 17:52:33 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 2 Sep 2016 17:52:33 +0000 (UTC) Cc: 24353@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 Fri Sep 02 19:52:30 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 1bfsdY-00067V-Ki for geb-bug-gnu-emacs@m.gmane.org; Fri, 02 Sep 2016 19:52:20 +0200 Original-Received: from localhost ([::1]:43332 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bfsdW-0005oB-EA for geb-bug-gnu-emacs@m.gmane.org; Fri, 02 Sep 2016 13:52:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43319) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bfsdM-0005lb-Na for bug-gnu-emacs@gnu.org; Fri, 02 Sep 2016 13:52:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bfsdG-00020X-O1 for bug-gnu-emacs@gnu.org; Fri, 02 Sep 2016 13:52:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:50260) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bfsdG-00020N-KX for bug-gnu-emacs@gnu.org; Fri, 02 Sep 2016 13:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bfsdG-0001Gt-CU for bug-gnu-emacs@gnu.org; Fri, 02 Sep 2016 13:52: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: Fri, 02 Sep 2016 17:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24353 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix notabug Original-Received: via spool by 24353-submit@debbugs.gnu.org id=B24353.14728386724833 (code B ref 24353); Fri, 02 Sep 2016 17:52:02 +0000 Original-Received: (at 24353) by debbugs.gnu.org; 2 Sep 2016 17:51:12 +0000 Original-Received: from localhost ([127.0.0.1]:47972 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bfscS-0001Fs-Io for submit@debbugs.gnu.org; Fri, 02 Sep 2016 13:51:12 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:50656) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bfscR-0001Fh-P3 for 24353@debbugs.gnu.org; Fri, 02 Sep 2016 13:51:12 -0400 Original-Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u82Hp4c5004979 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 2 Sep 2016 17:51:05 GMT Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0021.oracle.com (8.13.8/8.13.8) with ESMTP id u82Hp4Nw022724 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 2 Sep 2016 17:51:04 GMT Original-Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id u82Hp2tF013581; Fri, 2 Sep 2016 17:51:03 GMT In-Reply-To: <83k2euehyc.fsf@gnu.org> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6753.5000 (x86)] X-Source-IP: aserv0021.oracle.com [141.146.126.233] 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:122863 Archived-At: FWIW, I agree with Andreas. Or at least I have a question as to why this was changed (from longstanding practice for this function's doc). The *only* difference I see in the output of `C-h f looking-back', between Emacs 24.5 and my most recent pre-Emacs 25 snapshot (which is not very recent, admittedly) is the false signature (looking-back REGEXP LIMIT &optional GREEDY) instead of the correct signature (looking-back REGEXP &optional LIMIT GREEDY). How does this change help Emacs users? This is not a command, for users. It is a function used by Emacs-Lisp programmers. Sounds like `C-h f' is becoming less useful, and programmers now need to bypass it and go directly to the source code, just to find out the correct signature. If it is so important that people provide LIMIT then spell that out _explicitly_ in the doc as a recommendation. It should be a no-no to just change the advertized signature of a function, without changing the actual signature (code) and without otherwise changing the doc.