bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#4310: Flymake standardizing(slightly) patch


From: Lars Ingebrigtsen
Subject: bug#4310: Flymake standardizing(slightly) patch
Date: Thu, 27 Jun 2019 19:52:08 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Lars Ingebrigtsen <larsi@gnus.org> writes:

>> +(defvar flymake-prefix-map
>> +  (let ((map (make-sparse-keymap)))
>> +    (define-key map "s" 'flymake-start-syntax-check)
>> +    (define-key map "n" 'flymake-goto-next-error)
>> +    (define-key map "p" 'flymake-goto-prev-error)
>> +    (define-key map "m" 'flymake-display-err-menu-for-current-line)
>> +    map))
>> +
>> +(defvar flymake-mode-map
>> +  (let ((map (make-sparse-keymap)))
>> +    (define-key map "\C-c;" flymake-prefix-map)
>> +    map)
>> +  "The keymap provides the default flymake-mode bindings.")
>> +
>> +(defvar flymake-mode-hook nil
>> +  "Mode hook for `flymake-mode`. This hook is run __before__
>> +syntax check happens, but after all the initialization is done.")
>
> As Glenn said, the hook isn't needed, but I think the minor mode map
> might make sense.
>
> I've never used flymake, though, so I can't really say.  Anybody?

Didn't seem to be much enthusiasm for this over the years, so it seems
unlikely that progress will be made, and I'm closing this bug report.
Please reopen if somebody wants to add that keymap...

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]