Re: file-mode source code block header argument

2020-07-31 Thread Kyle Meyer
John Herrlin writes: > I am looking for a way to set permission on a file created from source > code block result when :file header argument is used. I was looking for > something like :tangle-mode but could not find anything. I wrote a patch > that does just that and it works for my small use cas

Re: Bug: [patch] Fix org-babel-result-to-file never expanding links when babel is evaluated in indirect buffer [9.3.7 (release_9.3.7-728-g1efc4e @ /home/yantar92/.emacs.d/straight/build/org/)]

2020-07-31 Thread Ihor Radchenko
> In my case the result is a relative link, but if I follow the link I end > up in the wrong place. Do you mean that the generated script.sh ends up in your home dir? It is expected since default-directory in your buffer is "~/": > (dired "~/") > (make-indirect-buffer "tmp.org" "tmp-indirect"

Re: Bug: org-toggle-item removes tags from next heading [9.3.7 (release_9.3.7-696-g82b496 @ mixed installation! /home/n/.emacs.d/straight/build/org/ and /home/n/.emacs.d/straight/build/org/eln-x86_64-

2020-07-31 Thread No Wayman
I've attached a patch which removes the call to skip-blanks if there is no active region. This works for me with the ECM I've provided. Not sure if it will have any adverse repercussions outside of that. >From ada4f2a55b7a701aac02d4fc167be4b46e72f2c9 Mon Sep 17 00:00:00 2001 From: Nicholas V

Bug: org-toggle-item removes tags from next heading [9.3.7 (release_9.3.7-696-g82b496 @ mixed installation! /home/n/.emacs.d/straight/build/org/ and /home/n/.emacs.d/straight/build/org/eln-x86_64-pc-l

2020-07-31 Thread No Wayman
If `org-toggle-item' is called between the text of an entry and the next heading, it removes the tags from the next heading. ECM: With the following Org markup in a buffer and point denoted by "|": #+begin_example ,* First Some text | ,** Second :tag: #+end_example invoking `org-toggle

Re: [Patch] Document org-capture-templates entry type default strings

2020-07-31 Thread No Wayman
Nicolas Goaziou writes: Could you send it again with a commit message more in line with our habits (variable modified, etc), and two spaces at the end of sentences? Sorry for the delay. I've reformatted the patch. >From cf52a18e4f2ca3c5138975c790fb6baec08d5c87 Mon Sep 17 00:00:00 2001 From

Re: infinite recursion org-update-id-locations / org-entry-properties / org-entry-blocked-p / org-edna / org-id-find / org-id-update-locations

2020-07-31 Thread Justin Vallon
I just tried using straight for org, and master (a1e5bee5c) has a rewritten org-update-id-locations that uses regexps to find the IDs. It appears to have fixed the problem (for cases that I tried). -Justin On 7/30/20 4:21 PM, Justin Vallon wrote: > I copy by org files between 2 machines. Thus,

Re: Bug: [patch] Fix org-babel-result-to-file never expanding links when babel is evaluated in indirect buffer [9.3.7 (release_9.3.7-728-g1efc4e @ /home/yantar92/.emacs.d/straight/build/org/)]

2020-07-31 Thread John Herrlin
Hey Ihor, Could not get the patch to work. I used this use case. (with-current-buffer (find-file "/tmp/tmp.org") (insert "* A\n** b\n** c\n\n some text") (dired "~/") (make-indirect-buffer "tmp.org" "tmp-indirect") (switch-to-buffer "tmp-indirect") (goto-char (point-max)) (func

Bug: [patch] Fix org-babel-result-to-file never expanding links when babel is evaluated in indirect buffer [9.3.7 (release_9.3.7-728-g1efc4e @ /home/yantar92/.emacs.d/straight/build/org/)]

2020-07-31 Thread Ihor Radchenko
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list. -