From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Tromey Newsgroups: gmane.emacs.devel Subject: Re: RFC: status icon support Date: Sun, 13 Jan 2008 18:35:17 -0700 Message-ID: References: <200801120157.m0C1v6WL020654@oogie-boogie.ics.uci.edu> <18312.32305.841007.398324@a1ihome1.kph.uni-mainz.de> Reply-To: Tom Tromey NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1200276539 20804 80.91.229.12 (14 Jan 2008 02:08:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Jan 2008 02:08:59 +0000 (UTC) Cc: ulm@gentoo.org, emacs-devel@gnu.org, emacs@gentoo.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 14 03:09:20 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JEElL-0007Hz-Rj for ged-emacs-devel@m.gmane.org; Mon, 14 Jan 2008 03:09:20 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JEEkx-00027S-L4 for ged-emacs-devel@m.gmane.org; Sun, 13 Jan 2008 21:08:55 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JEEku-00027N-6x for emacs-devel@gnu.org; Sun, 13 Jan 2008 21:08:52 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JEEkr-000278-QC for emacs-devel@gnu.org; Sun, 13 Jan 2008 21:08:50 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JEEkr-000275-Jf for emacs-devel@gnu.org; Sun, 13 Jan 2008 21:08:49 -0500 Original-Received: from mx1.redhat.com ([66.187.233.31]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JEEkn-0004Fk-TY; Sun, 13 Jan 2008 21:08:46 -0500 Original-Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m0E28hGm016333; Sun, 13 Jan 2008 21:08:43 -0500 Original-Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m0E28ge1013094; Sun, 13 Jan 2008 21:08:42 -0500 Original-Received: from opsy.redhat.com (ton.yyz.redhat.com [10.15.16.15]) by pobox.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m0E28gYi025990; Sun, 13 Jan 2008 21:08:42 -0500 Original-Received: by opsy.redhat.com (Postfix, from userid 500) id 6E5C937824D; Sun, 13 Jan 2008 18:35:17 -0700 (MST) X-Attribution: Tom In-Reply-To: (Richard Stallman's message of "Sun\, 13 Jan 2008 21\:01\:15 -0500") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.990 (gnu/linux) X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:86869 Archived-At: rms> Would someone please add comments explaining the meaning of rms> EMACS_ARG_Y and EMACS_ARG_N? I cannot understand their definitions, rms> and I am not sure what they do. Here's my understanding of them: dnl EMACS_ARG_Y(NAME, HELP-STRING, [IF-GIVEN], [IF-NOT-GIVEN]) dnl Define a new --with option which is disabled by default. dnl NAME is the base name of the option. dnl HELP-STRING is the help text for the option. It should not include dnl the option name; this macro provides that to AS_HELP_STRING. dnl IF-GIVEN and IF-NOT-GIVEN are the same as for AC_ARG_WITH. AC_DEFUN([EMACS_ARG_Y],[dnl AC_ARG_WITH([$1],[AS_HELP_STRING([--with-$1],[$2])],[$3],[$4])dnl ])dnl dnl EMACS_ARG_N(NAME, HELP-STRING, [IF-YES], [IF-NO]) dnl Define a new --with option which is enabled by default. dnl Arguments are the same as EMACS_ARG_Y. AC_DEFUN([EMACS_ARG_N],[dnl AC_ARG_WITH([$1],[AS_HELP_STRING([--without-$1],[$2])],[$3],[$4])dnl ])dnl Tom