> -----Original Message-----
> From: yantar92 at posteo.net
> <[email protected]>
> Sent: Saturday, August 10, 2024 3:53 PM
> To: Kepa <[email protected]>
> Cc: emacs-orgmode at gnu.org <emacs-
> [email protected]>
> Subject: RE: Issue opening files with accented words, using org-attach-open
>
> Kepa <[email protected]> writes:
>
> > I get not output with w32-shell-execute,
>
> 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?
Best regards