On Tue, Sep 22, 2009 at 02:59:48PM +0200, Daniel Clemente wrote:
> > Is conkeror-spawn-helper in $PATH from the Debian package
> > conkeror-spawn-process-helper?
>
> I tried both (the one from conkeror-spawn-process-helper.deb and the
> one from conkeror's tree) and they behave the same.
>
> This is because it isn't even run. I tried to replace both
> /usr/lib/conkeror/conkeror-spawn-helper and
> /usr/local/bin/conkeror-spawn-helper with a shell script that beeps,
> and «M-x shell-command RET gedit RET» doesn't beep. However, C-i on
> a text field correctly opens an external editor. It doesn't beep.
The reason for the non-working beep thing could be because beep needs
a terminal to beep while conkeror doesn't need to open the shell in a
terminal IIRC. Calling xterm via M-x shell-command though doesn't work
either -- neither with 1.9.0.13 nor 1.9.0.14 nor 1.9.1.3.
> Looking at the code:
> When I execute (M-x shell-command) beep, function spawn-process() at
> spawn-process.js gets called with program_name="bash" and
> args=",-c,beep" and working_dir="[xpconnect wrapped nsILocalFile]"
> (these are string representations).
>
> Note that already «M-x shell-command RET» produces a prompt which
> asks: «Shell command [[xpconnect wrapped nsILocalFile]]: ». Either
> it's not very friendly or something is wrong.
Especially working_dir="[xpconnect wrapped nsILocalFile]" looks very
bad, yes.
> Debian changed the default shell from bash to dash. But I tried
> repointing /bin/sh to /bin/bash and it happens the same.
That should not cause such problems, at least not if bash explicitly
is mentioned.
Although I do wonder why bash gets called and not sh.
Regards, Axel
--
Axel Beckert - [email protected], [email protected] - http://noone.org/abe/
_______________________________________________
Conkeror mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/conkeror