Re: ob-shell sessions will send final echo '...' as input key sequence when previous command reads input interactively (was: [Need Help] Error to evaluate "mpv" command in inline src block)

2023-05-03 Thread Ihor Radchenko
Matt writes: > > Matt, maybe you have some ideas about this edge case? > > I have no other ideas within the current ob-shell implementation. As for > modifications, I have the following thoughts. > > First, how might we state the problem for this edge case? > > To me, it looks like, "How can

Re: ob-shell sessions will send final echo '...' as input key sequence when previous command reads input interactively (was: [Need Help] Error to evaluate "mpv" command in inline src block)

2023-05-02 Thread Matt
On Tue, 02 May 2023 00:17:51 -0400 Christopher M. Miles wrote --- > Indeed, this option solved the problem real neat. > I'm surprised by your knowledge and digging problem skill. > I have to say a big TANKS to you. THANKS, THANKS, THANKS. Hahaha My thanks as well to everyone who

ob-shell sessions will send final echo '...' as input key sequence when previous command reads input interactively (was: [Need Help] Error to evaluate "mpv" command in inline src block)

2023-05-01 Thread Ihor Radchenko
"Christopher M. Miles" writes: >> So, it looks to me like mpv is somehow trying to interpret "echo" commands >> the >> ob-shell is sending after "mpv " is executed: > ... > Don't know ob-shell which part did your said "echo" commands. I don't > know where to dig this issue. Hope you can

Re: [Need Help] Error to evaluate "mpv" command in inline src block

2023-05-01 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > But I failed to execute mpv command: #+begin_src org Test src_sh{mpv "枕刀歌/《枕刀歌》SE05 江海阔 歌谣哼唱.mp4"} #+end_src >>> >>> May you elaborate what you mean by "failed"? >> >> The "failed" means the MPV video player

Re: [Need Help] Error to evaluate "mpv" command in inline src block

2023-05-01 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > But I failed to execute mpv command: #+begin_src org Test src_sh{mpv "枕刀歌/《枕刀歌》SE05 江海阔 歌谣哼唱.mp4"} #+end_src >>> >>> May you elaborate what you mean by "failed"? >> >> The "failed" means the MPV video player

Re: [Need Help] Error to evaluate "mpv" command in inline src block

2023-05-01 Thread Ihor Radchenko
"Christopher M. Miles" writes: >>> But I failed to execute mpv command: >>> >>> #+begin_src org >>> Test src_sh{mpv "枕刀歌/《枕刀歌》SE05 江海阔 歌谣哼唱.mp4"} >>> #+end_src >> >> May you elaborate what you mean by "failed"? > > The "failed" means the MPV video player window does not show up, no video, no >

Re: [Need Help] Error to evaluate "mpv" command in inline src block

2023-04-30 Thread Christopher M. Miles
Ihor Radchenko writes: > stardiviner writes: > >> I have Emacs Org mode config like bellowing to auto evaluate inline src >> block when Org headline cycle expanded. >> ... >> Here is the testing Org content: >> ... >> >> When I press Tab key to expand upper headline. I check the inline src

Re: [Need Help] Error to evaluate "mpv" command in inline src block

2023-04-30 Thread Ihor Radchenko
stardiviner writes: > I have Emacs Org mode config like bellowing to auto evaluate inline src > block when Org headline cycle expanded. > ... > Here is the testing Org content: > ... > > When I press Tab key to expand upper headline. I check the inline src block > session buffer, here is the

Re: [Need Help] Error to evaluate "mpv" command in inline src block

2023-04-30 Thread Christopher M. Miles
Ruijie Yu writes: > Try putting "cat" there. I suspect something is fed into the stdin of > the process. Can you explain in detailed? Don't know how to put command "cat" in my situation. -- [ stardiviner ] I try to make every word tell the meaning that I want to express without

Re: [Need Help] Error to evaluate "mpv" command in inline src block

2023-04-29 Thread General discussions about Org-mode.
stardiviner writes: > I have example Org file like bellowing. > > Here is the testing Org content: > > #+begin_src org > ,* 《枕刀歌》 > :PROPERTIES: > :DATE: [2021-05-13 Thu 20:09] > :Douban: https://movie.douban.com/subject/35350794/ > :DIR: 枕刀歌 > :EVAL: src_sh{mpv "枕刀歌/《枕刀歌》SE05

[Need Help] Error to evaluate "mpv" command in inline src block

2023-04-29 Thread stardiviner
*** Reproduce and experience log I have Emacs Org mode config like bellowing to auto evaluate inline src block when Org headline cycle expanded. #+begin_src emacs-lisp ;;; auto evaluate inline source block in property "EVAL". (defcustom org-property-eval-keyword "EVAL" "A property keyword for