micro-editor / plugin-channel

Official plugin channel for micro
223 stars 47 forks source link

Org mode auto-markup plugin #29

Open agent725 opened 5 years ago

agent725 commented 5 years ago

Hi,

Micro editor is a great tool. I am trying to make a plugin to integrate Org Mode into it using pandoc. What I cannot figure out is two things:

How to save the text buffer to a temporary file.
How to load the text of the temporary file into the current buffer, without opening a new buffer.

Can you help me out? I can give you a nice plugin in return. ;-)

Cheers, Agent725

graphbear commented 5 years ago

Adding org mode to micro would be a massive contribution, in my opinion.

I hope someone can answer these questions for you!

vv52 commented 2 years ago

Is this project still ongoing?

I've been looking into porting org mode to micro or otherwise finding a way to wrap emacs to provide org functionality in micro.

If any of the work has been done and abandoned, I would be happy to take over the project.

agent725 commented 2 years ago

No, I did not get the information needed to continue. However, please feel free to pick it up, and I'd help where I can.

taconi commented 4 months ago

Hello, if there is anyone who still wanted to implement this functionality, could you please comment?

I can try to help resolve the issues being faced.

I think of some plugins that implement features such as saving texts in temporary files and writing this text to the current buffer and that could be taken to study:

There is also the microwiki plugin which I haven't used yet, it seems to be really cool and can perhaps be used instead of an orgmode.

Naheel-Azawy commented 4 months ago

Hello, I still do want this :)

taconi commented 4 months ago

@Naheel-Azawy Do you need help with anything to implement this functionality?

Naheel-Azawy commented 4 months ago

@taconi Well, I meant I still want to have an org mode plugin for micro. But unfortunately I don't think I can allocate time to do this myself any time soon. I just meant I'll be very grateful if someone implement this.

taconi commented 4 months ago

@Naheel-Azawy Don't the microwiki or microzim plugins cover this?

Naheel-Azawy commented 4 months ago

No. vimwiki and zimwiki have a different syntax compared to orgmode. But I think they could be a good start if someone starts from these and then create an orgmode specific plugin.

taconi commented 4 months ago

orgmode is an emacs mode, emacs is not a terminal editor like micro so it would not be possible to implement all the functionality that exists there. Maybe you could use nvim-orgmode as a base.

ScottFreeCode commented 4 months ago

I don't think Micro needs most of Emacs's Org Mode features. If I want full Org Mode and all its extra functionality and all its customizable extensions, I'll use Emacs. For Micro I'd settle for syntax highlighting and whatever else Micro's Markdown support has.

That way I would generally not stuck using Markdown or switching over from Micro to Emacs until I actually need Emac's Org programmability or the extra features built on it.

I guess individual Org Mode features like, I dunno, tangle/babel, or agenda views, or scheduling/timekeeping, might be nice to implement as plugins of their own (one per feature). That potentially gets complicated depending on whether supporting them requires reading or acting on any Emacs Lisp…

Just my two cents' worth.