I'm stuck with a broken link problem. I installed Manjaro Linux and Emacs 27.2. I use org mode for my every day planning at work. I have a lot of internal links to open PDF, ODT, PNG files, etc.

Since my new install, the links don't open anymore. The path in the buffer is all messed up and I think it's related with my language environment (French) but I'm unable to find a solution.

Here is the path in the buffer and this is the good path: /home/martin/MEGA/.CMDP/4.Departements/Urgence/Fluidité/Rapport intervention Anna_Laberge.pdf

Any clues for a solution?

buffer path

Result for the locale command:


Answering a question in a comment: This command work fine and it open my document: /usr/bin/xdg-open '/home/martin/MEGA/.CMDP/2.Comites/Obligatoires/CEAMDP/Départements/MédecineGénérale/Méd. fam. crit explicites 24 novembre 2021.pdf'

org mode version 9.4.4 emacs 27.2

Just found curiously that the link work with a right mouse click...but not with the left one Weird...

  • Do links to URLs that don't contain characters such as é still work? In other words, are you sure that the problem comes from such chars?
    – Drew
    Commented Dec 30, 2021 at 4:55
  • If you do M-x org-toggle-link-display, the links in the Org mode file are going to be shown fully (the URL, as well as the description). Please cut and paste (as text) the URL and add it to your question. URL escaping is a tricky business and it may have something to do with your problem, but we have to see the original link to make sure.
    – NickD
    Commented Dec 30, 2021 at 6:37
  • Thanks for the answers. My URL links work fine. If I do the command M-x-toggle-link-display, the links seems good [[/home/martin/MEGA/.CMDP/2.Comites/Obligatoires/CEAMDP/Départements/MédecineGénérale/Méd. fam. crit explicites 24 novembre 2021.pdf][24/11]]
    – XunilMC
    Commented Dec 31, 2021 at 2:08
  • The link is good (as shows by the command) but the documents still doesn't want to open and curiously the link in the buffer is wrong when I click on the word to open the link
    – XunilMC
    Commented Dec 31, 2021 at 2:19
  • As you can see in the buffer, the link messed up where are the ''accent'' Running /usr/bin/xdg-open /home/martin/MEGA/.CMDP/2.Comites/Obligatoires/CEAMDP/D\épartements/M\édecineG\én\érale/M\éd.\ fam.\ crit\ explicites\ 24\ novembre\ 2021.pdf...done
    – XunilMC
    Commented Dec 31, 2021 at 2:26


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.