Kepa <gnu.cognition...@slmails.com> writes: >> Did you customize `org-file-apps'? >> > > THAT'S IT! > I had added: > > (when (eq system-type 'windows-nt) > (setq org-file-apps > '(("\\.\\(docx\\|doc\\)\\'" . (lambda (file link) (shell-command > (concat "start \"\" \"" file "\"")))) > ("\\.\\(xlsx\\|xls\\)\\'" . (lambda (file link) (shell-command > (concat "start \"\" \"" file "\"")))) > ("\\.\\(pdf\\)\\'" . (lambda (file link) (shell-command (concat > "start \"\" \"" file "\"")))) > ("\\.\\(pptx\\|ppt\\)\\'" . (lambda (file link) (shell-command > (concat "start \"\" \"" file "\"")))) > > (auto-mode . emacs)))) > > After commenting those lines, I can open files with accentuated names through > org-attach. > > What should I customize to open links with the default software of the OS?
(when (eq system-type 'windows-nt) (setq org-file-apps '(("\\.\\(docx\\|doc\\)\\'" . system) ("\\.\\(xlsx\\|xls\\)\\'" . system) ("\\.\\(pdf\\)\\'" . system) ("\\.\\(pptx\\|ppt\\)\\'" . system) (auto-mode . emacs)))) -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>