* Running emacs from a shared drive
@ 2014-09-02 13:09 C K Kashyap
2014-09-02 13:13 ` Jai Dayal
0 siblings, 1 reply; 8+ messages in thread
From: C K Kashyap @ 2014-09-02 13:09 UTC (permalink / raw)
To: help-gnu-emacs@gnu.org
Hi,
In my work I need to look at other people's machines often and I struggle
when I do not have emacs there. So now I have kept emacs on a shared drive
(this is a windows environment). I can run emacs from there however I was
wondering how I could get my ".emacs" get executed as well - which I have
in the same shared folder.
Regards,
Kashyap
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Running emacs from a shared drive
2014-09-02 13:09 Running emacs from a shared drive C K Kashyap
@ 2014-09-02 13:13 ` Jai Dayal
2014-09-02 13:28 ` C K Kashyap
0 siblings, 1 reply; 8+ messages in thread
From: Jai Dayal @ 2014-09-02 13:13 UTC (permalink / raw)
To: C K Kashyap; +Cc: help-gnu-emacs@gnu.org
There's the doskey command that's similar to "alias" in bash environments.
I guess use doskey to alias your emacs command?
doskey emacs="emacs -u <path_to_init_file>"
Jai
On Tue, Sep 2, 2014 at 9:09 AM, C K Kashyap <ckkashyap@gmail.com> wrote:
> Hi,
> In my work I need to look at other people's machines often and I struggle
> when I do not have emacs there. So now I have kept emacs on a shared drive
> (this is a windows environment). I can run emacs from there however I was
> wondering how I could get my ".emacs" get executed as well - which I have
> in the same shared folder.
> Regards,
> Kashyap
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Running emacs from a shared drive
2014-09-02 13:13 ` Jai Dayal
@ 2014-09-02 13:28 ` C K Kashyap
2014-09-02 13:50 ` C K Kashyap
0 siblings, 1 reply; 8+ messages in thread
From: C K Kashyap @ 2014-09-02 13:28 UTC (permalink / raw)
To: Jai Dayal; +Cc: help-gnu-emacs@gnu.org
Thanks Jai ... just what I was looking for.
Regards,
Kashyap
On Tue, Sep 2, 2014 at 6:43 PM, Jai Dayal <dayalsoap@gmail.com> wrote:
> There's the doskey command that's similar to "alias" in bash environments.
> I guess use doskey to alias your emacs command?
>
> doskey emacs="emacs -u <path_to_init_file>"
>
> Jai
>
>
> On Tue, Sep 2, 2014 at 9:09 AM, C K Kashyap <ckkashyap@gmail.com> wrote:
>
>> Hi,
>> In my work I need to look at other people's machines often and I struggle
>> when I do not have emacs there. So now I have kept emacs on a shared drive
>> (this is a windows environment). I can run emacs from there however I was
>> wondering how I could get my ".emacs" get executed as well - which I have
>> in the same shared folder.
>> Regards,
>> Kashyap
>>
>
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Running emacs from a shared drive
2014-09-02 13:28 ` C K Kashyap
@ 2014-09-02 13:50 ` C K Kashyap
2014-09-02 13:57 ` Jai Dayal
2014-09-02 14:01 ` Óscar Fuentes
0 siblings, 2 replies; 8+ messages in thread
From: C K Kashyap @ 2014-09-02 13:50 UTC (permalink / raw)
To: Jai Dayal; +Cc: help-gnu-emacs@gnu.org
Oops ... I said that too early .... looks like -u is for user and does not
take a path to script.
Regards,
Kashyap
On Tue, Sep 2, 2014 at 6:58 PM, C K Kashyap <ckkashyap@gmail.com> wrote:
> Thanks Jai ... just what I was looking for.
> Regards,
> Kashyap
>
>
> On Tue, Sep 2, 2014 at 6:43 PM, Jai Dayal <dayalsoap@gmail.com> wrote:
>
>> There's the doskey command that's similar to "alias" in bash
>> environments. I guess use doskey to alias your emacs command?
>>
>> doskey emacs="emacs -u <path_to_init_file>"
>>
>> Jai
>>
>>
>> On Tue, Sep 2, 2014 at 9:09 AM, C K Kashyap <ckkashyap@gmail.com> wrote:
>>
>>> Hi,
>>> In my work I need to look at other people's machines often and I struggle
>>> when I do not have emacs there. So now I have kept emacs on a shared
>>> drive
>>> (this is a windows environment). I can run emacs from there however I was
>>> wondering how I could get my ".emacs" get executed as well - which I have
>>> in the same shared folder.
>>> Regards,
>>> Kashyap
>>>
>>
>>
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Running emacs from a shared drive
2014-09-02 13:50 ` C K Kashyap
@ 2014-09-02 13:57 ` Jai Dayal
2014-09-02 14:01 ` Óscar Fuentes
1 sibling, 0 replies; 8+ messages in thread
From: Jai Dayal @ 2014-09-02 13:57 UTC (permalink / raw)
To: C K Kashyap; +Cc: help-gnu-emacs@gnu.org
http://lmgtfy.com/?q=emacs+how+to+specify+init+file
On Tue, Sep 2, 2014 at 9:50 AM, C K Kashyap <ckkashyap@gmail.com> wrote:
> Oops ... I said that too early .... looks like -u is for user and does not
> take a path to script.
>
> Regards,
> Kashyap
>
>
> On Tue, Sep 2, 2014 at 6:58 PM, C K Kashyap <ckkashyap@gmail.com> wrote:
>
>> Thanks Jai ... just what I was looking for.
>> Regards,
>> Kashyap
>>
>>
>> On Tue, Sep 2, 2014 at 6:43 PM, Jai Dayal <dayalsoap@gmail.com> wrote:
>>
>>> There's the doskey command that's similar to "alias" in bash
>>> environments. I guess use doskey to alias your emacs command?
>>>
>>> doskey emacs="emacs -u <path_to_init_file>"
>>>
>>> Jai
>>>
>>>
>>> On Tue, Sep 2, 2014 at 9:09 AM, C K Kashyap <ckkashyap@gmail.com> wrote:
>>>
>>>> Hi,
>>>> In my work I need to look at other people's machines often and I
>>>> struggle
>>>> when I do not have emacs there. So now I have kept emacs on a shared
>>>> drive
>>>> (this is a windows environment). I can run emacs from there however I
>>>> was
>>>> wondering how I could get my ".emacs" get executed as well - which I
>>>> have
>>>> in the same shared folder.
>>>> Regards,
>>>> Kashyap
>>>>
>>>
>>>
>>
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Running emacs from a shared drive
2014-09-02 13:50 ` C K Kashyap
2014-09-02 13:57 ` Jai Dayal
@ 2014-09-02 14:01 ` Óscar Fuentes
2014-09-02 14:07 ` C K Kashyap
1 sibling, 1 reply; 8+ messages in thread
From: Óscar Fuentes @ 2014-09-02 14:01 UTC (permalink / raw)
To: help-gnu-emacs
C K Kashyap <ckkashyap@gmail.com> writes:
> Oops ... I said that too early .... looks like -u is for user and does not
> take a path to script.
See the "Init File" node on the Emacs manual. On startup Emacs looks for
a file named "default.el" on the standard search path for libraries. You
can put such file on your Emacs install (see the "load-path" variable
for a list of candidate directories.)
You can put the customizations on default.el or just load your .emacs
from there.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Running emacs from a shared drive
2014-09-02 14:01 ` Óscar Fuentes
@ 2014-09-02 14:07 ` C K Kashyap
2014-09-02 14:11 ` Jai Dayal
0 siblings, 1 reply; 8+ messages in thread
From: C K Kashyap @ 2014-09-02 14:07 UTC (permalink / raw)
To: Óscar Fuentes; +Cc: help-gnu-emacs@gnu.org
Thanks Oscar .. default.el worked for me.
Hey Jai ... looks like -u does not have any effect on windows according to
https://www.gnu.org/software/emacs/manual/html_node/emacs/Initial-Options.html#fn-1
Regards,
Kashyap
On Tue, Sep 2, 2014 at 7:31 PM, Óscar Fuentes <ofv@wanadoo.es> wrote:
> C K Kashyap <ckkashyap@gmail.com> writes:
>
> > Oops ... I said that too early .... looks like -u is for user and does
> not
> > take a path to script.
>
> See the "Init File" node on the Emacs manual. On startup Emacs looks for
> a file named "default.el" on the standard search path for libraries. You
> can put such file on your Emacs install (see the "load-path" variable
> for a list of candidate directories.)
>
> You can put the customizations on default.el or just load your .emacs
> from there.
>
>
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Running emacs from a shared drive
2014-09-02 14:07 ` C K Kashyap
@ 2014-09-02 14:11 ` Jai Dayal
0 siblings, 0 replies; 8+ messages in thread
From: Jai Dayal @ 2014-09-02 14:11 UTC (permalink / raw)
To: C K Kashyap; +Cc: Óscar Fuentes, help-gnu-emacs@gnu.org
You are right. Good to know.
On Tue, Sep 2, 2014 at 10:07 AM, C K Kashyap <ckkashyap@gmail.com> wrote:
> Thanks Oscar .. default.el worked for me.
>
> Hey Jai ... looks like -u does not have any effect on windows according to
>
> https://www.gnu.org/software/emacs/manual/html_node/emacs/Initial-Options.html#fn-1
>
> Regards,
> Kashyap
>
>
> On Tue, Sep 2, 2014 at 7:31 PM, Óscar Fuentes <ofv@wanadoo.es> wrote:
>
> > C K Kashyap <ckkashyap@gmail.com> writes:
> >
> > > Oops ... I said that too early .... looks like -u is for user and does
> > not
> > > take a path to script.
> >
> > See the "Init File" node on the Emacs manual. On startup Emacs looks for
> > a file named "default.el" on the standard search path for libraries. You
> > can put such file on your Emacs install (see the "load-path" variable
> > for a list of candidate directories.)
> >
> > You can put the customizations on default.el or just load your .emacs
> > from there.
> >
> >
> >
>
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2014-09-02 14:11 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-02 13:09 Running emacs from a shared drive C K Kashyap
2014-09-02 13:13 ` Jai Dayal
2014-09-02 13:28 ` C K Kashyap
2014-09-02 13:50 ` C K Kashyap
2014-09-02 13:57 ` Jai Dayal
2014-09-02 14:01 ` Óscar Fuentes
2014-09-02 14:07 ` C K Kashyap
2014-09-02 14:11 ` Jai Dayal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).