Re:My .emacs File (Steve Yegge)
by strlen on Friday September 03, 2010 @03:28PM
(#1660779)
Fyi, there's an alternative available to JDEE for those doing Java work with emacs. malabar-mode drops some of the legacy stuff, but adds support for generics and uses Groovy in place of beanshell:
Re:My .emacs File (Steve Yegge)
by parfe on Friday September 03, 2010 @03:45PM
(#1660857)
JDEE thwarted my first attempt at learning Emacs. I wanted to get into it for Java development.
>It's an absolutely unbelievable pain in the arse to
>install. And his website is buggy, and the code is often
>buggy, and I generally detest the application, and Paul
>K's no picnic himself. Other than that, it's great.
I felt the same exact way. And at that point I felt if I could not use emacs for Java, I might as well stick to Eclipse. Luckily I'm a python guy now, so I'm free to avoid JDEE.
Re:My .emacs File (Steve Yegge)
by yrb on Friday September 03, 2010 @08:25PM
(#1661602)
I wouldn't say everyone does that. I would just say that it is a artifact of the incremental nature of building a .emacs over many years, and isn't really worth refactoring.
Re:My .emacs File (Steve Yegge)
by wildanimal on Friday September 03, 2010 @05:29PM
(#1661218)
When do you decide to use some directory like ~/emacs or ~/elisp or whatever instead of your ~/.emacs.d/ directory for your packages? A lot of emacs sites say to use ~/.emacs.d, but then I see a lot of masters putting them in a directory of their choosing...
Re:My .emacs File (Steve Yegge)
by lukeschlather on Friday September 03, 2010 @06:46PM
(#1661404)
When I started out, I think I somehow was under the impression that .emacs.d was some sort of cache, and not for end-users to mess with. Actually, I feel like when I first started out on Red Hat 5 it wasn't there, but I probably just wasn't being very observant.
At some point I set up auto-insert for a variety of files, and the howto I found used the directory .autoinsert, and at the moment that's actually where my elisp that isn't in my .emacs lives. It's a little hacked together and ad hoc, but not worth my time to fix. Nowadays I've customized everything I want to, and mostly am installing thirdparty packages.
Re:My .emacs File (Steve Yegge)
by studer on Friday September 03, 2010 @05:50PM
(#1661284)
The "a combination of the Spam problem and our switch to Exchange finally drove me to Outlook" part threw me off for a bit, until I saw "Published Sep 25th 2004".
http://github.com/espenhw/malabar-mode
cscope is also incredibly useful for those doing Java and/or C++ with emacs.
Now that I remember (I haven't tried it yet), there's also this: http://github.com/senny/emacs-eclim
(a headless eclipse instance providing eclipse features inside emacs)
>It's an absolutely unbelievable pain in the arse to
>install. And his website is buggy, and the code is often
>buggy, and I generally detest the application, and Paul
>K's no picnic himself. Other than that, it's great.
I felt the same exact way. And at that point I felt if I could not use emacs for Java, I might as well stick to Eclipse. Luckily I'm a python guy now, so I'm free to avoid JDEE.
(labels ((add-path (p) (add-to-list 'load-path (path-join emacs-root p)))) (let ((paths '("foo" "bar"))) (mapc 'add-path paths)))
Is there an advantage to writing it out?
At some point I set up auto-insert for a variety of files, and the howto I found used the directory .autoinsert, and at the moment that's actually where my elisp that isn't in my .emacs lives. It's a little hacked together and ad hoc, but not worth my time to fix. Nowadays I've customized everything I want to, and mostly am installing thirdparty packages.