unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: 31698@debbugs.gnu.org
Subject: bug#31698: 27.0; `rx' help: Show equivalent regexp constructs
Date: Sun, 3 Jun 2018 10:01:07 -0700 (PDT)	[thread overview]
Message-ID: <66469700-731c-4a05-a06e-51dba8dd8149@default> (raw)

Help for `rx' could use some improvement.

1. There seems to be no other help for `rx' than `C-h f rx'.  Nothing in
   the Elisp manual, for instance.  Perhaps it should have its own
   manual.  Or perhaps it should be documented in the Elisp manual (?).
   It's hard to imagine someone trying to learn the use of `rx' just by
   looking at `C-h f rx'.  Emacs should try to do better.

2. Please document (in the doc string of `rx', if nowhere else) the
   correspondences between each of the `rx' constructs and regexp
   syntax.  At least please document the most important ones.  For
   example, `zero-or-more' presumably corresponds to postfix regexp char
   `*'.

3. Please consider reordering the doc-string text to cover more commonly
   used and more important constructs before those less likely to be
   used.  E.g., `not', `and', and `or', seem more common and more
   important than `category'.

In GNU Emacs 27.0.50 (build 3, x86_64-w64-mingw32)
 of 2018-03-21
Repository revision: e70d0c9e66d7a8609450b2889869d16aeb0363b5
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --without-dbus --host=x86_64-w64-mingw32
 --without-compress-install -C 'CFLAGS=-O2 -static -g3''





             reply	other threads:[~2018-06-03 17:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-03 17:01 Drew Adams [this message]
2018-06-03 17:14 ` bug#31698: 27.0; `rx' help: Show equivalent regexp constructs Eli Zaretskii
2018-06-03 17:53   ` Drew Adams
2018-06-03 18:30     ` Eli Zaretskii
2018-06-03 20:02       ` Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=66469700-731c-4a05-a06e-51dba8dd8149@default \
    --to=drew.adams@oracle.com \
    --cc=31698@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).