purcell / package-lint

A linting library for elisp package metadata
GNU General Public License v3.0
192 stars 33 forks source link

False positive with key sequence such as "\C-c\C-ia" #239

Open kobarity opened 1 year ago

kobarity commented 1 year ago

Key sequences such as "\C-c\C-ia" are reported as an error. This can be tested as follows:

(package-lint-test--run "(define-key map \"\C-c\C-ia\" #'something)")

This seems to happen because read-kbd-macro (and its callees kbd and key-parse) used in package-lint--extract-key-sequence skips "\C-i".