Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Fix error when script is in a folder containing special characters

Aperta
#24 2 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@JohnC32 ci sta già lavorando.

Dal 23/5/2025.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

bug

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!

Lingua principale
Emacs Lisp
Stelle
27
Fork
5
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Nessun modello di pull request
  • Leggi la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di mathworks/Emacs-MATLAB-Mode

Tutte le issue di mathworks/Emacs-MATLAB-Mode

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.