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 14:48:19 -0500 Message-ID: References: <875zdw7ot2.fsf@gmail.com> <837dyck320.fsf@gnu.org> 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="40769"; 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: stepnem@gmail.com, 40697@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 18 21:49:11 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 1jPtSg-000ATe-Q0 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 18 Apr 2020 21:49:10 +0200 Original-Received: from localhost ([::1]:32858 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jPtSf-0000Q1-Sk for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 18 Apr 2020 15:49:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42028) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jPtSZ-0000Pb-6t for bug-gnu-emacs@gnu.org; Sat, 18 Apr 2020 15:49:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jPtSY-00070w-6Y for bug-gnu-emacs@gnu.org; Sat, 18 Apr 2020 15:49:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60298) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jPtSX-00070a-QA for bug-gnu-emacs@gnu.org; Sat, 18 Apr 2020 15:49:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jPtSX-0002Pp-OH for bug-gnu-emacs@gnu.org; Sat, 18 Apr 2020 15:49:01 -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 19:49: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.15872393149244 (code B ref 40697); Sat, 18 Apr 2020 19:49:01 +0000 Original-Received: (at 40697) by debbugs.gnu.org; 18 Apr 2020 19:48:34 +0000 Original-Received: from localhost ([127.0.0.1]:43611 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jPtRx-0002Ou-Nm for submit@debbugs.gnu.org; Sat, 18 Apr 2020 15:48:34 -0400 Original-Received: from gateway33.websitewelcome.com ([192.185.145.190]:24495) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jPtRu-0002Oh-0H for 40697@debbugs.gnu.org; Sat, 18 Apr 2020 15:48:24 -0400 Original-Received: from cm16.websitewelcome.com (cm16.websitewelcome.com [100.42.49.19]) by gateway33.websitewelcome.com (Postfix) with ESMTP id 57DF923AE6 for <40697@debbugs.gnu.org>; Sat, 18 Apr 2020 14:48:21 -0500 (CDT) Original-Received: from box5101.bluehost.com ([162.241.244.13]) by cmsmtp with SMTP id PtRtjmT8U8vkBPtRtjXygY; Sat, 18 Apr 2020 14:48:21 -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=zQhST2/LKUMcrZLwcX+cofT1+M4k2SujvuZZfrKeSm0=; b=0cQ/2HeQxU4x5ALv7ndli4w5pf 91uRqEaDG0f+Kugtu5Wby8Oyn3Nsidl0bv1kQy6c7Z725z9hg6gbIP4ZwNAfadbNtATZtKUAepjqp 2tsn7WAl/udLXTB/91JhQMKm55aEaD9UhtcmI5R8tY2ftFgmthgPVyuBVBJBOoGzpKC7wseUiiJ2T Z4LgHVFJTpV+QNKFucnbmbAoiCHpOb9twXzV0/jcPERm4kQT1jAjCafTwPLK5hzfhq4wIUalVL69i 0Lq+5L4uw5QputNI5orow8yjA76mszWTCl+/I75OXdEIdWcklzqwjKHx9FUXYEFjswIfFG5HmPvuU eq1H0JXQ==; Original-Received: from 50-201-197-203-static.hfc.comcastbusiness.net ([50.201.197.203]:41340 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 1jPtRt-002JQG-0X; Sat, 18 Apr 2020 13:48:21 -0600 In-Reply-To: <837dyck320.fsf@gnu.org> 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: 1jPtRt-002JQG-0X X-Source-Sender: 50-201-197-203-static.hfc.comcastbusiness.net ([192.168.1.110]) [50.201.197.203]:41340 X-Source-Auth: roland@logikalsolutions.com X-Email-Count: 9 X-Source-Cap: bG9naWthbHM7bG9naWthbHM7Ym94NTEwMS5ibHVlaG9zdC5jb20= X-Local-Domain: yes 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:178595 Archived-At: On 4/18/20 2:27 PM, Eli Zaretskii wrote: >> 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? No, the wiki page does. https://www.emacswiki.org/emacs/Sorting The wording in the help text is rather expert friendly. A user coming in cold to Emacs is going to interpret "prefix argument" as [GOLD]-7 REVERSE sort-lines [RETURN] I've been getting back into Emacs because I was getting back into COBOL and working with GNUCOBOL. Emacs is currently as close to an IDE as their is until one of the 3.x versions of GNUCOBOL is officially released. It will work with a few more then. EDT on GUI Emacs makes the editor vastly more accessible to anyone who has used EDT, LSE, JED (with EDT keypad enabled) and others than mirror the EDT keypad. Of course, any time I have to deep dive to get into something I tend to write a book about it. https://www.theminimumyouneedtoknow.com/app_book.html The GUI Emacs book focusing on using EDT keypad is almost complete. Sort was the last topic before creating cover art, tagging indexes, and sending off for first round edit. -- 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