Opened 14 years ago
Last modified 4 years ago
#6546 new enhancement
Keymap -l should be more specific about errors in the layout
Reported by: | rq | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | R1.1 |
Component: | Applications/Command Line Tools | Version: | R1/alpha2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
I made a Lithuanian layout for myself, and used vim for that purpose. When I tried to load it, I get the following error:
keymap: error when loading the keymap: Bad data
This error message is basically useless. It would be much more helpful if it would actually hint to the line (and preferably the column) in which the error occured.
Per Pulkomandy's suggestion, I'm attaching the keymap file in question.
Attachments (1)
Change History (5)
by , 14 years ago
Attachment: | Lithuanian.keymap added |
---|
comment:1 by , 14 years ago
Note: I found and fixed an obvious error in line 236, but I still get same error. I even tried deleting everything from line 190, and nothing changed – still same error. It's really hard to debug main part of the keymap with no way to see detailed messages...
comment:2 by , 14 years ago
Which command line do you actually run ?
As of hrev31195, the -l option loads binary keymap files and not source keymap files.
comment:3 by , 14 years ago
Right, I used keymap -l
, as the header of the file said.
However, trying keymap -s
just crashes the app instead of returning any useful debug output.
comment:4 by , 4 years ago
Milestone: | R1 → R1.1 |
---|
The erring keymap