From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id CE9/H+05T2Q/cgEASxT56A (envelope-from ) for ; Mon, 01 May 2023 06:02:53 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id GOGIHu05T2T5fAEAG6o9tA (envelope-from ) for ; Mon, 01 May 2023 06:02:53 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 16D243E9EC for ; Mon, 1 May 2023 06:02:53 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ptKP5-0002sA-Ql; Sun, 30 Apr 2023 23:40:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ptKP4-0002ry-Ns for emacs-orgmode@gnu.org; Sun, 30 Apr 2023 23:40:42 -0400 Received: from [39.171.215.100] (helo=Mac-mini.local) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ptKP2-0006cB-IE for emacs-orgmode@gnu.org; Sun, 30 Apr 2023 23:40:42 -0400 Received: by Mac-mini.local (Postfix, from userid 501) id 1A30D8A8D780; Mon, 1 May 2023 11:40:30 +0800 (CST) References: <87354hs9pz.fsf@localhost> User-agent: mu4e 1.10.3; emacs 30.0.50 From: "Christopher M. Miles" To: Ihor Radchenko Cc: stardiviner , Org-mode Subject: Re: [Need Help] Error to evaluate "mpv" command in inline src block Date: Mon, 01 May 2023 11:39:08 +0800 In-reply-to: <87354hs9pz.fsf@localhost> Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Host-Lookup-Failed: Reverse DNS lookup failed for 39.171.215.100 (deferred) Received-SPF: softfail client-ip=39.171.215.100; envelope-from=numbchild@gmail.com; helo=Mac-mini.local X-Spam_score_int: 58 X-Spam_score: 5.8 X-Spam_bar: +++++ X-Spam_report: (5.8 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FROM=0.001, MSGID_MULTIPLE_AT=1, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_PBL=3.335, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665, SPOOFED_FREEMAIL_NO_RDNS=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: reject X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: numbchild@gmail.com Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1682913773; a=rsa-sha256; cv=none; b=irJhd0uHk7V/oeFYfmwwuce2b086qd/BRaXaS3vFNqHhtrg/HIrxAj64Vk4lZ9HRwih0/e auwX0gn3ZqnCbnAKad3XZbg48SdgV2Lx1GwxkPULZ+PFDwSPPVbLw8/e3vznEBBwuUciPI /7Vviw6t77PrRXCJ0vSU2q/7CS/lKw0rOq59D/hS3O3p/ngyAI7whHssGiNwOavoVegS6O wrnMtXbZntdr7Z/fTAKLJGlhXEWFo3m53GnU2L1/8TM8K2+OCPsmhqbGl5EJF+hehNEg39 bKbdrH3eqbgcGa7cLyeTonn+NrZ3I/0jp8d5cQa4O5wNrv8jw29JOTZjg1dBew== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1682913773; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=Ih1st9tBlBY3opGyJk+gfo8DquDFk6eBOo9nGYcCch4=; b=iiVcOsamHHJ0JSwFdrmkBI+1bhh+IWYNRVKiRq6X/T6H3KqJxrMN+BQ369AqN9fJr57dRm NEyLk38U2xy+tEP4DOUk2DC7VGs78N7wde/wdBmIxZKyNGM441KMEVB/2sy2q4OMgn3hbE NRcrCaN+qVDzEAJPAWTvCxF+XMdAFD5AqXATGSIYZQXLtPwNmgYTcEb7TO0MPpdvCvNHYf fLkc3cB1Ed+ri1H7qaAbDWcRFhPXnYSwSpjcM0afH11r2ewUkPES4YqdPjwaZeOVuIseX2 9bSuaSZdS7jyciWiz1HeT0UrBAIot74xQLVVptlzjbFuNQprpuj6Y68brEosSw== X-Migadu-Spam-Score: -3.21 X-Spam-Score: -3.21 X-Migadu-Queue-Id: 16D243E9EC X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-TUID: A0jMEOg/wLIm --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 bl= ock >> session buffer, here is the output: >> >> #+begin_example >> bash-5.2$ bash-5.2$ PROMPT_COMMAND=3D;PS1=3D"org_babel_sh_prompt> ";PS2= =3D >> org_babel_sh_prompt> echo >> 'ob_comint_async_shell_start_d1cc7563-be0c-4ed0-a4c2-d1b545333983' >> mpv "=E6=9E=95=E5=88=80=E6=AD=8C/=E3=80=8A=E6=9E=95=E5=88=80=E6=AD=8C=E3= =80=8BSE05 =E6=B1=9F=E6=B5=B7=E9=98=94 =E6=AD=8C=E8=B0=A3=E5=93=BC=E5=94=B1= .mp4" >> echo 'ob_comint_async_shell_end_d1cc7563-be0c-4ed0-a4c2-d1b545333983' >> ob_comint_async_shell_start_d1cc7563-be0c-4ed0-a4c2-d1b545333983 >> org_babel_sh_prompt> =3D[input] No key binding found for key 'c'. >> ... >> Resuming playback. This behavior can be disabled with --no-resume-playba= ck. >> >> Video --vid=3D1 (*) (h264 1920x1080 25.000fps) >> (+) Audio --aid=3D1 (*) (aac 2ch 48000Hz) >> AO: [coreaudio] 48000Hz stereo 2ch floatp >> Mute: yes >> >> >> >> C-c C-c> >> Saving state. >> >> Exiting... (Quit) >> org_babel_sh_prompt> echo $SHELL >> /bin/zsh >> org_babel_sh_prompt> >> #+end_example > > It looks like mpv command is running. > Yes, check out the output from the sh session buffer, we can confirm mpv is= executed. But seems got weird error. >> ... >> But I failed to execute mpv command: >> >> #+begin_src org >> Test src_sh{mpv "=E6=9E=95=E5=88=80=E6=AD=8C/=E3=80=8A=E6=9E=95=E5=88=80= =E6=AD=8C=E3=80=8BSE05 =E6=B1=9F=E6=B5=B7=E9=98=94 =E6=AD=8C=E8=B0=A3=E5=93= =BC=E5=94=B1.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 audio. =2D-=20 [ stardiviner ] I try to make every word tell the meaning that I want to express without mi= sunderstanding. Blog: https://stardiviner.github.io/ IRC(libera.chat, freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEE8J9lDX1nSBmJJZFAG13xyVromsMFAmRPNK4ACgkQG13xyVro msNREAgAxRsvfHo/2HJOCR6yCyYIh/X9zIwuV07CL6BhFgjJTZLppoL0GXQq6+mz LRn7S/40xDccy+FcZahmb2uR09951vzkTvJSVIRnzf5KEDafFcktwEa2Fjs8Dvey B/7Pz9g4bK8tvVdSLKlWHojE2YX4w7RuAgdpASVrrTjNrp0Ka7q9z1vLQvTCG+rQ naApzOdZN91Lb/pyoGa0tae4ypq/KMv8gAV6JVf6wsBJNeph+Ockk2u1CtPZIF8t KFNu+IjNSach2g2I1ZSwJ6bQ0a4FYiBk64TjR6mwFN9ELpXtP4EWv2233HX3xDdD bitc+au+A9ucVgAfV9buJ7ty/TlSNQ== =fpCP -----END PGP SIGNATURE----- --=-=-=--