From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 6EDbAEtim2LbRAAAbAwnHQ (envelope-from ) for ; Sat, 04 Jun 2022 15:46:51 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 2ItgO0pim2LehQAAG6o9tA (envelope-from ) for ; Sat, 04 Jun 2022 15:46:50 +0200 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 BF082F18C for ; Sat, 4 Jun 2022 15:46:49 +0200 (CEST) Received: from localhost ([::1]:44582 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nxU76-0002mi-M1 for larch@yhetil.org; Sat, 04 Jun 2022 09:46:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45670) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nxU5P-0002lH-Ut for emacs-orgmode@gnu.org; Sat, 04 Jun 2022 09:45:04 -0400 Received: from mail-pg1-x52d.google.com ([2607:f8b0:4864:20::52d]:42976) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nxU5O-0006nt-Ei for emacs-orgmode@gnu.org; Sat, 04 Jun 2022 09:45:03 -0400 Received: by mail-pg1-x52d.google.com with SMTP id d129so9333417pgc.9 for ; Sat, 04 Jun 2022 06:45:01 -0700 (PDT) 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; bh=Yd8yOBYI43EkvDQEuEfbExNkUqsyeS9PEyp8+U+sz7g=; b=A3Hg2S6KhWXByMbCN21xSsFCpFkrEEujvhF6NWBwAAlfYBy9ZtFYjUQo9+fIM3NCPj cP9bcPC6o6yVSfGV4utH0wsWY4CQGFYt5kUFCRwWoGN0UAxHMNSBAPWpwwH48aD3UlPj xKFMtjuXcB6OgqS6XfctxzJD9kW6JbKTqYgSBth4TLmTxPrP2W4WJU6VE9MnGm55ScQz A40XM5e8Iu0vxBQHY06KOhymeScSHPIEfE3IGHcY1Bja7fEFLLKTusX/IAwEEqSUqQ+Q 51ctBNN+yf4hHpbwPKieoYpJJl2kiM6FKQ7GHBVnpkEIJvMnrnEPPShhdmotnY+fW519 MBjw== 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; bh=Yd8yOBYI43EkvDQEuEfbExNkUqsyeS9PEyp8+U+sz7g=; b=bB0R/pvx6HI5OKnVbtpbgMk6jkjB9MxX9erKtQzpA0esTtJ5Z3vFChGqXN2kuQqEsO TBKOhK/DuGM46eIKnTv4N6QNwX1lJLqZG0e8sqEy4Nrq+qA+v9tzia6RLe2r5VW7vsqu McSsGKLHEEeP3989+A4dEmWeOTICDemIBeo7Yhm56hS6lKOHPjFYNfNhCxCQcVmUNjE5 LE+rgbpVufp4uUmwVtxLCwjf32XMS7Pl5NA53jTuHrY8sUJ752wC1tarZK5isDRXycJl bHCDDaKlgxl+cMRLYm/M44uH88eeHY/syd8H57O9BOPx820w+w/1tsZ9nUj1JdmRXg9x TaKg== X-Gm-Message-State: AOAM531uUw6qa4Fq4NMwjYqUXTio8D0bwxLLu3EsI2rWzNCjkHkftxFL jR2K/CJB1PA0G3XiOxeHADc= X-Google-Smtp-Source: ABdhPJz0AHLEJHF78/3lJmDawwcJsf/BEbe2cguFmjnDZgik0q7+gDYgGyz++x0tfWkEBAwUZu8ZQg== X-Received: by 2002:a63:2f84:0:b0:3fc:5ffd:ee6c with SMTP id v126-20020a632f84000000b003fc5ffdee6cmr12915088pgv.163.1654350300646; Sat, 04 Jun 2022 06:45:00 -0700 (PDT) Received: from localhost ([208.115.232.2]) by smtp.gmail.com with ESMTPSA id x14-20020a170902a38e00b00161478027f5sm7215479pla.150.2022.06.04.06.44.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Jun 2022 06:45:00 -0700 (PDT) From: Ihor Radchenko To: Ted Reed Cc: emacs-orgmode@gnu.org Subject: Re: [DISCUSSION] Refactoring fontification system In-Reply-To: <875ylh5vi1.fsf@zenithia.net> References: <87ee7c9quk.fsf@localhost> <87k09ycc7n.fsf@localhost> <875ylh5vi1.fsf@zenithia.net> Date: Sat, 04 Jun 2022 21:45:37 +0800 Message-ID: <875ylgy22m.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::52d; envelope-from=yantar92@gmail.com; helo=mail-pg1-x52d.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1654350409; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Yd8yOBYI43EkvDQEuEfbExNkUqsyeS9PEyp8+U+sz7g=; b=QvAWa1tTOBmEdhsVDuo+ZJTymRrDEeNGl9DxGnTXdTy+tzoY39tmXHk1sr+UUddBY4OZXN UG3ISV8k/Yr6VTuQxi1rKSN0ipzU04uSluoNUn498RdiMXT6z0lzr9iSKISa4ew00ST21j d7n5SxAEDsG0gvcHjdzqF4iaxO+EnM7R6i2uo1UySIn9ziH8M3VDDAXFHmp0aNBXyoWmhO xVu3BddpzS6yIQWOXrDQq049w0HmHgex12tIHaYG0exyPHTiHbuQFZGGN+bzWBAPt3x7dJ 23Mu6AEJWAsTF/lJCqxSXyxdOkTCO4gRo9KoY1hTQfVKgCJpSC6nghGDMbjYag== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1654350409; a=rsa-sha256; cv=none; b=O15ZYngmIYGa2DhNy/JiDWruHGpvyv5Yb8FqkT/G94MBiIDOMjVYEK+wL7WgXIKlimnxX2 nbDxIrCuEwWfhMhGDiFgkHaqGfdfJ5ayz1agn5G1hEyHl3lbVRwuuE+XXrYi5HiiB1PhCS 8NLqKfHl7/YUyXKlwQG50asmIOb3j+B9r9SrUvR1NuO2T/Rzcu1gjn9NzS5rStY/l0kRuU 3qu3ffBlDhjefaLVHqAt76H9L5bbq38YVJ0tHOtEPvpntIw4REZKwf+W+Pi9K5VLK+PTIs MYdRNAVch5t77yFK088eAws4FTfwH+gzWLPgrcNfQxlqNv0VcKEPj/Cw+YYQoQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=A3Hg2S6K; 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: -8.52 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=A3Hg2S6K; 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: BF082F18C X-Spam-Score: -8.52 X-Migadu-Scanner: scn0.migadu.com X-TUID: 6Y1UuxisURmy Ted Reed writes: > #+begin_src http :pretty :wrap example json > ... > In this case, ob-http seems to default to generating example blocks. I > realized I could add a bit there to get it to fontify as JSON. Have you tried #+begin_src http :pretty :wrap "src json :eval no" ? It should give the same effect. Best, Ihor