emacs-openai / chatgpt

Use ChatGPT inside Emacs
GNU General Public License v3.0
185 stars 21 forks source link

[Feature Request] chatgpt-mode buffer rendering as org mode file #10

Closed ugurbolat closed 1 year ago

ugurbolat commented 1 year ago

Hi, thank you for this package(s)! it's has been pretty fun interacting with it in emacs :)

Would you consider a feature that provides the user an option to render the buffer as org-mode?

I haven't installed/tested it yet but gpt.el seems to provide this functionality, which could be a reference.

In this way, we can have direct access to latex or code syntax...

Best, Ugur

jcs090218 commented 1 year ago

Thanks for using this package(s)!

Would you consider a feature that provides the user an option to render the buffer as org-mode?

Our goal is to provide browser-like experience, so it's stable, simple, easy to access, and always work. So I don't know if we should integrate a feature specific to another plugin. 🤔 Also, I am confused about "render the buffer as org-mode" since the default output from ChatGPT is markdown. Do you mean export it?

I haven't installed/tested it yet but gpt.el seems to provide this functionality, which could be a reference.

We've created a low-level SDK-ish package openai.el, so if people wish, they should depend on it and extends their own features! Like how this package chatgpt does, the other two examples are dall-e and codegpt.

AFAIK, there is a tone of packages that already have this feature... ? 🤔

The packages here are basic (and they should be); other fancy features would be considered another package creation (add-on). :D

ugurbolat commented 1 year ago

Also, I am confused about "render the buffer as org-mode" since the default output from ChatGPT is markdown. Do you mean export it?

I meant if I enable org-mode in chatgpt buffer, and re-enable chatgpt-mode in the same buffer, that buffer no longer accepts prompts.

The packages here are basic Make sense!

Thanks for the suggestions. After browsing a bit (kinda hard to keep track of gpt packages :stuck_out_tongue: ), I have also come across one of the packages you mentioned and will try it out.