emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-detangle seems broken
@ 2018-06-01 17:27 Frederick Giasson
  2018-06-02 10:17 ` Nicolas Goaziou
  0 siblings, 1 reply; 9+ messages in thread
From: Frederick Giasson @ 2018-06-01 17:27 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 778 bytes --]

Hi Everybody,

It appears that org-detangle is broken. I am using spacemacs, but even with
a vanilla Emacs (emacs -Q) it appears to be broken.

When I tangle a file with =:comments link= every things works as expected
and the comments are added in the tangled file.

When I just detangle that tangled file, everything get detangled as
expected.

If I change one or two lines, it normally works as expected.

If I change more than 4 lines, I always get the error message "Not in a
block file".

Some debugging shows that the function =org-element-at-point= sometimes tag
the element as =paragraph= instead of =src-block=, like if it doesn't know
where it is... somehow.

Does anybody use that function without experiencing this (apparent major)
issue?

Thanks,

Take care,

Fred

[-- Attachment #2: Type: text/html, Size: 1069 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-06-06 16:20 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-01 17:27 org-detangle seems broken Frederick Giasson
2018-06-02 10:17 ` Nicolas Goaziou
2018-06-04 12:42   ` Frederick Giasson
2018-06-05  9:59     ` Nicolas Goaziou
2018-06-05 12:18       ` Frederick Giasson
2018-06-05 23:19         ` Grant Rettke
2018-06-06 12:31           ` Frederick Giasson
2018-06-06 16:04             ` Grant Rettke
2018-06-06 16:18               ` Frederick Giasson

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).