[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
init file help
From: |
DeSoya |
Subject: |
init file help |
Date: |
Tue, 29 Apr 2008 16:02:37 -0700 (PDT) |
User-agent: |
G2/1.0 |
I'm trying to write bash scripts in emacs but Cygwin was having
problems interpreting the line endings. Someone suggested that I use
the command C-x RET f <unix> to fix the trouble. Sure enough it worked
like a charm. I tried to make this my default by editing my init file.
Unfortunately I'm on XP and there was no default init. I went ahead
and used C-x C-f ~/.emacs.d/init.el to create one. Then I typed (setq
default-buffer-file-coding-system 'unix), saved it and quit out of
emacs to test my creation. When I opened the program back up I got a
error message from my init file. Now it just reads "Invalid coding
system: Unix" in the buffer and I can't actually run any commands.
This means I can't edit the init.el file since I can't open anything.
Anyone have any insight?