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: For text processing, which is more powerful, emacs or perl? Date: Sun, 20 Dec 2020 11:03:08 +0800 Message-ID: References: <87tushbawm.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="7214"; 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 Sun Dec 20 04:03:43 2020 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 1kqp0Z-0001mP-PS for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 20 Dec 2020 04:03:43 +0100 Original-Received: from localhost ([::1]:34872 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kqp0Y-0001Ep-S9 for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 19 Dec 2020 22:03:42 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52646) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kqp0F-0001Ef-Qh for help-gnu-emacs@gnu.org; Sat, 19 Dec 2020 22:03:23 -0500 Original-Received: from mail-lf1-x12b.google.com ([2a00:1450:4864:20::12b]:46072) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kqp0E-0003lv-2i for help-gnu-emacs@gnu.org; Sat, 19 Dec 2020 22:03:23 -0500 Original-Received: by mail-lf1-x12b.google.com with SMTP id x20so15431370lfe.12 for ; Sat, 19 Dec 2020 19:03:21 -0800 (PST) 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=xDpxTUJltWGSNADzA5p3Gj8VeU7dphrPv3SJf8uGMDo=; b=EKEcDsOKAej7eR2TCPh2EmMU03l0mitJ4DWJ8cq9f+Dmc6hNVZa+D/5WMGhJnZ6hfp NYC30ZgwvvOr8u1zW+FfAgISya70FYjBEJoJRx/hl+Y36JQCDVBVd0gaM1s03XH0rC+m P9JuBb4K46YCP7pXVttKgayj7UbRkYdyvxHi2QnnpgDbRA5eehfON2gnlkR5zHIlFAkA t1FEF84FjCyL9z8cr0GLjW046JuzxIiap1O/uhHTxN1CSN8S5FIWtdlkfu0x0Eof+ZCa W9zY9LonhZE8n7vANY1O+P6HXSLFI55PmC3wd4Q/OZjdlrcNhHaoMhgp9fcmL09S75Ai KIYg== 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=xDpxTUJltWGSNADzA5p3Gj8VeU7dphrPv3SJf8uGMDo=; b=gIsRhxCfmbQIesIS/Mkz+0PdtAscZFDUgyAsMuq0VQpUyAUCUhjfXDti9uk1Ece2Ro ZTTSYNMF1iGE0e38g0018nw6FiZVRw2RvmL5DuQjcT/uqQgaoGAZqjuSCJdGmXQvSioo nvxfOVGoDRK9Cq+m1U0RNQ3/ep4hXwlrJvkSJ1oP8KySVHPRm9jlLQ4dkzifQOeoto+V IB6HKkdWo6XnKrG/WzlMS4cYQxJzW03U81m1O8puW/lSBmf35GXBG+zUjjzFP4/PPwsh hXkBoy5h4/Ibk1U6QJJSHS9bU0Sb2MFQj2AENRLEE41T05g28FwvkYdcTuMn+V8JLGHI +1Og== X-Gm-Message-State: AOAM5316EcEZJthNcGkZ5ns39Dg2v6KtRdLu4/2eOlU0NuiNX2c/jSoy eMKcK6XUODe7H89STwpYWAkZ0HZ+XmvdukNxmCg= X-Google-Smtp-Source: ABdhPJz/W4PEeUnvXPlkpjTIMVeeuqDjrI2f5ozKSvFJWmy8Ldd9dmIUFM4zKo48TnrG+39bLBifJbDpvxumHxszJBo= X-Received: by 2002:a19:ab01:: with SMTP id u1mr3955763lfe.466.1608433400158; Sat, 19 Dec 2020 19:03:20 -0800 (PST) In-Reply-To: <87tushbawm.fsf@zoho.eu> Received-SPF: pass client-ip=2a00:1450:4864:20::12b; envelope-from=hongyi.zhao@gmail.com; helo=mail-lf1-x12b.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:126592 Archived-At: On Sun, Dec 20, 2020 at 8:04 AM Emanuel Berg via Users list for the GNU Emacs text editor wrote: > > Jean Louis wrote: > > > CPAN and Perl are not obsolete, not at all > > Today most people will turn to Python instead of Perl for > solving a general task. Development in Python is very fast and > the code is to the untrained eye easier to read than Perl code > which has a more cryptic and esoteric style. Although with that said, it's an indisputable fact that the top 1 capability for text-based regex processing capability is still belongs to Perl. > > But that doesn't mean Perl is obsolete and people will still > use it for many years to come. > > For Emacs there should be many alternatives and packages that > deal with Perl code. `perl-mode' is built-in (defined in > perl-mode.el.gz), you get that when you open a .pl file. > > Interestingly, while Perl feels old, and Python pretty new, > the difference is only 4 years: Perl is from 1987, > Python 1991. > > -- > underground experts united > http://user.it.uu.se/~embe8573 > https://dataswamp.org/~incal > > -- Assoc. Prof. Hongyi Zhao Theory and Simulation of Materials Hebei Polytechnic Vocational and Technical University NO. 552 North Gangtie Road, Xingtai, China