public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: Jim Blandy <jimb@redhat.com>
To: insight@sources.redhat.com
Subject: Re: Don't recognize 'option' in midst of prefs line
Date: Thu, 11 Dec 2003 22:20:00 -0000	[thread overview]
Message-ID: <vt2isknov7f.fsf@zenia.home> (raw)


I've finally gotten around to committing the patch that I posted and
Keith approved in August.  Here's what I committed:

2003-12-11  Jim Blandy  <jimb@redhat.com>

	* library/prefs.tcl (pref_read): The section marker or the word
	'option' must be the first thing on the line; they don't count if
	they appear in the middle of the line.

Index: gdb/gdbtk/library/prefs.tcl
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/library/prefs.tcl,v
retrieving revision 1.27
diff -c -r1.27 prefs.tcl
*** gdb/gdbtk/library/prefs.tcl	29 Jul 2003 22:08:10 -0000	1.27
--- gdb/gdbtk/library/prefs.tcl	11 Dec 2003 22:17:35 -0000
***************
*** 88,98 ****
  	    ;# empty line; ignore it
  	  }
  
! 	  {\[.*\]} {
  	    regexp {\[(.*)\]} $line match section
  	  }
  
! 	  {[ \t\n]*option.*} {
  	    set line [string trimleft $line]
  	    eval $line
  	  }
--- 88,98 ----
  	    ;# empty line; ignore it
  	  }
  
! 	  {^[ \t\n]*\[.*\]} {
  	    regexp {\[(.*)\]} $line match section
  	  }
  
! 	  {^[ \t\n]*option.*} {
  	    set line [string trimleft $line]
  	    eval $line
  	  }

             reply	other threads:[~2003-12-11 22:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-11 22:20 Jim Blandy [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-08-14  5:03 Jim Blandy
2003-08-14 16:09 ` Keith Seitz

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=vt2isknov7f.fsf@zenia.home \
    --to=jimb@redhat.com \
    --cc=insight@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).