emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug in org-mobile-get-outline-path-link
@ 2017-04-06  1:45 Ian Dunn
  2017-04-07 16:12 ` Nicolas Goaziou
  0 siblings, 1 reply; 4+ messages in thread
From: Ian Dunn @ 2017-04-06  1:45 UTC (permalink / raw)
  To: emacs-orgmode


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)
 		       "/")

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

end of thread, other threads:[~2017-04-10 19:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-06  1:45 Bug in org-mobile-get-outline-path-link Ian Dunn
2017-04-07 16:12 ` Nicolas Goaziou
2017-04-07 22:58   ` [PATCH] Fix bug in mobile outline path handling Ian Dunn
2017-04-10 19:17     ` Nicolas Goaziou

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).