From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#40697: 25.3; sort-lines not accepting reverse parameter Date: Sat, 18 Apr 2020 22:27:03 +0300 Message-ID: <837dyck320.fsf@gnu.org> References: <875zdw7ot2.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="90139"; mail-complaints-to="usenet@ciao.gmane.io" Cc: stepnem@gmail.com, 40697@debbugs.gnu.org To: Roland Hughes Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 18 21:29:13 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jPt9N-000NNG-M2 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 18 Apr 2020 21:29:13 +0200 Original-Received: from localhost ([::1]:60988 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jPt9M-00040l-OZ for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 18 Apr 2020 15:29:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39974) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jPt9C-0003sH-LB for bug-gnu-emacs@gnu.org; Sat, 18 Apr 2020 15:29:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jPt9C-0007h8-AV for bug-gnu-emacs@gnu.org; Sat, 18 Apr 2020 15:29:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60283) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jPt9B-0007gz-Ud for bug-gnu-emacs@gnu.org; Sat, 18 Apr 2020 15:29:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jPt9B-0001t4-Oc for bug-gnu-emacs@gnu.org; Sat, 18 Apr 2020 15:29:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 18 Apr 2020 19:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40697 X-GNU-PR-Package: emacs Original-Received: via spool by 40697-submit@debbugs.gnu.org id=B40697.15872381247228 (code B ref 40697); Sat, 18 Apr 2020 19:29:01 +0000 Original-Received: (at 40697) by debbugs.gnu.org; 18 Apr 2020 19:28:44 +0000 Original-Received: from localhost ([127.0.0.1]:43596 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jPt8u-0001sW-2j for submit@debbugs.gnu.org; Sat, 18 Apr 2020 15:28:44 -0400 Original-Received: from eggs1p.gnu.org ([209.51.188.97]:58514 helo=eggs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jPt8s-0001sJ-EY for 40697@debbugs.gnu.org; Sat, 18 Apr 2020 15:28:42 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:34648) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jPt8n-0007RP-2b; Sat, 18 Apr 2020 15:28:37 -0400 Original-Received: from [176.228.60.248] (port=1063 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jPt7P-0008Jp-Va; Sat, 18 Apr 2020 15:27:12 -0400 In-Reply-To: (message from Roland Hughes on Sat, 18 Apr 2020 13:45:17 -0500) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Received-From: 209.51.188.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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:178593 Archived-At: > From: Roland Hughes > Date: Sat, 18 Apr 2020 13:45:17 -0500 > Cc: 40697@debbugs.gnu.org > > Okay, I was not descriptive enough. > > In interactive mode you cannot enter the argument but according to the > documentation I should be able to. To enter an argument I would have to > be able to use the space bar after entering sort-lines. When I try using > the spacebar I get [SoleCompletion] and no space. Cannot enter argument. I modified the doc string to say this instead: Sort lines in region alphabetically; REVERSE non-nil means descending order. Interactively, REVERSE is the prefix argument, and BEG and END are the region. Called from a program, there are three arguments: REVERSE (non-nil means reverse order), BEG and END (region to sort). The variable ‘sort-fold-case’ determines whether alphabetic case affects the sort order. Does this modified doc string resolve the issue you had?