From: Emanuel Berg via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: require (was: Re: Hooks in minor modes)
Date: Tue, 04 May 2021 08:02:50 +0200 [thread overview]
Message-ID: <87h7jjkpdh.fsf@zoho.eu> (raw)
In-Reply-To: CAP_d_8XZfPhw2w__faJOnAe-u7inQR4chVYxShpzBCMwa0NX6A@mail.gmail.com
Yuri Khan wrote:
>> The objective is to make sure when you `require' B from A,
>> as long as they are in the same directory, A will find B,
>> because A will first look in its own directory.
>
> It does not work that way. Relative directory names in
> load-path are not resolved against the ‘require’ing file.
Well, when I remove it from the Makefile it doesn't compile...
"Cannot open load file: ..."
But when I include it it _does_ work...
https://dataswamp.org/~incal/terror-3/Makefile
--
underground experts united
https://dataswamp.org/~incal
next prev parent reply other threads:[~2021-05-04 6:02 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-29 23:33 Hooks in minor modes steve-humphreys
2021-04-29 23:43 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-04-30 3:31 ` Stefan Monnier
2021-04-30 4:12 ` steve-humphreys
2021-04-30 4:33 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-04-30 4:43 ` require (was: Re: Hooks in minor modes) Emanuel Berg via Users list for the GNU Emacs text editor
2021-04-30 5:03 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-04-30 5:44 ` Jean Louis
2021-04-30 21:53 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-04-30 23:16 ` Jean Louis
2021-05-01 0:26 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-01 5:49 ` Jean Louis
2021-05-01 6:09 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-01 9:23 ` Jean Louis
2021-05-04 2:29 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-04 5:40 ` Yuri Khan
2021-05-04 6:02 ` Emanuel Berg via Users list for the GNU Emacs text editor [this message]
2021-04-30 17:27 ` FW: [External] : " Drew Adams
2021-04-30 22:17 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-01 0:36 ` FW: " Drew Adams
2021-05-01 0:51 ` Drew Adams
2021-05-01 0:49 ` FW: " Drew Adams
2021-05-01 0:53 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-04-30 5:17 ` Hooks in minor modes Stefan Monnier
2021-04-30 5:32 ` Emanuel Berg via Users list for the GNU Emacs text editor
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=87h7jjkpdh.fsf@zoho.eu \
--to=help-gnu-emacs@gnu.org \
--cc=moasenwood@zoho.eu \
/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.