From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Dimech Newsgroups: gmane.emacs.help Subject: Re: font-lock as a single command Date: Sat, 13 Feb 2021 04:56:54 +0100 Message-ID: References: <87lfbsdf7i.fsf@zoho.eu> <87a6s8de2x.fsf@zoho.eu> <87zh08buku.fsf@zoho.eu> <87blcobs66.fsf@zoho.eu> <8735y0bqs6.fsf@zoho.eu> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5942"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: moasenwood@zoho.eu Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Feb 13 04:57:25 2021 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 1lAm3g-0001Qs-UE for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 13 Feb 2021 04:57:24 +0100 Original-Received: from localhost ([::1]:60852 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lAm3g-0002uZ-0T for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 12 Feb 2021 22:57:24 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58748) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lAm3I-0002uQ-2a for help-gnu-emacs@gnu.org; Fri, 12 Feb 2021 22:57:00 -0500 Original-Received: from mout.gmx.net ([212.227.15.18]:49819) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lAm3G-0003Tg-07 for help-gnu-emacs@gnu.org; Fri, 12 Feb 2021 22:56:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1613188614; bh=JBLinh/ZQ3YQdSMaFjE8Q0rs0IT/JqpMNv88sIqlVY4=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=W2o5KVrrlGF8jG1WIbXCSnN3qEmUjiIPFTof9KXN/OCOrQwLtdgXlq0tsRenUzAo7 uOt2R2IfBcsAhtLS3sLzXXKxDnSRTHK6vBBXMZhAjD1In4WMkJXjN8RMLAJrr047jA aMYQE5k2J3Tp5yUjqCFc9t+7VaXkH2r0BqUhabDo= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs05.server.lan [172.19.170.173]) (via HTTP); Sat, 13 Feb 2021 04:56:54 +0100 Importance: normal Sensitivity: Normal In-Reply-To: <8735y0bqs6.fsf@zoho.eu> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:InUSxBgARoQcZZj3peIpW227qagCuzzZUTaM5eutaXE5BXXhVfSvVh0VElZnpuFgywBjp QX7h9VfeFnhT01ap308GRzm0L6bCALA3mrnrP5GMJvbpVLThcQjUDgziXIZ838ubFRMPCM07iK2X S32FR5pOUWdRzmU9LlW/PjZw8qGIBMtRfrPkgPFL+aaxIy3IadU39tTrFNeVVUvmZTFGPKpVRm6C 9g0cSZ5d1RYLsG0sCVNBwW8P06ofUN2m1r7s5Hf+AoN0RfxC+oHoBz3SRXqjD/QBqBQ//iOWZHcI cQ= X-UI-Out-Filterresults: notjunk:1;V03:K0:hhodF2Yb1rQ=:ax7IK3aFjn404agyNwgWtb WFL67B0V14lSiyMBNy52vXqxQW7SKuVg5xMjlxH2VWBQReRiV9i/9t5orW4EKzmgkSlvYzCMz PUs35pG3k0bRKW8MwZNAyTJ9HZdKweQ3hpEzkUMoTGRakR60LLAD8AlNBYu7myCmiJ0W9tpWK EChtAONRlnuQ/4qi+/NHys06dwZ9h/RUsgJp97Nj/JRc4UYWc0DAoSP5MRqZly0NdpwnoK+Jw ilK6EG2U1Exn0gyQzAT+9PgcwiNjST6ppg3jt/JJjGFnqEXFy8DCcGkOJoC6st9hgzQ1ymV0e OlNCr58EJtuLm20kU2H3OiPVnW1fMbh2N5ViZrhlZrKfMgMWyQLRiC2FyGmi5Qi5OE3sjBZaO qlKgGo+r7Axe4u+DDbPdd4aEUDPS5+EbrWEdFZIIZDiWz6OWv9JOnPmqBrkkNVOK0Js1SBBEg TeIjoG1FGn/B7GrtwiVDIdmhu/pebQIj/7Co+Ga861KxKG0H2vXQ1N6MjvokHV0n/Yuy4yG2L 2a2/6DkB8Itv/3x8umfbQbA14UAaik/lZ2pzFzERGfsxAaXKK8eHep807rhJdG2sFa+v1tj3s nACr3MiT/5x1U= Received-SPF: pass client-ip=212.227.15.18; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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:127892 Archived-At: FYor the hook, I only did this (defvar crucible-mode-hook nil "Hook called when Crucible Mode is enabled.") > Sent: Saturday, February 13, 2021 at 3:16 PM > From: "Emanuel Berg via Users list for the GNU Emacs text editor" > To: help-gnu-emacs@gnu.org > Subject: Re: font-lock as a single command > > Christopher Dimech wrote: > > > I have done. One difficulty is that supinf-enable is > > executed as soon as I read the file. Do not know how it is > > being enabled automatically after I commented out the line > > that said "(add-hook 'crucible-mode-hook #'supinf-enable)". > > Well, did you examine the hook to see what's there? > > Hooks are variables, so use C-h v. > > You can do a hook with this pattern if it makes it more clear. > Note the commented-out line, eval the form there to set the > hook to zero. > > (require 'mode-line) > ;; (setq conf-space-mode-hook nil) > (defun conf-space-mode-hook-f () > (enable-line-mode) ) > (add-hook 'conf-space-mode-hook #'conf-space-mode-hook-f) > > > -- > underground experts united > http://user.it.uu.se/~embe8573 > https://dataswamp.org/~incal > > >