From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Roland Hughes Newsgroups: gmane.emacs.bugs Subject: bug#40697: 25.3; sort-lines not accepting reverse parameter Date: Sat, 18 Apr 2020 13:45:17 -0500 Message-ID: References: <875zdw7ot2.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="85054"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 Cc: 40697@debbugs.gnu.org To: =?UTF-8?Q?=C5=A0t=C4=9Bp=C3=A1n_?= =?UTF-8?Q?N=C4=9Bmec?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 18 20:56:46 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 1jPsdw-000LwB-92 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 18 Apr 2020 20:56:44 +0200 Original-Received: from localhost ([::1]:60784 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jPsdv-0005ni-B7 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 18 Apr 2020 14:56:43 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40754) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jPsde-0005l9-ON for bug-gnu-emacs@gnu.org; Sat, 18 Apr 2020 14:56:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jPsde-000409-1H for bug-gnu-emacs@gnu.org; Sat, 18 Apr 2020 14:56:26 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60266) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jPsdd-0003ze-Kk for bug-gnu-emacs@gnu.org; Sat, 18 Apr 2020 14:56:25 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jPsYQ-0000uh-4M for bug-gnu-emacs@gnu.org; Sat, 18 Apr 2020 14:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Roland Hughes Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 18 Apr 2020 18:51:02 +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.15872358273456 (code B ref 40697); Sat, 18 Apr 2020 18:51:02 +0000 Original-Received: (at 40697) by debbugs.gnu.org; 18 Apr 2020 18:50:27 +0000 Original-Received: from localhost ([127.0.0.1]:43576 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jPsXm-0000tX-EW for submit@debbugs.gnu.org; Sat, 18 Apr 2020 14:50:27 -0400 Original-Received: from gateway30.websitewelcome.com ([192.185.180.41]:33118) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jPsSu-0000lb-MH for 40697@debbugs.gnu.org; Sat, 18 Apr 2020 14:45:21 -0400 Original-Received: from cm17.websitewelcome.com (cm17.websitewelcome.com [100.42.49.20]) by gateway30.websitewelcome.com (Postfix) with ESMTP id 27B617F0D for <40697@debbugs.gnu.org>; Sat, 18 Apr 2020 13:45:20 -0500 (CDT) Original-Received: from box5101.bluehost.com ([162.241.244.13]) by cmsmtp with SMTP id PsSujx7niAGTXPsSujHYmx; Sat, 18 Apr 2020 13:45:20 -0500 X-Authority-Reason: nr=8 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=logikalsolutions.com; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Kx9Kkd83GOHrbc7YjN7oyD2ZeGTNkaOqXt8S5HEhXTw=; b=XDbgsygb5z7o7aNppexOyEoWZX BcvNL5pbJ5fusQaeJbWayTv23IsGthlAk8tcnM9ZTFpE1ppLYPF53CXu/6Wygc5g9UIcIAxLEdoB5 akuW9VHkuMe0TVV5+PVlA5ooxJMpibd+KeZbm6NNGRUbOYGmO1Js7wT5OQqdWArjCDGBsNPmMvRZe ZgvirMwf9qHuiQ3qAzZJ55q4HL3dfky3UJC/iAYSLOKuu9PR0B0Y31hrbf9QqVY4RJJbMRZoQDKJ3 sRdgE46kFsDNFbUbq/P0o6p8MQDO5LKsi6xr+ARShALxnBzjdSKftM1h1iTCdpiCz13ER8CmNw/Hj irbKjPCw==; Original-Received: from 50-201-197-203-static.hfc.comcastbusiness.net ([50.201.197.203]:40980 helo=[192.168.1.110]) by box5101.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from ) id 1jPsSt-001grV-Kw; Sat, 18 Apr 2020 12:45:19 -0600 In-Reply-To: <875zdw7ot2.fsf@gmail.com> Content-Language: en-US X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5101.bluehost.com X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - logikalsolutions.com X-BWhitelist: no X-Source-IP: 50.201.197.203 X-Source-L: No X-Exim-ID: 1jPsSt-001grV-Kw X-Source-Sender: 50-201-197-203-static.hfc.comcastbusiness.net ([192.168.1.110]) [50.201.197.203]:40980 X-Source-Auth: roland@logikalsolutions.com X-Email-Count: 4 X-Source-Cap: bG9naWthbHM7bG9naWthbHM7Ym94NTEwMS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-Mailman-Approved-At: Sat, 18 Apr 2020 14:50:20 -0400 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:178589 Archived-At: 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. On 4/18/20 11:15 AM, Štěpán Němec wrote: > On Sat, 18 Apr 2020 06:34:58 -0500 > Roland Hughes wrote: > >> --text follows this line-- >> >> I created a named buffer and pasted a few hundred lines of numbers in >> it. When I >> tried to enter the command "sort-lines reverse" as soon as I hit the >> spacebar I >> was greeted with [SoleCompletion] and could not enter the parameter. > The documentation string of `sort-line' reads: > > ---8<--- > Sort lines in region alphabetically; argument means descending order. > 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. > --->8--- > > Note the "called from a program" before description of the arguments. > > "argument" in the first sentence means the prefix argument during > interactive calls, as described in (info "(emacs) Arguments") > > Maybe we should improve the wording? Would just saying "When called > interactively, prefix argument means sort in descending order" be > enough? > -- Roland Hughes, President Logikal Solutions (630)-205-1593 http://www.theminimumyouneedtoknow.com http://www.infiniteexposure.net http://www.johnsmith-book.com http://www.logikalblog.com http://www.interestingauthors.com/blog