Re: [PATCH] prompt_yn() accepts only keys from prompt_keys

Michael Bienia <[email protected]>
Newsgroups gmane.network.tin.devel
Message-ID <[email protected]>
On 2005-03-09 10:00:54 +0100, Urs Janßen wrote:
[ updating the keymap file ]
> what about updating it in the startup phase (line wiese while reading
> it in), that's where we have the information (the line with the
> (probabely obsolete) kename and binding).

That's probably the easiest solutions: replacing the old keyname with
the new one and setting up the key bindings from the updated file.

I'm considering how much effort tin should put into this:
- should we simply replace the old keynames with the new ones and no
  merging of multiple lines for the same keyname
  (smallest effort)
- the same but with merging and the merged lines are written at the end
  of the file (or block assuming the user hasn't changed the layout of
  the keymap file)
  (middle effort)
- or should we try to generated a new keymap file looking like
  keymap.sample but with the keys defined by the user?
  (greatest effort)

Michael
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.