From: Eli Zaretskii <eliz@gnu.org>
To: npostavs@users.sourceforge.net
Cc: 17848@debbugs.gnu.org
Subject: bug#17848: #17848 add suffix search to -l even when directory part in argument (WAS: Re: bug#16406: load prefers directories...)
Date: Mon, 05 Sep 2016 18:07:39 +0300 [thread overview]
Message-ID: <838tv6crlw.fsf@gnu.org> (raw)
In-Reply-To: <8760qb9v5v.fsf_-_@users.sourceforge.net> (npostavs@users.sourceforge.net)
> From: npostavs@users.sourceforge.net
> Cc: 17848@debbugs.gnu.org, rgm@gnu.org
> Date: Sun, 04 Sep 2016 18:06:52 -0400
>
> So now in the context of *this* bug, I think `locate-file' is needed.
> The current directory needs to be searched for suffixed versions, but we
> can't let `load' do that without adding "." to `load-path'.
I'm not sure. Wouldn't adding the leading directory to load-path in a
let-binding be a cleaner solution? IOW, I don't understand the reason
for the "Take file from default dir if it exists there" logic in the
first place -- what are we gaining there?
Thanks.
next prev parent reply other threads:[~2016-09-05 15:07 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-10 5:23 bug#16406: load prefers directories rather than searching load-path Glenn Morris
2014-01-10 14:46 ` Stefan Monnier
2016-08-21 16:35 ` npostavs
2016-09-03 16:43 ` npostavs
2016-09-03 17:32 ` Eli Zaretskii
2016-09-03 18:43 ` npostavs
2016-09-03 19:00 ` Eli Zaretskii
2016-09-03 19:12 ` npostavs
2016-09-03 19:27 ` Eli Zaretskii
2016-09-07 23:27 ` npostavs
2016-09-04 22:06 ` bug#17848: #17848 add suffix search to -l even when directory part in argument (WAS: Re: bug#16406: load prefers directories...) npostavs
2016-09-05 15:07 ` Eli Zaretskii [this message]
2016-09-05 22:59 ` bug#17848: #17848 add suffix search to -l even when directory part in argument npostavs
2016-09-06 15:05 ` Eli Zaretskii
2016-09-08 0:06 ` npostavs
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=838tv6crlw.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=17848@debbugs.gnu.org \
--cc=npostavs@users.sourceforge.net \
/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.