Re: bash source code block: problem after ssh commands

2023-10-27 Thread Max Nikulin
On 28/10/2023 01:26, alain.coch...@unistra.fr wrote: bash -c "bash /path/to/file-containing-the-source-code.sh" Without the quotes, the 1st line is not executed either. NB: I get the same behavior with simply Without quotes it means: execute shell script (just "bash" this case) with "$0"

Re: bash source code block: problem after ssh commands

2023-10-27 Thread Alain . Cochard
Ihor Radchenko writes on Thu 26 Oct 2023 13:44: > I can now reproduce the problem locally. > > It boils down to > > (setq exit-status >(process-file shell-file-name input-file > (if error-file > (list t error-file) >

Re: [RFC][PATCH] Allow to export to ascii custom link types as notes

2023-10-27 Thread Max Nikulin
On 24/10/2023 17:40, Ihor Radchenko wrote: What about (1) passing link object to custom protocol, You know, I like this idea, but a function receiving link org-element object should be set to another property, so :export should continue to work. You considered :filter. I would prefer someth

Re: bash source code block: problem after ssh commands

2023-10-27 Thread Alain . Cochard
Russell Adams writes on Thu 26 Oct 2023 16:44: > [...] are you using an SSH key to connect, or entering a password? > If you use an SSH key for passwordless access, try adding -n (ie: > "ssh -n derp@host mycommand"). Yes, I use an SSH key, and yes, '-n' saves the day. Thanks. -- EOST (Éco