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: Convert some Latex expressions in Emacs. Date: Tue, 17 May 2022 11:44:22 +0800 Message-ID: References: <87k0alvxf4.fsf@web.de> <87zgjg2676.fsf@web.de> 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="39011"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs To: Michael Heerdegen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue May 17 05:45:22 2022 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 1nqo9B-0009u2-0t for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 17 May 2022 05:45:21 +0200 Original-Received: from localhost ([::1]:52862 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nqo99-0004TN-Nf for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 16 May 2022 23:45:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33896) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqo8d-0004TE-Bz for help-gnu-emacs@gnu.org; Mon, 16 May 2022 23:44:47 -0400 Original-Received: from mail-ej1-x636.google.com ([2a00:1450:4864:20::636]:46004) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nqo8R-0005ks-Vv for help-gnu-emacs@gnu.org; Mon, 16 May 2022 23:44:37 -0400 Original-Received: by mail-ej1-x636.google.com with SMTP id ch13so32121715ejb.12 for ; Mon, 16 May 2022 20:44:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=opco3cfsiu4W0SZxxGYvqt5hLwoevo+iT6GmOmL0c0w=; b=hFEvXElLBbld0VnkuXgB86cReMWnDd4VKhtmRzl8r3vrwT0dtqmTovUZgUSU5S0B3P r4QIGKGYwdPkkktlGnwdDaq4j8OHC0UglNTOjE80Ob0/IoGHDeOufgtLJbrIlxyAAMWP vz4TeNbwoHtzEBkMHCxefQBYnUGfJ9Xd6sAC0qU0R0wE/KWp3d7HKEuZrcsvGuyDS3SQ L1bGnzb+Rh+l2BeAUFlMVeB71ROq02d3LDNkdSxawpgev2M5lKwO//RCq+p7AWvaYprG 2TNiWbl1iism8/L+557cgTy5eQwLNYRQLcte7cdxCJJcKZT/mms8PkJSpsNlmk5YH4Ra A+ZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=opco3cfsiu4W0SZxxGYvqt5hLwoevo+iT6GmOmL0c0w=; b=bc3BIjTGBmiivYijlWvqPdCj7n4epgnnpg9kw3SgHafy/j36vEkzlGKirQInz4Lu+q PHA5wDaMWCHq5rPc2QE36m1SPtKk11hsKMfoGhexVsOr088ouXs+mGWeJQl+glLAvkYX 62mWDLwWRi+wwdQp1tpYzshMX4vOEwmBPL3CwoZ6CJ6fXrrkuD1CKJF74q0nSIpDe4hH WZ3m++p6kuuxc1IgtIQQYnDBK5panmElu+rWI1m4vkJvLxZSslVlB2oNMK8dmkPOWTUR Lt00cWOD+zKRKfW4URmMB7L+9F6B9dv6xHIbnpAV54yuLrbRd0CdEyId0LQB76DcRXm3 GsVw== X-Gm-Message-State: AOAM530PlTLquqZDhkbV4pI6in847z84WSwF5lKYAxVvZnKyRD40yBsv OClOJBZV9k0/jtywYZw7aezpimGK0x/d0rkA5wU= X-Google-Smtp-Source: ABdhPJyA2k8Jy9CDvu/kG4aZ0K9eDy+lz99uNGPR39IKjex8KDVPnEAUOwML08XJiT9b1h5cHb6jVd4Qd7yo62oG5UU= X-Received: by 2002:a17:907:a06f:b0:6f4:d336:6baa with SMTP id ia15-20020a170907a06f00b006f4d3366baamr17903758ejc.638.1652759073691; Mon, 16 May 2022 20:44:33 -0700 (PDT) In-Reply-To: <87zgjg2676.fsf@web.de> Received-SPF: pass client-ip=2a00:1450:4864:20::636; envelope-from=hongyi.zhao@gmail.com; helo=mail-ej1-x636.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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 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:137292 Archived-At: On Tue, May 17, 2022 at 11:23 AM Michael Heerdegen wrote: > > Hongyi Zhao writes: > > > I roughly browse the relevant introduction here [1]. It seems that all > > Emacs Lisp based regex patterns are more complicated and tedious than > > other languages, e.g., python, wolfram, and so on. > > > > [1] https://elpa.gnu.org/packages/peg.html > > No, that's something different (and a bit more powerful). Didn't want > to confuse you. I rechecked the description here [1], and still can't find any difference. Why do you say they are different? [1] https://www.emacswiki.org/emacs/peg.el > > When you do want to use regexps - what's the problem? You have > incremental regexp based query-replace, symbolic regexps with `rx', > nearly anything one can dream of. > > Michael. > >