You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was struggling to get Joplin to open my notes in emacs on Windows. Turns out I needed to change all the backslashes used in normal Windows filepaths to the unix forward slash and it worked fine.
So instead of
E:\Dropbox\user\my-TOOLS\Emacs\bin\runemacs.exe
Which produces the error message of Error opening note in editor: spawn E:Dropboxusermy-TOOLSEmacsbinrunemacs.exe
It needed to be
E:/Dropbox/user/my-TOOLS/Emacs/bin/runemacs.exe
Which worked fine.
I'm thinking that the backslashes are actually viewed as escape characters due to the error message which could cause some problems for other people.
Maybe this is super obvious, but being able to use an external editor is one of the killer features of Joplin for me so I figured I'd drop this in here in case anyone else struggles with this. Maybe the documentation should be updated?
The text was updated successfully, but these errors were encountered:
Although this wasn't marked as 'hacktober fest', it looks like one I could look into submitting a pull request for. Issue does consistently repro for me, it does look like a backslash escaping issue.
…because backslashes were treated as escape sequences, 2) common paths like C:\Program Files\Foo\Foo.exe weren't accepted because of the space in the path
#935)
* fix for #906, 1) windows paths like C:\a\b weren't accepted because backslashes were treated as escape sequences, 2) common paths like C:\Program Files\Foo\Foo.exe weren't accepted because of the space in the path
* Using anothing approach,
a) backslashes are no longer treated as escape characters,
b) string change to remind people to add spaces
* Removing joplin.pot from the patch, it will be updated later.
* Removing unused code.
Operating system
Application
I was struggling to get Joplin to open my notes in emacs on Windows. Turns out I needed to change all the backslashes used in normal Windows filepaths to the unix forward slash and it worked fine.
So instead of
Which produces the error message of
Error opening note in editor: spawn E:Dropboxusermy-TOOLSEmacsbinrunemacs.exe
It needed to be
Which worked fine.
I'm thinking that the backslashes are actually viewed as escape characters due to the error message which could cause some problems for other people.
Maybe this is super obvious, but being able to use an external editor is one of the killer features of Joplin for me so I figured I'd drop this in here in case anyone else struggles with this. Maybe the documentation should be updated?
The text was updated successfully, but these errors were encountered: