all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "D. D. Brierton" <darren@dzr-web.com>
Subject: Re: customize messing up .emacs symlink?
Date: Tue, 02 Mar 2004 15:36:15 +0000	[thread overview]
Message-ID: <pan.2004.03.02.15.36.15.78369@dzr-web.com> (raw)
In-Reply-To: 87u117cmlo.fsf@cs.uga.edu

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 "<thisfilename>")
>>   [...]
> 
> 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)
======================================================================

  reply	other threads:[~2004-03-02 15:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-02  2:00 customize messing up .emacs symlink? Ed L Cashin
2004-03-02  4:03 ` D. D. Brierton
2004-03-02 15:09   ` Ed L Cashin
2004-03-02 15:36     ` D. D. Brierton [this message]
2004-03-02 18:06       ` Ed L Cashin
2004-03-02 16:24     ` Floyd L. Davidson
2004-03-03  0:55       ` Ed L Cashin
2004-03-03  1:02         ` Jesper Harder
2004-03-02 18:52 ` Kevin Rodgers
2004-03-03  0:59   ` Ed L Cashin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=pan.2004.03.02.15.36.15.78369@dzr-web.com \
    --to=darren@dzr-web.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.