On Thu, May 29, 2003 at 09:02:27AM -0600, Ryan Bowman wrote:
> Okay, suppose that I have to .emacs files that I want to be able to use 
> interchangibly, choosing on the fly whether I'm going to use .emacs1 or 
> .emacs2.

If you're meaning ``at execution time'' when you say ``on the fly'',
then you simply need to write two scripts (or aliases, for that
matter):

emacs1.sh:

/bin/sh

ln -s -f ~/.emacs1 ~/.emacs && emacs

emacs2.sh:

/bin/sh

ln -s -f ~/.emacs2 ~/.emacs && emacs

Then run the script that corresponds with the .emacs you want.
However, it sounds more like you might be interested in using mode
hooks to get your job done, whatever that may be.

Mike

-- 
------------------------------------------- | ---------------------
Michael Halcrow                             | [EMAIL PROTECTED] 
Developer, IBM Linux Technology Center      |                      
                                            |
I am in total control, but don't tell my    |
wife.                                       |
------------------------------------------- | ---------------------
GnuPG Keyprint:  05B5 08A8 713A 64C1 D35D  2371 2D3C FDDA 3EB6 601D

Attachment: pgp00000.pgp
Description: PGP signature

____________________
BYU Unix Users Group 
http://uug.byu.edu/ 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to