From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id kDLPE2mnomILfAAAbAwnHQ (envelope-from ) for ; Fri, 10 Jun 2022 04:07:37 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id AOa1E2mnomIOXgAA9RJhRA (envelope-from ) for ; Fri, 10 Jun 2022 04:07:37 +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 A98AF178AC for ; Fri, 10 Jun 2022 04:07:36 +0200 (CEST) Received: from localhost ([::1]:36972 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nzU3j-0004VB-Gg for larch@yhetil.org; Thu, 09 Jun 2022 22:07:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42598) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzU2T-0004Uk-0e for emacs-orgmode@gnu.org; Thu, 09 Jun 2022 22:06:17 -0400 Received: from mail-pl1-x62f.google.com ([2607:f8b0:4864:20::62f]:33753) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nzU2R-0006wu-05 for emacs-orgmode@gnu.org; Thu, 09 Jun 2022 22:06:16 -0400 Received: by mail-pl1-x62f.google.com with SMTP id f9so11213131plg.0 for ; Thu, 09 Jun 2022 19:06:14 -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=R42N8XtU0QIvVQc1W4na+gbHa4yCeG1u3x0bREcMnzY=; b=k1CZYMh2qauVbkSCEwdhtyLzAOV6akhPQw+r+vNMo9U1gLV2x2/DYFlOnL5y40IsMx aw4v3LwQuDTmMIxzKL3exPlJg589GKoxeLqlIhg7ax2Y/4cqrcyW3SBQ0rVc6vvsucXB PVhXCR675TWEXd+PClTfdbSjOiClKZg5BJXExvVfJK7n5GrRRDCRRSU14qm/9CqO9Yzu M5+9fdDO+d9YrOxngWi1huytBfwiOdsQrjE6SONHmPKtzAWOnKvCcETZmYWNtG3UUZ1h VeIn8REXwvtPUls0FXTqkHW2/vNU+Lb0tg6TlqIws5ofszo/GByiURk4W+X1nzOv23iI z31A== 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=R42N8XtU0QIvVQc1W4na+gbHa4yCeG1u3x0bREcMnzY=; b=e7vmA/PBYZmuDzX5rYZKZwrgr7K3EVP3ubyVsvmnAgoEc4zKtMkjzAeQP0XYTUHxWb 4XGAFzN7k21OSlUxvs4Xf7U+x5GjwcM0g711TKm6WMWh0ufCc02mTr/hvHZG0CDvnTSx crOsbb/UQ1koQ2zOSkcy6wX0pyHGlN282v6IuvXVnWFkv9xoTKfTa+HZfjrWyxS9AZym 8rUKHX+7cq+3pmkSs9f8d+ta5oisCr2JgKCi5WVQ6eO9S5EypJEUYB2WniUt1aFBHZ2R 4ptXYNmuSDPNUkEFd4wolc8f+d93w6RD41TfLZ3w3naNtvuuxmrMVEV5a1ghG38p5+eC KbIw== X-Gm-Message-State: AOAM530/hegeZdcnue8t/EMosh9RAknqvJDjYbUowo8UeBKoD44+IkKi UohKegIc/wexy6VsxLfUmkw= X-Google-Smtp-Source: ABdhPJxSb56j65KHU2tDoFvZCIegubrUf1AFRaCDesAbzsaUgVzTKz/c6g/oxgIk3cXytla+6SdUsA== X-Received: by 2002:a17:90a:408f:b0:1d1:d1ba:2abb with SMTP id l15-20020a17090a408f00b001d1d1ba2abbmr6248368pjg.152.1654826773701; Thu, 09 Jun 2022 19:06:13 -0700 (PDT) Received: from localhost ([45.58.187.66]) by smtp.gmail.com with ESMTPSA id m12-20020a170902d18c00b001616e19537esm17265831plb.213.2022.06.09.19.06.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Jun 2022 19:06:12 -0700 (PDT) From: Ihor Radchenko To: Max Nikulin Cc: emacs-orgmode@gnu.org Subject: [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> Date: Fri, 10 Jun 2022 10:06:51 +0800 Message-ID: <87sfodgtl0.fsf@localhost> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2607:f8b0:4864:20::62f; envelope-from=yantar92@gmail.com; helo=mail-pl1-x62f.google.com X-Spam_score_int: 1 X-Spam_score: 0.1 X-Spam_bar: / X-Spam_report: (0.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_OTHER_BAD_TLD=1.997, RCVD_IN_DNSWL_NONE=-0.0001, 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=1654826856; 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=R42N8XtU0QIvVQc1W4na+gbHa4yCeG1u3x0bREcMnzY=; b=KE4YwfBfB7/px7OmRdnc6c+hHioP9gqhUV0T5G/vJEDGlJ5pd7Gt67XD3r+H2y3P2c5+/V wlT4NTCowCrAQ1uQbvAg7whqdGZXuADNCfpQY9wGzdNpDwxOzBva0C0iLMLr4u0IKU6iBT 0LR9Vjn4W7wTQUqk/ikGFqdgco+87/K7STMPJojaLLHzu3v1LBPKJpHjwa/cp6HXAHlgG9 MIuM7ipUUUEoGUfSRrPhcn/GX03GKBvsw+29BczECPLL1Bx8mJsS+JTg3nRUd449KqxtQv r6YT5hev4xY4GxWrqr5eI2cidUA5c8CifZFAwTDF3XQDupnB8fDSpxXMPP60SA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1654826856; a=rsa-sha256; cv=none; b=p+2xqfVBcM7GDvYpT8jmXwCh31edvmZ+j9oF/uwfDjC2nZv3LrUTkFWUKe60bpjEsAYXpB H6IBKHOx2ckmyqbxznkz+MWPiIpzDZHLDDvrZlDLgbg+INbE5pDorQgwYnHNSfZCXISDI8 fApinNt/Nlpf1hQovnWkgh1PBIgbauaIOe26GLuv3+lD8ovsJmKkCrDP/qzz50DSZQZKMK 7pcIX8PE08ffoiCIJRKl0P3XgzWoPtDNh0FGvvvluO38yGkDEB0HVsTz/30RlmdClrGej1 hQnmzMYNyWrTTcGIXrEFMoArl+WKeOxwtbXlu7dlrTL70BsVt6akdtvFEG2Ryg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=k1CZYMh2; 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.29 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=k1CZYMh2; 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: A98AF178AC X-Spam-Score: -3.29 X-Migadu-Scanner: scn0.migadu.com X-TUID: wdV1kz1gxvAP --=-=-= Content-Type: text/plain 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. Best, Ihor --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-org-manual-Fix-example-block-with-unsupported-langua.patch >From 1f5419fb4c249d6e53940ff16e27e16da55c5dbc Mon Sep 17 00:00:00 2001 Message-Id: <1f5419fb4c249d6e53940ff16e27e16da55c5dbc.1654826607.git.yantar92@gmail.com> From: Ihor Radchenko Date: Fri, 10 Jun 2022 10:02:51 +0800 Subject: [PATCH] org-manual: Fix example block with unsupported language name parameter * doc/org-manual.org (Breaking Down Tasks into Subtasks): Remove unsupported LANG parameter from #+begin_example LANG. --- doc/org-manual.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.35.1 --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-Fix-example-blocks-with-unsupported-language-name-pa.patch >From 4a43d570b5424dadfda74996bddc4982aadafe37 Mon Sep 17 00:00:00 2001 Message-Id: <4a43d570b5424dadfda74996bddc4982aadafe37.1654826554.git.yantar92@gmail.com> From: Ihor Radchenko Date: Fri, 10 Jun 2022 10:01:10 +0800 Subject: [PATCH] Fix example blocks with unsupported language name parameter * org-contrib/babel/languages/ob-doc-shell.org (Requirements and Setup): * org-hacks.org (Reschedule agenda items to today with a single command): * org-tutorials/org-jekyll.org (Creating an org File to be Published with Jekyll): (Showing Blog Posts on the Front Page): (Creating Archive Pages): (Inserting Image): (Using Text Markup in Front Matte): Remove LANG in #+begin_example LANG. --- org-contrib/babel/languages/ob-doc-shell.org | 2 +- org-hacks.org | 2 +- org-tutorials/org-jekyll.org | 16 ++++++++-------- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/org-contrib/babel/languages/ob-doc-shell.org b/org-contrib/babel/languages/ob-doc-shell.org index 730f63d7..e7d728b3 100644 --- a/org-contrib/babel/languages/ob-doc-shell.org +++ b/org-contrib/babel/languages/ob-doc-shell.org @@ -179,7 +179,7 @@ * Requirements and Setup 2. The Org Babel language facility must be set to load shell functionality[fn:5]: - #+begin_example emacs-lisp + #+begin_example ;; active Babel languages (org-babel-do-load-languages 'org-babel-load-languages diff --git a/org-hacks.org b/org-hacks.org index 968e511d..d446de9b 100644 --- a/org-hacks.org +++ b/org-hacks.org @@ -2196,7 +2196,7 @@ *** Reschedule agenda items to today with a single command #+index: Agenda!Reschedule This was suggested by Carsten in reply to David Abrahams: -#+begin_example emacs-lisp +#+begin_example (defun org-agenda-reschedule-to-today () (interactive) (flet ((org-read-date (&rest rest) (current-time))) diff --git a/org-tutorials/org-jekyll.org b/org-tutorials/org-jekyll.org index 4da2d5ad..a0c57991 100644 --- 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 @@ -254,7 +254,7 @@ ** Showing Blog Posts on the Front Page Most blogs show the latest posts on their front page. The example below shows the title and an excerpt for the five latest posts: -#+BEGIN_EXAMPLE html +#+BEGIN_EXAMPLE
    {% for post in site.posts limit: 5 %}