[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
me and me as root must wastefully use separate emacses?
From: |
Dan Jacobson |
Subject: |
me and me as root must wastefully use separate emacses? |
Date: |
23 Feb 2002 05:25:07 +0800 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 |
So I guess there is no way for two users [me and me as root] to use
one emacs, and each must start separate emacses [wasting some memory I
suppose]. I had emacsclient dreams, but when it comes to writing the
file, you aren't root [or are not plain me].
OK, start a whole new emacs just to edit one little file as root.
Hmm, do I need to make a shell script wrapper?
cp $file /tmp
chown me /tmp/$file
emacsclient /tmp/$file
chown root /tmp/$file
cp /tmp/$file $file
sheesh, hope nothing goes wrong.
--
http://www.geocities.com/jidanni/ Taiwan(04)25854780