-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set more org-* vars to make eless-build work for other people #14
Comments
org-
\* vars to make eless-build
work for other people
@alphapapa Would you like to update to the latest on master and try building using this updated guide? At the end of it, at least for |
Well, I looked at these updated instructions:
If I may be completely honest, I feel like that's overkill for what's essentially a single-file project like this. It's very cool, in a way, how you have integrated everything so that it builds from an single Org source file; this could be a very interesting example of what's possible with Org Babel. But to ask a new contributor to go through all that just to submit a PR seems like too much, especially when it comes to installing extra copies of dependencies in a separate directory just to build this project. And, just FYI, while I appreciate the convenience that dir- and file-local variables provide, I just experienced how irritating they can be while trying to pull the latest changes with Magit. After nearly every keypress I was interrupted by another prompt to apply local variables, not even knowing what the source of those variables was (I guess it was dir-local variables in the wiki subrepo? I'm still not sure), and I did not want to stop at that moment to read through them and mark them for permanent application. Arguably, a potential contributor shouldn't have to deal with applying local variables, and especially shouldn't have to go to the trouble to mentally parse all of them and decide whether to mark them permanently safe in his own config. I know that I, for one, don't want to pollute my local config with marking as safe local variables for projects I only touch occasionally. Have you considered setting up a Makefile that does all of those steps? Maybe look at the MELPA Makefile for examples. It seems like most, if not all, of that could be automated. I hope I don't sound too critical here; I really appreciate Thanks. |
I know :) That's very understandable. If I put myself in someone else's shoes, I wouldn't want to pollute my Customize-set variables from all the different projects I touch. It's just that it's my first time using Org Babel to this serious level and it got too addictive.
That's because I chose to build the HTML documentation too. Thinking about that, no one will read that in entirely as the same stuff is exported to Wikis too. I will require Going further, a future contributor only has to provide a PR for the .org file, and not for the script and docs. That should reduce the load on them. The only requirement for them then would be to have org installed from (M)Elpa.
My intention to put things in I can simply wrap the settings from This whole experiment is making me think of what could be the best flow for collaborating on an Org-based project like this.. As you see, the flow is not yet solidified and will keep on changing for some more time.
The
That org source wasn't intended for the first time contributors to read.. this was.. The
Agree.
I'll have a look. It is automated at the moment but
Nope, I like it. This flow does need improvement.
Thanks!
We are all here to learn. I am still learning how to make this flow fit for all :) |
Cool, yeah, again I'm quite impressed with how much you've done with Babel. I wonder if the things you learn could be rolled into some kind of best-practices how-to for this sort of thing. BTW, one other issue you might want to consider: I had to fix indentation in source blocks manually, because some Of course, the only way I know of to fix this would be to either a) not allow I hope that when things settle down a bit and you arrive at some conclusions, you'll have time to write some blog articles teaching us what you've learned. :) |
I see the issue. I should make those blocks as
or.. just auto-indent the whole Also I was almost going to add this to ;; Do not add the default indentation of 2 spaces when exiting the *Org Src*
;; buffer (the buffer you get when you do «C-c '» while in a block like
;; #+BEGIN_SRC
(setq org-edit-src-content-indentation 0)
I fear I'll forget everything.. and that's why the emphasis on documentation. Thanks for your detailed feedback. |
I didn't know that was possible! Very cool.
Also a good idea, similar to
That sounds like a very good idea. I have that set to
I understand what you mean! Just yesterday I was looking at some code in one of my Emacs packages, and it had been so long that I forgot I had even written some of those functions, and it was like looking at someone else's code. I sure am thankful for docstrings. :) Well, at some point someone needs to point out |
This issue will auto-resolve once #16 is done. |
Step 1 probably would be to make
M-x eless-build
workable fromemacs -Q
.The text was updated successfully, but these errors were encountered: