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 GHnQB+qcymJrCQAAbAwnHQ (envelope-from ) for ; Sun, 10 Jul 2022 11:33:30 +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 oDjkBuqcymLjOQAAG6o9tA (envelope-from ) for ; Sun, 10 Jul 2022 11:33:30 +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 A43EA1C9BE for ; Sun, 10 Jul 2022 11:33:25 +0200 (CEST) Received: from localhost ([::1]:48286 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oATJc-0001kO-E7 for larch@yhetil.org; Sun, 10 Jul 2022 05:33:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44028) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oATIU-0001k2-9q for emacs-orgmode@gnu.org; Sun, 10 Jul 2022 05:32:14 -0400 Received: from mail-pg1-x52a.google.com ([2607:f8b0:4864:20::52a]:37494) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oATIS-0007s0-OU for emacs-orgmode@gnu.org; Sun, 10 Jul 2022 05:32:13 -0400 Received: by mail-pg1-x52a.google.com with SMTP id bh13so2450417pgb.4 for ; Sun, 10 Jul 2022 02:32:12 -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=Ry7tcWiC2FSklRkwFqW8i1AqaK40SzhxJmu1j9r2wR4=; b=oOVYAaQ0Ly1vWW6jbjmX+Q07sPx3cNijPT4QXqq+UR92FZuYY9oFhLjD6VZAloFv9B q9iFMPKscQaMP/aonbAqwJ63PGCXI7yip/Am4JkW3SpYoI7MoJNHYxCkhTQDJ2oE8ogj XHg7SnNihsnV3RCkXWW1Y2Jsb6Y4y7a5tZwLyf/dJW4U3sGY9lWgedQzPo4Lg12vxgYA sMXprD1tXWwZDqMAxoLtYlnEKnlMtC1mzkd2QWNtCxcNXsmykXpCdDQO16//c68Zy7g8 gJLCfhWjxXjZVF7vg+UR1XXTjbsQ1r3UJPiMkAizemh4i56Lt6lY0+WhCD9b3Iw3ANqM PMpQ== 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=Ry7tcWiC2FSklRkwFqW8i1AqaK40SzhxJmu1j9r2wR4=; b=WJyi87YI3gNv0UblYOfGk279nQESmbUdTz/c8B+NVR9edKMF7D/dfneKHv0hEeWkYM IJNvJ/+FwIKOyy98LEtY9rvUz/H08cfLbF6w3SJq4SC0xVibK6SjWCOuUwLQG6erpQ8e xV6rQjB30FJlxmmO4jd9WN4WwemMoXDfm4yoQbhUq8imhZjWQwNSQkP9pYQFj7/AW1xE UabL1HwC7pjcbyTY874BKD+QtCx4j+NQsz2qvj2WDib7HBeyoRhQe0cgppAh3Ej037pU 9q/gttEVYRadUNz4Gs9IKjHdUw3EK1yZnMfhqHQhX+G2Tp1007qG8TO+PkS4hSJ050Iz fung== X-Gm-Message-State: AJIora/uXWDxPlauerSPUuqhotl6fbfZE+o09ieyzcy5qCHpzGApnhKS bVFKqsOwGkD9nJvSHd2VXYA= X-Google-Smtp-Source: AGRyM1uxakcJdqFrBVBDwDOgLq6iBxtNySZChfksknWGlLprrsr0MtV7KjxA79bA4748zyfHbJvlgA== X-Received: by 2002:a63:6846:0:b0:415:bb65:d6f0 with SMTP id d67-20020a636846000000b00415bb65d6f0mr9563702pgc.238.1657445531162; Sun, 10 Jul 2022 02:32:11 -0700 (PDT) Received: from localhost ([210.3.160.230]) by smtp.gmail.com with ESMTPSA id h1-20020a170902f54100b0016223016d79sm2461099plf.90.2022.07.10.02.32.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Jul 2022 02:32:10 -0700 (PDT) From: Ihor Radchenko To: Uwe Brauer Cc: emacs-orgmode@gnu.org Subject: Re: change headings to list but have a nested numeration? In-Reply-To: <87ilo6w80g.fsf@mat.ucm.es> References: <87ilo6w80g.fsf@mat.ucm.es> Date: Sun, 10 Jul 2022 17:33:15 +0800 Message-ID: <877d4luxb8.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::52a; envelope-from=yantar92@gmail.com; helo=mail-pg1-x52a.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=1657445605; 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=Ry7tcWiC2FSklRkwFqW8i1AqaK40SzhxJmu1j9r2wR4=; b=J+7cVrRB5flJDPXdbSrFzrAo5KT6WBJGiBonfiw0FG1PZZJKJQrUV0YQE+M7lQZU1+RnYZ pX0Ka3OvB4Lv+lOIlo6HZJBuU6/xNRCvDFx2pHZr3mHIu22W8haprxyirTcdy+BCsL9fyG P/roQPpEgPeZiJlopJvirXss0a+/oRyXlS056guEKH1dzIn0I917/FJpt1gl+MBAh6Emqm QuIhA0u/XWeNxFWRnJ/kDjLJkzuE3DG+sxCBJ0JgoAf+54rycxvVVTCLPXv0Ff444W8ni1 pW0UOjHpxbwT+JtjnIWnBcmVxx4pbzZbogREzCh2LXTJqE2hSsXc3motowWUTA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657445605; a=rsa-sha256; cv=none; b=gSq2pT6ID+rF7XJO/mg5fabBYwVVS2D2TV8G/IR2WGQIKCnJx3+L5L6FA1u/B0CGiVT748 T2Q7QSO4S3ks53hZJhYN7DgUD54rnqB9FzujzngvXsj+cIIBi9CBozMyGlpEVSeSp0TIqQ ZBGt6Zuj1MjCD51lmE1stCqylVlZgS9Lww6DQeBHkIj8RA6twm/2yq9VCW7He2n5fFPNeW dNpSPnMO7pquUES4gBKP7z9kJFdOWExzAWs4AkKjeJ1VfvGQTnCdY6IqPUTPndhObsKIhK My8HgXhrEZMsgvJEwiE1K2FK4DEmIr8ELgG3WVH/xvIVS9HLSItVn8UOtv0goQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=oOVYAaQ0; 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.05 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=oOVYAaQ0; 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: A43EA1C9BE X-Spam-Score: -4.05 X-Migadu-Scanner: scn0.migadu.com X-TUID: YRGZgazibrmZ Uwe Brauer writes: > I start with this part > > * The pseudo code > ** The actual Matlab code > ** Initialisation > *** Details > > Which is converted via org-ctrl-c-minus > to > * The pseudo code > - The actual Matlab code > - Initialisation > - Details > > However here the structure depends on the indentation and that might not > be that rebust would it be possible to convert to such a structure: > > * The pseudo code > 1. The actual Matlab code > 2. Initialisation > 1.1 Details AFAIK, using "-" is hard-coded in org-toggle-item. Also, 1.1 is not a valid list bullet. So, you need to implement alternative bullet support yourself. Patches are welcome! Best, Ihor