From: Kevin Buettner <kevinb@cygnus.com>
To: Fernando Nasser <fnasser@redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [RFA] More completion improvements
Date: Sun, 18 Feb 2001 10:39:00 -0000 [thread overview]
Message-ID: <1010218183948.ZM21394@ocotillo.lan> (raw)
In-Reply-To: <3A900C1D.BB086BEF@redhat.com>
On Feb 18, 12:53pm, Fernando Nasser wrote:
> This style for the add_show_from_set() call is everywhere. As we need to
> revise the creation of CLI commands anyway, this will not last long
> enough for us to consider a major cleanup. It will just go away
> naturally...
Fernando,
I took another look, and I don't see the style that I was objecting to
used *anywhere* with add_show_from_set(). Perhaps, I was not clear
enough in my original message. What I find (mildly) objectionable is
changing code which looks like this:
add_show_from_set (add_set_cmd (...), &showlist);
to:
add_show_from_set ((c = add_set_cmd (...)), &showlist);
Note the addition of an embedded assignment expression. Instead, if
it becomes necessary to add an assignment, it should be added as a
separate statment, thusly:
c = add_set_cmd (...);
add_show_from_set (c, &showlist);
Kevin
next prev parent reply other threads:[~2001-02-18 10:39 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-12 0:18 [RFA] File-name " Eli Zaretskii
2001-02-14 10:35 ` Fernando Nasser
2001-02-15 3:13 ` Eli Zaretskii
2001-02-17 23:05 ` Eli Zaretskii
2001-02-17 23:34 ` [RFA] More " Eli Zaretskii
2001-02-18 6:58 ` Fernando Nasser
2001-02-18 7:58 ` Eli Zaretskii
2001-02-18 8:40 ` Kevin Buettner
2001-02-18 9:56 ` Fernando Nasser
2001-02-18 10:39 ` Kevin Buettner [this message]
2001-02-18 10:49 ` Fernando Nasser
2001-02-18 12:22 ` Eli Zaretskii
2001-02-19 3:48 ` Eli Zaretskii
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=1010218183948.ZM21394@ocotillo.lan \
--to=kevinb@cygnus.com \
--cc=fnasser@redhat.com \
--cc=gdb-patches@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