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 07:55:12 +0100 Message-ID: References: <87blcobs66.fsf@zoho.eu> <8735y0bqs6.fsf@zoho.eu> <87y2fsa8x9.fsf@zoho.eu> <87r1lka67l.fsf@zoho.eu> <87mtw8a5er.fsf@zoho.eu> <87ft20a3pu.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="11625"; 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 07:56:07 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 1lAoqd-0002vd-C8 for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 13 Feb 2021 07:56:07 +0100 Original-Received: from localhost ([::1]:36012 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lAoqc-0003Sp-E8 for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 13 Feb 2021 01:56:06 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49672) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lAopo-0003ST-Vr for help-gnu-emacs@gnu.org; Sat, 13 Feb 2021 01:55:17 -0500 Original-Received: from mout.gmx.net ([212.227.15.19]:48849) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lAopm-0006sF-TG for help-gnu-emacs@gnu.org; Sat, 13 Feb 2021 01:55:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1613199312; bh=k9H6F9JBGrOtJ013wZ23rTy+vPHrQaVlHYrD/7YksRM=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=anDZvYEqmsulvPIQEZiMfxtdNFlheMM0Q6ncoODkugoiwxPSyIzNwSXbrVTlAw+ju QxXGCe7P3Q/02UNonTJrJTV0TrW80l0S/KfpfUvZbrOy/gzZJCKnFb+zDl0rmmFnu9 9R78DI1apbW0UKqeldekMbVcjPDA8jZNWAHt8MYA= 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-bs12.server.lan [172.19.170.180]) (via HTTP); Sat, 13 Feb 2021 07:55:12 +0100 Importance: normal Sensitivity: Normal In-Reply-To: <87ft20a3pu.fsf@zoho.eu> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:NJStn2kU6CLpaRKGX6wQvGWhy1t1K1yoCrAjdryE8AXRfk8uW2GLFCsCLywS/X/ez5/dG s/x50/7yYx7CdYNcLwGBE1Vsslw/MRJdNqKc2Y394MP4OEUXtYSUdBJV/lrgROp+WVqWgpAshGzu GGH72eEQNuop+zpf6uczEzd1qazTs2IeVhYj+lCU6dJ7KcByGgbAETMpxKJ61wnaFYmKFbjdYEwx 3cfq7uOn4zGpzgxiPbZAm/R1T6wzFLPF5J/vkkz/xtXvnXZeYLfp29dXeRZEFW5iE7NYpkkOYIiu TI= X-UI-Out-Filterresults: notjunk:1;V03:K0:JYcUH9svC/A=:GD3wnVef2BrhHyRmAfK6To HT95DNuIjklDa2DZzAKsvCppOShxd5ccq0uU2/c1/fRW2hzuvgkJcRUrhSNb2fxlJ8fgW6YUv JGcnBnPl9s3eGzm9P9OqxFPbnOa/wY8OcdVFhYPwT1LDE9kYJaKgtZwLvFJ5kAb38ZDQ0awVI 3s8tJJk0MCGVOXFXaoStTyygv2YVxT+/iX7BkVoHRePxH01bXZWFvPLqyyKOa6A4scSafYg0F QQEVoCXd97C3rTyM7jN2VKm9z24YSjC2qzWYTNBAXEQd+0pEBkXmmg1Z3CK0qfQtiqr3WM0Xh CW/+SjrtT8HfbCxmOt3T7L7BbTsejJFWloRTx+uk4CKsiOKKfxK6KLpJo8jAmpjx6NRNUYbcH ZkoneG1Pkc/RVWynXhIoMEdnI6WaFZ6I0UNF+Xt+OkbK+cqUhSt0eMp3sKh1VhP3cbUy9xbPW 306cFj0ZMR1sj6bik21k4zGgLV5iucnKqf8WOJcxSrElfcpiq1AqMiZx0HiUBlWXuB87M9RRv sHSST+1NzAfEXU0NWtvLrUjBd0jKydRvJ/drcTegqpuc/YwiHIKA3zUrvI+Q4tN9CDj1pQIaJ cJwFt/comrPY0= Received-SPF: pass client-ip=212.227.15.19; 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_H3=0.001, RCVD_IN_MSPIKE_WL=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:127904 Archived-At: I have solved my problem. I just needed "(font-lock-flush)". To disable, I am simply resetting "deviat-supinf" and "height-scale-supinf". > Sent: Saturday, February 13, 2021 at 6:20 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 am quite confident that I can use > > "(font-lock-fontify-buffer)". Do you agree? > > The docstring says: > > This function is for interactive use only; in Lisp code use > `font-lock-ensure' or `font-lock-flush' instead. > Probably introduced at or before Emacs version 19.29. > > So I'd say use (font-lock-flush) instead... > > -- > underground experts united > http://user.it.uu.se/~embe8573 > https://dataswamp.org/~incal > > >