From: Grimnir <valfather@hotmail.com>
Subject: Re: (setq load-path (cons (expand-file-name "~/.emacs.d/lisp") load-path))
Date: Thu, 19 Sep 2002 18:12:15 -0400 [thread overview]
Message-ID: <uokittv9hpe3@corp.supernews.com> (raw)
In-Reply-To: v98z1xokov.fsf@marauder.physik.uni-ulm.de
Reiner Steib wrote:
> On Thu, Sep 19 2002, Kevin Rodgers wrote:
>
>> Reiner Steib wrote:
>>
>>> On Thu, Sep 19 2002, valfather@hotmail.com wrote:
>>>> I added that to my .gnu-emacs but it doesn't seem to modify the
>>>> load-path variable.
>>> ".gnu-emacs"? I've seen this on SuSE Linux systems, but Emacs usually
>>> is looking for "~/.emacs". Are you sure, that ".gnu-emacs" is used?
>>
>> `C-h v user-init-file RET'
>
> It's clear, that there are billions of possibilities to load a file
> named ".gnu-emacs". ;-) But the OP mentioned that `load-path' wasn't
> modified, so it's suggesting to assume that the file was not loaded,
> as the lisp code is correct.
>
> FYI: What SuSE does (or at least did) is...
>
> ,----[ /etc/skel/.emacs ]
> | (if (string-match "XEmacs\\|Lucid" emacs-version)
> | (progn
> | XEmacs-stuff-here)
> | (progn
> | (if (file-readable-p "~/.gnu-emacs")
> | (load "~/.gnu-emacs" nil t)
> | Emacs-stuff-here)))
> `----
>
> (no, I wouldn't recommend this)
>
> Bye, Reiner.
This is exactly what happened on my box. I'm not sure why some things
weren't working with the .gnu-emacs file, but removing it from the mix
seems to have fixed a few problems.
The .gnu-emacs is not the end of the saga.The also do:
,----[ /etc/skel/.emacs ]
| ;; Custum Settings
| ;; ===============
| ;; To avoid any trouble with the customization system of GNU emacs
| ;; we set the default file ~/.gnu-emacs-custom
| (setq custom-file "~/.gnu-emacs-custom")
| (load "~/.gnu-emacs-custom" t t)
|;;;
|)
|;;;
`----
I have yet to test the
(setq load-path
(cons (expand-file-name "~/.emacs.d/lisp") load-path))"
with a clean .emacs.
I guess anybody who wants to have anything beyond the default setup in Emacs
he will have to learn a certain amount of Lisp, whether he wants to or not.
-- STH
next prev parent reply other threads:[~2002-09-19 22:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-18 23:35 (setq load-path (cons (expand-file-name "~/.emacs.d/lisp") load-path)) Grimnir
2002-09-19 15:59 ` Reiner Steib
2002-09-19 17:59 ` Kevin Rodgers
2002-09-19 19:15 ` Reiner Steib
2002-09-19 22:12 ` Grimnir [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-09-19 15:38 Bingham, Jay
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=uokittv9hpe3@corp.supernews.com \
--to=valfather@hotmail.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.