From mboxrd@z Thu Jan  1 00:00:00 1970
Path: main.gmane.org!not-for-mail
From: Kenichi Handa <handa@m17n.org>
Newsgroups: gmane.emacs.devel
Subject: Re: new *Help* argument highlighting
Date: Wed, 12 May 2004 22:22:26 +0900 (JST)
Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org
Message-ID: <200405121322.WAA11366@etlken.m17n.org>
References: <20040512130729.FB5D.JMBARRANQUERO@wke.es>
	<200405121125.UAA11097@etlken.m17n.org>
	<20040512143721.FB63.JMBARRANQUERO@wke.es>
NNTP-Posting-Host: deer.gmane.org
Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya")
Content-Type: text/plain; charset=US-ASCII
X-Trace: sea.gmane.org 1084377724 32108 80.91.224.253 (12 May 2004 16:02:04 GMT)
X-Complaints-To: usenet@sea.gmane.org
NNTP-Posting-Date: Wed, 12 May 2004 16:02:04 +0000 (UTC)
Cc: emacs-devel@gnu.org
Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed May 12 18:01:51 2004
Return-path: <emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org>
Original-Received: from quimby.gnus.org ([80.91.224.244])
	by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian))
	id 1BNwB4-0006Mc-00
	for <emacs-devel@deer.gmane.org>; Wed, 12 May 2004 18:01:50 +0200
Original-Received: from monty-python.gnu.org ([199.232.76.173])
	by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian))
	id 1BNwB4-0001f7-00
	for <emacs-devel@quimby.gnus.org>; Wed, 12 May 2004 18:01:50 +0200
Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1BNvej-0000B4-OY
	for emacs-devel@quimby.gnus.org; Wed, 12 May 2004 11:28:25 -0400
Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34)
	id 1BNvcv-0008Lt-I3
	for emacs-devel@gnu.org; Wed, 12 May 2004 11:26:33 -0400
Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34)
	id 1BNuaE-00056A-8F
	for emacs-devel@gnu.org; Wed, 12 May 2004 10:20:14 -0400
Original-Received: from [192.47.44.130] (helo=tsukuba.m17n.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1BNtgt-0002Lr-OG
	for emacs-devel@gnu.org; Wed, 12 May 2004 09:22:32 -0400
Original-Received: from fs.m17n.org (fs.m17n.org [192.47.44.2])
	by tsukuba.m17n.org (8.11.6p2/8.11.6) with ESMTP id i4CDMRP16243;
	Wed, 12 May 2004 22:22:27 +0900 (JST)
Original-Received: from etlken.m17n.org (etlken.m17n.org [192.47.44.125])
	by fs.m17n.org (8.11.6p2/8.11.6) with ESMTP id i4CDMQ926328;
	Wed, 12 May 2004 22:22:26 +0900 (JST)
Original-Received: (from handa@localhost)
	by etlken.m17n.org (8.8.8+Sun/3.7W-2001040620) id WAA11366;
	Wed, 12 May 2004 22:22:26 +0900 (JST)
Original-To: jmbarranquero@wke.es
In-reply-to: <20040512143721.FB63.JMBARRANQUERO@wke.es> (message from Juanma
	Barranquero on Wed, 12 May 2004 14:53:12 +0200)
User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2
	Emacs/21.3 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI)
X-BeenThere: emacs-devel@gnu.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: "Emacs development discussions." <emacs-devel.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/emacs-devel>,
	<mailto:emacs-devel-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/emacs-devel>
List-Post: <mailto:emacs-devel@gnu.org>
List-Help: <mailto:emacs-devel-request@gnu.org?subject=help>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/emacs-devel>,
	<mailto:emacs-devel-request@gnu.org?subject=subscribe>
Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org
Xref: main.gmane.org gmane.emacs.devel:23255
X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:23255

In article <20040512143721.FB63.JMBARRANQUERO@wke.es>, Juanma Barranquero <jmbarranquero@wke.es> writes:

> Kenichi Handa <handa@m17n.org> wrote:

>>  I prefer a shorter convention something like @NAME or $NAME.

> BTW, it should be @NAME@ or $NAME$, because I want to support:

>   {N}th
>   {INDEX}es
>   {SLOT}s
>   make-{NAME}
>   {NAME}-p

> (the part between {} is highlighted).  All of them do happen now (see
> defstruct, for example).

Even with $NAME, it seems
  (replace-regexp "\\$\\([A-Z]\\(-*[A-Z]\\)*\\)" "{\\1}")
can correctly find parts to be highlighted (perhaps there
will be more efficient regexp).

---
Ken'ichi HANDA
handa@m17n.org