From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Bob Proulx Newsgroups: gmane.emacs.help Subject: Re: Most used words in current buffer Date: Fri, 20 Jul 2018 17:25:53 -0600 Message-ID: <20180720171313245849986@bob.proulx.com> References: <861sc1iu1m.fsf@zoho.com> <87pnzkcgna.fsf@bsb.me.uk> <20180719000330488732477@bob.proulx.com> <87effzywgk.fsf@alphaville.usersys.redhat.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1532129066 6050 195.159.176.226 (20 Jul 2018 23:24:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 20 Jul 2018 23:24:26 +0000 (UTC) User-Agent: Mutt/1.10.1 (2018-07-13) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jul 21 01:24:22 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fgel4-0001UI-EQ for geh-help-gnu-emacs@m.gmane.org; Sat, 21 Jul 2018 01:24:22 +0200 Original-Received: from localhost ([::1]:50129 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fgenB-0005k4-25 for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Jul 2018 19:26:33 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56328) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fgeme-0005jz-CF for help-gnu-emacs@gnu.org; Fri, 20 Jul 2018 19:26:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fgema-00070X-B4 for help-gnu-emacs@gnu.org; Fri, 20 Jul 2018 19:26:00 -0400 Original-Received: from havoc.proulx.com ([96.88.95.61]:59608) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fgema-00070P-53 for help-gnu-emacs@gnu.org; Fri, 20 Jul 2018 19:25:56 -0400 Original-Received: from joseki.proulx.com (localhost [127.0.0.1]) by havoc.proulx.com (Postfix) with ESMTP id 23D39239 for ; Fri, 20 Jul 2018 17:25:55 -0600 (MDT) Original-Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id 6507A2123E for ; Fri, 20 Jul 2018 17:25:54 -0600 (MDT) Original-Received: by hysteria.proulx.com (Postfix, from userid 1000) id C66902DC71; Fri, 20 Jul 2018 17:25:53 -0600 (MDT) Mail-Followup-To: help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 96.88.95.61 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:117524 Archived-At: Udyant Wig wrote: > Bob Proulx wrote: > > Also remember that at the time knowledge and daily use of ed (and qed, > > That is true. I expect that learning the three of ed, sed, and grep > will be mutually reinforcing; the functionality in ed forms the basis of > those in sed and grep. Perhaps the other facet of this is regular expressions. When I was in my entry level university class the first two weeks solid were spent on learning to use the computer, use the editor, work with files, and using regular expressions. That last, regular expressions, seems to be less emphasized today. It isn't taught at all at the local university. AFAICT students here pick it up only in passing if at all. They are missing out on a very powerful feature. > One cannot however expect ed to be available by default on modern Unix > systems. E.g., it is not there by default on Debian. I have two stories that I find funny about ed. This one happened in the last week. A friend at a meetup had a problem with his Ubuntu laptop. His GUI was broken and needed a small file fix. This person uses the GUI for everything and had no terminal editors installed, as far as I could tell. Not vi, vim, nor emacs nor other. Of course this person's normal GUI editors were unavailable without X running. But strangely 'ed' *was* installed. I don't use Ubuntu but I guess it got installed by default there. Or something pulled it in. I have no idea. I think you can already tell where this is going. I used ed to edit and fix things. Being able to use it appeared like magic to this person who couldn't imagine you could edit something without a mouse. This happened in just this last week! Having ed there made the task easy. And I'll save the other funny story about ed for another time. :-) Bob