From: Kepa <gnu.cognition199@slmails.com>
Cc: Ihor Radchenko <yantar92@posteo.net>,emacs-orgmode@gnu.org
Subject: Re: Issue opening files with accented words, using org-attach-open
Date: Mon, 5 Aug 2024 20:44:29 +0000 (UTC) [thread overview]
Message-ID: <172289067755.6.9513778135573811442.398221968@slmails.com> (raw)
In-Reply-To: <172288948730.7.4632685286079764700.398208862@slmails.com>
Funny: the path was p:/170 Buzon/oq.pdf, where the "o" was accentuated: https://en.m.wikipedia.org/wiki/%C3%93
From: gnu.cognition199@slmails.com
To: yantar92 at posteo.net <yantar92_at_posteo_net_bkabf@simplelogin.co>; Kepa <gnu.cognition199@slmails.com>
CC: emacs-orgmode at gnu.org <emacs-orgmode_at_gnu_org_kqcgkjat@simplelogin.co>
Date: 2024-08-05T20:24:50Z
Subject: RE: Issue opening files with accented words, using org-attach-open
> **** Don't forget to remove this section if you reply to this email ****
> Email sent on behalf of alias gnu.cognition199@slmails.com using mailbox alaskadosi@outlook.com
> ------------------------------
> Hi, Ihor
>
> I get no error using " M-x debug-on-entry <RET> org-open-file ".
>
> If I use org-attach-open from the attach menu, I get this backtrace:
>
> Debugger entered--entering a function:
> * org-open-file("p:/170 Buzn/oq.pdf" nil)
> org-attach-open(nil)
> funcall-interactively(org-attach-open nil)
> command-execute(org-attach-open)
> org-attach()
> funcall-interactively(org-attach)
> command-execute(org-attach)
>
>
> Although I've now noticed that the error only occurs when the file is on the local network. If it's on my hard drive, access works correctly. P: is a local network drive.
>
> Best regards
>
> -----Original Message-----
> From: yantar92 at posteo.net <yantar92_at_posteo_net_bkabf@simplelogin.co>
> Sent: Monday, August 5, 2024 8: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:
>
>> Hi
>>
>> I'm encountering an issue when trying to open a file using org-attach-open from org-attach. The problem occurs when the file name, or file path, contain words with accents.
>> Windows OS sends me this error:
>> Error code: 0x80070002
>> The system cannot find the file specified.
>>
>> I have not this problem using dired.
>
> What if you
>
> 1. Run M-x debug-on-entry <RET> org-open-file <RET> 2. Try to open the file 3. Share the resulting backtrace 4. M-x cancel-debug-on-entry <RET> <RET>
> (cleanup)
>
> --
> 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>
next prev parent reply other threads:[~2024-08-05 20:54 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 [this message]
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
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=172289067755.6.9513778135573811442.398221968@slmails.com \
--to=gnu.cognition199@slmails.com \
--cc=emacs-orgmode@gnu.org \
--cc=yantar92@posteo.net \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).