karthink / gptel

A simple LLM client for Emacs
GNU General Public License v3.0
1.14k stars 119 forks source link

gptel-prompt-string should be "* " if gptel uses org-mode #21

Closed wo closed 1 year ago

wo commented 1 year ago

I've set (setq gptel-default-mode 'org-mode). Prompts are in org-mode, but they still begin with '### ', which indicates a markdown heading. It would be better if they began with '* ' or '** ' etc., so that I can collapse and navigate the prompts with the standard org-mode commands.

(Admittedly, this is easy to fix manually with (setq gptel-prompt-string "* ").)

karthink commented 1 year ago

Thanks, I'll fix it soon.

By the way, the prompt prefix is currently just for the user to distinguish between prompts and responses -- it's not required for the package to work.

karthink commented 1 year ago

Fixed in 5ebaf361. You can remove the manual fix from your configuration. (Also check out M-x customize-variable gptel-prompt-prefix-alist.)