[O] Release 9.0
Hi all, Org 9.0 is out! See the release notes here: http://orgmode.org/Changes.html Thanks to Nicolas, the non-official but real maintainer and to all who contributed to this long-awaited release. As usual, enjoy! -- Bastien
Re: [O] Org 9.0 out?
Hi Kaushal, Kaushal Modi writes: > I just noticed that org 9.0 got released yesterday. I am surprised > that there was no announcement email. my bad -- I sent the announcement using my non-gnu email address, so gmane asked me to confirm while I was alseep. > Thanks to everyone who contributed to this most awesome org mode > release! Indeed, *thanks* to everyone! -- Bastien
[O] [PATCH] typo fix in ob-core.el
I noticed this typo while I was reading the docs, so I post the fix here. --- a/lisp/ob-core.el +++ b/lisp/ob-core.el @@ -207,7 +207,7 @@ (defun org-babel--get-vars (params) "Return the babel variable assignments in PARAMS. -PARAMS is a quasi-alist of header args, whcih may contain +PARAMS is a quasi-alist of header args, which may contain multiple entries for the key `:var'. This function returns a list of the cdr of all the `:var' entries." (mapcar #'cdr
[O] Orgmode for managing OS configuration
Dear all, I would like to clean up my Linux setup to be easily replicable. I am considering keeping everything in one org file, and then tangling files (e.g. exec scripts, systemd service unit files) and executing bash snippets (e.g. for installing packages and sed'ing config files). Then one would need just emacs and git (or rsync) to start with. Does anybody have experience with this? Is the experience positive or negative? Also, should I just run emacs as root? Or using somehow sudo non interactively for babel blocks execution? Thanks, Giacomo M
Re: [O] [PATCH] typo fix in ob-core.el
Hello, Zhaocong Jia writes: > I noticed this typo while I was reading the docs, > so I post the fix here. Fixed. Thank you. Regards, -- Nicolas Goaziou
Re: [O] Orgmode for managing OS configuration
Giacomo M writes: > Dear all, > I would like to clean up my Linux setup to be easily replicable. I am > considering keeping everything in one org file, and then tangling > files (e.g. exec scripts, systemd service unit files) and executing > bash snippets (e.g. for installing packages and sed'ing config files). > Then one would need just emacs and git (or rsync) to start with. > > Does anybody have experience with this? Is the experience positive or > negative? > > Also, should I just run emacs as root? Or using somehow sudo non > interactively for babel blocks execution? > > Thanks, > > Giacomo M Do you know about nixos and guixsd? Sounds like you want to implement here something similar, except less good cause this distributions have also atomic updates and features like testing a configuration and rollback features and some sort of conflict management, also it can switch "profiles" without reboots and stuff like that.
[O] Bug: Archive to Datetree [8.3.6 (8.3.6-6-g194e51-elpa @ .emacs.d/elp
Thank you Nicolas for fixing it so quickly! Unfortunately now that I can test it I see a problem with the fix: When archiving an "ordinary" entry with 'n' empty lines after it there will be zero empty lines after it (or before it) in the Datetree. However, those archived in the order described by my bug report gets n + 1 empty lines after them.
Re: [O] Orgmode for managing OS configuration
Dear Stefan, thanks for the hints, I wasn't aware of these projects. While they sound appealing, I would like to stick to my current distribution (archlinux), for a variety of reasons (e.g. Im updating my raspberry which seems more supported by arch than nixos, I'm more familiar with it, I like the vanilla approach and wiki). Anyway, I'll look more into these options. Still, having one or few org files documenting AND implementing my setup, apart from being easy potential blog posts, I think would help me keeping things under control (especially over years-long time horizons). It is working well for my emacs conf (before my .emacs was a mess), but not sure if it's the same scaling up to OS (e.g. chmod when tangling, root user privileges when executing, or other things I'm not aware of). Il 03 Nov 2016 2:55 PM, "Stefan Huchler" ha scritto: > Giacomo M writes: > > > Dear all, > > I would like to clean up my Linux setup to be easily replicable. I am > > considering keeping everything in one org file, and then tangling > > files (e.g. exec scripts, systemd service unit files) and executing > > bash snippets (e.g. for installing packages and sed'ing config files). > > Then one would need just emacs and git (or rsync) to start with. > > > > Does anybody have experience with this? Is the experience positive or > > negative? > > > > Also, should I just run emacs as root? Or using somehow sudo non > > interactively for babel blocks execution? > > > > Thanks, > > > > Giacomo M > > Do you know about nixos and guixsd? Sounds like you want to implement > here something similar, except less good cause this distributions have > also atomic updates and features like testing a configuration and > rollback features and some sort of conflict management, also it can > switch "profiles" without reboots and stuff like that. > > >
Re: [O] Orgmode for managing OS configuration
you can have a look at here https://propellor.branchable.com/ It should be possible to use emacs to edit the config.hs file. Now you need to extend it for arch . Cheers Frederic
[O] [Ann] org-ephermal-section-numbers
Hi! https://github.com/marcowahl/org-ephermal-section-numbers is a little tool to display the section numbers for a (not too crazy structured) Org file. Possibly someone finds this useful. Ciao, -- Marco
Re: [O] [Ann] org-ephermal-section-numbers
This sounds cool. Can you please add screenshots to the package README? On Thu, Nov 3, 2016 at 11:31 AM Marco Wahl wrote: > Hi! > > https://github.com/marcowahl/org-ephermal-section-numbers > > is a little tool to display the section numbers for a (not too crazy > structured) Org file. > > Possibly someone finds this useful. > > > Ciao, > -- > Marco > > > -- Kaushal Modi
Re: [O] Orgmode for managing OS configuration
On 3 November 2016, Giacomo M wrote: I would like to clean up my Linux setup to be easily replicable. I am considering keeping everything in one org file, and then tangling files (e.g. exec scripts, systemd service unit files) and executing bash snippets (e.g. for installing packages and sed'ing config files). Then one would need just emacs and git (or rsync) to start with. I'm doing this in a small way with Conforguration: https://github.com/wdenton/conforguration It's just personal files right now, nothing in /etc/ or up there, but it might be useful. I'll be configuring a new (Ubuntu) machine or two soon so I'll be adding to it with packages and some system configuration information. Bill -- William Denton :: Toronto, Canada :: https://www.miskatonic.org/ Caveat lector.
Re: [O] Release 9.0
On 2 November 2016, Bastien Guerry wrote: Org 9.0 is out! Wonderful news, and I give my sincere thanks to everyone who helped. Org is a great system. I use it every day and am very happy it exists. Bill -- William Denton :: Toronto, Canada :: https://www.miskatonic.org/ Caveat lector.
Re: [O] [Ann] org-ephermal-section-numbers
On Thursday, 3 Nov 2016 at 15:29, Marco Wahl wrote: > Hi! > > https://github.com/marcowahl/org-ephermal-section-numbers > > is a little tool to display the section numbers for a (not too crazy > structured) Org file. > > Possibly someone finds this useful. Interesting. Works well although not very pretty with visual-line-mode and org-indent. More importantly, it doesn't update numbering when a new headline is added as far as I can tell. -- : Eric S Fraga (0xFFFCF67D), Emacs 26.0.50.1, Org release_8.3.6-1272-gc61ee8
Re: [O] [Ann] org-ephermal-section-numbers
Eric S Fraga writes: > On Thursday, 3 Nov 2016 at 15:29, Marco Wahl wrote: >> Hi! >> >> https://github.com/marcowahl/org-ephermal-section-numbers >> >> is a little tool to display the section numbers for a (not too crazy >> structured) Org file. >> >> Possibly someone finds this useful. > > Interesting. Works well although not very pretty with > visual-line-mode and org-indent. Thanks for the hint. No testing has been done with these modes yet. > More importantly, it doesn't update numbering when a > new headline is added as far as I can tell. Indeed there is no automatic update of the numbering. The use case I had in mind was to turn on the numbering for short timespans only. Just to see the numbers to get a slightly different view at the Org buffer. Best regards, -- Marco
Re: [O] Orgmode for managing OS configuration
On Thu, Nov 3, 2016 at 6:44 AM, Giacomo M wrote: > > Does anybody have experience with this? Yes. Here is my top level provisioning document at the correct headline: https://github.com/grettke/osx-provision/blob/master/El-Capitan/provisioning.md#provisioning And here are all of the tangled files: https://github.com/grettke/osx-provision/tree/master/El-Capitan The scripts are all in Bash for the computer and Org-Mode for the human (there are manual steps required). This is for OS X and the concepts all apply to Linux. > > Is the experience positive or negative? Positive. It makes it easy to break up your provisioning into separate scripts. My scripts are supposed to be idempotent so it is easy to play around and try new stuff. The Org document makes it easy to make sense of everything.
Re: [O] Release 9.0
Hear, hear! Thank you maintainers. Sincerely, Grant Rettke On Wed, Nov 2, 2016 at 12:34 PM, Bastien Guerry wrote: > Hi all, > > Org 9.0 is out! See the release notes here: > > http://orgmode.org/Changes.html > > Thanks to Nicolas, the non-official but real maintainer > and to all who contributed to this long-awaited release. > > As usual, enjoy! > > -- > Bastien > >
[O] v9.0 running babel blocks
Hi, I updated to org 9.0 today via elpa. Org mode version 9.0 (9.0-elpaplus @ /Users/jkitchin/vc/jkitchin-github/scimax/elpa/org-plus-contrib-20161102/) I get this message on trying to run an elisp block. Evaluation of this emacs-lisp code-blockis disabled. There are two issues: 1. there is a missing space between block and is (and maybe code-block should not be hyphenated) in org-babel-check-evaluate 2. It used to work! If I run (org-babel-check-confirm-evaluate (org-babel-get-src-block-info)) in the code block, it returns t I am not sure what is causing it. Thoughts? -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu
Re: [O] Release 9.0
Thanks to all the contributers. I absolutely live in Org-mode. Bastien Guerry writes: > Hi all, > > Org 9.0 is out! See the release notes here: > > http://orgmode.org/Changes.html > > Thanks to Nicolas, the non-official but real maintainer > and to all who contributed to this long-awaited release. > > As usual, enjoy! -- Jay Dresser
Re: [O] Orgmode for managing OS configuration
On Thu, Nov 3, 2016 at 9:22 AM, Giacomo M wrote: > Dear Stefan, > > thanks for the hints, I wasn't aware of these projects. While they sound > appealing, I would like to stick to my current distribution (archlinux), for > a variety of reasons (e.g. Im updating my raspberry which seems more > supported by arch than nixos, I'm more familiar with it, I like the vanilla > approach and wiki). Anyway, I'll look more into these options. Made me chuckle. I'm on Arch and have been for years after trying a bunch of others. It's hard to explain but you just find a distro that works and you like it... and it's hard to imagine going elsewhere! We had the same thought when accomplishing this through another distro was suggested (even if those other distros are amazing). I'd love to hear where you get with this, and the idea is quite intriguing. It's pretty rare I wipe and re-install, but I do like to keep configuration files backed up so I don't have to re-figure-out everything between my last install and the next. I have a cron job that grabs config files of interest and stores them in one folder; periodically I push to git. That's as far as I got and generally on a new system I just pull them in one by one as I remember that I need them. Packages can cause this issue... after a year or two on a system, there's packages that say they were explicitly installed, but I don't recall why. Some way to track the evolution of a system along with notes/links of where you found some fix or solution would be really cool (and well suited to Org!). I'd like to see/hear about what you end up with! John > > Still, having one or few org files documenting AND implementing my setup, > apart from being easy potential blog posts, I think would help me keeping > things under control (especially over years-long time horizons). It is > working well for my emacs conf (before my .emacs was a mess), but not sure > if it's the same scaling up to OS (e.g. chmod when tangling, root user > privileges when executing, or other things I'm not aware of). > > > Il 03 Nov 2016 2:55 PM, "Stefan Huchler" ha > scritto: >> >> Giacomo M writes: >> >> > Dear all, >> > I would like to clean up my Linux setup to be easily replicable. I am >> > considering keeping everything in one org file, and then tangling >> > files (e.g. exec scripts, systemd service unit files) and executing >> > bash snippets (e.g. for installing packages and sed'ing config files). >> > Then one would need just emacs and git (or rsync) to start with. >> > >> > Does anybody have experience with this? Is the experience positive or >> > negative? >> > >> > Also, should I just run emacs as root? Or using somehow sudo non >> > interactively for babel blocks execution? >> > >> > Thanks, >> > >> > Giacomo M >> >> Do you know about nixos and guixsd? Sounds like you want to implement >> here something similar, except less good cause this distributions have >> also atomic updates and features like testing a configuration and >> rollback features and some sort of conflict management, also it can >> switch "profiles" without reboots and stuff like that. >> >> >
Re: [O] v9.0 running babel blocks
> I get this message on trying to run an elisp block. > > Evaluation of this emacs-lisp code-blockis disabled. > > > There are two issues: > 1. there is a missing space between block and is (and maybe code-block > should not be hyphenated) in org-babel-check-evaluate > 2. It used to work! If I run (org-babel-check-confirm-evaluate > (org-babel-get-src-block-info)) in the code block, it returns t > > > I am not sure what is causing it. Thoughts? I'm having exactly the same issue after upgrading to 9.0. In my case, the source code block has a name, and it says "Evaluation of this shell code-block (name) is disabled", so I guess the missing space issue happens when the code block does not have name. Best, Joon
Re: [O] Bug: Archive to Datetree [8.3.6 (8.3.6-6-g194e51-elpa @ .emacs.d/elp
Hello, Klarre N writes: > When archiving an "ordinary" entry with 'n' empty lines after it there will > be zero empty lines after it (or before it) in the Datetree. However, those > archived in the order described by my bug report gets n + 1 empty lines > after them. Could you provide an ECM? Thank you. Regards, -- Nicolas Goaziou
Re: [O] v9.0 running babel blocks
huh.. it seems to have disappeared. I deleted the orgplus directory in my elpa directory and reinstalled it, and it seemed to go away. weird. Joon Ro writes: >> I get this message on trying to run an elisp block. >> >> Evaluation of this emacs-lisp code-blockis disabled. >> >> >> There are two issues: >> 1. there is a missing space between block and is (and maybe code-block >> should not be hyphenated) in org-babel-check-evaluate >> 2. It used to work! If I run (org-babel-check-confirm-evaluate >> (org-babel-get-src-block-info)) in the code block, it returns t >> >> >> I am not sure what is causing it. Thoughts? > > I'm having exactly the same issue after upgrading to 9.0. > > > In my case, the source code block has a name, and it says "Evaluation of this > shell code-block (name) is disabled", so I guess the missing space issue > happens when the code block does not have name. > > > Best, > > Joon -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu
Re: [O] v9.0 running babel blocks
> From: John Kitchin on behalf of John Kitchin > > > huh.. it seems to have disappeared. I deleted the orgplus directory in > my elpa directory and reinstalled it, and it seemed to go away. > > weird. I can confirm that this worked for me as well - I removed both org and org-plus-contrib in my elpa directory just in case and reinstalled them, and now the code evaluation works. Thank you very much! -Joon
[O] pdflatex fails to write .log file when exporting a subtree with EXPORT_FILE_NAME containing a subdirectory
Hi, After upgrading to org-mode 9.0, I'm getting the same error described here: https://lists.gnu.org/archive/html/emacs-orgmode/2013-05/msg01312.html. Basically LaTeX export stops with an error - pdflatex complains that it cannot write .log file, when I export a subtree with EXPORT_FILE_NAME containing a subdirectory. Best, Joon