unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Emanuel Berg via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: major mode for G-Code?
Date: Fri, 11 Mar 2022 06:45:32 +0100	[thread overview]
Message-ID: <871qz92gar.fsf@zoho.eu> (raw)
In-Reply-To: 0854cd57-6d99-85e1-a488-df5504ee3577@rixotstudio.cz

Jacob Hrbek wrote:

> ... preferably with something that will tell me what the
> G-CODE means so that i don't have to keep searching that on
> the web like a pleb

(defun gcode-mode-hook-f ()
  (eldoc-mode) )
(add-hook 'gcode-mode-hook #'gcode-mode-hook-f)

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 ...

-- 
underground experts united
https://dataswamp.org/~incal




  parent reply	other threads:[~2022-03-11  5:45 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-10 19:02 major mode for G-Code? Emanuel Berg via Users list for the GNU Emacs text editor
2022-03-10 20:07 ` Jacob Hrbek
2022-03-11  5:09   ` Emanuel Berg via Users list for the GNU Emacs text editor
2022-03-11  5:35     ` Emanuel Berg via Users list for the GNU Emacs text editor
2022-03-11  6:06       ` Emanuel Berg via Users list for the GNU Emacs text editor
2022-03-11 16:08     ` Jacob Hrbek
2022-03-11 19:54       ` Emanuel Berg via Users list for the GNU Emacs text editor
2022-03-11  5:13   ` Emanuel Berg via Users list for the GNU Emacs text editor
2022-03-11  5:31     ` Emanuel Berg via Users list for the GNU Emacs text editor
2022-03-11 16:09     ` Jacob Hrbek
2022-03-11 19:55       ` Emanuel Berg via Users list for the GNU Emacs text editor
2022-03-11  5:45   ` Emanuel Berg via Users list for the GNU Emacs text editor [this message]
2022-04-05 21:14     ` TRS-80
2022-04-06  2:20     ` Print eldoc information interactively (was: Re: major mode for G-Code?) Felix Dietrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871qz92gar.fsf@zoho.eu \
    --to=help-gnu-emacs@gnu.org \
    --cc=moasenwood@zoho.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).