This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Use external editor in 'commands' command
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Alfredo Ortega <ortegaalfredo at gmail dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 15 Jan 2009 06:20:31 +0200
- Subject: Re: Use external editor in 'commands' command
- References: <e598931c0901141343j79164cf6we2bc5307f41f41da@mail.gmail.com> <e598931c0901141347j4d159f16he23ad164760518ff@mail.gmail.com> <ueiz5wm3n.fsf@gnu.org> <e598931c0901141632m4f124d85l2452f7e2870cad91@mail.gmail.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Wed, 14 Jan 2009 22:32:03 -0200
> From: Alfredo Ortega <ortegaalfredo@gmail.com>
>
> I see. This updated patch contains my proposed documentation changes
> to gdb.texinfo and refcard.tex. I hope that the patch format is
> adequate.
Thanks you.
First, please also submit ChangeLog entries for your changes, both in
code and in documentation.
> +@item commands @r{[}@var{bnum}@r{]} edit
> +This spawns an external editor for adding or editing commands. the final @code{end} is not necessary in this case. @xref{Choosing your Editor}.
^^^
Capital "T" here.
Also, please leave 2 blanks after a period that ends a sentence.
> +@node Choosing your Editor
> @subsection Choosing your Editor
Adding a @node requires that you also modify the @menu in its parent
node, otherwise makeinfo will barf.
> +\qquad {\it command-list}&execute GDB {\it command-list} every time breakpoint {\it n} is reached. \opt{{\tt silent} suppresses default display} \opt{{\tt edit} use external editor for commands}
^^^
A period missing here.