From: Elena Zannoni <ezannoni@cygnus.com>
To: Eli Zaretskii <eliz@is.elta.co.il>
Cc: gdb-patches@sources.redhat.com
Subject: Re: Completion in "set history filename"
Date: Fri, 11 May 2001 10:16:00 -0000 [thread overview]
Message-ID: <15100.7810.88748.73092@kwikemart.cygnus.com> (raw)
In-Reply-To: <200103041736.MAA25617@indy.delorie.com>
Did I ever reply to this?
I don't think I did, sorry.
Looks ok to me, please check it in.
Thanks
Elena
Eli Zaretskii writes:
> One more command which didn't complete as God intended...
>
> Okay to commit?
>
> 2001-03-04 Eli Zaretskii <eliz@is.elta.co.il>
>
> * top.c (init_main): Make `set history filename' complete on file
> names.
>
> --- gdb/top.c~0 Thu Jan 25 17:19:30 2001
> +++ gdb/top.c Sun Mar 4 19:21:10 2001
> @@ -2080,11 +2080,12 @@ ie. the number of previous commands to k
> add_show_from_set (c, &showhistlist);
> c->function.sfunc = set_history_size_command;
>
> - add_show_from_set
> - (add_set_cmd ("filename", no_class, var_filename, (char *) &history_filename,
> - "Set the filename in which to record the command history\n\
> - (the list of previous commands of which a record is kept).", &sethistlist),
> - &showhistlist);
> + c = add_set_cmd ("filename", no_class, var_filename,
> + (char *) &history_filename,
> + "Set the filename in which to record the command history\n\
> + (the list of previous commands of which a record is kept).", &sethistlist);
> + c->completer = filename_completer;
> + add_show_from_set (c, &showhistlist);
>
> add_show_from_set
> (add_set_cmd ("confirm", class_support, var_boolean,
>
next prev parent reply other threads:[~2001-05-11 10:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-04 9:36 Eli Zaretskii
2001-03-06 9:22 ` Fernando Nasser
2001-03-06 23:22 ` Eli Zaretskii
2001-05-11 10:16 ` Elena Zannoni [this message]
2001-05-13 1:36 ` Eli Zaretskii
2001-05-14 13:42 ` Elena Zannoni
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=15100.7810.88748.73092@kwikemart.cygnus.com \
--to=ezannoni@cygnus.com \
--cc=eliz@is.elta.co.il \
--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