[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Issue opening files with accented words, using org-attach-open
From: |
Ihor Radchenko |
Subject: |
RE: Issue opening files with accented words, using org-attach-open |
Date: |
Sun, 11 Aug 2024 16:31:40 +0000 |
Kepa <gnu.cognition199@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>
- Re: Issue opening files with accented words, using org-attach-open, (continued)
- Re: Issue opening files with accented words, using org-attach-open, Ihor Radchenko, 2024/08/05
- RE: Issue opening files with accented words, using org-attach-open, Kepa, 2024/08/05
- RE: Issue opening files with accented words, using org-attach-open, Ihor Radchenko, 2024/08/06
- RE: Issue opening files with accented words, using org-attach-open, Kepa, 2024/08/06
- RE: Issue opening files with accented words, using org-attach-open, Ihor Radchenko, 2024/08/10
- RE: Issue opening files with accented words, using org-attach-open, Kepa, 2024/08/10
- RE: Issue opening files with accented words, using org-attach-open,
Ihor Radchenko <=