unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Martin Magnusson <loveslave@frustratedhousewives.zzn.com>
To: help-gnu-emacs@gnu.org
Subject: insert-file-contents doesn't obey load-path?
Date: Thu, 2 Oct 2008 21:58:42 -0700 (PDT)	[thread overview]
Message-ID: <6af48015-085f-4b3d-ae91-355711225d12@m3g2000hsc.googlegroups.com> (raw)

I'm trying to clean up my .emacs setup, with different files for the
settings that are common among the hosts I work on and the settings
local to each machine. But I've run into trouble with dmacro-load and
file paths.

In my local .emacs, I have:

(setq load-path (append (list "~/.common/emacs/") load-path))
(load "~/.common/emacs/.emacs"))

And in .common/emacs/.emacs, I do:

(load "dmacro")
(dmacro-load "c.dm")

But then emacs complains about not being able to find the file c.dm
(which is in .common/emacs/). dmacro-load uses insert-file-contents to
load macro files. Shouldn't that function make use of the load-path?
If not, how can I make it find my dmacro files?


             reply	other threads:[~2008-10-03  4:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-03  4:58 Martin Magnusson [this message]
2008-10-03 14:48 ` insert-file-contents doesn't obey load-path? Paul R

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=6af48015-085f-4b3d-ae91-355711225d12@m3g2000hsc.googlegroups.com \
    --to=loveslave@frustratedhousewives.zzn.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).