Re: [BUG] [C-u C-u C-c C-o] open link with external program invalid to open file

2021-03-11 Thread Christopher Miles
<#secure method=pgpmime mode=sign> I see, I added your patch to my Emacs config. Really thanks for your work. And wait for maintainer response. Maxim Nikulin writes: Christopher, if your are still interested in a patch against this issue then you could find one in https://orgmode.org/list/ef

Re: [BUG] [C-u C-u C-c C-o] open link with external program invalid to open file

2021-03-10 Thread Maxim Nikulin
Christopher, if your are still interested in a patch against this issue then you could find one in https://orgmode.org/list/eff43744-12e1-a359-39f2-6d8169350...@gmail.com/ It managed to pass unnoticed by Bastien's dog somehow. I have realized that I used "'" for function references, that should b

Re: [PATCH] Re: [BUG] [C-u C-u C-c C-o] open link with external program invalid to open file

2021-01-21 Thread Christopher Miles
Maxim Nikulin writes: > On 21/01/2021 07:58, Christopher Miles wrote: >> >> I "=git am=" your first patch, but failed to apply your second patch. Seems >> not >> continuous. So I modify code manually. I found I can't find the local >> variable >> ~shell-command~, and ~shell-command-switch~. C

Re: [PATCH] Re: [BUG] [C-u C-u C-c C-o] open link with external program invalid to open file

2021-01-21 Thread Maxim Nikulin
On 21/01/2021 07:58, Christopher Miles wrote: I "=git am=" your first patch, but failed to apply your second patch. Seems not continuous. So I modify code manually. I found I can't find the local variable ~shell-command~, and ~shell-command-switch~. Can your provide complete patch? So I can tes

[PATCH] Re: [BUG] [C-u C-u C-c C-o] open link with external program invalid to open file

2021-01-20 Thread Christopher Miles
Maxim Nikulin writes: > I have realized that :filter argument is not appropriate to arbitrary > handler that could spam with various assert messages. Maybe :sentinel is > better to report configuration problem to user when handler is called > with inappropriate arguments. Yes, use ~:sentinel

Re: [BUG] [C-u C-u C-c C-o] open link with external program invalid to open file

2021-01-20 Thread Maxim Nikulin
On 20/01/2021 10:21, Christopher Miles wrote: Thanks for your working. I will modify my mailcap config temporary until Org Mode fix this issue. You're right, this change might break some behavior of some users. I don't understand Emacs sub-process mechanism. Can't help on this problem. But I'm i

Re: [BUG] [C-u C-u C-c C-o] open link with external program invalid to open file

2021-01-19 Thread Christopher Miles
Maxim Nikulin writes: > On 19/01/2021 08:53, Christopher Miles wrote: >> >> For this problem, do you have any workable solution patch? > > Maybe for a while it is better to avoid xdg-open or other handlers that > launch actual viewers in background. E.g. to replace xdg-open with > actual hand

Re: [BUG] [C-u C-u C-c C-o] open link with external program invalid to open file

2021-01-19 Thread Maxim Nikulin
On 19/01/2021 08:53, Christopher Miles wrote: For this problem, do you have any workable solution patch? Maybe for a while it is better to avoid xdg-open or other handlers that launch actual viewers in background. E.g. to replace xdg-open with actual handlers in mailcap. I attach a draft p

Re: [BUG] [C-u C-u C-c C-o] open link with external program invalid to open file

2021-01-18 Thread Christopher Miles
Maxim, thanks for your detailed explanation. I confirmed the problem: #+begin_src emacs-lisp ;;; does not work (start-process-shell-command "xdg-open" nil "xdg-open /usr/share/icons/gnome/256x256/actions/stock_print.png") ;;; works fine (start-process-shell-command "feh" nil "feh /usr/share/i

Re: [BUG] [C-u C-u C-c C-o] open link with external program invalid to open file

2021-01-18 Thread Maxim Nikulin
On 05/09/2020 14:52, Bastien wrote: stardiviner writes: When I press =[C-u C-u C-c C-o]= to open an image file link with system external program. It can't open the image file. I cannot reproduce the problem here. If you still have this issue, can you provide a minimal reproducible example?

Re: [BUG] [C-u C-u C-c C-o] open link with external program invalid to open file

2020-09-05 Thread Bastien
Hi, stardiviner writes: > When I press =[C-u C-u C-c C-o]= to open an image file link with system > external > program. It can't open the image file. I cannot reproduce the problem here. If you still have this issue, can you provide a minimal reproducible example? Thanks, -- Bastien

Re: [BUG] [C-u C-u C-c C-o] open link with external program invalid to open file

2020-06-14 Thread Nicolas Goaziou
stardiviner writes: > I tested with command "emacs -q" and an minimal Emacs config. Both failed to > started. I also record an screen video to show this problem. > > Link: https://pan.baidu.com/s/1iBbcStvNCwdN1vB8ivISdw password code: > r6ws I cannot see the video. But this isn't an ECM either.

Re: [BUG] [C-u C-u C-c C-o] open link with external program invalid to open file

2020-06-14 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Nicolas Goaziou writes: > Hello, > > stardiviner writes: > >> When I press =[C-u C-u C-c C-o]= to open an image file link with system >> external >> program. It can't open the image file. > > Is it really an Org bug? I.e., is your mailcap file p

Re: [BUG] [C-u C-u C-c C-o] open link with external program invalid to open file

2020-06-13 Thread Nicolas Goaziou
Hello, stardiviner writes: > When I press =[C-u C-u C-c C-o]= to open an image file link with system > external > program. It can't open the image file. Is it really an Org bug? I.e., is your mailcap file properly set up? If you think this is really an Org bug, could you provide an ECM, inclu

[BUG] [C-u C-u C-c C-o] open link with external program invalid to open file

2020-06-13 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 When I press =[C-u C-u C-c C-o]= to open an image file link with system external program. It can't open the image file. I tested on minimal Emacs config, confirmed this problem. Org Mode version: latest "master" branch Org mode version 9.3.4 (rel