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 05:21:22 +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="25832"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org, moasenwood@zoho.eu To: Christopher Dimech Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Feb 13 05:22:02 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 1lAmRW-0006ZN-9S for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 13 Feb 2021 05:22:02 +0100 Original-Received: from localhost ([::1]:38726 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lAmRV-0007wF-7X for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 12 Feb 2021 23:22:01 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33776) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lAmQy-0007vv-K9 for help-gnu-emacs@gnu.org; Fri, 12 Feb 2021 23:21:28 -0500 Original-Received: from mout.gmx.net ([212.227.15.18]:54477) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lAmQv-0000L0-4z for help-gnu-emacs@gnu.org; Fri, 12 Feb 2021 23:21:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1613190082; bh=SohK4ZjjXDEUAlg+xZJdvmcBeablMtD7VECdK6AhKLs=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=a+NO15Fchqno0A64I/TPKOdHHd2WZQB69TBYclyExQ324aRck1SMm9Qf22jCSSFfr tvm7OFAkMc+Mdo6y2V33r1SatF3rBCQ2YqcUuAleGST9N8//CxGtDQGVEovQxHNLse JEdo3/EYCcA9g8b50pIk3yEay6Mv1C0eCuSJDpYs= 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 05:21:22 +0100 Importance: normal Sensitivity: Normal In-Reply-To: X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:8XpRBaVq0+FtG8niZP3uurziRCo7aRiCESwBhz9S6CM8y3dw0DDn+E8GzXkCRus3f8JL6 JWGlR+sAlMgm0ZtxGFZYaLN/dKgKjG212fyzzWWQuHYVbgI7fkq/O6RRPKvOClL6xBTSQGNsdeSV +v6lIlNPS/z3WANrpZMmcKXDVTfud3lMnqm0zcW9Q39rayByaqh6NAVLPqx+XLpThiC1R11ea7ka xf7HV910scx9gFSrJAa9y6Qmw6PJkw00rpOTuPEnIpjOp2woHgLjilGEK60gufN0sH2ngd3VN3cP L4= X-UI-Out-Filterresults: notjunk:1;V03:K0:ifa1x4SpsTc=:N/WwQuI3Iiz231HBV8WXY0 98wKxrbQpNDOUey/pdGOfp+E9n4tnMKixSGaUrdEyQeeDaDXhs/i/LPsQoGyniXfy4muhFary SEPAcx7ZR7IuWJQxQNEnJqSPZg4Vgq1BRh+J6BlcOqjh8fO8AmF27w/YcP90dgUTGlEddrkmK MBUYScx3iY/LHCCV35YCUFVCmTVBqMK5P1jBQA34AQY1/ISOPEH1OmkdunRejjNG3k8n9SWvR RRnj+0+NeL+cNKzS1q/T6mVECd4rGtk8n46T51X5Ydw6htpqRuc3nZecOxZPcU7OEld8F8qI7 qcjeE7QgvE9+uxO6tLwizAtuGWdT3BA8DuYRdyMo/HeiyTSM0hXG59CxE4dUMrLus68AI39QU 951+5yK0+eJdoDZSZ2e1O5hjW4CG2IVHY86NGktwD3qL9EKeefsZPMFI/QRq4LPXT3aFrulN9 1AGGv0hWGWd/zcVeWeCrIlKzjQbkVMKdXlUauLfy6XOKC9xkDuIE/xX4GinAqOdJfZBdKRTcK kR6nQun/sp0LKHKety4CLLWEHCLvYgsQAmgsfmFR9HvJ2hper5MSLXn8bNaRdz2m9lNMt9zJs gh75YttDMP6B8= 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:127894 Archived-At: But now I have a problem. Reading a file does not apply supinf. However, hitting "H-t" does nothing, rather than enabling it. It is only with the hook that the functionality is enabled. Perhaps "supinf-enable" is not working, am not sure. > Sent: Saturday, February 13, 2021 at 4:09 PM > From: "Christopher Dimech" > To: "Christopher Dimech" > Cc: help-gnu-emacs@gnu.org, moasenwood@zoho.eu > Subject: Re: font-lock as a single command > > Bugger. I noticed that I had a byte-compiled version .elc and I have > a hunch that emacs was loading that one instead of mp updated .el > file. > > > Sent: Saturday, February 13, 2021 at 3:56 PM > > From: "Christopher Dimech" > > To: moasenwood@zoho.eu > > Cc: help-gnu-emacs@gnu.org > > Subject: Re: font-lock as a single command > > > > 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 > > > > > > > > > > > > > >