From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Steinar Bang Newsgroups: gmane.emacs.help Subject: Re: Is there a markdown-mode similar to org-mode? Date: Thu, 01 Feb 2024 09:13:28 +0100 Message-ID: References: <87frydz70g.fsf@dod.no> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30641"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 01 21:24:43 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 1rVdc2-0007mx-TG for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 01 Feb 2024 21:24:43 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rVdbO-0004pD-H5; Thu, 01 Feb 2024 15:24:02 -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 1rVdbM-0004nv-NE for help-gnu-emacs@gnu.org; Thu, 01 Feb 2024 15:24:00 -0500 Original-Received: from schwantz.bang.priv.no ([2a01:4f9:c011:82fd::1]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rVdbJ-0003m1-Gq for help-gnu-emacs@gnu.org; Thu, 01 Feb 2024 15:23:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=dod.no; s=sb; t=1706819022; bh=hDXJa4ChTTmot8nYK5lN9uIlXJ4FdemUKWnH5pqgRYM=; h=From:To:Subject:In-Reply-To:Date:References:From; b=aHTe29dcRmXb0NgJkCcOeXmLSPNyO8Ozm2GM6gq6rumgRSia5Rr1TslrHi9s3jlSU PLw6KuTF5GgQEvsyfPZ7qYGwcSsn3CdXzL0P81r/Hewg4q7G4thrjnE34uJXTIHrLp +Ct7YP+QiBZkRFZeGoGCYgDSxJ226pqiNJoTwLH8= Original-Received: from AAP-5CG32757DH (unknown [84.210.69.52]) by schwantz.bang.priv.no (Postfix) with ESMTPSA id 67640227 for ; Thu, 1 Feb 2024 20:23:42 +0000 (UTC) In-Reply-To: (Thibaut Verron's message of "Wed, 31 Jan 2024 20:40:38 +0100") Received-SPF: none client-ip=2a01:4f9:c011:82fd::1; envelope-from=sb@dod.no; helo=schwantz.bang.priv.no X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_12_24=1.049, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action 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:145852 Archived-At: >>>>> Thibaut Verron : >> Yes... but that code fragment is based on indentation instead of >> backtick marking (which seems to be the "modern" markdown way of doing >> it...? I'm no markdown expert) > It seems to be C-c C-s C for that. Nice! Thanks! (indentation on the result seems a little off but much less to fix up here) >> Will they give the feeling of editing the lists in the markdown document >> or will I have to switch out of in of a different buffer like for code >> editing. > My understanding is that with orgstruct, everything should "just work" > as if it was org-mode, as long as the point is on the first line of a > list item. It should also be easy to try, just turn on the minor mode > in a markdown-mode and see if it feels natural. Ok! Thanks! orgstruct definitely seems like something to try. I will report back here on this thread. > With org-mode, it would be toggling between modes or toggling between > buffers. But not quite like code editing, as you would still have the > context around. > But come to think of it, it would only work for edition commands, not for > visibility -- those effects would be reverted when switching back to > markdown-mode or to the original buffer. :/ Yes. :-/ But orgstruct seems promising. Thanks!