Thread View: gnu.epoch.misc
2 messages
2 total messages
Started by B.G. Mahesh
Wed, 14 Oct 1992 17:44
I can't use the same .emacs for epoch and emacs
Author: B.G. Mahesh
Date: Wed, 14 Oct 1992 17:44
Date: Wed, 14 Oct 1992 17:44
17 lines
918 bytes
918 bytes
hi I have installed epoch 4.x on my Solbourne. I can't use the .emacs of epoch for emacs (epoch -nw). When I try to use emacs itays "Error in init file". Is there a way to solve this problem? Please respond by email only. thanks -- B.G. MAHESH | Email : mahesh@evb.com Software Engineer | SETT Inc. (Affiliated to EVB Software Engineering, Inc.) Frederick MD
Re: I can't use the same .emacs for epoch and emacs
Author: Aaron Endelman
Date: Tue, 27 Oct 1992 00:41
Date: Tue, 27 Oct 1992 00:41
32 lines
1914 bytes
1914 bytes
In article <1992Oct14.174421.29217@cis.uab.edu> mahesh@evb.com writes: +hi + +I have installed epoch 4.x on my Solbourne. I can't +use the .emacs of epoch for emacs (epoch -nw). When I +try to use emacs itays "Error in init file". +Is there a way to solve this problem? That's a FAQ question, but I can type in the answer pretty fast, too... Start up epoch with the -q switch, which won't load your init file. In the *scratch* buffer, type (setq debug-on-error t)^J (yes, that's a control-J). Then type (load-file "~/.emacs")^J. The debugger will come up, showing a backtrace of where the error occurred. When you find the problem, you can conditionalize the code as follows: At the beginning of your .emacs file, add the line: (setq running-epoch (boundp 'epoch::version)) Then you can say stuff like (if running-epoch ...). -- -------------------------------------------------------------------------- Aaron Endelman KK6QH SPARCworks IBEx Group endelman@eng.sun.com UMTV12-33, Sun Microsystems, Inc., 2550 Garcia Ave., Mtn. View, CA 94043 "What a waste it is to lose one's mind, or not to have a mind at all." -DQ
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads