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

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

Re: major mode for G-Code?


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

On 2022-03-11 00:45, Emanuel Berg via Users list for the GNU Emacs text editor wrote:

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



reply via email to

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