git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [REGRESSION] git-gui

From
Shawn O. Pearce <spearce@spearce.org>
Date
Apr 8, 2008, 02:18 UTC
Message-ID
<20080408021807.GX10274@spearce.org>
In-Reply-To
<20080407081052.GA5413@mithlond.arda.local>
Teemu Likonen <tlikonen@iki.fi> wrote:
Show 22 quoted lines
> David Kågedal kirjoitti (7.4.2008 klo 9.38):
> > "Jonathan del Strother" <maillist@steelskies.com> writes:
> > 
> > > Anyone else got any opinions on an appropriate shortcut?  How about
> > > '=' and '-' (+ and - without the shift), or are those not
> > > necessarily together either?  (Are there really layouts where '['
> > > and ']' aren't next to each other?)
> > 
> > A Swedish keyboard has [] on alt-gr (Modeshift) 8 and 9.  Plus and
> > minus are unshifted and = is on shift-0.
> > 
> > So with a Swedish layout, it is annoying when zoom in is on = rather
> > than +, just because someone assumed that it would be harder to press
> > the more logical plus key.
> 
> The above also applies to Finnish and Norwegian keyboards, probably to
> many more. The key pair '=' and '-' would be a poor UI decision. In
> principle one should never assume that a key is in certain place in the
> keyboard; it's much better idea to be logical with _characters_. So if
> a key pair much be defined for different aspects of the same
> functionality, let's choose logical pairs from common characters: +- []
> {} () <> zZ aA bB ... (To me all these are OK.)

Well, Ctrl-+ and Ctrl-= are bound to the same action (increase context), and Ctrl-- is bound to the opposite action (decrease context). So Swedish folks should be able to use Ctrl-+ and be happy.

Except it doesn't show in the menubar as being a possible keyboard driven action. That was in the original patch, but I took it out to enable the accelator to draw on Mac OS X.

-- 
Shawn.
Previous: Teemu Likonen
Message 14 of 14 in “[REGRESSION] git-gui”
  1. André Goddard RosaApr 3, 2008
  2. Jonathan del StrotherApr 3, 2008
  3. RES: [REGRESSION] git-guiAndré Goddard Rosa, Apr 3, 2008
  4. Michele BallabioApr 3, 2008
  5. Jonathan del StrotherApr 3, 2008
  6. Shawn O. PearceApr 4, 2008
  7. Shawn O. PearceApr 4, 2008
  8. Marco RoelandApr 4, 2008
  9. RES: [REGRESSION] git-guiAndré Goddard Rosa, Apr 4, 2008
  10. Michele BallabioApr 4, 2008
  11. Shawn O. PearceApr 5, 2008
  12. David KågedalApr 7, 2008
  13. Teemu LikonenApr 7, 2008
  14. Shawn O. PearceApr 8, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.