Skip to main content
13 events
when toggle format what by license comment
Oct 6, 2020 at 14:06 vote accept reyman64
Oct 5, 2020 at 22:15 history edited Tyler
edited tags
Oct 5, 2020 at 22:14 answer added Tyler timeline score: 2
Oct 5, 2020 at 10:06 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Jun 7, 2020 at 13:57 comment added Melioratus Thanks for asking your question! As @mankoff mentioned recoding those blocks will be very helpful. In addition, most org-mode SRC headers & properties will accept elisp code to dynamically set values at run time to change paths, turn on or off features, auto kill sessions, prompt for user input, etc. There are many excellent answers on emacs sx about these issues & your question provides an opportunity to pull these separate answers into a comprehensive answer for others.
Jun 7, 2020 at 9:03 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Feb 8, 2020 at 9:03 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Jan 9, 2020 at 20:49 comment added mankoff We already address cd mproject/: use absolute paths. For the git command, you could: [[ -d myproject ]] || git clone.... But your issues now aren't about Org Mode or Org Babel anymore. These are just generic coding issues about how to write code that behaves properly if it is run multiple times. You'll have these same issues regardless of Org.
Jan 9, 2020 at 18:52 comment added reyman64 By unstable state, i mean, if you rerun interactivly previously runned command (git clone myproject or cd myproject/ for example), weird things happen.
Jan 9, 2020 at 16:52 comment added mankoff You say, "you cannot use interactive evaluation without creating an unstable state in your shell session" but it isn't clear to me why this is the case. What is unstable?
Jan 9, 2020 at 8:56 history edited reyman64 CC BY-SA 4.0
added 1056 characters in body
Jan 8, 2020 at 23:02 answer added mankoff timeline score: 1
Jan 8, 2020 at 21:33 history asked reyman64 CC BY-SA 4.0