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:35:00 -0500 Message-ID: <47b07603-8349-f701-052c-8e2b5c5a7137@logikalsolutions.com> References: <875zdw7ot2.fsf@gmail.com> <871rok7glz.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="120199"; 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 21:36:33 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 1jPtGS-000UsY-UV for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 18 Apr 2020 21:36:33 +0200 Original-Received: from localhost ([::1]:32808 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jPtG8-0006F8-0I for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 18 Apr 2020 15:36:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40724) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jPtG0-0006Ek-B4 for bug-gnu-emacs@gnu.org; Sat, 18 Apr 2020 15:36:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jPtFz-0001j6-Li for bug-gnu-emacs@gnu.org; Sat, 18 Apr 2020 15:36:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60288) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jPtFy-0001il-5h for bug-gnu-emacs@gnu.org; Sat, 18 Apr 2020 15:36:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jPtFy-00025E-27 for bug-gnu-emacs@gnu.org; Sat, 18 Apr 2020 15:36: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 19:36: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.15872385157942 (code B ref 40697); Sat, 18 Apr 2020 19:36:02 +0000 Original-Received: (at 40697) by debbugs.gnu.org; 18 Apr 2020 19:35:15 +0000 Original-Received: from localhost ([127.0.0.1]:43601 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jPtF4-00023m-Oi for submit@debbugs.gnu.org; Sat, 18 Apr 2020 15:35:15 -0400 Original-Received: from gateway24.websitewelcome.com ([192.185.50.91]:31513) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jPtF2-00023e-G4 for 40697@debbugs.gnu.org; Sat, 18 Apr 2020 15:35:05 -0400 Original-Received: from cm12.websitewelcome.com (cm12.websitewelcome.com [100.42.49.8]) by gateway24.websitewelcome.com (Postfix) with ESMTP id D1C8D1B021 for <40697@debbugs.gnu.org>; Sat, 18 Apr 2020 14:35:03 -0500 (CDT) Original-Received: from box5101.bluehost.com ([162.241.244.13]) by cmsmtp with SMTP id PtEzjDLaV1s2xPtEzjqDb6; Sat, 18 Apr 2020 14:35:03 -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=IVRQaH1OIG+cGgqfag6lhCjtw7Inqbe7NGBZ7OvG0G4=; b=WMobkqcsKKDBh92hMukLMi7kHc BXYmEEOCYjz8Oyue4lTYYDNxeeMMFUHfk/9wFUl8tH/cVElaOsnSo89dL563i1NM9GF/1i0xO7scb 7uLDq0YR4MVzr9BQGUSUjMdrrMd6/5/BoKS7P8YjMUimY0zV8PmWME4ohj65ggeoMxdgxC/suQsL0 7QZdQC/w29QYr1AXdfEyjsN64CEwd/XKcJDw2RSb0QNUjnPqIHhtRtQ4nz94Ahqxi4Er9Bejh5Acx b83INhcbAZ9dKywAd686MpY9Rj0H0AuDxQOjgz5isOufwrL4Xvkzdi1PJcPbIN1NvWEaUIGkg6nUE P84icLjw==; Original-Received: from 50-201-197-203-static.hfc.comcastbusiness.net ([50.201.197.203]:41258 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 1jPtEz-002AeK-9y; Sat, 18 Apr 2020 13:35:01 -0600 In-Reply-To: <871rok7glz.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: 1jPtEz-002AeK-9y X-Source-Sender: 50-201-197-203-static.hfc.comcastbusiness.net ([192.168.1.110]) [50.201.197.203]:41258 X-Source-Auth: roland@logikalsolutions.com X-Email-Count: 4 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:178594 Archived-At: On 4/18/20 2:12 PM, Štěpán Němec wrote: > On Sat, 18 Apr 2020 13:45:17 -0500 > Roland Hughes wrote: > >> 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 think you misunderstand. The command does not read any arguments. The > "argument" mentioned in the doc string is the interactive _prefix_ > argument. > > Please do have a look at the manual section I mentioned: > > (info "(emacs) Arguments") > > (you can put point after the closing paren and press C-x C-e) > > Or even try the Emacs tutorial (C-h t) if it's still unclear. > > Also, Eli has since tried to clarify the doc string on the emacs-27 > branch: > > 2020-04-18T19:26:30+03:00!eliz@gnu.org > 6c187ed6b0 (Improve documentation of 'sort-lines') > https://git.sv.gnu.org/cgit/emacs.git/commit/?id=6c187ed6b0 > The biggest turn-off for most new users, even of GUI Emacs is the endless string of C-u M-x C-h letter sequences. EDT mode was a big draw because it could eliminate almost all of that. I've been in IT over 30 years and never found anything more intuitive than keypad navigation. C-u [GOLD]-7 doesn't reliably work. It works the first time, but if you try another sort in the same buffer they don't seem to work. I got similar results with C-u M-x in a shiny new buffer with the same data. First sort worked, second one didn't. From the doc I was really hoping they (whoever they are) had made Emacs more intuitive with EDT mode. [GOLD]-7 sort-lines reverse [RETURN] is much more intuitive IMO, as someone who used EDT for years. I've also done Linux and embedded systems work for years too. The emacswiki site was much more informative than the doc. https://www.emacswiki.org/emacs/Sorting According to the doc the "sort-lines reverse" should have worked. The wiki doesn't even present that as a possibility. Thanks for the assistance. -- 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