[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Bug in org-mobile-get-outline-path-link
From: |
Ian Dunn |
Subject: |
[O] Bug in org-mobile-get-outline-path-link |
Date: |
Wed, 05 Apr 2017 21:45:24 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
I recently tried turning off 'org-mobile-force-id-on-agenda-items', only
to find that there were problems updating agenda tasks. I poked around
in the code and found that 'org-mobile-locate-entry' looks for an OLP in
the form olp:file:/path/to/heading, and
'org-mobile-get-outline-path-link' stores it as
olp:file/path/to/heading.
I've attached a patch to fix the latter function.
--
Ian Dunn
diff --git a/lisp/org-mobile.el b/lisp/org-mobile.el
index f6ef18f10..12e6c84b3 100644
--- a/lisp/org-mobile.el
+++ b/lisp/org-mobile.el
@@ -648,7 +648,7 @@ The table of checksums is written to the file
mobile-checksums."
(org-with-point-at pom
(concat "olp:"
(org-mobile-escape-olp (file-name-nondirectory buffer-file-name))
- "/"
+ ":"
(mapconcat 'org-mobile-escape-olp
(org-get-outline-path)
"/")
- [O] Bug in org-mobile-get-outline-path-link,
Ian Dunn <=