* [OT] org-mode bindings in markdown-mode? @ 2018-04-13 13:14 Matt Price 2018-04-13 14:38 ` Marcin Borkowski 0 siblings, 1 reply; 5+ messages in thread From: Matt Price @ 2018-04-13 13:14 UTC (permalink / raw) To: Org Mode [-- Attachment #1: Type: text/plain, Size: 418 bytes --] 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. Thank you! Matt [-- Attachment #2: Type: text/html, Size: 524 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [OT] org-mode bindings in markdown-mode? 2018-04-13 13:14 [OT] org-mode bindings in markdown-mode? Matt Price @ 2018-04-13 14:38 ` Marcin Borkowski 2018-04-13 14:48 ` John Kitchin 2018-04-17 16:38 ` Phillip Lord 0 siblings, 2 replies; 5+ messages in thread From: Marcin Borkowski @ 2018-04-13 14:38 UTC (permalink / raw) To: Matt Price; +Cc: Org Mode, Phillip Lord 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 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [OT] org-mode bindings in markdown-mode? 2018-04-13 14:38 ` Marcin Borkowski @ 2018-04-13 14:48 ` John Kitchin 2018-04-15 12:51 ` Matt Price 2018-04-17 16:38 ` Phillip Lord 1 sibling, 1 reply; 5+ messages in thread From: John Kitchin @ 2018-04-13 14:48 UTC (permalink / raw) To: Marcin Borkowski; +Cc: Org Mode, Phillip Lord [-- Attachment #1: Type: text/plain, Size: 1493 bytes --] 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 <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 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 > > [-- Attachment #2: Type: text/html, Size: 2512 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [OT] org-mode bindings in markdown-mode? 2018-04-13 14:48 ` John Kitchin @ 2018-04-15 12:51 ` Matt Price 0 siblings, 0 replies; 5+ messages in thread From: Matt Price @ 2018-04-15 12:51 UTC (permalink / raw) To: John Kitchin; +Cc: Org Mode, Phillip Lord [-- Attachment #1: Type: text/plain, Size: 1913 bytes --] Thanks to both of you. I guess I will add some bindings, maybe in the form of a light minor mode. Unfortunately the markdown mode fun tions just srent nearly as powerful as the org mode ones, but a little bit if improved muscle memory will be better than nothing I guess. On Fri, Apr 13, 2018, 10:48 AM John Kitchin <jkitchin@andrew.cmu.edu> wrote: > 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 <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 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 >> >> > [-- Attachment #2: Type: text/html, Size: 3270 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [OT] org-mode bindings in markdown-mode? 2018-04-13 14:38 ` Marcin Borkowski 2018-04-13 14:48 ` John Kitchin @ 2018-04-17 16:38 ` Phillip Lord 1 sibling, 0 replies; 5+ messages in thread From: Phillip Lord @ 2018-04-17 16:38 UTC (permalink / raw) To: Marcin Borkowski; +Cc: Org Mode Marcin Borkowski <mbork@mbork.pl> writes: > 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 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-04-17 16:39 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2018-04-13 13:14 [OT] org-mode bindings in markdown-mode? Matt Price 2018-04-13 14:38 ` Marcin Borkowski 2018-04-13 14:48 ` John Kitchin 2018-04-15 12:51 ` Matt Price 2018-04-17 16:38 ` Phillip Lord
Code repositories for project(s) associated with this public inbox https://git.savannah.gnu.org/cgit/emacs/org-mode.git This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).