From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.devel Subject: rx.el sexp regexp syntax (WAS: Off Topic) Date: Thu, 24 May 2018 06:47:08 -0400 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1527158710 28939 195.159.176.226 (24 May 2018 10:45:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 24 May 2018 10:45:10 +0000 (UTC) Cc: Van L , Eli Zaretskii , Richard Stallman To: Emacs developers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 24 12:45:05 2018 Return-path: Envelope-to: ged-emacs-devel@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 1fLnk1-0007Rg-MF for ged-emacs-devel@m.gmane.org; Thu, 24 May 2018 12:45:05 +0200 Original-Received: from localhost ([::1]:37722 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fLnm8-0001Hf-SU for ged-emacs-devel@m.gmane.org; Thu, 24 May 2018 06:47:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41455) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fLnm2-0001HO-J8 for emacs-devel@gnu.org; Thu, 24 May 2018 06:47:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fLnm1-0002sc-OO for emacs-devel@gnu.org; Thu, 24 May 2018 06:47:10 -0400 Original-Received: from mail-ot0-x233.google.com ([2607:f8b0:4003:c0f::233]:38016) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fLnm1-0002sE-I7; Thu, 24 May 2018 06:47:09 -0400 Original-Received: by mail-ot0-x233.google.com with SMTP id n3-v6so1356421ota.5; Thu, 24 May 2018 03:47:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc :content-transfer-encoding; bh=SYwUBy3LviByPanXM70kOfCq1cLjC1RguQnjKxXFKdQ=; b=ccn/dSG0g4BUr3snE9B/YK7t9Nb1OP297PDMUujnoltIpfl3enwOyCtc0t137/+jTp aiCTGT5ETqoBAfzz93mvBLGdx6TWlOAZXLMThXZM9ERDHbuLViQU+gRQWPqdxXCHf3SJ iA8Nu740bAVms/lEsd1YRrQ8XqDnIAxRiBPg9KnUjopnlHCvVeEuxuG3AefZ3dT0qS2T gvYYC6HfSOdnrkHw7nc9oVhNt7Ah7ckt8j13c838+LCt+ThPP/TQxJWXSAKgi8r9NlQ+ cYW5e4fq9M6xst/WX/KQCR8WYmDO/Ca4l+03I5t9OEUPF3G9t0SdebiDadoUI49ZRUWC WeMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc :content-transfer-encoding; bh=SYwUBy3LviByPanXM70kOfCq1cLjC1RguQnjKxXFKdQ=; b=kkpJgzp3ScSbenjoLHV12nSjGZ8DwvWXr/JK3lew8sQnxyqOXPFOZygEamLVtBpuSu qA2UdKm4y55yybzeRTdDjVWSszLrM6d5dizfJfSsjngpxjpzrAmIy1pEQfwASCHA8Ba0 +6tyl6QNc3GJpPnUpDAopiMrJINnSHZFKs1weGbGObKfcX6xPBswJmecbinJ8mC/kb9G fP4GQ8OQ/1FnWf9CNL9tbMnjaIJRQijH6OFEzbZx95TY5k/hLmV7FIl9P3uGAupFMLCQ ZJdHad+N0oD2YG34BQ1Wg9pFCz0rLeqt5spD/ZPbPypf+1jTALG+Pxj3LOC4R2Ev2AFA ZUew== X-Gm-Message-State: ALKqPwfwck6vg02heJoQt5IRkj5DXM3l5nhbeWSiemtBzlab7F2BV6E6 eMSq5zWurSswh+Oorkf1VYPkaQ99tk+IYzPl4Mc= X-Google-Smtp-Source: AB8JxZpRGlTenMYJGTxxr4bScYzqBlDV9bjp/F9UeX87eYomh9wOExFEjIcrwr2S1QGWp83NwdLFJdkeUaNNNDqYVpU= X-Received: by 2002:a9d:320f:: with SMTP id t15-v6mr4459623otc.196.1527158828669; Thu, 24 May 2018 03:47:08 -0700 (PDT) Original-Received: by 2002:a4a:587:0:0:0:0:0 with HTTP; Thu, 24 May 2018 03:47:08 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4003:c0f::233 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:225648 Archived-At: On 24 May 2018 at 05:03, Robert Pluim wrote: > Richard Stallman writes: >> > > We have such things but we haven't adopted any of them in Emacs it= self. >> >> > Doesn't rx.el qualify? >> >> It's an example of what I said. We have it, but we don't actually use i= t >> much if at all. This suggests to me that it has drawbacks which prevent >> it from being clearly superior. Ah, I misunderstood what you meant by "adopted". > I=CA=BCve never used rx.el because I didn=CA=BCt know it existed. It=CA= =BCs not > described in the regular expression chapter of the emacs lisp > reference manual, nor in the emacs user manual. > >> If someone comes up with a replacement syntax that reduces the drawbacks= , >> we might start using it all the time. > > Documenting rx.el would be a more productive use of time, I think, > especially since I=CA=BCve now noticed via reading rx.el that we already > have sregex as well. Let's pick one rather than inventing a third > syntax. sregex.el is in lisp/obsolete/, so we have picked rx.el.