git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [REGRESSION] git-gui
@ 2008-04-03 13:43 André Goddard Rosa
  2008-04-03 14:00 ` Jonathan del Strother
  0 siblings, 1 reply; 15+ messages in thread
From: André Goddard Rosa @ 2008-04-03 13:43 UTC (permalink / raw)
  To: git

Hi, all!
 
    After updating to git version 1.5.5.rc3 I always get the error below
when starting "git gui".
    Linux distributions used are opensuse 10 and opensuse Factory.
 
# git gui
Error in startup script: bad event type or keysym "["
    while executing
"bind $ui_comm <$M1B-Key-\[> {show_less_context;break}"
    file "/usr/bin/git-gui" linux 2718)

    I think it's related to git-gui 0.10 recently added into the tree.
 
Thanks a lot,
André

^ permalink raw reply	[flat|nested] 15+ messages in thread
* Re: [REGRESSION] git-gui
@ 2008-04-04 17:58 Brett Schwarz
  0 siblings, 0 replies; 15+ messages in thread
From: Brett Schwarz @ 2008-04-04 17:58 UTC (permalink / raw)
  To: Shawn O. Pearce, Jonathan del Strother
  Cc: Michele Ballabio, git, André Goddard Rosa


> 
> Jonathan del Strother <maillist@steelskies.com> wrote:
> > On Thu, Apr 3, 2008 at 10:04 PM, Michele Ballabio
> > <barra_cuda@katamail.com> wrote:
> > > On Thursday 03 April 2008, Jonathan del Strother wrote:
> > >  > On Thu, Apr 3, 2008 at 2:43 PM, André Goddard Rosa <andre_rosa@lge.com> wrote:
> > >  > >
> > >  > >  # git gui
> > >  > >  Error in startup script: bad event type or keysym "["
> > >  > >    while executing
> > >  > >  "bind $ui_comm <$M1B-Key-\[> {show_less_context;break}"
> > >  >
> > >  > Doh, I broke git :(
> 
> You and me both Jonathan.  I tested it on both Mac OS X and Win32,
> and on Tcl/Tk 8.4.1, 8.4.10, 8.4.15, and 8.5.0.  Never ran into
> this failure.  So the original poster must be running 8.4.0, and
> 8.4.0 must not support this binding.  Added in 8.4.1?  *sigh*
> 
> > >  These changes should help (haven't tried):
> > >        \[ -> bracketleft
> > >        \] -> bracketright
> > >  but some European keyboards do not have easy access to brackets, so
> > >  other keys would be preferable (comma and period, for example, or 1 and 2).

Just 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):

"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>."

HTH,
    --brett





      ____________________________________________________________________________________
You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost.  
http://tc.deals.yahoo.com/tc/blockbuster/text5.com

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2008-04-08  2:19 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-03 13:43 [REGRESSION] git-gui André Goddard Rosa
2008-04-03 14:00 ` Jonathan del Strother
2008-04-03 14:34   ` RES: " André Goddard Rosa
2008-04-03 21:04   ` Michele Ballabio
2008-04-03 23:15     ` Jonathan del Strother
2008-04-04  1:27       ` Shawn O. Pearce
2008-04-04  1:33         ` Shawn O. Pearce
2008-04-04 11:02           ` Marco Roeland
2008-04-04 11:20             ` RES: " André Goddard Rosa
2008-04-04 21:04         ` Michele Ballabio
2008-04-05  4:01           ` Shawn O. Pearce
2008-04-07  7:38       ` David Kågedal
2008-04-07  8:10         ` Teemu Likonen
2008-04-08  2:18           ` Shawn O. Pearce
  -- strict thread matches above, loose matches on Subject: below --
2008-04-04 17:58 Brett Schwarz

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 NNTP newsgroup(s).