> -----Original Message-----
> From: yantar92 at posteo.net
> <yantar92_at_posteo_net_bk...@simplelogin.co>
> Sent: Saturday, August 10, 2024 3:53 PM
> To: Kepa <gnu.cognition...@slmails.com>
> Cc: emacs-orgmode at gnu.org <emacs-
> orgmode_at_gnu_org_kqcgk...@simplelogin.co>
> Subject: RE: Issue opening files with accented words, using org-attach-open
> 
> Kepa <gnu.cognition...@slmails.com> 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

Reply via email to