mathworks / mathworks/Emacs-MATLAB-Mode
Fix error when script is in a folder containing special characters
@JohnC32 is already working on this.
Since May 23, 2025.
- Dominant language
- Emacs Lisp
- Stars
- 26
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
Thanks for developing and maintaining this amazing mode, I use it all the time. But I have an issue: my Matlab scripts often need to be in a folder containing umlauts in its name, and so I am unable to run blocks of code without having to paste into the command window. I was wondering, would it be possible for you to fix this issue? Example:
>> emacsrunregion('/Users/johndoe/umlut/script.m',1,13)
Error using emacsrunregion (line 26)
You must save your region into a file accessible by MATLAB process.
>> pwd
ans =
'/Users/johndoe/umläut'
On a related note, I cannot cd to that folder from the command window (but I can if I run the line from a script):
>> cd('/Users/jonhdoe/umlaut')
Error using cd
Unable to change current folder to '/Users/jonhdoe/umlaut' (Name is nonexistent or not a folder).
Tested in R2024a, Emacs 31.
Thanks for your help!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.