From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: Off Topic Date: Thu, 24 May 2018 17:41:04 +0200 Message-ID: <87tvqxrrhr.fsf@gmail.com> References: <7D0B397D-5D1B-4B8C-93B6-1CA207DD552A@scratch.space> <6271469D-6B02-4334-828E-D81816143734@scratch.space> <87d0xltogq.fsf@gmail.com> <83sh6haxm9.fsf@gnu.org> 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 1527176356 9025 195.159.176.226 (24 May 2018 15:39:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 24 May 2018 15:39:16 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 24 17:39:12 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 1fLsKd-0002Em-R8 for ged-emacs-devel@m.gmane.org; Thu, 24 May 2018 17:39:11 +0200 Original-Received: from localhost ([::1]:39292 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fLsMj-0005Qb-6t for ged-emacs-devel@m.gmane.org; Thu, 24 May 2018 11:41:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51674) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fLsMZ-0005QU-4d for emacs-devel@gnu.org; Thu, 24 May 2018 11:41:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fLsMV-00014n-9J for emacs-devel@gnu.org; Thu, 24 May 2018 11:41:11 -0400 Original-Received: from mail-wr0-x244.google.com ([2a00:1450:400c:c0c::244]:44655) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fLsMV-00014O-2s; Thu, 24 May 2018 11:41:07 -0400 Original-Received: by mail-wr0-x244.google.com with SMTP id y15-v6so3955271wrg.11; Thu, 24 May 2018 08:41:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-followup-to:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=Xjzldy05u+uQ4YGuqSJs0BrfCoLxfdMj6JfNgvb3LCY=; b=SDxiFy8faoXGvtatieqrXGUzgfdR0/g8NIxN3Tp1d8nv2h7fYyALpHgnzRLwIcL2br 8nCPrjzwwpD3Y+7ZpWpwprvmyl81XYiyAIG/b7k2+YHD72UYDenQ3mzZKTbz2XnDxufV 7IqCU0HZnmMK8XCcqArkvwailhtueefTZKxeo7Ht+pa8DV0nWY1aMkil4FbBd2JyvHhk x6hWj69BFP/qBdZf19vYay2NO/PZtY6CnvYMcEaCnmSFChqoODxxlsn41pNM5IRLAJVl KZI9ZJYubGOMjZvC9ZJ9mxng1325fgzlpqRm+dp0A73JNyBl7CLDgllMGmsG8OMJCR8x n+NQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-followup-to :mail-copies-to:gmane-reply-to-list:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=Xjzldy05u+uQ4YGuqSJs0BrfCoLxfdMj6JfNgvb3LCY=; b=Jmf3oDapZV92Ss6SExPC+1B2u/ydEdy4/EnZH8yv9HGID/y5Buh/xBVSpaORywN0gS SUH73TNBOYVDHOg5xFzIoHsBkoSV3lQu4ozKfJ5vxDjIcvW0yYlNmtHgUVmI5x7y1pUr Arzj6deZxnNyFd9pJaLS1xumbNGv6R/Mc/YBGFVmG9aKNmAxK6zKMlJiTvXP7tKheYdk ZIhDpNzXi+zCSlUg4uNfsqQN7rFTu5UB4wXspIbVdFJLsqPQUlyKuZAm6dDyEtAjNnEj Muq4NMK6iFHAxmsKTMviu+y8ZWuHchsJFlEQdU3D0SMlLLiKZHzgi/9Cr2ee+XOrxoph Ga5A== X-Gm-Message-State: ALKqPwcCwkHSnJnm6x/p4gZyo+VfDI++teIwsZAAH0yVUpk1wNENQ3ke Igf/+tWI5VZXFZyZ0l1CpNkC4K3kG4I= X-Google-Smtp-Source: AB8JxZr6WdnEBHvNyk/UEj2R0f16LFKbxJ7+I4cu67CscfTBDQzrJYgC5QlhPG/jqtWeY3u+Fyhp8w== X-Received: by 2002:adf:b782:: with SMTP id s2-v6mr5003530wre.247.1527176465596; Thu, 24 May 2018 08:41:05 -0700 (PDT) Original-Received: from rpluim-ubuntu ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id x16-v6sm6517610wrp.94.2018.05.24.08.41.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 May 2018 08:41:04 -0700 (PDT) Mail-Followup-To: emacs-devel@gnu.org Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: <83sh6haxm9.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 24 May 2018 18:20:46 +0300") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::244 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:225657 Archived-At: Eli Zaretskii writes: >> From: Robert Pluim >> Cc: Noam Postavsky , van@scratch.space, eliz@gnu.o= rg, emacs-devel@gnu.org >> Date: Thu, 24 May 2018 11:03:33 +0200 >>=20 >> 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. > > I'm all for more documentation, but in this case what would you add to > the doc string that already is very long and very detailed? I meant documentation of its existence, something like: diff --git i/doc/emacs/search.texi w/doc/emacs/search.texi index 263c4c5dcc..fd65cf3b38 100644 --- i/doc/emacs/search.texi +++ w/doc/emacs/search.texi @@ -802,7 +802,8 @@ Regexps This section (and this manual in general) describes regular expression features that users typically use. @xref{Regular Expressions,,, elisp, The Emacs Lisp Reference Manual}, for additional -features used mainly in Lisp programs. +features used mainly in Lisp programs. For an alternative and more +verbose syntax, see the @code{rx} package. =20 Regular expressions have a syntax in which a few characters are special constructs and the rest are @dfn{ordinary}. An ordinary