From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: TRS-80 Newsgroups: gmane.emacs.help Subject: Re: major mode for G-Code? Date: Tue, 05 Apr 2022 17:14:47 -0400 Message-ID: <5f410665a00dd202ebaf6104d76bcff1@isnotmyreal.name> References: <8735jpzl53.fsf@zoho.eu> <0854cd57-6d99-85e1-a488-df5504ee3577@rixotstudio.cz> <871qz92gar.fsf@zoho.eu> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11124"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Roundcube Webmail/1.4.12 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Apr 05 23:15:29 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nbqWM-0002Xe-4u for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 05 Apr 2022 23:15:26 +0200 Original-Received: from localhost ([::1]:39174 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nbqWK-0006sf-Po for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 05 Apr 2022 17:15:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43468) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nbqVs-0006sU-8v for help-gnu-emacs@gnu.org; Tue, 05 Apr 2022 17:14:56 -0400 Original-Received: from server173-4.web-hosting.com ([68.65.122.210]:58564) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nbqVq-0007n1-9T for help-gnu-emacs@gnu.org; Tue, 05 Apr 2022 17:14:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=isnotmyreal.name; s=default; h=Content-Transfer-Encoding:Content-Type: Message-ID:References:In-Reply-To:Subject:To:From:Date:MIME-Version:Sender: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=vRNY1RnLezpK7RmGrFMjzTRcHjxgpjs9rchSW1KJpjg=; b=emlbG5+6NhIVVFxRYFNim0g5hj V9BjnXEY9BFmW0SAnFA9pJZgjF/rBTq/I8Wwv8l5OvS/iOwzwDyn2AQvxXkAQ+obVQQJCE2nHuoUg Ka6RDTs+0m987Mw4IJQ+bp2TjbEAEjgfrZGkmsHI8CcRggHZHKRC4pXUJFmJ3sW+yJg4TcKh+hnts sclqisb+QdvM6UtaxMB4hO2fcwHY1kwOlw2hycABswhZ24EFs47VXkmYd6cVAPURl52zChsHnCnOQ bYGE4i9xDkOFISLhQNjIw2d6hA4b2TQMzuG88W5Vhcrcbhf71LGaETR4czkdG1yBIJccYge0iw8Td hFiWmSIw==; Original-Received: from [127.0.0.1] (port=49806 helo=server173.web-hosting.com) by server173.web-hosting.com with esmtpa (Exim 4.94.2) (envelope-from ) id 1nbqVj-00CZiD-Mm for help-gnu-emacs@gnu.org; Tue, 05 Apr 2022 17:14:52 -0400 In-Reply-To: <871qz92gar.fsf@zoho.eu> X-Sender: lists.trs-80@isnotmyreal.name X-OutGoing-Spam-Status: No, score=-0.2 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server173.web-hosting.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - isnotmyreal.name X-Get-Message-Sender-Via: server173.web-hosting.com: authenticated_id: lists.trs-80@isnotmyreal.name X-Authenticated-Sender: server173.web-hosting.com: lists.trs-80@isnotmyreal.name X-From-Rewrite: unmodified, already matched Received-SPF: pass client-ip=68.65.122.210; envelope-from=lists.trs-80@isnotmyreal.name; helo=server173-4.web-hosting.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:136863 Archived-At: 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