Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <palves@redhat.com>
To: Andrew Burgess <andrew.burgess@embecosm.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH] gdb/tui: Add command completion to winheight command.
Date: Sun, 12 Jul 2015 14:59:00 -0000	[thread overview]
Message-ID: <55A280B3.9050503@redhat.com> (raw)
In-Reply-To: <20150712085140.GE5485@embecosm.com>

On 07/12/2015 09:51 AM, Andrew Burgess wrote:

> gdb/ChangeLog:
> 
> 	* tui/tui-win.c (window_name_completer): New function.
> 	(focus_completer): Call window_name_completer.  All old content
> 	moved into window_name_completer.
> 	(winheight_completer): New function.
> 	(_initialize_tui_win): Rename variable.  Add completer to
> 	winheight command.  Update doc string on winheight.
> 

This is OK.

> -/* Complete possible window names to focus on.  TEXT is the complete text
> -   entered so far, WORD is the word currently being completed.  */
> +/* Generic window name completion function.  Complete window name pointed
> +   to by TEXT and WORD.  If INCLUDE_NEXT_PREV_P is true then the special
> +   window names 'next' and 'prev' are also included in the list of possible
> +   completions (if appropriate).  */
>  

I don't really understand what "if appropriate" is referring to, though.

Thanks,
Pedro Alves


  reply	other threads:[~2015-07-12 14:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-10 13:13 Andrew Burgess
2015-07-10 16:24 ` Pedro Alves
2015-07-12  8:51   ` Andrew Burgess
2015-07-12 14:59     ` Pedro Alves [this message]
2015-07-12 21:34       ` Andrew Burgess
2015-07-13  9:42         ` Pedro Alves

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=55A280B3.9050503@redhat.com \
    --to=palves@redhat.com \
    --cc=andrew.burgess@embecosm.com \
    --cc=gdb-patches@sourceware.org \
    /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