From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 OOF4DuLfzGIBTAEAbAwnHQ (envelope-from ) for ; Tue, 12 Jul 2022 04:43:46 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id ECGtDeLfzGLYLgEAG6o9tA (envelope-from ) for ; Tue, 12 Jul 2022 04:43:46 +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 D2F6B253D4 for ; Tue, 12 Jul 2022 04:43:45 +0200 (CEST) Received: from localhost ([::1]:57850 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oB5sG-0001Gz-8z for larch@yhetil.org; Mon, 11 Jul 2022 22:43:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42220) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oB5mf-0005UO-1O for emacs-orgmode@gnu.org; Mon, 11 Jul 2022 22:38:03 -0400 Received: from mail-pg1-x533.google.com ([2607:f8b0:4864:20::533]:39929) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oB5mc-0007RC-I6 for emacs-orgmode@gnu.org; Mon, 11 Jul 2022 22:37:55 -0400 Received: by mail-pg1-x533.google.com with SMTP id q82so6361920pgq.6 for ; Mon, 11 Jul 2022 19:37:53 -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:content-transfer-encoding; bh=rnIFQgKpUUhlsqmgperYAJF+baQmvd7meFd64IaROac=; b=ErgLYw6Zit8czUk8MNdnJdffIotUarrZUk6yeu4xRWLNt6tQSQXZUNgv+Haq6lzSXN K7PSQYJOJKPvXwiMh2woonsQA7Mw+CP8cT6RPsYllbYwpYxJIB0tjr7oAXoN3fakN6HX ArUb3DqwMhi5Q3baScqlkYCimRR/8EWcMWnhQu1gqGNG8MMBkNaTIZ1BbZKEA9hpBfaZ RdNgT7QZM3arwCAranOFryN3QFyNLKw3yHoL88J1xcUqhPn/0VyMV3chfCbsBbvyi7xV MhqdVeqItcixJA8EDOfDrwj2ybOXybcCUoQdnap3VDFmwIbdAQW/V+psDczLzTJEmyll nqRQ== 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:content-transfer-encoding; bh=rnIFQgKpUUhlsqmgperYAJF+baQmvd7meFd64IaROac=; b=NOg4QaljtmL7qEdviFhI2tPFljNowf37vK5QAIrqh7eyYnAB4CskQxuBvAUM0MRqQY wQqS1OfHK+Dl2twDA8yO66vWFQmg8GRyz+5+JWUP11BkCrc+H4mv470vSibf3+9NO/wU r7XiMucsBG99wvtBPrgVPlhBeNqcO4vKrjadp0HoHYQWYz139e86n+f80arY8ieRL1PS YTdcLoN+8GsaKQwlfn21yjQfZMAKVycyRgfVZPlpt2SYYL1jQUBdboI7J+HSUTLfF1vQ NDoRc4daH82O5HAjznDL7HqFZqkwC04SdZhubnMtRApVjzFrKZAcpuiGJnnHiz4Gl5TL 2HuA== X-Gm-Message-State: AJIora9SX36qtPiQXK7UCihuNjVlj+nFLkov+93DW5yoWdVyAfFEPaeo gJ5oRr2PcAP4MhKPa/j0nvs= X-Google-Smtp-Source: AGRyM1vBoleh5uC1HmsL4FHvqanqCepRRQ3RDEHvPDp3LF7Ddu4/3QJ4RMHvH45T/LTcR1p2VJWt4w== X-Received: by 2002:a05:6a00:1d8f:b0:52a:b787:b480 with SMTP id z15-20020a056a001d8f00b0052ab787b480mr17162954pfw.71.1657593471942; Mon, 11 Jul 2022 19:37:51 -0700 (PDT) Received: from localhost ([157.52.221.140]) by smtp.gmail.com with ESMTPSA id v5-20020a634645000000b003fadd680908sm4914419pgk.83.2022.07.11.19.37.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Jul 2022 19:37:51 -0700 (PDT) From: Ihor Radchenko To: David Boss Cc: emacs-orgmode@gnu.org Subject: Re: Org mode escape characters In-Reply-To: <1085471464.4732784.1657559607712@mail.yahoo.com> References: <1831243639.3822729.1657506981314.ref@mail.yahoo.com> <1831243639.3822729.1657506981314@mail.yahoo.com> <87tu7n7vvk.fsf@localhost> <1085471464.4732784.1657559607712@mail.yahoo.com> Date: Tue, 12 Jul 2022 10:38:54 +0800 Message-ID: <87czeb6on5.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::533; envelope-from=yantar92@gmail.com; helo=mail-pg1-x533.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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, 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=1657593825; 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: 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=rnIFQgKpUUhlsqmgperYAJF+baQmvd7meFd64IaROac=; b=B/ntWtwYc2SihISk+cJXlTeBzXK4l3wQvV+UwIKDEZ6p5T9n4FB/JYmiObFmC/age09c01 ZlKsjei9fRQ0nds/IFounHRmsbnzJa/89fcFjNnZXrukpMmJwzKuvaVpGumo1CTj7jxLrm POM/vvQYpMq9mg8GL5HNYyYBmBU/4NZXGtU8Tz0JYSoPBN712DUi1K6NYfBKP0gTeskHB4 ugHmgtnq8TeCTLdm8HJASSAfM9CEEVuEUvonHWfOQ2eHe8mgz9eSJCv1d90I4pxCvDiMSb yHu9nJPcdZdT8X7gLnXJNobTtWG0F1Lxr6nXRSPMoQ4FI+7ghPlgsm1xAUOtzA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657593825; a=rsa-sha256; cv=none; b=NYtMGY8G9YNYVYMHKseMW6iEVZFBUJ724Ki6TPUljqgPhy82FUGgHnVw6niYtJoeSpoiuk kCFvvaHKyVUjTer9/Z1k5QglDmwWiGoGYQIvprmbhcRoP1yd/u80a0Yn8+aTkNGzKXJX7j dJqkblKRZm6VYwZV+MiPKL4bEM5q7ewM3RjSjs8bcsPiY+vwTq9VG1KhtmDzHsWm24/+Ce OgqpeshgRR9Ny1hnR95mauJeKr6P8kmcCSx3lkzH8OrXKrY/4KBHnfTBOP4cNBPY9odPUA 5fEAXGxsPju0rJk/ZlkfYsgg/TMbDEo8QydM9OMxAk+yOPVEaOlG7KOBnuchkA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=ErgLYw6Z; 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: -4.95 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=ErgLYw6Z; 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: D2F6B253D4 X-Spam-Score: -4.95 X-Migadu-Scanner: scn0.migadu.com X-TUID: xC92WQEOfkw2 David Boss writes: > You tell me to "surround" slashes by zero-width-space characters, to kee= p them from being taken as italic escapes.OK. First problem: what, exactly,= is the zero-width space character? I won't be entering text with my finger= s, a lispfunction I wrote will be inserting the characters I need. So, exac= tly what 8-bit value is a zero-width-escape? 00000000?The example in 17.12 = seems to put the zero-escape after the control character it's supposed to a= ffect, but then theeffect of it balances forward. 12.6 tells me I also have= to put a comma before any line beginning with a star, despitethe fact that= my only purpose was to deal with italics. I need to write a function which= works, first time, every time;I can't keep playing around with each piece = of text it applies to, until it works on that one. OK, helping me get afunc= tion written is not your job, but I shouldn't need .odt and/or pandoc; I sh= ould not have needed your help,at all: plain vanilla copy/paste in emacs sh= ould bring along text properties within the scope of the copied text. > Still, I do appreciate your help. Org does not perform any kind of format conversion when you kill selection by default. There is however a third-party package that provides some (limited?) support for clipboard conversion: https://github.com/jkitchin/ox-clip Note that Org is a markup format with all the relevant advantages and disadvantages. The requirement to escape some special symbols is one of the disadvantages. You can insert zero-width space using C-x 8 or by its hex number or directly copying it to (insert "=E2=80=8B"). Note that Org does provide the means to convert Org markup into alternative markups like HTML. This is done using export functionality: https://orgmode.org/manual/Exporting.html#Exporting Hope it helps. Best, Ihor