{"thread":{"id":"12984","subject":"Re: [REGRESSION] git-gui","startedAt":"2008-04-04T17:58:06Z","lastAt":"2008-04-04T17:58:06Z","messageCount":1,"participants":["Brett Schwarz"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"73658","messageId":"488311.34417.qm@web38904.mail.mud.yahoo.com","threadId":"12984","inReplyTo":null,"subject":"Re: [REGRESSION] git-gui","fromName":"Brett Schwarz","fromEmail":"brett_schwarz@yahoo.com","sentAt":"2008-04-04T17:58:06Z","receivedAt":"2008-04-04T17:58:06Z","isPatch":false,"sender":{"key":"brett_schwarz@yahoo.com","avatar":null},"body":"\n> \n> Jonathan del Strother <maillist@steelskies.com> wrote:\n> > On Thu, Apr 3, 2008 at 10:04 PM, Michele Ballabio\n> > <barra_cuda@katamail.com> wrote:\n> > > On Thursday 03 April 2008, Jonathan del Strother wrote:\n> > >  > On Thu, Apr 3, 2008 at 2:43 PM, André Goddard Rosa <andre_rosa@lge.com> wrote:\n> > >  > >\n> > >  > >  # git gui\n> > >  > >  Error in startup script: bad event type or keysym \"[\"\n> > >  > >    while executing\n> > >  > >  \"bind $ui_comm <$M1B-Key-\\[> {show_less_context;break}\"\n> > >  >\n> > >  > Doh, I broke git :(\n> \n> You and me both Jonathan.  I tested it on both Mac OS X and Win32,\n> and on Tcl/Tk 8.4.1, 8.4.10, 8.4.15, and 8.5.0.  Never ran into\n> this failure.  So the original poster must be running 8.4.0, and\n> 8.4.0 must not support this binding.  Added in 8.4.1?  *sigh*\n> \n> > >  These changes should help (haven't tried):\n> > >        \\[ -> bracketleft\n> > >        \\] -> bracketright\n> > >  but some European keyboards do not have easy access to brackets, so\n> > >  other keys would be preferable (comma and period, for example, or 1 and 2).\n\nJust for the record, the correct keysym should be used, especially for \"special\" characters, as above (i.e. bracketleft). It's probably more of a fluke that \\[ worked. Here's an exerpt from http://tcl.activestate.com/man/tcl8.4/TkCmd/bind.htm (note \"Key\" is synonymous with KeyPress):\n\n\"If the event type is KeyPress or KeyRelease, then detail may be specified in the form of an X keysym. Keysyms are textual specifications for particular keys on the keyboard; they include all the alphanumeric ASCII characters (e.g. ``a'' is the keysym for the ASCII character ``a''), plus descriptions for non-alphanumeric characters (``comma'' is the keysym for the comma character), plus descriptions for all the non-ASCII keys on the keyboard (``Shift_L'' is the keysym for the left shift key, and ``F1'' is the keysym for the F1 function key, if it exists). The complete list of keysyms is not presented here; it is available in other X documentation and may vary from system to system. If necessary, you can use the %K notation described below to print out the keysym name for a particular key. If a keysym detail is given, then the type field may be omitted; it will default to KeyPress. For example, <Control-comma> is equivalent to <Control-KeyPress-comma>.\"\n\nHTH,\n    --brett\n\n\n\n\n\n      ____________________________________________________________________________________\nYou rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost.  \nhttp://tc.deals.yahoo.com/tc/blockbuster/text5.com\n"}]}