From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id OGueBALJPWC+QwAA0tVLHw (envelope-from ) for ; Tue, 02 Mar 2021 05:11:30 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id SFZDAALJPWAofAAAbx9fmQ (envelope-from ) for ; Tue, 02 Mar 2021 05:11:30 +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 5E6C51E76E for ; Tue, 2 Mar 2021 06:11:29 +0100 (CET) Received: from localhost ([::1]:41722 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lGxJg-0002ns-I8 for larch@yhetil.org; Tue, 02 Mar 2021 00:11:28 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60136) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lGxJ2-0002nN-1d for emacs-orgmode@gnu.org; Tue, 02 Mar 2021 00:10:48 -0500 Received: from out1.migadu.com ([2001:41d0:2:863f::]:61662) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lGxIz-0007IE-Bh for emacs-orgmode@gnu.org; Tue, 02 Mar 2021 00:10:47 -0500 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kyleam.com; s=key1; t=1614661841; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=TJU5ogVoHWvVSHHeMAK0T3aPiT8RncXn3vjL0YcNuFw=; b=TiIdzs6dscKSs9Ud12cGGl1HdAEakisMshZYw/B40onsIcRt6ANRubiF78G0kw0JZAHKvT RS8uCE4F5t933596U8g46uLi+RqZy1Q+10LEv1npD7WM2NRt42x6s3pjfLJTplyj558/lX xwExfsmohZqYYJ5HOfBVvpg9RgaWVSr05FuBAxpYDIHp1AT2MCRU6cl7C0AZytUvqrpF1U VvCF8Cu9v8m751sJTa6tI7w/igl+xsu2VXKav7QBcMxNu2QkIYMcuEG1X/JTr681mM1fcT 5Px4HVP08fKwzLCcxx1SgnfuVBlVQI6d5Wzada00j11kc1MQpRCcIfFOAc0vfg== From: Kyle Meyer To: sebastien.miquel@posteo.eu Subject: Re: [PATCH] ~org-font-lock-add-priority-faces~: ensure priority cookies are in a headline In-Reply-To: References: <8f36ba0c-5b96-2af4-8d19-1dbf6c9d142e@posteo.eu> <87ft25zzyy.fsf@localhost> <36c35724-0d94-0033-ffc0-1074d8da38a4@posteo.eu> <87v9b1tfvr.fsf@localhost> <87sg64ti6s.fsf@ucl.ac.uk> <87im6vfejz.fsf@gmail.com> <87a6s77x7q.fsf@ucl.ac.uk> <87h7meke8h.fsf@gmail.com> X-Woof-Patch: applied Date: Tue, 02 Mar 2021 00:10:39 -0500 Message-ID: <878s76nnsg.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Migadu-Auth-User: kyle@kyleam.com Received-SPF: pass client-ip=2001:41d0:2:863f::; envelope-from=kyle@kyleam.com; helo=out1.migadu.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 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: , Cc: emacs-orgmode@gnu.org, Ihor Radchenko Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1614661889; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=TJU5ogVoHWvVSHHeMAK0T3aPiT8RncXn3vjL0YcNuFw=; b=mIWrsHImc/2oEMiAfw4rpLFZXD/hloGeIA+b93DhnYbDuRj5nfomxN5wbcSQxVAuejdI6e HStdcQV3HyrgNpQbdyrL7E10rNDpm08L8paof0SWjhcrcMTwHpse7lrDxHR9fLzV2s6tqL SSCOq4jVu6m8FaSq8iNohPHAGWIqFMKEtelcsgJCjIaEbRR7Bb4ZYAoKNHh8G9iTlCgS7b VeRpib3t+TNG1U6tMHbEjsuAfWSv9uWaZEtizSNksKXNNec/chW6lWFJplBFA3stKpFyNw Qa1w2wk5qvDiwQbGkCGxe2W8+T5u3q8X98hpCktrtN3PbkVqhE8u4nn7xKia9A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1614661889; a=rsa-sha256; cv=none; b=r62KTjS4iscBiTcZyT7gvCQfwT1SuGKplXW4I1iF1IEOFc68cJ/tGWIcbJZRI1XbKAcmgU tAQY/kOLqjfqwG36lrZYiKUhqk4xs0QcLyTB1rdoSqITIAgFYIUtiJZAhCshiLqGt3D6JI 197bCRWIBJ9nnxLS1He0bU6CFUxQZ16XxUQ7044JuYhWa17XVe2XsR6ZtKfoKpQKwoqsM0 P4qKAfOf7eO8z9peMcv41lZVqCqPb6B2vTWTyPhVG+CS8SH4Xwo27dk35b7CujJuATgLBY Sp99Wa9lUDZgSIJ7slAsoEVL5o0yypvY2LQR8I/4IMyBriEp0tTTcQ9q/KAAkQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=kyleam.com header.s=key1 header.b=TiIdzs6d; 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-Spam-Score: -1.06 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=kyleam.com header.s=key1 header.b=TiIdzs6d; dmarc=none; 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: 5E6C51E76E X-Spam-Score: -1.06 X-Migadu-Scanner: scn0.migadu.com X-TUID: +ruxK0LfbphG S=C3=A9bastien Miquel writes: > Priority cookies are always in a headline. > > The attached patch speeds up fontification of a 1k lines buffer by 0.1 > second. Thank. Pushed (a03b4656c), adding this... > Note that the variable org-priority-regexp can't be modified since > it is used in the agenda and in org-get-priority. ... bit to the commit message, and also adding a trailer to credit Ihor for the initial suggestion.