[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-bug: [Bug 699852] Re: Better keybindings for gschem "Select All" and "Deselect"



On Tuesday 11 January 2011 19:56:00 you wrote:
> I have partly extended the key handling to accept multiple modifiers,
> but I'm not sure if this is worth being worked on anymore until bug
> 700333 is resolved - as the solution will likely change the format of
> configuration files.

It's going to take a long time for bug 700333 to be resolved -- I don't think 
you should wait for it.

> Basic idea is to concatenate modifier strings and ensure they are always
> in predetermined order - both in g_keys_execute code and Scheme keymaps
> defined in system-gschemrc.

One idea I had was to clone the Emacs syntax for specifying keys.  Here are 
some snippets from my .emacs:

  (global-set-key "\C-c\C-w" 'word-count)

Binds the word-count function to Control-c followed by Control-w.

  (global-set-key "\C-xg" 'rgrep)

Binds the rgrep function to Control-x followed by g.

There's probably an info file somewhere which explains how Emacs does it in 
excruciating detail.  Since the Emacs guys have thoroughly worked out long ago 
how to support multi-keystroke, multi-modifier keybindings, it seems sensible 
to be "creatively inspired" by their approach...

Just my Â0.02 worth.

-- 
You received this bug notification because you are a member of gEDA Bug
Team, which is subscribed to gEDA.
https://bugs.launchpad.net/bugs/699852

Title:
  Better keybindings for gschem "Select All" and "Deselect"

Status in GPL Electronic Design Automation tools:
  New

Bug description:
  gschem keybindings can only have a single modifier.  It's therefore not
  possible to give the "Edit->Select All" and "Edit->Deselect" actions the
  de facto standard <Ctrl-A> and <Ctrl-Shift-A> keybindings respectively
  (see also bug 699794 and bug 698865).

  An alternative pair of keybindings for these two actions that makes
  sense needs to be found.

   affects: geda
   milestone: 1.7.0
   importance: low
   tag gschem usability




_______________________________________________
geda-bug mailing list
geda-bug@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-bug