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
> 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"
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
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
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
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,
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
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.
-