From: Jim Blandy <jimb@codesourcery.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: gdb@sources.redhat.com
Subject: Re: Special characters in doc strings of GDB commands
Date: Mon, 12 Feb 2007 17:58:00 -0000 [thread overview]
Message-ID: <m3vei7l1my.fsf@codesourcery.com> (raw)
In-Reply-To: <20070210204729.GA29601@nevyn.them.org> (Daniel Jacobowitz's message of "Sat, 10 Feb 2007 15:47:29 -0500")
Daniel Jacobowitz <drow@false.org> writes:
> On Fri, Jan 19, 2007 at 01:36:56PM +0200, Eli Zaretskii wrote:
>> I see in cli-decode.c:print_doc_line that it displays the first line
>> only up to the first comma or period. However, I don't see this
>> special treatment of these two characters documented anywhere, neither
>> in gdb.texinfo (where it matters for doc strings given to user-defined
>> commands), nor in gdbint.texinfo (where it is important for GDB
>> developers who add new commands).
>>
>> Am I missing something?
>
> Not as far as I know.
>
>> Btw, should we have a mechanism to escape these special characters, at
>> least the comma? Sometimes a sentence looks very awkward or even
>> unclear unless you use a comma.
>
> Isn't this whole mechanism horribly i18n-unfriendly already? Perhaps
> we should just change it...
My understanding is that the first line should be a self-contained
summary. If there is additional text on the first line, it should be
moved onto the second line. Then, print_doc_line could stop at the
line break.
prev parent reply other threads:[~2007-02-12 17:35 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-19 11:37 Eli Zaretskii
2007-02-10 20:47 ` Daniel Jacobowitz
2007-02-11 4:13 ` Eli Zaretskii
2007-02-11 18:09 ` Daniel Jacobowitz
2007-02-11 20:17 ` Daniel Jacobowitz
2007-02-11 20:43 ` Eli Zaretskii
2007-02-12 3:11 ` Eli Zaretskii
2007-02-12 17:25 ` Daniel Jacobowitz
2007-02-12 17:58 ` Jim Blandy [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3vei7l1my.fsf@codesourcery.com \
--to=jimb@codesourcery.com \
--cc=eliz@gnu.org \
--cc=gdb@sources.redhat.com \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox