From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 6H/LNSZVqWLQNwEAbAwnHQ (envelope-from ) for ; Wed, 15 Jun 2022 05:42:30 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id yHm/NSZVqWKoegEAauVa8A (envelope-from ) for ; Wed, 15 Jun 2022 05:42:30 +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 7B49F2EE81 for ; Wed, 15 Jun 2022 05:42:30 +0200 (CEST) Received: from localhost ([::1]:45590 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o1JvI-000824-5Z for larch@yhetil.org; Tue, 14 Jun 2022 23:42:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48728) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o1JtR-00080e-Pq for emacs-orgmode@gnu.org; Tue, 14 Jun 2022 23:40:34 -0400 Received: from mail-lf1-x12c.google.com ([2a00:1450:4864:20::12c]:33283) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o1JtQ-0000Da-8A for emacs-orgmode@gnu.org; Tue, 14 Jun 2022 23:40:33 -0400 Received: by mail-lf1-x12c.google.com with SMTP id c2so16983694lfk.0 for ; Tue, 14 Jun 2022 20:40:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:message-id:date:mime-version:user-agent:from:subject:to :references:content-language:in-reply-to:content-transfer-encoding; bh=tnkgkWdHLo8nc9BWWKYqKeJqzHM8sa+LOIvRgdedJA8=; b=bJQCkGvIubDKQwQcXI2Cyakqi87HVYCWE1o1g7U2o5wjikaWmTjpinetP918hz2b5y 0RvY96/H5QKRvY5fymc3KIwbhY5+uaBcvImEX+VQWoGvxjeeExJxIrW3MS0/uPoVrqbY hKslF8WrAHFJIG+zkL+Yk3LKFK+1pg2co0JWC10RJ06K6VFfxFhkVPkmWwTPBiAbrVIi 39jzbe7ruUX7wIn4GQlqXNJXiN51KAk7zI8wfOqT4ulRuy/0EzGHvIs2KX5Qbl68NSbp ncA9B33xQaAfm6blPvWfCEQZYEd3Whm9DAX+W4j5B6BZKE4VB+eE3NYBWRLPh1jvu8QF 5N6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:message-id:date:mime-version:user-agent :from:subject:to:references:content-language:in-reply-to :content-transfer-encoding; bh=tnkgkWdHLo8nc9BWWKYqKeJqzHM8sa+LOIvRgdedJA8=; b=zLTAvvUDHyj5SuVtA1yp/Cgq3kvIX8P/W6/AWxBRxjaxPoKAqqFmpxHzluuSER5PGg +pig/youQKwWNHmpsc7Smn5EV+Dz8S0JqUROsawSIYCqRJgDsxU5lKbHr+NG+yR0hCKJ sCQpTiznS5o2WLMeYKasEs0QCsm4s8Q6fvNamFT8c5zAtPYmPruNZFtDhXqsZ2BxgD0K 0e9VRf6eJjDogyZBvLZgCwCUAMGYAGKDbwiEg4oxtXskJp5v4Qzav+NTiX+rvHaum+OQ j7HRngveyDHOm9PjC6hRzBtQ82KlX0lYqxJsqMfheJeX24Irxpjn1elAoeX+k0ChEToT WazA== X-Gm-Message-State: AJIora+fv6uojz5++EWTK/XOPhPqs2DCE+W/NEIovreYEBUdK19c0cNz OEzlhhjIHUVSyGn78SER4chkf1iajdB9RIk+ X-Google-Smtp-Source: AGRyM1sqh1jFycCQypoY01byKSTKA2r6SEekM1Q/lovHlsPYu7ruyw9Cf65TXHCCNWdtZKxxa+Ft/Q== X-Received: by 2002:a05:6512:118f:b0:479:774b:b3ee with SMTP id g15-20020a056512118f00b00479774bb3eemr5116612lfr.391.1655264430084; Tue, 14 Jun 2022 20:40:30 -0700 (PDT) Received: from [192.168.0.101] (nat-0-0.nsk.sibset.net. [5.44.169.188]) by smtp.googlemail.com with ESMTPSA id j15-20020a05651231cf00b00477b6328a4fsm1630208lfe.158.2022.06.14.20.40.29 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 14 Jun 2022 20:40:29 -0700 (PDT) Message-ID: Date: Wed, 15 Jun 2022 10:40:28 +0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 From: Max Nikulin Subject: Re: [PATCH] #+begin_example lang used in manual and worg (was: [DISCUSSION] Refactoring fontification system) To: Org Mode List References: <87ee7c9quk.fsf@localhost> <87k09ycc7n.fsf@localhost> <874k0vud2l.fsf@localhost> <87sfodgtl0.fsf@localhost> Content-Language: en-US In-Reply-To: <87sfodgtl0.fsf@localhost> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2a00:1450:4864:20::12c; envelope-from=manikulin@gmail.com; helo=mail-lf1-x12c.google.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, FREEMAIL_FROM=0.001, NICE_REPLY_A=-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=1655264550; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=tnkgkWdHLo8nc9BWWKYqKeJqzHM8sa+LOIvRgdedJA8=; b=Z52UXbHyujBwP6U8o4+m6AS4aENR5ycS7I2CHSqFi1aDWQDlWhbCxWl484BRNHTfFjuRGI jSfSiiJ7qgPPL+U7ld+pKfGuT+pjZt8OivSvST8BUyuy3VxFDLEz/hN/UyFWpfpTripFI4 n8TjxPlGadmA7p7XMykgRE3tY6IdZfS6iwkdfiAh5VUDk9Wb6Wqm0USAGhRx0R0OAgIpIm 9rUMXmZsV0f0SgcJMVnQGqa5fCd01Wc7qg0UYraW77d2Co9yeYr1mjDRhCorlouNRauEku 5qERS3af7qHZ48jd1c85aiEyhnS9xXX8z+jn/1ZqGK+PM0TYNslzRmZzSM6QBQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655264550; a=rsa-sha256; cv=none; b=rYnFZp/KDd9YMYxN8UH2XGlIXYGWCkP6DVouqSSK4aNaQaaK0LegvlwF6PXvcwZDjwzCyI n/2TJDGWHeA/TS6Kwc5kq2DPyYvDFywKH2/XEroR3C1vG5jRrCmbsM8yGc1ehxnWZlEcMY d9Upr3uWAsU8OfmHZGmmQKu9vbZQL8LTg7/E4xTpHQp9MC5C+j5oZGBI0puutMeE3etr8/ FkJXIgshG2cG8vLzqcsaorYX1tR6aKOg6sr8eIA4APUxgSzK/Elj4LYn+ll8nEbQOwNokG zq35wWRLJzyXBcCuT8jVCW1gfAC88sboNmnEVhGXGeIOT2GNYRpOAZNHW59PSQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=bJQCkGvI; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 5.41 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=bJQCkGvI; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 7B49F2EE81 X-Spam-Score: 5.41 X-Migadu-Scanner: scn0.migadu.com X-TUID: m2nsCExzFANX On 10/06/2022 09:06, Ihor Radchenko wrote: > Max Nikulin writes: > >> Side note: I can not say that #+begin_example with language is widely >> used, but one case may be found in org-manual.org and a dozen in worg. > > Which should probably be fixed. LANG parameter is ignored on export > anyway. See the attached patches for WORG and emacs-manual. Thank you for your intent to fix it. > diff --git a/doc/org-manual.org b/doc/org-manual.org > index 32a45f884..51aa4d77e 100644 > --- a/doc/org-manual.org > +++ b/doc/org-manual.org > @@ -4488,7 +4488,7 @@ ** Breaking Down Tasks into Subtasks > include the word =recursive= into the value of the =COOKIE_DATA= > property. > > -#+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. For worg pages #+begin_example to #+begin_src substitution may be a better option than dropping language. > --- a/org-tutorials/org-jekyll.org > +++ b/org-tutorials/org-jekyll.org > @@ -172,7 +172,7 @@ * Creating an org File to be Published with Jekyll > > Below is a short extract from one of my org files showing my setup: > > -#+BEGIN_EXAMPLE org > +#+BEGIN_EXAMPLE > #+STARTUP: showall indent > #+STARTUP: hidestars > #+BEGIN_EXPORT html It is not the scope of this patch but looks like missed commas to escape leading "#".