|
From: | TRS-80 |
Subject: | Re: major mode for G-Code? |
Date: | Tue, 05 Apr 2022 17:14:47 -0400 |
User-agent: | Roundcube Webmail/1.4.12 |
Works but ... I wonder if you could get `eldoc-mode' to not be based on inactivity and then display (after the timeout) but never say anything unless the user hits a key to display it ...
I gather that ElDoc is for actually writing code, where that behavior is generally helpful (i.e., stop and think for a moment). Whereas 'looking at gcode' is much different. As you say, you are rarely writing that by hand.
Having said all that, perhaps there are some variables, hooks, advice which could be set? Maybe you could even make a minor mode to do what you want, on top of the existing gcode major mode (who have apparently done most of the heavy lifting already with doc strings, etc.)?
Cheers, TRS-80
[Prev in Thread] | Current Thread | [Next in Thread] |