From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 GDP+JJHKGmPbAwEAbAwnHQ (envelope-from ) for ; Fri, 09 Sep 2022 07:09:37 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id yFAXJZHKGmPr3gAA9RJhRA (envelope-from ) for ; Fri, 09 Sep 2022 07:09: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 250A9F0B8 for ; Fri, 9 Sep 2022 07:09:36 +0200 (CEST) Received: from localhost ([::1]:38696 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oWWGl-0004FN-43 for larch@yhetil.org; Fri, 09 Sep 2022 01:09:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41190) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oWWGE-0004FF-NV for emacs-orgmode@gnu.org; Fri, 09 Sep 2022 01:09:02 -0400 Received: from mail-pj1-x1031.google.com ([2607:f8b0:4864:20::1031]:52166) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oWWGC-0001UX-UW for emacs-orgmode@gnu.org; Fri, 09 Sep 2022 01:09:02 -0400 Received: by mail-pj1-x1031.google.com with SMTP id m3so501536pjo.1 for ; Thu, 08 Sep 2022 22:09:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date; bh=7FOYPrSidolHEZGCWPbiNp8nmMWXMOr19GRERt6mWHw=; b=E0Qk6JRP3BVydeWLTATAUshQg8FvjVG621nJTY617aFXZ3ESI0srM2NtPKZiEc+24L +PIc82YxnT5Qq1iqzbK+g0jMfzgit3wdnhnQH0daez/83LfOcvlZel7f/PtT+7QM6zDC Xxd8CrS220z57GO2e/Tk5jc669uOCL/nb6uxI7+xb7IGq8jHY0Ys7KAGarLSdxoq8g21 7YLY9Gb7nPO25K8aoku1dyInYxal6RXHtFPlqhNeRquuRXXbox6+Qi7nk/2uD4br9E41 In1zA1Fo9WzBUtX4MFfTAeChPaWQGZ0Vxz7zylDdwuLGhodmOFSfGSbJf4l3RqcbUFXO iJ8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=7FOYPrSidolHEZGCWPbiNp8nmMWXMOr19GRERt6mWHw=; b=xdzP9odAhRQeNGV060Cv2QRadJa+mh35i5O2PSNe+mPajSJntHMUQnHvJKLXEVtHcZ iEoHIIx6SH64zJG5MQxUInotJ1dM33jo7H24lpIydrB/zW5PLjVZZyOmZTx1Ds81MBM4 +sM4p4FhbZT7UIBa5Jrt/jClZM7Nf9kTGWjRQDgVqmN3EZlEHZQvkVqJf4lXmsBurFH6 it/N8ca7EBEKGrZ88lsV4k6ATNTlqAlRdWgVww2S6UF9x3aFCr20lZXsHUt4YGqxHeiv 0nWyJAGUYhHbUHByFJ8sjbn5bZWyIhpi41HqpqklKRcrSYXcRGlMrMzgfDtBNuDa6XLo whXQ== X-Gm-Message-State: ACgBeo33YSf/2hPz6CYRW/J3jrgcuW81m/fV7cs5DprDQ9Jdo8BxQB7X 1mK8FvUrnEzklPt1P4xWYdg= X-Google-Smtp-Source: AA6agR61XxCLYEHm5+1474A5u2hu6IpeBhvsXuC5zAWUTYbskYXFtyfYfQrdKIcMa58SsXYxiwItQA== X-Received: by 2002:a17:90b:3e86:b0:1f5:2b4f:7460 with SMTP id rj6-20020a17090b3e8600b001f52b4f7460mr7794388pjb.97.1662700139353; Thu, 08 Sep 2022 22:08:59 -0700 (PDT) Received: from localhost ([2409:8a70:2b2:5800:8ec6:81ff:fe70:339d]) by smtp.gmail.com with ESMTPSA id b6-20020a170903228600b00177f25f8ab3sm428402plh.89.2022.09.08.22.08.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Sep 2022 22:08:58 -0700 (PDT) From: Ihor Radchenko To: Perry Smith Cc: emacs-orgmode@gnu.org Subject: Re: Org mode "style sheet" for software documentation In-Reply-To: References: <1EFEFC5A-24EE-43FC-9C4A-14F02CB8B0FD@easesoftware.com> Date: Fri, 09 Sep 2022 13:09:53 +0800 Message-ID: <87bkrpdtge.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::1031; envelope-from=yantar92@gmail.com; helo=mail-pj1-x1031.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=1662700177; 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=7FOYPrSidolHEZGCWPbiNp8nmMWXMOr19GRERt6mWHw=; b=NzEJwhizkYf+DFmy3p5ahl+2KbwPEd70G3sQxR3JyDcltz+7xm7Tx5ZYaZBgs0ydcp27Us SjWpL36QOD860xB5WDq+dNnf0C/rBJfpwSFfi1aDixtOyQ46C2uFBuXoa34tHXEr1H8VUv IZuGZq9Cu6MD+9nLRy0uZVixyTj3HDnzlZ+vTRiEDG+uApo1wdMt/TH20n+aQsUlCz3oC7 nHNONtRM58V0mKnY9gmRRAAHS7AJn4AK58SC7ELdZ2thC+fRYK+Lp4yGerzKLKvGFcgFzI ZX/gWttAb4cuYveKj4TJMVBEk4KafSeyPCWgXUYefNs7e5TqMUxohdRVLQ6/og== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662700177; a=rsa-sha256; cv=none; b=XfFFtTa1ty2dADs6qFot/0pQ2Sfi9maQqCmKNVOMQV5PGkIWQpuXOS3EkFBQ9Fbk09FzSX 5NIpUnpNmQ4ALdObEYHAwv7Wft5YH/sZ2KeyL4M9PHETapIGasHBQRkTF3/J4NX8hfUz7W lgtHVdmAGzogiwELh1ekFO0IKv4VsT3jv7ZLixK9v9/R++mGlVfmHgMQfL168jthnZootS Cm7Zt/HdiPAbMYqkXlT8mEqasA17Rb47WwBNXzg66LaPTERDqvwBVuN+cl7ZJ1hIYv1C/K RWRdi6oJOksgi+MRK0VVDVOJQ61ViaedLKdHzqslL6ZFK89et1hvwzUCUELuxg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=E0Qk6JRP; 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.30 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=E0Qk6JRP; 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: 250A9F0B8 X-Spam-Score: -3.30 X-Migadu-Scanner: scn1.migadu.com X-TUID: RQJnlubJIOzM Perry Smith writes: > So=E2=80=A6 it seems I didn=E2=80=99t the two BORDER characters do not ne= ed to match. So I=E2=80=99m off trying to figure out a way to create more = emphasis MARKERS. In the old days, we had only about 43 non-alphanumeric c= haracters to play with but now with Emacs being 8 bit clean for countless y= ears we have another 128 characters and with UTF-8 we have bazillians more! > > So I=E2=80=99m gently poking around in the code to see how hard it would = be to define more. We currently do not support extensions to emphasis, though we may do it in future. See https://orgmode.org/list/87letvrege.fsf@localhost Implementing new emphasis markers will require introducing a new syntax object into org-element.el. Such object will unlikely be using a single-char markers - single-char markers are problematic in numerous edge cases; we should better introduce something closer to inline src block syntax to allow arbitrary emphasis extensions. --=20 Ihor Radchenko, Org mode contributor, Learn more about Org mode at https://orgmode.org/. Support Org development at https://liberapay.com/org-mode, or support my work at https://liberapay.com/yantar92