From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#10507: 24.0.92; Doc of `search-forward' (and backward) Date: Mon, 16 Jan 2012 09:10:06 -0500 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1326723084 29839 80.91.229.12 (16 Jan 2012 14:11:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 16 Jan 2012 14:11:24 +0000 (UTC) Cc: 10507@debbugs.gnu.org To: "Drew Adams" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jan 16 15:11:20 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RmnHL-0001gZ-VU for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Jan 2012 15:11:20 +0100 Original-Received: from localhost ([::1]:33096 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmnHL-0003LX-G7 for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Jan 2012 09:11:19 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:47902) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmnHG-0003KP-6v for bug-gnu-emacs@gnu.org; Mon, 16 Jan 2012 09:11:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RmnHA-0003Ak-4R for bug-gnu-emacs@gnu.org; Mon, 16 Jan 2012 09:11:14 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36970) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmnH9-0003Ag-Vw for bug-gnu-emacs@gnu.org; Mon, 16 Jan 2012 09:11:08 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1RmnI2-0007lM-6a for bug-gnu-emacs@gnu.org; Mon, 16 Jan 2012 09:12:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 Jan 2012 14:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10507 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10507-submit@debbugs.gnu.org id=B10507.132672306329750 (code B ref 10507); Mon, 16 Jan 2012 14:12:02 +0000 Original-Received: (at 10507) by debbugs.gnu.org; 16 Jan 2012 14:11:03 +0000 Original-Received: from localhost ([127.0.0.1]:59875 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RmnH5-0007jm-3q for submit@debbugs.gnu.org; Mon, 16 Jan 2012 09:11:03 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:24636) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RmnH3-0007jK-CO for 10507@debbugs.gnu.org; Mon, 16 Jan 2012 09:11:01 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av8EAIIuFE9FxKkV/2dsb2JhbABDqweBJYEKgQaBcgEBBAFWIwULCzQSFBgNJIgNtVCJXQIBAQgCDBEDCQEBBgEFHgoEAQIBAQIDAQIBAQEBAoJ4AQYCAwcBBAEBAQESBQMNEAIDAgEBAwEBg0gEiDuaY4RS X-IronPort-AV: E=Sophos;i="4.71,518,1320642000"; d="scan'208";a="156987765" Original-Received: from 69-196-169-21.dsl.teksavvy.com (HELO ceviche.home) ([69.196.169.21]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 16 Jan 2012 09:10:06 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 11E7D6610D; Mon, 16 Jan 2012 09:10:06 -0500 (EST) In-Reply-To: (Drew Adams's message of "Sat, 14 Jan 2012 14:37:16 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:55787 Archived-At: > Furthermore, the doc says explicitly that the 4th arg MUST BE POSITIVE. > That is no only NOT the case, it is even the case that the Emacs lisp > code uses a negative value as the 4th arg. See, e.g., `zap-to-char'. "MUST BE POSITIVE" doesn't mean that a negative argument will be rejected. So the doc is perfectly allowed to say "MUST BE POSITIVE" even if the code handles negative values (it just means that negative values are "NOT SUPPORTED"). And if some core code uses negative values, that's a naughty breach of abstraction, but that's about it. So I see no bug here. If you want a change, please say which and why. Stefan