[erlang-questions] Emacs and erlang shell arguments

jmT2 johan@REDACTED
Sat Sep 16 07:51:03 CEST 2006



Thanks, but then I cant easily have multiple erlang shells
with different names. The trick was to do:

(set 'inferior-erlang-machine-options '("-name" "foo"))

And now I'm only fighting the problems with running distributed on XP.  
Works on two machines of three, close but no cigar :-(  Any hints are  
welcome.

   Johan



Den 2006-09-15 09:04:16 skrev Raimo Niskanen  
<raimo+erlang-questions@REDACTED>:

> You can set the enviroment variable ERL_FLAGS to
> "-name .. -cookie .. etc".
>
>
>
> On Fri, Sep 15, 2006 at 07:48:29AM +0200, jmT2 wrote:
>>
>>
>> Something that I would probably find in an hour but if someone alread
>> knows:
>>
>> How can I start the erlang shell under emacs with some arguments such as
>> -name .. -cookie .. etc? I got as far as (set
>> 'inferior-erlang-machine-options '("-name foo")) but it didn't quite  
>> work
>> :-(
>>
>>   johan
>>
>>
>>
>>
>> -----------
>> Johan Montelius
>> _______________________________________________
>> erlang-questions mailing list
>> erlang-questions@REDACTED
>> http://www.erlang.org/mailman/listinfo/erlang-questions
>



-- 
-----------
Johan Montelius jmT2



More information about the erlang-questions mailing list