From mboxrd@z Thu Jan 1 00:00:00 1970 From: phillip.lord@russet.org.uk (Phillip Lord) Subject: Re: [OT] org-mode bindings in markdown-mode? Date: Tue, 17 Apr 2018 17:38:38 +0100 Message-ID: <877ep5n5yp.fsf@russet.org.uk> References: <87zi27b27z.fsf@mbork.pl> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34316) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f8Tdd-0007YJ-No for emacs-orgmode@gnu.org; Tue, 17 Apr 2018 12:39:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f8TdZ-00071k-Ot for emacs-orgmode@gnu.org; Tue, 17 Apr 2018 12:39:25 -0400 Received: from cloud103.planethippo.com ([78.129.138.110]:42666) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f8TdZ-0006b8-Fz for emacs-orgmode@gnu.org; Tue, 17 Apr 2018 12:39:21 -0400 In-Reply-To: <87zi27b27z.fsf@mbork.pl> (Marcin Borkowski's message of "Fri, 13 Apr 2018 16:38:56 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Marcin Borkowski Cc: Org Mode Marcin Borkowski writes: > On 2018-04-13, at 15:14, Matt Price wrote: > >> Hi eveyrone, >> >> I'm using markdown more and more in collaborative projects (sigh). I am >> getting used to the syntax but it drives me crazy not to be able to edit >> document structure with commands like C-return,, M-return, etc. Does >> anyone have a solution for this that works with recent versions of org? I'm >> not up to date on the current status of various projects to extend org >> bindings outside of org. > > Just wondering whether the lentic mode > (https://github.com/phillord/lentic) with an org->md transformation > could help. (I haven't yet used lentic, so I might be competely wrong.) > > I'm CC'ing Phillip, who is the right person to comment on this idea. It's an interesting idea, actually, and it would be a general way of enabling text markup languages. You'd always edit in org-mode. However, I think the problem would be writing the implementation. lentic cannot really cope with complex text markups since it has to redo the transformation often (every keypress). So the transformation rules need to be really simple. I haven't done a lentic transform for markdown yet, although I ought to. The main problem is that the start of code sections is implicit, which makes it a PITA. Phil