From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: [OT] org-mode bindings in markdown-mode? Date: Fri, 13 Apr 2018 07:48:40 -0700 Message-ID: References: <87zi27b27z.fsf@mbork.pl> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a114928d4d71bae0569bbf7c2" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50282) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f700K-0004hy-9f for emacs-orgmode@gnu.org; Fri, 13 Apr 2018 10:48:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f700J-0004Uk-5a for emacs-orgmode@gnu.org; Fri, 13 Apr 2018 10:48:44 -0400 Received: from mail-wr0-x22e.google.com ([2a00:1450:400c:c0c::22e]:45733) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f700I-0004U3-Qj for emacs-orgmode@gnu.org; Fri, 13 Apr 2018 10:48:43 -0400 Received: by mail-wr0-x22e.google.com with SMTP id u11so8801986wri.12 for ; Fri, 13 Apr 2018 07:48:42 -0700 (PDT) In-Reply-To: <87zi27b27z.fsf@mbork.pl> 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 , Phillip Lord --001a114928d4d71bae0569bbf7c2 Content-Type: text/plain; charset="UTF-8" I think lentic is the wrong tool for this. I think it is most useful with mixed markups, e.g. code in some language, and comments in org/md/... Your best solution in md is probably to create your own key-bindings that are similar to what you use in org-mode, but that use functions from https://jblevins.org/projects/markdown-mode/ to get something kind of close. John ----------------------------------- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu On Fri, Apr 13, 2018 at 7:38 AM, Marcin Borkowski wrote: > > 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. > > Best, > > -- > Marcin Borkowski > http://mbork.pl > > --001a114928d4d71bae0569bbf7c2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I think lentic is the wrong tool for this. I think it is m= ost useful with mixed markups, e.g. code in some language, and comments in = org/md/...

Your best solution in md is probably to creat= e your own key-bindings that are similar to what you use in org-mode, but t= hat use functions from=C2=A0https://jblevins.org/projects/markdown-mode/ to get something= kind of close.

John

-------------------------------= ----
Professor John Kitchin=C2=A0
Doherty Hall A207F
Department of= Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213=
412-268-7803

On Fri, Apr 13, 2018 at 7:38 AM, Marcin Bork= owski <mbork@mbork.pl> wrote:

On 2018-04-13, at 15:14, Matt Price <moptop99@gmail.com> 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 ed= it
> document structure with commands like C-return,, M-return, etc.=C2=A0 = 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.=C2=A0 (I haven't yet used lentic, so I might be competely w= rong.)

I'm CC'ing Phillip, who is the right person to comment on this idea= .

Best,

--
Marcin Borkowski
http://mbo= rk.pl


--001a114928d4d71bae0569bbf7c2--