emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Issue opening files with accented words, using org-attach-open


From: Kepa
Subject: RE: Issue opening files with accented words, using org-attach-open
Date: Sat, 10 Aug 2024 17:51:04 +0000

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

[Prev in Thread] Current Thread [Next in Thread]