From: Ihor Radchenko <yantar92@posteo.net>
To: Kepa <gnu.cognition199@slmails.com>
Cc: emacs-orgmode@gnu.org
Subject: RE: Issue opening files with accented words, using org-attach-open
Date: Sun, 11 Aug 2024 16:31:40 +0000 [thread overview]
Message-ID: <87frrbja1f.fsf@localhost> (raw)
In-Reply-To: <172331227309.6.1638653457721037075.402597068@slmails.com>
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>
prev parent reply other threads:[~2024-08-11 16:31 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-04 20:37 Issue opening files with accented words, using org-attach-open Kepa
2024-08-05 4:33 ` tomas
2024-08-05 9:04 ` Kepa
2024-08-05 9:28 ` tomas
2024-08-05 18:53 ` Ihor Radchenko
2024-08-05 20:24 ` Kepa
2024-08-05 20:44 ` Kepa
2024-08-06 4:28 ` tomas
2024-08-06 17:23 ` Ihor Radchenko
2024-08-06 19:37 ` Kepa
2024-08-10 13:53 ` Ihor Radchenko
2024-08-10 17:51 ` Kepa
2024-08-11 16:31 ` Ihor Radchenko [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87frrbja1f.fsf@localhost \
--to=yantar92@posteo.net \
--cc=emacs-orgmode@gnu.org \
--cc=gnu.cognition199@slmails.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.