From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.help Subject: Re: Writing text which is not interpreted by Org Date: Tue, 17 Nov 2020 17:30:04 +0100 Message-ID: <87ima4c5f7.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19749"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Help Gnu Emacs To: Christopher Dimech Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 17 17:31:10 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kf3sr-00054D-Pb for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 17 Nov 2020 17:31:09 +0100 Original-Received: from localhost ([::1]:59832 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kf3sq-0001Dq-QR for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 17 Nov 2020 11:31:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37562) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kf3s7-0001C2-2d for help-gnu-emacs@gnu.org; Tue, 17 Nov 2020 11:30:23 -0500 Original-Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]:40135) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kf3ru-0007RL-Qj for help-gnu-emacs@gnu.org; Tue, 17 Nov 2020 11:30:22 -0500 Original-Received: by mail-wm1-x329.google.com with SMTP id a3so3782224wmb.5 for ; Tue, 17 Nov 2020 08:30:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-copies-to:gmane-reply-to-list :date:in-reply-to:message-id:mime-version:content-transfer-encoding; bh=X5iL2LUrT3+DBZqlLC/PHn5DiLRR0yUooZQJyFmXB34=; b=lyOfbwvvvR/sQUYC184/03v79qYOM/UFygOirtuVsWvpnNrIU1SNrPpD8W7dkkMGjy EK2cVZxBdm0BnE662UEituTl3E8dXrFvlpTs8Sis9b0FE4cH7I25T3Ru6kK8POwj4UVX s+ETQZRzC6SaEkLScucZq0jM+88De7osGp0UqkGQQHJk3xFDAjZFQXb5m5NAPar3J54c k3T+YLViReoOggLtlzPtowAJfRwD5qQWa2Wve0RRtbrm6SJdNZn6gcyXCJSJW9OpRK4y V5B1jb7JNXlakY3ZPnV2VlSxOxDzRoJi3GSuBSd43HAM3pO5svDvrZYvNaavED574jpM XjOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=X5iL2LUrT3+DBZqlLC/PHn5DiLRR0yUooZQJyFmXB34=; b=K9zrf9oRlVoMunNjGUTbgjckAW1Tw5U0HoTTB85V685udFl5p/bkWg8Zbj0khW9wBj cab1NwqoeZ9uXHqebT/UGWCnxpD1fxY2osVr2cZp07TKnglfDsQL3rQBAifQAU1KAv4c 1wllTYC5prbInqoFLSg4pbigxfvK8sWdEXJdx52wsARxyXz5yhVQPel9ICCSaNUhZzav o3E9cRS926sCjxmIA8Ls03rHHTIELgqq8KypU7hYdtbTOOCDDqtbIUGnfarX3lIsIWRu xouC4m2yKVMAGXBlGOlfx+AIKlVbumX/yWtELvu/rZWAxq4+0QZNZeAgl2P74JLVTTX7 oSOw== X-Gm-Message-State: AOAM532JjgZHso3hE9VYGkNxNwDbdhjY/pxpauY3XJvvMFdJb6+yM8hY bAOx7Y/PVqDeQjrF9TeQuDxPV+BNHqc= X-Google-Smtp-Source: ABdhPJxda/2mdZO0rGMq1aewpLhi846oC2l9tjeJbGqBFgvFwrDSEMQKyL2vdq1+0FXWCZn4j6EYEQ== X-Received: by 2002:a7b:c458:: with SMTP id l24mr471180wmi.136.1605630606450; Tue, 17 Nov 2020 08:30:06 -0800 (PST) Original-Received: from rltb ([2a01:e34:ecfc:a860:88b9:75dd:5d31:d420]) by smtp.gmail.com with ESMTPSA id j71sm4636172wmj.10.2020.11.17.08.30.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Nov 2020 08:30:05 -0800 (PST) Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: (Christopher Dimech's message of "Tue, 17 Nov 2020 17:11:27 +0100") Received-SPF: pass client-ip=2a00:1450:4864:20::329; envelope-from=rpluim@gmail.com; helo=mail-wm1-x329.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:125299 Archived-At: Christopher Dimech writes: > How can I write text which is not interpreted by Org > > Because in the following code, Org interprets * as a heading. > > -------- Gunga-Din.org -------- > > #+begin_src text > * [/] [%] Heading > #+end_src >From (info "(org) Literal Examples") 12.6 Literal Examples =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D You can include literal examples that should not be subjected to markup. Such examples are typeset in monospace, so this is well suited for source code and similar examples. #+BEGIN_EXAMPLE Some example from a text file. #+END_EXAMPLE There is one limitation, however. You must insert a comma right before lines starting with either =E2=80=98*=E2=80=99, =E2=80=98,*=E2= =80=99, =E2=80=98#+=E2=80=99 or =E2=80=98,#+=E2=80=99, as those may be interpreted as outlines nodes or some other special syntax. Org transparently strips these additional commas whenever it accesses the contents of the block. #+BEGIN_EXAMPLE ,* I am no real headline #+END_EXAMPLE