From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sJA+CCoXpmEZowAAgWs5BA (envelope-from ) for ; Tue, 30 Nov 2021 13:20:58 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id sNO5AyoXpmEmRQAA1q6Kng (envelope-from ) for ; Tue, 30 Nov 2021 12:20:58 +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 C39905303 for ; Tue, 30 Nov 2021 13:20:57 +0100 (CET) Received: from localhost ([::1]:49644 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ms281-0000wf-1m for larch@yhetil.org; Tue, 30 Nov 2021 07:20:57 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36686) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ms27I-0000wN-BG for emacs-orgmode@gnu.org; Tue, 30 Nov 2021 07:20:12 -0500 Received: from [2607:f8b0:4864:20::52e] (port=39575 helo=mail-pg1-x52e.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ms27C-0006OH-UX for emacs-orgmode@gnu.org; Tue, 30 Nov 2021 07:20:11 -0500 Received: by mail-pg1-x52e.google.com with SMTP id r5so19506960pgi.6 for ; Tue, 30 Nov 2021 04:20:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=N8bpOCYUNsJB/Cu7T5hP2nJLTE6zjXoEovFjzHZbpLc=; b=m2nbSmWTTqOljFh4Y/3N6OzUhMzcDmxMxFjuC9C5JWRaiq3UjtZCFs2rNji2QFYWTu HAuOvo3qKHihJ/cHRR/JjmrHs45WCxMyqL4FhC1MN5z/NTEepTEPT0nLwmRNPbFOvx76 oIurf7TYg1cYEHwROBnL0WlV6hye++FuNPBTSXy4tAiTtgLsoyXfqFOusfAaLFJhZfYH P3BKPJehhvo0461yZnjb72xN9Rd1RnSxFoJ1qBJ+QQuWfBn4V9InMAmuL1iq3L4yevwP CA409N17/NumU1spBIESfKUCywPw90aI10Crrs6iX5qNoFVgB4vp/kmioF1mZfNwgpnK Gd7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=N8bpOCYUNsJB/Cu7T5hP2nJLTE6zjXoEovFjzHZbpLc=; b=uKA479BhagXKY2jf25wboIOU96mt6zI2aj5hpISVcqpM0qE6hYuDREvpW1DOhVB1NI nKdo9gjGOP2eOmooRL5q2IpmBRjMTSqAzPMXif2EcTAuIaK0WIUV4fSOcORAY6zKjJuh PFxeAOm9ibiTuHNmIqe7EMZSX+Z1sIkxp7PAPedrc5VQ5SYTazN76HPXwplglFM1cLGu K7XJHIW3Gm78jL9WktKrgIHAx7VpF0ZpxSbwLJ6HhzPBLFNkSG0emIWHjiNXdPPAxK5z mRREiIEfl0uvL62Ns9l4Tqf9l76lGcvcHPU1hxCvr7IRLBVZ7kTmlzlKl2sQoekUpnqb 1uiw== X-Gm-Message-State: AOAM531nxbaoXdtoLxBKCgrjFuadfxc0A+TnjyG/DDQYczd7DauItSey ywe9RkkeAZKQrY4TEIpDH2E= X-Google-Smtp-Source: ABdhPJySfWa4HpsvWEoRygkJgglYb3w4CSJQkigCF7EBSZ3eieuq3CbNfFLhtyZlKsvrAbbBfE7eMQ== X-Received: by 2002:a63:88c1:: with SMTP id l184mr25970582pgd.521.1638274804939; Tue, 30 Nov 2021 04:20:04 -0800 (PST) Received: from localhost ([103.125.234.161]) by smtp.gmail.com with ESMTPSA id z10sm21157260pfh.106.2021.11.30.04.20.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Nov 2021 04:20:04 -0800 (PST) From: Ihor Radchenko To: Timothy Subject: Re: [PATCH] Fontification for inline src blocks In-Reply-To: <877dcqpxux.fsf@gmail.com> References: <87pmzf4bd0.fsf@gmail.com> <87o86d7g05.fsf@gmail.com> <875ysk76bo.fsf@gmail.com> <87a6hwpeew.fsf@localhost> <87zgpw5lt9.fsf@gmail.com> <87k0h0b6mv.fsf@localhost> <87y25g5jip.fsf@gmail.com> <87wnkzf186.fsf@localhost> <877dcqpxux.fsf@gmail.com> Date: Tue, 30 Nov 2021 20:21:29 +0800 Message-ID: <874k7t96ly.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::52e (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::52e; envelope-from=yantar92@gmail.com; helo=mail-pg1-x52e.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: org-mode-email Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1638274857; 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=N8bpOCYUNsJB/Cu7T5hP2nJLTE6zjXoEovFjzHZbpLc=; b=lQABgJNgDo7GSk0jRmnOSi84jv14GIfFIHewIpovUl4Lm6q9EEcdA1AiaehOz4AiSfUOUo Es0lFiUETQ5Dfv3kxQnWpRzSZ6fsyuBB7broAvgqEdBqrguz4253bG7L6nAJCmPZbk+fhH xL8eL5WfvumZS8T6/RI4FfS1nV/I7CDPv+Pko+/7OJhsS+zsKzIFZnNpf7nUtnq+VWhHMc d062zUecgrAnpylLXowVxyefW6XnCVJQmrW6OHwd6FPjXSItXxcAW+2n5NiXnZRZr80cmO ZkU4Av6k0K8VsjvQlyiFZktm+xhPhe+C4KhwR89OBYtl3dL80o4yB6145l42Ug== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638274857; a=rsa-sha256; cv=none; b=iLLw0W3ZHJ8GGULHJIGjCyOblVucS8bw3GE3wp2SBK/ndzR47HbTfBfXii5cZO6iCNOAMz Ni8wSOb9qFiPYttvsve6LX+xd3tCXrFXE8FUjAGEcRSQekBZ761aAgs/oi/UcjVOYAZpJz XdNeb2pqfnpF0YTvVrIu6pQx3GeqzI+l76flTKKeQ93vIDSkXmayVUe7y4QwKfPICe3w/5 EhWp3Hh+T/MvFY7iqDqyrpRZ7c3UFfH6OXaV7j2nAUlw2shdD/QQ82sJJ4zA88DZoj3T8K nwExdL7DnFyIMXC+CpAu3UqTnODjmdQzalHcy42dUrPUsbNbn7s2nY3WLQSoQQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=m2nbSmWT; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.61 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=m2nbSmWT; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: C39905303 X-Spam-Score: -3.61 X-Migadu-Scanner: scn0.migadu.com X-TUID: B5Kh+fKjLZiW Timothy writes: >>> [use org-element] > > Ah right. We now also have the new thread about using org-element. I thin= k that > sounds like a great change overall, but am still keen for this patch to go > through for the moment =E2=80=94 just as a stop gap till org-element expo= ses all the > necessary information and there are some nice examples of using it for > fontification. Agree. I plan to do some work on org-element-based fontification, but probably not in near future. Also, note that your patch has unused let-binding: In org-fontify-inline-src-blocks-1: org-src.el:669:70: Warning: Unused lexical variable `initial-point' Best, Ihor