[SOLVED]: Issue opening files with accented words, using org-attach-open

2024-08-18 Thread Kepa
Thanks, Ihor. That change worked. (when (eq system-type 'windows-nt) (setq org-file-apps '((\\.\\(docx\\|doc\\)\\' . system) (\\.\\(xlsx\\|xls\\)\\' . system) (\\.\\(pdf\\)\\' . system) (\\.\\(pptx\\|ppt\\)\\' . system) (auto-mode . emacs

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

2024-08-11 Thread Ihor Radchenko
Kepa 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\\)

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

2024-08-10 Thread Kepa
> -Original Message- > From: yantar92 at posteo.net > > Sent: Saturday, August 10, 2024 3:53 PM > To: Kepa > Cc: emacs-orgmode at gnu.org orgmode_at_gnu_org_kqcgk...@simplelogin.co> > Subject: RE: Issue opening files with accented words, using org-attach-open >

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

2024-08-10 Thread Ihor Radchenko
Kepa writes: > I get not output with w32-shell-execute, Did you customize `org-file-apps'? > ... but... if I make a link to the file, and I try to open it, I get a > backtrace (so it would be not a problem from org-attach, but from org-mode): > > Debugger entered--entering a function: > > * or

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

2024-08-06 Thread Kepa
-interactively(org-return nil nil 1) command-execute(org-return) [cid:image001.png@01DAE848.A4D542E0] https://i.ibb.co/NynYwVB/Captura-de-pantalla-2024-08-06-213339.png Best regards -Original Message- From: yantar92 at posteo.net Sent: Tuesday, August 6, 2024 7:23 P

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

2024-08-06 Thread Ihor Radchenko
Kepa writes: > I get no error using " M-x debug-on-entry 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 Buzón/oq.pdf" nil) > org-attach-open(nil) > funcall-interactively(org-attach

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

2024-08-05 Thread tomas
On Mon, Aug 05, 2024 at 08:44:29PM +, Kepa wrote: > Funny: the path was p:/170 Buzon/oq.pdf, where the "o" was accentuated: > https://en.m.wikipedia.org/wiki/%C3%93 Perhaps relevant: - what file systems are on each of those drives? NTFS? some Linux? (Background: most Unix/Linux file syst

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

2024-08-05 Thread Kepa
ard drive, access works correctly. P: is a > local network drive. > > Best regards > > -Original Message- > From: yantar92 at posteo.net > Sent: Monday, August 5, 2024 8:53 PM > To: Kepa > Cc: emacs-orgmode at gnu.org > > Subject: Re: Issue opening files wit

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

2024-08-05 Thread Kepa
network drive. Best regards -Original Message- From: yantar92 at posteo.net Sent: Monday, August 5, 2024 8:53 PM To: Kepa Cc: emacs-orgmode at gnu.org Subject: Re: Issue opening files with accented words, using org-attach-open Kepa writes: > Hi > > I'm encountering a

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

2024-08-05 Thread Ihor Radchenko
Kepa 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 spe

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

2024-08-05 Thread tomas
On Mon, Aug 05, 2024 at 09:04:19AM +, Kepa wrote: > Hi > > Accentuated characters are in the path and in the file name. > > It seems windows can't find the file, because emacs sends the accentuated > characters substituted. > > As said before, this doesn't happen with Dired. I guess this i

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

2024-08-05 Thread Kepa
CC: Kepa Date: 2024-08-05T04:33:28Z Subject: Re: Issue opening files with accented words, using org-attach-open > On Sun, Aug 04, 2024 at 08:37:32PM +, Kepa wrote: >> Hi >> >> I'm encountering an issue when trying to open a file using org-attach-open >> from or

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

2024-08-04 Thread tomas
On Sun, Aug 04, 2024 at 08:37:32PM +, Kepa wrote: > 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: 0x800700

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

2024-08-04 Thread Kepa
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 probl