From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hongyi Zhao Newsgroups: gmane.emacs.help Subject: Re: Find the longest word in the word list file. Date: Thu, 12 Aug 2021 11:13:52 +0800 Message-ID: References: <87a6loarpi.fsf@zoho.eu> <875ywbz98q.fsf@zoho.eu> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25933"; mail-complaints-to="usenet@ciao.gmane.io" To: Emanuel Berg , help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 12 05:14:29 2021 Return-path: Envelope-to: geh-help-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 1mE1Ar-0006XC-5B for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 12 Aug 2021 05:14:29 +0200 Original-Received: from localhost ([::1]:47226 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mE1Ap-0005lR-Ln for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 11 Aug 2021 23:14:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36674) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mE1AV-0005l6-DZ for help-gnu-emacs@gnu.org; Wed, 11 Aug 2021 23:14:07 -0400 Original-Received: from mail-lf1-x12f.google.com ([2a00:1450:4864:20::12f]:36625) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mE1AT-0002G0-RB for help-gnu-emacs@gnu.org; Wed, 11 Aug 2021 23:14:07 -0400 Original-Received: by mail-lf1-x12f.google.com with SMTP id r9so1066831lfn.3 for ; Wed, 11 Aug 2021 20:14:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=5G8UrGRB3uQUv57q157kO/08lyw1jJ33yRA9S2+Svrw=; b=De2PRiceYTvAT1VQiDeecZaaPL3f/H82uI3C2N6o7fcD1zfZN1VjcJTzJQmengJgcq 7QPNEPeK3o127UZQon0genuRc/Vt9loJLXGQXlDSx39+OdCRC7+RikobgmOMXgOtK0UV sEcBfSazV3iizwg87aolaVvNIPKt0s0a09Dp4mKs5HPPBHe/ExV7rhR32nH3Du21wJ7O V0Btv2l+My2ZwL4xFRovcHKeEhbyJG/sfCYTWxiEz38SVa7zIVJD2Vk8lJVNvIA7CjQz TIe4I9rcr9vlzwcSwKmdQqbnfETidIbVVhbpu7LFKzJrqUWJdSrISrvxp1JtZymI+0q8 7IcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=5G8UrGRB3uQUv57q157kO/08lyw1jJ33yRA9S2+Svrw=; b=XohSFG8adGVirYSvmaruGuakGHMiL5I/2iwSP0w0vytReXCFMJj+4sz/ymiHhRLbjv UFurdppjXJmJHClg87iWHLzYbGrJT8DrbRUuu30pDJJCVV3TogrFTH6eOFaoe5ZEY+O7 cJ3J/r/gjb/GK/VG5wdppAZOGAd1ma7pxRROXxp8ezFRNDk5j/zAyejXpoXp3IIfVs6m UKqg7XjceyEPnu1jMx3ApJQU52XTT4NAtm+sVxRiGA24a/Jm/p5nmr33OmxBN9OYQ0PQ XX2zR3tE4bHMHliAaBT/pi5nydBLULEhohpHAF8H9VdA/wIAXq5mtpVf+vjic0z8hy1S OIzA== X-Gm-Message-State: AOAM533MGW3kg/j6oOYuvFaE5Ee5Whs8RuxetAdccC21EYwzUrqgJxGH IeDdO+7LGDKMVFaTbT/LM8lzejTiR1by6GrQLX0= X-Google-Smtp-Source: ABdhPJz58levBAbF3te+0cD48twOTD2w+sksMEbqJ4mxigbxZDcw+ttdEk31YSi3wvtDuBT9FayvhPzliiv1zD17Tsg= X-Received: by 2002:a05:6512:33c2:: with SMTP id d2mr1006149lfg.75.1628738043954; Wed, 11 Aug 2021 20:14:03 -0700 (PDT) In-Reply-To: <875ywbz98q.fsf@zoho.eu> Received-SPF: pass client-ip=2a00:1450:4864:20::12f; envelope-from=hongyi.zhao@gmail.com; helo=mail-lf1-x12f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:132465 Archived-At: On Thu, Aug 12, 2021 at 10:29 AM Emanuel Berg via Users list for the GNU Emacs text editor wrote: > > Hongyi Zhao wrote: > > >>> But in Emacs, what is the elisp implementation for the > >>> above task? > >> > >> This is one better suited for the shell IMO. > > > > I don't think so. Whether you start completely from scratch, > > with elisp, there are so many selections for doing such > > a thing. This way can give us a deeper understanding of > > algorithms and how computers work. > > Uhm, I said that with respect to solving the particular > problem, not get a deeper understanding of anything, but even > so Emacs/Elisp isn't more from scratch than awk. What makes > you think it is? >From the point of view that lisp can be used to develop operating systems [1], while awk absolutely can't. > Well, maybe if you do it from the scratch buffer... OMG. I can't say anything. [1] https://en.wikipedia.org/wiki/Lisp_Machine_Lisp Best, Hongyi