From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id eI/5DffTqWaKZQAA62LTzQ:P1 (envelope-from ) for ; Wed, 31 Jul 2024 06:04:39 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id eI/5DffTqWaKZQAA62LTzQ (envelope-from ) for ; Wed, 31 Jul 2024 08:04:39 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=jdSB+NV+; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1722405879; 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=Tp9zElSVASelq5d9Yi9bqppOwe0ayqrYr6fsVlyQu38=; b=WxscH8ENg/g3A6a+fS4V1j1W4nX4YaeRnx99Wdln90mvfyGY7Z3hK/PTX6ZDdaFayDZ4hX HFHlyIDgDjNxPLcck0JUR2BiqSRA4cp6mCka4JjWewb2VrKiVXyoAXCwCVEqEiUL5b4pxE t968JQ18aUg1DAeLlcV/3/LiTUNPyvOWR7NCUUQGCMFGLidJ6yZ6KhC42DlOqBHyH22dKA DpO3M+pMcnx9SgIpH6A9BDM8wffKKvYXFXnnyWggqTOU/rQPgOz2inHJljvhzuzsad/sbL VksMbV+JX62FPxKaVwyLG5QBMANizBLmmhvNOBu79dchuthEM/Xi+74g+jrd8A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1722405879; a=rsa-sha256; cv=none; b=A4Vq1NMmCYaDGbdzVCIs5PXI6eScBhyMnxDnsvtnJf4aQI5TttONkC8Sk5rd+9Ao8HV1+o i4GeO5CeHsTAV7AKBYj0CPSPRW6e+OTuOKyjgcLAMBE6uM5/2zuZpM+P5HX61aVfwSIhWa FYPxgRmzOMAD6SIoLdTmQDcgkO+EMX5KL+EI9YOu/Tew0MQzrWigCe17hwNMP+Xe9rmkpN KaSHSPcnyFT+J+8Hr5AM3J+mn9R974z3w67daTxwveLxY7d54nVwDArOXtjsa463NScx+6 RgfEKoXhM7O/TWX85hBkUkLSzpIzVJ50lIj7iwVTtwZVNzrWs2FGvm+qDj7Oaw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=jdSB+NV+; dmarc=pass (policy=none) header.from=posteo.net; 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" 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 B7F08CC7F for ; Wed, 31 Jul 2024 08:04:38 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sZ2R6-0003lN-RH; Wed, 31 Jul 2024 02:03:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sZ2R5-0003l0-Oc for emacs-orgmode@gnu.org; Wed, 31 Jul 2024 02:03:43 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sZ2R2-0000jw-Tw for emacs-orgmode@gnu.org; Wed, 31 Jul 2024 02:03:43 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 2D287240104 for ; Wed, 31 Jul 2024 08:03:35 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1722405816; bh=sgbA8O2bMK5MhdI3K50b6nbYBgPhquiM9XCaym00Qsk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=jdSB+NV+NimafY//QYr2u3wakolGb/rf1nQcyMxSk08VftQHHcePdLjmD7sllxxXA lk2m6QKBOIi3ZuRap8rLTa8wgBJ+ZAbz/PCi35YLtPCdMSxbxal09fE84ESbe7XJ54 ri8nUBzIKWb3Qp2A1GyxpuqGWutKirwF5eM6YvZ33HJQP5sltgw29ErVMXc7S8LA1x QyY1+p0fv7KSuWWn++mk0nPcaAs26D0WU5NC9Igg58xLP2KZSl5WmVq7umzJ2iLQ7l T7qMQRXfPL38A7TUTl5iC5js9Nwch8M51xlJVTN++Be0cGFLuPbrFFmjhPHak8h8xH 1TlmhZYjy7tRw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4WYhNl3zjXz9rxL; Wed, 31 Jul 2024 08:03:35 +0200 (CEST) From: Ihor Radchenko To: the_wurfkreuz Cc: "emacs-orgmode@gnu.org" Subject: Re: Org headings trigger is code blocks In-Reply-To: <8zYKYBEAqlSgGecX399ZoMq0pLCPhJNPHlZSuWZZVs6HQuOOQCfMEfdoAA4dyrrmyobd5pW_-dGycqU1dlGxrK-qdQRdqaxjIjioQHz4yB0=@proton.me> References: <8zYKYBEAqlSgGecX399ZoMq0pLCPhJNPHlZSuWZZVs6HQuOOQCfMEfdoAA4dyrrmyobd5pW_-dGycqU1dlGxrK-qdQRdqaxjIjioQHz4yB0=@proton.me> Date: Wed, 31 Jul 2024 06:04:55 +0000 Message-ID: <87h6c6jdvc.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.65 X-Spam-Score: -6.65 X-Migadu-Queue-Id: B7F08CC7F X-Migadu-Scanner: mx11.migadu.com X-TUID: Xxe5Grw4L9aG the_wurfkreuz writes: > For instance, i have a command that starts with an asterisk, and i want > to put it in a source block. However, doing so creates a heading. > Shouldn't the code block serve as a clear logical indicator that i don't > intend for that line to become a heading? > > Example: > > #+BEGIN_SRC > * hard nofile 20000 > #+END_SRC Headline syntax has the highest priority, so that you do not accidentally invalidate a bunch of headings simply by having a #+begin_src deeply inside some text: ... #+begin_src (unclosed #+begin-src) ... * many headings here #+begin_src ... #+end_src You need to escape headings inside src blocks or literal examples like #+BEGIN_SRC ,* hard nofile 20000 #+END_SRC or simply by having an indentation #+BEGIN_SRC * hard nofile 20000 #+END_SRC See "12.6 Literal Examples" section of Org mode manual. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at