From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15864 invoked by alias); 11 Feb 2007 20:17:40 -0000 Received: (qmail 15852 invoked by uid 22791); 11 Feb 2007 20:17:39 -0000 X-Spam-Check-By: sourceware.org Received: from heller.inter.net.il (HELO heller.inter.net.il) (213.8.233.23) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 11 Feb 2007 20:17:34 +0000 Received: from HOME-C4E4A596F7 (IGLD-84-228-248-86.inter.net.il [84.228.248.86]) by heller.inter.net.il (MOS 3.7.3a-GA) with ESMTP id BVV68184 (AUTH halo1); Sun, 11 Feb 2007 22:17:14 +0200 (IST) Date: Mon, 12 Feb 2007 03:11:00 -0000 Message-ID: From: Eli Zaretskii To: Daniel Jacobowitz CC: gdb@sourceware.org, gdb@sources.redhat.com In-reply-to: <20070211180855.GA24482@nevyn.them.org> (message from Daniel Jacobowitz on Sun, 11 Feb 2007 13:08:55 -0500) Subject: Re: Special characters in doc strings of GDB commands Reply-to: Eli Zaretskii References: <20070210204729.GA29601@nevyn.them.org> <20070211180855.GA24482@nevyn.them.org> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-02/txt/msg00078.txt.bz2 Message-ID: <20070212031100.VI5hocjRpyIJGUQ6GzlhRAIKVjhgTxCKUfkTGuwrbmw@z> > Date: Sun, 11 Feb 2007 13:08:55 -0500 > From: Daniel Jacobowitz > > I haven't thought about it. Probably we'd have to add an additional > argument to everywhere that registers a command, to provide the string > explicitly. I'm not thrilled with the idea of duplicating that much > text though! Right. Another possibility would be to enclose the short description part in some control sequence, which will be stripped by the commands that print the doc strings. For example, like makeinfo uses ^[..^] for similar purposes.