Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: msnyder@sonic.net
To: "Eli Zaretskii" <eliz@gnu.org>
Cc: msnyder@sonic.net, gdb-patches@sourceware.org
Subject: Re: [OB] whitespace cleanup, completer.c
Date: Sat, 11 Aug 2007 20:09:00 -0000	[thread overview]
Message-ID: <6581.12.7.175.2.1186862959.squirrel@webmail.sonic.net> (raw)
In-Reply-To: <usl6qe7ae.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 309 bytes --]

>> Date: Fri, 10 Aug 2007 13:45:18 -0700 (PDT)
>> From: msnyder@sonic.net
>>
>> Spaces, caps, that sort of thing...
>
> Thanks.
>
>> ! 	      /* Insure that readline does the right thing
>                  ^^^^^^
> Actually, this should be "Ensure".

Okey dokey (four times, no less!)
Committed as attached.


[-- Attachment #2: ensure.txt --]
[-- Type: text/plain, Size: 3037 bytes --]

2007-08-11  Michael Snyder  <msnyder@access-company.com>

	* completer.c: Spelling fix in comments.

Index: completer.c
===================================================================
RCS file: /cvs/src/src/gdb/completer.c,v
retrieving revision 1.19
diff -p -r1.19 completer.c
*** completer.c	10 Aug 2007 20:35:09 -0000	1.19
--- completer.c	11 Aug 2007 20:07:29 -0000
*************** filename_completer (char *text, char *wo
*** 182,188 ****
    /* There is no way to do this just long enough to affect quote inserting
       without also affecting the next completion.  This should be fixed in
       readline.  FIXME.  */
!   /* Insure that readline does the right thing
       with respect to inserting quotes.  */
    rl_completer_word_break_characters = "";
  #endif
--- 182,188 ----
    /* There is no way to do this just long enough to affect quote inserting
       without also affecting the next completion.  This should be fixed in
       readline.  FIXME.  */
!   /* Ensure that readline does the right thing
       with respect to inserting quotes.  */
    rl_completer_word_break_characters = "";
  #endif
*************** complete_line (const char *text, char *l
*** 461,467 ****
  	    {
  	      list = complete_on_cmdlist (cmdlist, p, word);
  	    }
! 	  /* Insure that readline does the right thing with respect to
  	     inserting quotes.  */
  	  rl_completer_word_break_characters =
  	    gdb_completer_command_word_break_characters;
--- 461,467 ----
  	    {
  	      list = complete_on_cmdlist (cmdlist, p, word);
  	    }
! 	  /* Ensure that readline does the right thing with respect to
  	     inserting quotes.  */
  	  rl_completer_word_break_characters =
  	    gdb_completer_command_word_break_characters;
*************** complete_line (const char *text, char *l
*** 485,491 ****
  		     a subcommand (e.g. "info ").  */
  		  list = complete_on_cmdlist (*c->prefixlist, p, word);
  
! 		  /* Insure that readline does the right thing
  		     with respect to inserting quotes.  */
  		  rl_completer_word_break_characters =
  		    gdb_completer_command_word_break_characters;
--- 485,491 ----
  		     a subcommand (e.g. "info ").  */
  		  list = complete_on_cmdlist (*c->prefixlist, p, word);
  
! 		  /* Ensure that readline does the right thing
  		     with respect to inserting quotes.  */
  		  rl_completer_word_break_characters =
  		    gdb_completer_command_word_break_characters;
*************** complete_line (const char *text, char *l
*** 551,557 ****
  
  	      list = complete_on_cmdlist (result_list, q, word);
  
! 	      /* Insure that readline does the right thing
  		 with respect to inserting quotes.  */
  	      rl_completer_word_break_characters =
  		gdb_completer_command_word_break_characters;
--- 551,557 ----
  
  	      list = complete_on_cmdlist (result_list, q, word);
  
! 	      /* Ensure that readline does the right thing
  		 with respect to inserting quotes.  */
  	      rl_completer_word_break_characters =
  		gdb_completer_command_word_break_characters;

      reply	other threads:[~2007-08-11 20:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-10 20:45 msnyder
2007-08-11  9:42 ` Eli Zaretskii
2007-08-11 20:09   ` msnyder [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=6581.12.7.175.2.1186862959.squirrel@webmail.sonic.net \
    --to=msnyder@sonic.net \
    --cc=eliz@gnu.org \
    --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