My daily workflow includes emacs org mode files for each project I’m working on. I often link to files, programs, etc. from these org mode files. I tried linking to a MS Excel spreadsheet using my usual
file:/path/to/file.xlsx
link. However, since the xlsx
file is really a zip file, emacs opened a dired
buffer revealing the contents, rather than opening it in Excel.
After a bit of googling, I found a message from the org mode mailing list about linking to Excel and Word documents from org mode and discovered the file+sys
link type. This, per the org mode External Links manual, will “open via OS, like double-click”, which is exactly what I want. Good reminder for myself: when all else fails, RTFM.
Joao Brito says
tks. I’d never noticed file+sys type of link, although I’ve already lost some precious hours trying to handle this kind of situation.
eliaso says
thanks, TFM is too big
Ricardo Orbegozo says
Your postr is still valid, and, as Joao, I lost precious time setting org-file-apps to open xlsx files in excel and now I find your solution more accurate, thank you for sharing