Frederick888 / external-editor-revived

External Editor Revived is a Thunderbird MailExtension which allows editing emails in programs such as Vim, Neovim, Emacs, etc.
GNU General Public License v3.0
110 stars 6 forks source link

can't get emacsclient to work #123

Closed scfrank-pri closed 9 months ago

scfrank-pri commented 11 months ago

Description

Choosing emacs as external editor starts a new emacs every time I write an email. Therefore "emacsclient" would be preferred, however I cannot figure out how it works. Choosing "Custom" and emacsclient -c "/path/to/temp.eml" gives me:

ExtEditorR received:
Object { tab: {…}, reset: true, title: "ExtEditorR failed to start editor", message: "No such file or directory (os error 2)" } ​

scfrank-pri commented 9 months ago

I now got it to work with the new version: Custom -> sh -> emacsclient "/path/to/temp.eml" Unfortunately, all X-ExtEditorR meta header show up (despite the option chosen NOT to show it). But that is a minor detail.