From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "D. D. Brierton" Newsgroups: gmane.emacs.help Subject: Re: customize messing up .emacs symlink? Date: Tue, 02 Mar 2004 15:36:15 +0000 Organization: DZR Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <873c8sdn3g.fsf@cs.uga.edu> <87u117cmlo.fsf@cs.uga.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1078264469 5615 80.91.224.253 (2 Mar 2004 21:54:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 2 Mar 2004 21:54:29 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 02 22:54:21 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AyHqG-0008Kz-00 for ; Tue, 02 Mar 2004 22:54:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1AyHpp-0001zB-LQ for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Mar 2004 16:53:53 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.multikabel.nl!skynet.be!landlord!stones.force9.net.POSTED!not-for-mail User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) Original-Newsgroups: gnu.emacs.help Original-Lines: 81 Original-NNTP-Posting-Host: 212.159.101.92 Original-X-Complaints-To: abuse@plus.net.uk Original-X-Trace: stones.force9.net 1078241670 212.159.101.92 (Tue, 02 Mar 2004 15:34:30 GMT) Original-NNTP-Posting-Date: Tue, 02 Mar 2004 15:34:30 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:121434 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:17390 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:17390 On Tue, 02 Mar 2004 10:09:07 -0500, Ed L Cashin wrote: > They are (with formatting addeded) ... > > GNU Emacs 21.2.1 > (i386-debian-linux-gnu, X toolkit, Xaw3d scroll bars) > of 2002-\03-22 on raven, modified by Debian > > and > > GNU Emacs 21.2.1 > (i386-debian-linux-gnu, X toolkit, Xaw3d scroll bars) > of 2002-03-22 on raven, modified by Debian > > Maybe it's some add-on that is on one machine and not the other. I > ought to do a little more digging and create a bug report. Ahhh. I'd misunderstood you. I thought you meant that you were running two different emacsen on the same box, but rather the problem seems to be with two identical emacsen on different boxes. > To me it seems wrong for the default behavior of customize to be like > this, replacing a symlinked .emacs file with a modified regular file. Yes, I'd agree, although I suppose it depends on what the symlink is to -- is it something very exotic, like a pointer via a virtual-file-system directly into your version constrol repository? (Perhaps that's not possible. Perhaps it is possible and not at all exotic.) > Does anyone know if this feature has been discussed to death already, > or would it be good to submit a bug report? I haven't seen it mentioned before, and I lurk here a lot, and regular browse the web archive of the developers' list. >> But assuming its Xemacs vs. >> Emacs, put at the end of your .emacs something like (excuse my probably >> crappy and very-unlisp-like lisp): >> >> (if (string-match "XEmacs" emacs-version) >> (load "~/.xemacs.customize.el") >> (load "~/.emacs.customize.el")) > > Looks like a good solution for me. > >> Each separate customize file will need to have a customization for >> custom-file in it: >> >> (custom-set-variables >> ;; custom-set-variables was added by Custom -- don't edit or cut/paste it! >> ;; Your init file should contain only one such instance. >> [...] >> '(custom-file "") >> [...] > > I think it's mildly offensive that the comment says "don't edit this". Yes -- I deliberately left that part in! :-) >> Presumably you don't want to keep your customizations in CVS, or do you? > > I'm using svn, the successor to cvs. It's great. > > To be honest, I have always tried to avoid customize entirely, since I > can get far with an apropos search, reading docs, and putting some > lisp in .emacs. So I don't know whether I'd want different > customizations on different machines. I already set things up > differently in .emacs based on host name. But I though you said in your original post that it was customize which was causing the problem. I don't know of anything else which attempts to write stuff directly into your .emacs, although I don't use GNUS. Best, Darren -- ====================================================================== D. D. Brierton darren@dzr-web.com www.dzr-web.com Trying is the first step towards failure (Homer Simpson) ======================================================================