unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Xiyue Deng <manphiz@gmail.com>
To: Michael Heerdegen via "Emacs development discussions."
	<emacs-devel@gnu.org>
Cc: Michael Heerdegen <michael_heerdegen@web.de>
Subject: Re: Question regarding load-path handling for ELPA packages
Date: Sun, 19 May 2024 00:29:29 -0700	[thread overview]
Message-ID: <87h6eu5kfa.fsf@debian-hx90.lan> (raw)
In-Reply-To: <87bk53cfo2.fsf@web.de> (Michael Heerdegen via's message of "Sat,  18 May 2024 17:18:05 +0200")

Hi Michael,

Michael Heerdegen via "Emacs development discussions."
<emacs-devel@gnu.org> writes:

> Xiyue Deng <manphiz@gmail.com> writes:
>
>> > An analog trick should allow to add subdirectories.
>>
>> Not sure about this as it may potentially break things (e.g. auctex).
>
> In case of AucTex I think you obviously should not do that.  But you
> asked.
>

Ack.

> What are the concrete questions left you want to answer?  How dh-elpa
> could be improved or fixed to not omit the byte compilation of
> subdirectories?

Actually I'd like to make dh-elpa handle `load-path' of its package
installation directory (by default it's
`/usr/share/emacs/site-lisp/elpa/foo') the same as how package.el
handles any ELPA package, a.k.a. only add the installation path to
`load-path' but not its subdirectories recursively.  Hopefully with your
pointer I can figure this out, which make take a while.  The byte
compilation of subdirectories is not really important as long as I can
make `load-path' sane, AIUI.

>
>
> Michael.
>
>

-- 
Xiyue Deng



  parent reply	other threads:[~2024-05-19  7:29 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-10  3:09 Question regarding load-path handling for ELPA packages Xiyue Deng
2024-05-17 16:30 ` Xiyue Deng
2024-05-17 17:33   ` Michael Heerdegen via Emacs development discussions.
2024-05-17 21:32     ` Xiyue Deng
2024-05-18 15:18       ` Michael Heerdegen via Emacs development discussions.
2024-05-18 21:04         ` Michael Heerdegen via Emacs development discussions.
2024-05-19  7:29         ` Xiyue Deng [this message]
2024-05-19 20:11           ` Michael Heerdegen via Emacs development discussions.
2024-05-20  6:06             ` Xiyue Deng
2024-05-22 15:53               ` Michael Heerdegen
2024-05-23  1:42                 ` Xiyue Deng
2024-05-26 13:55                   ` Michael Heerdegen
2024-05-27  5:30                     ` Xiyue Deng
2024-05-17 21:33   ` Michael Heerdegen via Emacs development discussions.

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=87h6eu5kfa.fsf@debian-hx90.lan \
    --to=manphiz@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=michael_heerdegen@web.de \
    /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 public inbox

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

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).