From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id NFbuD1MNI2BjcwAA0tVLHw (envelope-from ) for ; Tue, 09 Feb 2021 22:31:47 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id QMReC1MNI2AtYAAAB5/wlQ (envelope-from ) for ; Tue, 09 Feb 2021 22:31:47 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 94F9394029C for ; Tue, 9 Feb 2021 22:31:46 +0000 (UTC) Received: from localhost ([::1]:43424 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l9bXt-0008WN-17 for larch@yhetil.org; Tue, 09 Feb 2021 17:31:45 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54182) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l9bWS-0008Vu-OF for emacs-orgmode@gnu.org; Tue, 09 Feb 2021 17:30:17 -0500 Received: from mout01.posteo.de ([185.67.36.65]:40286) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l9bWP-00027o-P2 for emacs-orgmode@gnu.org; Tue, 09 Feb 2021 17:30:16 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id C1F4116005F for ; Tue, 9 Feb 2021 23:30:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.eu; s=2017; t=1612909808; bh=CuVHyeUtxNMAyViWr0JsF4k4VcvOphoZZ/mTSpt/rzk=; h=Subject:To:From:Date:From; b=K89FDLTZ62+Wn9iI2HS8JtscdfCpm/lFfHNKnxFR+K3LLHL+Co2fF0DGikwEuA/bd f7Aqk2O/N6O1wHdjAUOkaLIF0sSM4HD2+AhMRs35vT1kMGKBNLOAf3A2aGbVacttA7 uU+KFtYAQuTj7L9L4GrGn1tJ7x2FsRFM6hOPWnOHcCU+ro1ZwqFb62ENxkGar88ls3 6g02FPrh4tYmTPaJwWIArP3bjlXXZMaScirVPlh0aW0uYh1loxJZoHl+X1GwcoCTr5 rHvo/E0kR4ZWDF7mnLuOHUaSyILv76cnoT8mR/3JTLOuhAM4wUSsytmEaFXI4Ck5lN gSu3sM1kFs3kw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4DZyJJ13hjz6tmS for ; Tue, 9 Feb 2021 23:30:08 +0100 (CET) Subject: Re: Typing latency To: emacs-orgmode@gnu.org References: <8f36ba0c-5b96-2af4-8d19-1dbf6c9d142e@posteo.eu> <87ft25zzyy.fsf@localhost> <36c35724-0d94-0033-ffc0-1074d8da38a4@posteo.eu> <87v9b1tfvr.fsf@localhost> From: =?UTF-8?Q?S=c3=a9bastien_Miquel?= Message-ID: <80f2738a-10fe-5753-7d1c-6a55a630696f@posteo.eu> Date: Tue, 9 Feb 2021 23:30:06 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: <87v9b1tfvr.fsf@localhost> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: fr Received-SPF: pass client-ip=185.67.36.65; envelope-from=sebastien.miquel@posteo.eu; helo=mout01.posteo.de X-Spam_score_int: -46 X-Spam_score: -4.7 X-Spam_bar: ---- X-Spam_report: (-4.7 / 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, NICE_REPLY_A=-0.265, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=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: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: sebastien.miquel@posteo.eu Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.06 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.eu header.s=2017 header.b=K89FDLTZ; dmarc=pass (policy=none) header.from=posteo.eu; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 94F9394029C X-Spam-Score: -3.06 X-Migadu-Scanner: scn0.migadu.com X-TUID: BAlSBqVWoOz+ Ihor Radchenko writes: > I have the following in my config to speed things up: > > (setq org-priority-regexp "^\\*+.*\\(\\[#\\([A-Z0-9]+\\)\\] ?\\)") > > For the latex fontification, I never had issues, but you might play with > org-highlight-latex-and-related. > > Hope it helps. Thanks, I've set it so aswell. It does speed up the initial fontification of the buffer. I've looked into org-do-latex-and-related, but even replacing it with a dud doesn't fix the delay, which must be caused by the already fontified parts. I guess the issue must be wih emacs' internals. -- Sébastien Miquel