hi, i read the installation instructions, one point i does not understand, which is: "installation just requires a few lines in your '~/.emacs':" where is the '~/.emacs' in windows distribution of emacs? please enlighten me on this, thanks alot!
Jason
Jason Wang wrote:
hi, i read the installation instructions, one point i does not understand, which is: "installation just requires a few lines in your '~/.emacs':" where is the '~/.emacs' in windows distribution of emacs? please enlighten me on this, thanks alot!
Jason
I don't know about emacs but in xemacs you can open your configuration file by using the edit .init file option. There must be something similar in emacs. check your menu bar.
-- Surendra Singhi
www.public.asu.edu/~sksinghi
Jason Wang wrote:
hi, i read the installation instructions, one point i does not understand, which is: "installation just requires a few lines in your '~/.emacs':" where is the '~/.emacs' in windows distribution of emacs? please enlighten me on this, thanks alot
This is an FAQ on emacs, and the answer is the same no matter what kind of system you use. Just do find-file (C-x C-f), and enter ~/.emacs as the file to find. Press enter. Enter the text you wish, and save. The file will be created if it does not exist. If you are curious about where the file will end up, just do a dired (C-x d) while you are in the .emacs buffer, and accept the suggested ~/. .This wil open the directory containing your .emacs file.
The beauty of this recipe for finding your .emacs, is that it works on all emacses, and it works even if something screwed up emacs' view of HOME.
If you want to keep your .emacs somewhere else, make sure emacs is started with the HOME env-var pointing to the directory you want.
P.S: There is a "reply-to: " header in the OP. I presume this means jason wants the replies directly to his own mailbox. I figure this will be an FAQ here aswell, so this is the canonical answer for the record.
Jason Wang randomtalk@gmail.com writes:
hi, i read the installation instructions, one point i does not understand, which is: "installation just requires a few lines in your '~/.emacs':" where is the '~/.emacs' in windows distribution of emacs? please enlighten me on this, thanks alot!
This is a FAQ: http://www.gnu.org/software/emacs/windows/faq3.html#startup
Helmut.
* Jason Wang randomtalk@gmail.com | hi, i read the installation instructions, one point i does not | understand, which is: | "installation just requires a few lines in your '~/.emacs':" | where is the '~/.emacs' in windows distribution of emacs? please | enlighten me on this, thanks alot!
Emacs doent come with a default .emacs file, you have to create your own. At the same time Windows doesnt have a clear concept of where is you home directory. You could set a "HOME" environment variable in Windows to point to some directory to be your home or you could just: C-x C-f ~/.emacs and Emacs will open the file where it thinks it should be.