From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#13056: 24.2.50; sort-subr doc-string and manual Date: Fri, 21 Dec 2012 11:18:20 +0800 Message-ID: <87vcbwks8z.fsf@gnu.org> References: <50BB93AD.7070900@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1356059941 32112 80.91.229.3 (21 Dec 2012 03:19:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 21 Dec 2012 03:19:01 +0000 (UTC) Cc: 13056-done@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 21 04:19:16 2012 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 1Tlt8l-0005PL-Ck for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 Dec 2012 04:19:15 +0100 Original-Received: from localhost ([::1]:44903 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tlt8X-0000hZ-Mp for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Dec 2012 22:19:01 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:57779) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tlt8R-0000hS-JB for bug-gnu-emacs@gnu.org; Thu, 20 Dec 2012 22:18:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tlt8N-0000hQ-PN for bug-gnu-emacs@gnu.org; Thu, 20 Dec 2012 22:18:55 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42968) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tlt8N-0000hJ-Lh for bug-gnu-emacs@gnu.org; Thu, 20 Dec 2012 22:18:51 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Tlt8Y-0002cH-EG for bug-gnu-emacs@gnu.org; Thu, 20 Dec 2012 22:19:02 -0500 Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Fri, 21 Dec 2012 03:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 13056 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 13056@debbugs.gnu.org, cyd@gnu.org, rudalics@gmx.at Original-Received: via spool by 13056-done@debbugs.gnu.org id=D13056.135605992210028 (code D ref 13056); Fri, 21 Dec 2012 03:19:02 +0000 Original-Received: (at 13056-done) by debbugs.gnu.org; 21 Dec 2012 03:18:42 +0000 Original-Received: from localhost ([127.0.0.1]:53219 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tlt8D-0002bg-W4 for submit@debbugs.gnu.org; Thu, 20 Dec 2012 22:18:42 -0500 Original-Received: from mail-pa0-f52.google.com ([209.85.220.52]:41966) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tlt8B-0002bY-C6 for 13056-done@debbugs.gnu.org; Thu, 20 Dec 2012 22:18:40 -0500 Original-Received: by mail-pa0-f52.google.com with SMTP id fb1so2505411pad.25 for <13056-done@debbugs.gnu.org>; Thu, 20 Dec 2012 19:18:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=1uxA1RH632RqrSCXGC3vU5vp8Tj2p6/8FjlLvH7AhLw=; b=0OmMf9ro6q1qz5mOrlxXejvwIVECClYA9KSYdBhgF9rMgMUxov5Fsi1JvPcRln3h3f MBk0lSjsBJ+ymABK/oqCVtcsFnLwWT8DJB8YF5de/oTWev9hnK/9JRRhEpmAuhb8uu25 jK48EW7Q2f0W3Vip5mIgTGg1aZWChjk0RpWUeNrlZ7vU2u7pU9GAJaBWPkONIgncdsPT jeTUu368//khWRgE30LwHSJ9xa0cMxEyjzpHyibsBc6j8Iqx4NToIu5xduuW9bidtIH1 +Io8eqhCtNdVXgGzK3eypjiPPljTxnDq7H9ZxZBjb8ZHlMdn5V2hJlwb1hWV2jO9GEel c0jg== X-Received: by 10.68.247.39 with SMTP id yb7mr36409428pbc.15.1356059906443; Thu, 20 Dec 2012 19:18:26 -0800 (PST) Original-Received: from ulysses ([155.69.18.203]) by mx.google.com with ESMTPS id kl3sm6121869pbc.15.2012.12.20.19.18.22 (version=SSLv3 cipher=OTHER); Thu, 20 Dec 2012 19:18:25 -0800 (PST) In-Reply-To: <50BB93AD.7070900@gmx.at> (martin rudalics's message of "Sun, 02 Dec 2012 18:45:17 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.91 (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.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:68815 Archived-At: martin rudalics writes: > The doc-string of `sort-subr' says that > > PREDICATE is the function to use to compare keys. If keys are numbers, > it defaults to `<', otherwise it defaults to `string<'. > > and the Elisp manual says something similar. This is slightly > misleading ever since this change > > 1993-02-07 Richard Stallman (rms@mole.gnu.ai.mit.edu) > > * sort.el (sort-build-lists): Record the key as pair of positions; > don't copy string from buffer. > (sort-subr): Use compare-buffer-substrings. Fixed, thanks.