unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Easy configuration of a site-lisp directory
@ 2021-08-08 15:40 Philip Kaludercic
  2021-08-08 18:18 ` Stefan Monnier
                   ` (2 more replies)
  0 siblings, 3 replies; 89+ messages in thread
From: Philip Kaludercic @ 2021-08-08 15:40 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 119 bytes --]


Hi,

I have been using something along these lines for a while now, and
wanted to suggest adding this to Emacs/ELPA:


[-- Attachment #2: site-lisp.el --]
[-- Type: application/emacs-lisp, Size: 2891 bytes --]

[-- Attachment #3: Type: text/plain, Size: 656 bytes --]


The fundamental idea is to have an easy-to-use ~/.emacs.d/site-lisp/
directory where a user can clone any repository or create their own,
without having to manually add these to load-path, generate autoloads or
byte compile.

All my personal packages are managed this way without any issues that I
have noticed. My hope is that something like this would ease working on
and contributing to packages.

The above attachment is a stand-alone file, while my version is just a
blob at the beginning of my init.el. If there is any interest, it might
also be possible to add it to an existing file, but I was not sure where
it would fit in best.

-- 
	Philip K.

^ permalink raw reply	[flat|nested] 89+ messages in thread
* Re: Easy configuration of a site-lisp directory
@ 2021-08-12  2:44 No Wayman
  2021-08-12 12:41 ` dick
  0 siblings, 1 reply; 89+ messages in thread
From: No Wayman @ 2021-08-12  2:44 UTC (permalink / raw)
  To: dick.r.chiang; +Cc: emacs-devel


>One particularly unsightly side effect of this is 50 lines of 
>gnarly
>elisp to get around org-mode's needing a preliminary call to 
>`make`.

Could you point me to the 50 lines you're referring to and perhaps 
give a few words on what you feel is particularly 'gnarly' about 
them?
(Feel free to open an issue on our repository or drop the 
In-Reply-To if you feel like this is getting too far off topic)
I'm open to criticism, but I'm not exactly sure what you're 
critiquing here.
The org-mode recipe we provide uses elisp to execute some 
pre-build steps that are necessary to generate org-vesrion.el.
We chose to use elisp rather than rely on Org's provided makefile 
because we received complaints from Windows users who were missing
make on their systems. 
However, this elisp is very similar (almost identical) to the code 
Org uses itself in its makefile to do the same.

Or perhaps you're referring to the need for such "pre-build" 
machinery in the first place?
In that case, I would ask how el-paso deals with packages which 
require build steps (whether running make or some other arbitrary 
steps) prior to being compiled/generating autoloads?
For example, how does el-paso build Org, mu4e, or magit correctly 
and directly from source?
I believe last time I asked the answer was "it doesn't", but I'm 
curious if that has changed at all or if you plan to address that 
in a future version of el-paso.

>It's also impossible to take seriously a README that is 23,000 
>words, but what do I know?

I agree with you that the README should be shortened.
I have been working on that when I can, but other issues take 
priority over that right now.
For what it's worth, many users compliment us on the thoroughness 
and length of the README.
Probably just a matter of taste.

I'll have to dedicate some time to reviewing el-paso.
I'm sure I'll learn something.

Thanks,

Nick (co-maintainer of straight.el)









^ permalink raw reply	[flat|nested] 89+ messages in thread

end of thread, other threads:[~2021-08-26 21:40 UTC | newest]

Thread overview: 89+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-08 15:40 Easy configuration of a site-lisp directory Philip Kaludercic
2021-08-08 18:18 ` Stefan Monnier
2021-08-08 18:53   ` Philip Kaludercic
2021-08-08 20:03     ` Stefan Monnier
2021-08-08 22:43   ` dick
2021-08-08 23:16     ` Stefan Monnier
2021-08-09  0:43       ` dick
2021-08-09  3:13         ` Clément Pit-Claudel
2021-08-09 16:59           ` Eli Zaretskii
2021-08-09 18:33             ` Clément Pit-Claudel
2021-08-09 18:49               ` dick
2021-08-09 22:11                 ` Clément Pit-Claudel
2021-08-10  8:24                   ` Arthur Miller
2021-08-10  8:31                 ` Arthur Miller
2021-08-09 18:52               ` Eli Zaretskii
2021-08-09 22:14                 ` Clément Pit-Claudel
2021-08-10 11:55                   ` Eli Zaretskii
2021-08-10  8:10               ` Arthur Miller
2021-08-10 12:06                 ` Eli Zaretskii
2021-08-10 13:43                   ` Yuri Khan
2021-08-10 14:01                     ` Eli Zaretskii
2021-08-10 15:10                       ` Yuri Khan
2021-08-10 15:39                         ` dick
2021-08-10 15:49                           ` Stefan Monnier
2021-08-10 17:31                           ` Arthur Miller
2021-08-10 15:44                         ` Eli Zaretskii
2021-08-10 17:25                           ` Clément Pit-Claudel
2021-08-10 17:50                             ` Eli Zaretskii
2021-08-10 18:06                               ` Clément Pit-Claudel
2021-08-10 18:23                                 ` Eli Zaretskii
2021-08-10 20:51                                 ` Stefan Monnier
2021-08-11  2:23                                   ` Eli Zaretskii
2021-08-11  5:31                                     ` Stefan Monnier
2021-08-11 13:42                                     ` Basil L. Contovounesios
2021-08-11 16:34                                       ` Eli Zaretskii
2021-08-11 18:21                                         ` Basil L. Contovounesios
2021-08-12  5:48                                           ` Eli Zaretskii
2021-08-10 17:35                         ` Clément Pit-Claudel
2021-08-10 17:24                     ` Arthur Miller
2021-08-10 17:22                   ` Arthur Miller
2021-08-10 17:45                     ` Eli Zaretskii
2021-08-09  6:52     ` Arthur Miller
2021-08-09 11:50       ` dick
2021-08-09 15:27         ` Arthur Miller
2021-08-19  9:25 ` Philip Kaludercic
2021-08-19 20:24   ` Arthur Miller
2021-08-19 21:43     ` Arthur Miller
2021-08-19 21:47       ` Arthur Miller
2021-08-19 21:59         ` Philip Kaludercic
2021-08-20  0:21           ` Arthur Miller
2021-08-20 21:36             ` Arthur Miller
2021-08-21  1:56               ` Stefan Monnier
2021-08-21  2:46                 ` Arthur Miller
2021-08-21  3:12                   ` Arthur Miller
2021-08-21  6:39                     ` Eli Zaretskii
2021-08-21  6:48                       ` tomas
2021-08-21  7:00                         ` Eli Zaretskii
2021-08-21  7:19                           ` symlinks and W32 [was: Easy configuration of a site-lisp directory] tomas
2021-08-21 14:15                             ` Arthur Miller
2021-08-21 14:20                               ` Eli Zaretskii
2021-08-21 19:12                                 ` Arthur Miller
2021-08-21 14:34                       ` Easy configuration of a site-lisp directory Arthur Miller
2021-08-21 14:42                         ` Eli Zaretskii
2021-08-21 19:10                           ` Arthur Miller
2021-08-21 19:18                             ` Eli Zaretskii
2021-08-21 20:25                               ` Arthur Miller
2021-08-22  6:03                                 ` Eli Zaretskii
2021-08-25 10:47     ` Philip Kaludercic
2021-08-25 22:13       ` Arthur Miller
2021-08-26  9:42         ` Philip Kaludercic
2021-08-26 15:58           ` Arthur Miller
2021-08-20 10:23   ` Augusto Stoffel
2021-08-20 12:47     ` Arthur Miller
2021-08-23  9:14 ` Max Brieiev
2021-08-24 21:35   ` Stefan Monnier
2021-08-25 11:13     ` Philip Kaludercic
2021-08-25 14:37       ` Stefan Monnier
2021-08-25 14:55         ` Philip Kaludercic
2021-08-25 17:27           ` Stefan Monnier
2021-08-26  0:16             ` Arthur Miller
2021-08-26  4:10               ` Stefan Monnier
2021-08-26 15:38                 ` Arthur Miller
2021-08-26 18:03                   ` Stefan Monnier
2021-08-26 21:40                     ` Arthur Miller
2021-08-25 22:29           ` Arthur Miller
  -- strict thread matches above, loose matches on Subject: below --
2021-08-12  2:44 No Wayman
2021-08-12 12:41 ` dick
2021-08-12 14:48   ` No Wayman
2021-08-12 16:24     ` dick

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