From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thibaut Verron Newsgroups: gmane.emacs.help Subject: Re: Is there a markdown-mode similar to org-mode? Date: Wed, 31 Jan 2024 18:21:48 +0100 Message-ID: References: Reply-To: thibaut.verron@gmail.com 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="2427"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Steinar Bang Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 31 18:22:48 2024 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 1rVEIS-0000QI-Av for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 31 Jan 2024 18:22:48 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rVEHm-00063x-48; Wed, 31 Jan 2024 12:22:06 -0500 Original-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 1rVEHk-00063j-4h for help-gnu-emacs@gnu.org; Wed, 31 Jan 2024 12:22:04 -0500 Original-Received: from mail-pg1-x533.google.com ([2607:f8b0:4864:20::533]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rVEHi-00007Z-D4 for help-gnu-emacs@gnu.org; Wed, 31 Jan 2024 12:22:03 -0500 Original-Received: by mail-pg1-x533.google.com with SMTP id 41be03b00d2f7-5ce2aada130so27338a12.1 for ; Wed, 31 Jan 2024 09:22:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706721720; x=1707326520; darn=gnu.org; h=cc:to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=0uwiEnz2IUNrdHmJZFmeq4eFlYKTSG8d8HXJEx8Hf44=; b=e/eA76VhugJRgjwQewjWR0lSK9Kg5YG2D+XIcMtQ5COwqZBIA2g/B4SwSOrv7DzOtp MG59Ptj69KzqK4sS6V3ITQfoFAtqy6znKTrkV86720J9lnqv1tqgoJxf5kB+S4KoZzfv DLTxj3dZfFo4VLHWnDRVIs2sTlhjeuBvNbUAerbdssZrBwKfRqcMNKODV9axUj7a8xnH 3j+2dyiH14n16ToUdFjiCWR9rkLidZQ9KFjWPsBi/hb6lfbwFgTUp/8K84acvy4LNnjd CK88ovgVlx2t3eZeI4IuwQ2+o83GiV6QjtpXAsghoJnMQ0aUkKfPMCgyV2DOIRCwomDB 24UQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706721720; x=1707326520; h=cc:to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=0uwiEnz2IUNrdHmJZFmeq4eFlYKTSG8d8HXJEx8Hf44=; b=iKQ0i7zmR4lVSSDCihxFH2r0DiWAqXJl2jNP10I0esNYyvFHn6AihAf/n5v1ux5932 tqVCzC59LL8M1J8vxun9mlRcERGU3kKv0Ix3SCPHDHpmVycI6/ECmGh4EPw5uAJMwN14 xxkCftMyEA3XFDgyqoRmEQQIF7mOV8VoeyUsQ7Fevzkb3rAs+/qzKurGhYRD8/9sp3MO AEtNb0J9cK5M5BR20oRHoaNhC5w5C2vXn2lTLlu6vAI9jkluFUF0x+x3WI/DDicigISI 4C03veNNFAyiIFURIYwGJa3+uO5D+xZGMzbs0dT1t015ZQwP40vOak+lpOPvla18K34L PAMA== X-Gm-Message-State: AOJu0Yw7L71OvTzaFSfOKsnJfM8T8gvdPN8YXuY+q6puo/Fv0ge7duVQ xpN6ZL1un33H3KrzL70HqQXthJhe3aeDupqgKBAaGFN9bHulUqKgdSNQWE/8DklijJxRzUBZQF3 5HLxXw9IUEFdyl9vEhwh9XzyrzTRudAQKPoI= X-Google-Smtp-Source: AGHT+IEEKIGZ1XpCH7TumOSP1FW73XxZ74wU+hptctyK2JDTgXWzossduTq8HdRFfZCGs+FNYQQxxQoAIoKvpT4bnzA= X-Received: by 2002:a17:90a:94cb:b0:293:6f2b:2ca4 with SMTP id j11-20020a17090a94cb00b002936f2b2ca4mr2194347pjw.3.1706721720407; Wed, 31 Jan 2024 09:22:00 -0800 (PST) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::533; envelope-from=thibaut.verron@gmail.com; helo=mail-pg1-x533.google.com 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, HTML_MESSAGE=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-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 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-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:145835 Archived-At: Hi, I am not familiar with markdown-mode, but from what I can read, as far as headings are concerned, it already has all you want. The key bindings might be different, but that is easy to change as you say. It also seems that code-block edition is already there, with C-c C-s p and C-c ' -- so again, you just need to rebind to your liking. For lists, you could see if orgstruct-minor-mode does the trick. If not, would turning org-mode temporarily, or opening an indirect buffer in org-mode, be acceptable? Best wishes, Thibaut Le mer. 31 janv. 2024 =C3=A0 13:20, Steinar Bang a =C3=A9crit : > Is there a markdown-mode similar to org-mode? > > I'm using markdown-mode right now to edit .md files and I find myself > missing a lot of functionality I have in org-mode. > > This is what I'm missing at first edit, but there is probably more that > I can't think about right now: > > 1. TAB to open and close trees (including unordered lists and ordered > lists) > 2. Treating lists similar to headings > 3. Alt-arrow right and Alt-arrow left to switch level of headings and > list items, and correctly change numbering of ordered lists (C-c > arrow left and C-c arrow right does part of the work, but not the > fixing of numbers in ordered lists. Also C-c arrow is a bit more > clumsy than Alt-arrow but that can be fixed by a custom key > binding)) > So: changing of numbering in ordered list is what is missing here > 4. Correctly set numbering of ordered lists when using Alt-RET to > create a new list item > 5. C-, to create a correctly indented code block and C-' to edit the > content of the code block in a separate buffer > > Anyone know of a markown-mode with the above functionality? > > Ie. opening and closing of trees (both headings and lists), fixing of > ordered list numbering and editing of code blocks? > > First workaround I thought of was to do the edit in org-mode and just > export to markdown, but I have to cooperate with other people who will > edit the .md file and have no idea of what to do with the .org file, so > that's out. > > Thanks! > > > - Steinar > >