From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id mHYwIBIoq2LeMgEAbAwnHQ (envelope-from ) for ; Thu, 16 Jun 2022 14:54:42 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id CN75HxIoq2L93wAAauVa8A (envelope-from ) for ; Thu, 16 Jun 2022 14:54:42 +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 237483F82C for ; Thu, 16 Jun 2022 14:54:42 +0200 (CEST) Received: from localhost ([::1]:51794 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o1p1E-0007X3-BT for larch@yhetil.org; Thu, 16 Jun 2022 08:54:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39484) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o1odV-0002AE-HU for emacs-orgmode@gnu.org; Thu, 16 Jun 2022 08:30:12 -0400 Received: from mail-pj1-x102d.google.com ([2607:f8b0:4864:20::102d]:42346) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o1odU-0001EH-4I for emacs-orgmode@gnu.org; Thu, 16 Jun 2022 08:30:09 -0400 Received: by mail-pj1-x102d.google.com with SMTP id 73-20020a17090a0fcf00b001eaee69f600so1354500pjz.1 for ; Thu, 16 Jun 2022 05:30:07 -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=QhEBluSMcr+mZEPYCffcmuoUmir42KbmEaIQfBqJOkA=; b=dcVP+GqnuMOsItMWtT33+Vs/656HqEl0TmGnNIP0MaAan9jiC1qsaMaY9wpLQFlL8P Rf+uTDRiyCl9Hmb50dSx6BhZpOj8VStrWO2iB5NIiIjnmyNBi7xkSBxvfCfsOJpTUPJQ 7mtlrsqCx82VlZyH7UHD/X5hPoNtysS4XFK9Dy3P0C3EBN0Nwc9592BKrZt+YqBZ/rOD w+L5G1jxSshvb2mnZkFJtDmczGGw3k2bxvQkgWhFRZIU1Hp5SFXV2bGcFzzG2Yl6NH1F jLE0YKBQmigdSTCn3h9CxpzjfShDgyFM0XcpHoxwTyKIQx4UlmQXMMFh7pANsw9yg2lx P4cQ== 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=QhEBluSMcr+mZEPYCffcmuoUmir42KbmEaIQfBqJOkA=; b=PeHe/R4BIitQH1SRdcEd40Q6bqCGs4VKZXhIDAhJwfWrcg0ca+h1rWxYrYOna8Ai/0 PbTP6T3lf8R6z7FMcVBMsZ6JGgknsyUWC0M8eK5WHTcq+HJHQKBrUwltz5OoiMSzZfev AAVIsNyWMi/tsoP7RQndGLobLmry6IaaAeEK9RMtEgHv2Ze97qvQuYa0e0yN5BXG7him lNCU97v1s4WVzyyIqbdJA5onK4K3dDVLG37K6HGBJKIL+QRJkZm+tRztYpRJAItLm9f3 gOAZPzjgmfHyEmR2DwY5AXWmJm7m2mqKeiKDsDkgfbOkCuz9vMtxbEr8uyWzqTSOS4Uz aJog== X-Gm-Message-State: AJIora8mh7RPieZ/p06JVVdLegNix15wTllfb69tUzaNY8zNNS514FC1 eIjWvlLTZpc+q2mKJo5lstE= X-Google-Smtp-Source: AGRyM1vvpHRK4Ym6H3V6nm+1WpWsRwMpD+10oDl8x5Kty/MffNiXRX94Ihba7YyFZd2Qq8+WGz+U2Q== X-Received: by 2002:a17:902:ed02:b0:169:e40a:7bed with SMTP id b2-20020a170902ed0200b00169e40a7bedmr11499pld.167.1655382606714; Thu, 16 Jun 2022 05:30:06 -0700 (PDT) Received: from localhost ([173.254.200.134]) by smtp.gmail.com with ESMTPSA id w22-20020a1709026f1600b001676f87473fsm1510865plk.302.2022.06.16.05.30.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jun 2022 05:30:06 -0700 (PDT) From: Ihor Radchenko To: Max Nikulin Cc: Org Mode List Subject: Re: [PATCH] #+begin_example lang used in manual and worg (was: [DISCUSSION] Refactoring fontification system) In-Reply-To: References: <87ee7c9quk.fsf@localhost> <87k09ycc7n.fsf@localhost> <874k0vud2l.fsf@localhost> <87sfodgtl0.fsf@localhost> Date: Thu, 16 Jun 2022 20:31:14 +0800 Message-ID: <874k0kg57x.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::102d; envelope-from=yantar92@gmail.com; helo=mail-pj1-x102d.google.com X-Spam_score_int: 15 X-Spam_score: 1.5 X-Spam_bar: + X-Spam_report: (1.5 / 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, RCVD_IN_SBL_CSS=3.335, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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: , 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=1655384082; 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=QhEBluSMcr+mZEPYCffcmuoUmir42KbmEaIQfBqJOkA=; b=cOR41eCCSYq9IfmRHXr288LaN2bXscAk5uGyII7W12TQT/8Ct0Z3iN5e0cTWyqtVMEYZGT Cd13fgysRHWvT79jlULdrr7k1ni+h2UflfWXP6gA7p5W/fVcc8S0TxfBRq74yxzZ+8XWvc JsbdGvVjw96+s0AfYc1tINS5vZ5T2Yr6t5W7p6RCBUXaQcOZOqVJiJCJ1qwF+qyVx2vQOr IPH7kGAM863RVvV4WbnSqJxou4YCKEzyUB9UJS+7sVtNQ5qZcLsiotC5c2SSiLC1oWZpoH 4J+CrylDJpNTxStcFwNwM+X3Dsk9xGgOIA9getQW/GNKNX5O8osoCVqMb6GMVQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655384082; a=rsa-sha256; cv=none; b=GkXK6Ubm6NAsaEKfDiqSXypWyuCdWe+RND19eQgjRtxbDRZqDqqi/26h8F3JFj3BpsmfE5 3GX9IB/+t8Dnv8G4X5i4wZsJGQTSwJfAUaOwTz3lIqCK5xgBaZ/3BmgT4no4rwCfkTQrT1 elIeN2G4chKg+9KnheCbmbIAujs1X8CvhMXxYX3tZwAm4PTT4LCmgKWpSv6WJCv8wVangf dOH24jtbSoObtqh+7xbjIPR2niR46D7epeeWfJLQgKcZ4bM4mU3uxvku5qeXSJcxDdspMg 6ioMtHt+gpdPQUEzeETxCrb8ojTMlpGkj1EualigFSYB3HWbU22YALHAXFztaw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=dcVP+Gqn; 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: -1.69 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=dcVP+Gqn; 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: 237483F82C X-Spam-Score: -1.69 X-Migadu-Scanner: scn1.migadu.com X-TUID: 59g0wYDiEzT8 Max Nikulin writes: >> -#+begin_example org >> +#+begin_example >> ,* Parent capturing statistics [2/20] >> :PROPERTIES: >> :COOKIE_DATA: todo recursive > > It is consistent with other examples in the manual. Only one snippet is > wrapped into "#+begin_src org" and it is a recent addition caused a long > discussion on Shakespeare's poetry. I am curious why #+begin_src is used > for elisp examples, but not for org markup. I am not sure. In theory, the only significant difference could be that #+begin_src org could be fontified natively on export (some time in future; they are not now), which might be slightly confusing. In any case, I applied the Org manual patch onto main via 0cc4f492f. > For worg pages #+begin_example to #+begin_src substitution may be a > better option than dropping language. You are right. Would you mind checking if there are any #+begin_example cases in worg with no language specified that are also worth converting into #+begin_src? Best, Ihor