"John J. Foerch" <[email protected]> writes:
> On Tue, Sep 06, 2011 at 07:05:54PM +0800, zwz wrote:
>>
>> I use Emacs both on a tty (in text mode) and X windows, with the elisp
>> code "(server-start)". No matter where emacsclient runs (tty or X), it
>> will find and open the file in the Emacs server. This is very
>> convenient.
>>
>> Now I can use conkeror as an external browser for Emacs in X windows.
>> However, when I run Emacs on a tty and try to open a url by conkeror,
>> there is no response.
>>
>> So comes the question.
>
>
> You have to give a DISPLAY to use, then it should work. Like this:
>
> DISPLAY=:0.0 conkeror "example.com"
Very nice. This trick works.
>
> Conkeror doesn't have a true server/client model like emacs because
> XULRunner requires an X display to start. However, if you load the
> module
> 'daemon' in your rc, then your conkeror will continue running even when
> there are no windows open.
>
> require("daemon");
I will try this.
_______________________________________________
Conkeror mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/conkeror