From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#3001: 23.0.92; doc for regexp construct (?: Date: Tue, 14 Apr 2009 23:41:48 -0700 Message-ID: <006801c9bd95$41e3e180$0200a8c0@us.oracle.com> Reply-To: Drew Adams , 3001@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1239779110 12209 80.91.229.12 (15 Apr 2009 07:05:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 15 Apr 2009 07:05:10 +0000 (UTC) To: Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 15 09:06:28 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LtzBw-0005OK-7s for geb-bug-gnu-emacs@m.gmane.org; Wed, 15 Apr 2009 09:05:59 +0200 Original-Received: from localhost ([127.0.0.1]:54771 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LtzAX-0007cz-KR for geb-bug-gnu-emacs@m.gmane.org; Wed, 15 Apr 2009 03:04:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LtzAS-0007ck-Te for bug-gnu-emacs@gnu.org; Wed, 15 Apr 2009 03:04:20 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LtzAN-0007Ye-DV for bug-gnu-emacs@gnu.org; Wed, 15 Apr 2009 03:04:19 -0400 Original-Received: from [199.232.76.173] (port=51083 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LtzAN-0007YZ-02 for bug-gnu-emacs@gnu.org; Wed, 15 Apr 2009 03:04:15 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:27296) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LtzAM-0007UA-Gz for bug-gnu-emacs@gnu.org; Wed, 15 Apr 2009 03:04:14 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LtzAL-0008Ku-Ld for bug-gnu-emacs@gnu.org; Wed, 15 Apr 2009 03:04:13 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3F73oMj015753; Wed, 15 Apr 2009 00:03:50 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n3F6o3oD012225; Tue, 14 Apr 2009 23:50:03 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: "Drew Adams" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 15 Apr 2009 06:50:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 3001 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.123977768810940 (code B ref -1); Wed, 15 Apr 2009 06:50:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 15 Apr 2009 06:41:28 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3F6fO59010934 for ; Tue, 14 Apr 2009 23:41:26 -0700 Original-Received: from mx10.gnu.org ([199.232.76.166]:48199) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LtyoG-00061g-1l for emacs-pretest-bug@gnu.org; Wed, 15 Apr 2009 02:41:24 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LtyoE-0001u8-Kr for emacs-pretest-bug@gnu.org; Wed, 15 Apr 2009 02:41:23 -0400 Original-Received: from rcsinet11.oracle.com ([148.87.113.123]:55638 helo=rgminet11.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LtyoE-0001te-7t for emacs-pretest-bug@gnu.org; Wed, 15 Apr 2009 02:41:22 -0400 Original-Received: from acsinet13.oracle.com (acsinet13.oracle.com [141.146.126.235]) by rgminet11.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n3F6ihFW023822 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 15 Apr 2009 06:44:45 GMT Original-Received: from acsmt703.oracle.com (acsmt703.oracle.com [141.146.40.81]) by acsinet13.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n3F6fglE000798 for ; Wed, 15 Apr 2009 06:41:44 GMT Original-Received: from dradamslap1 (/141.144.161.223) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 14 Apr 2009 23:41:12 -0700 X-Mailer: Microsoft Office Outlook 11 Thread-Index: Acm9lUA2MqdmKe/QQomZs1S33hvZxQ== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-Source-IP: acsmt703.oracle.com [141.146.40.81] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A010208.49E5818A.023C:SCFMA4539814,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Resent-Date: Wed, 15 Apr 2009 03:04:19 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:27195 gmane.emacs.pretest.bugs:24281 Archived-At: Emacs calls regexp groups that use the grouping construct "(?:" "shy groups". I don't get the impression that that is a common term for this construct, outside Emacs. Googling "shy group" shows only Emacs hits. Googling and searching for regexp groups shows that terms such as "non-capturing group" and "unnumbered group" are more typically used for "(?:". And the Emacs doc for "(?:" even explains it as an unnumbered group. It doesn't explain or hint at the meaning of "shy" at all. This seems like a poor choice of words. "Shy" might already have become the Emacs "traditional" terminology, so that it can't easily be replaced (some people will look for it). But at least some explanation of the use of the word "shy" is in order, if only for mnemonic purposes. What were you thinking? ;-) (Perhaps it is translated from some other language, where it has more than one meaning?) More importantly, this construct does not appear to be indexed in the manual. It should be indexed under "(: in regexp", as well as under "regexp non-capturing group" and "regexp unnumbered group" - and of course "regexp shy group", if that term is kept. In GNU Emacs 23.0.92.1 (i386-mingw-nt5.1.2600) of 2009-03-30 on SOFT-MJASON Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4)'