emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] org-mobile-push failure with git tip


From: Greg Troxel
Subject: [O] org-mobile-push failure with git tip
Date: Tue, 15 Nov 2011 21:11:43 -0500
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.3 (berkeley-unix)

I recently updated to the latest git, and found that while everything
else I tried was ok, I got a backtrace when doing org-mobile-push.
Bisecting, I found that the problem commit is:

commit dc62cdcdf11f305149281d16ef2200e18c7abd43
Author: Nicolas Goaziou <address@hidden>
Date:   Sun Oct 23 22:42:48 2011 +0200

    org-agenda: Fix small display bug.
    
    * lisp/org-agenda.el: Fix small display bug.

diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index 32087e3..2bbb832 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -3887,7 +3887,7 @@ in `org-agenda-text-search-extra-files'."
     (if (not regexps+)
        (setq regexp org-outline-regexp-bol)
       (setq regexp (pop regexps+))
-      (if hdl-only (setq regexp (concat org-outline-regexp-bol " .*?"
+      (if hdl-only (setq regexp (concat org-outline-regexp-bol ".*?"
                                        regexp))))
     (setq files (org-agenda-files nil 'ifmode))
     (when (eq (car org-agenda-text-search-extra-files) 'agenda-archives)
@@ -4623,7 +4623,7 @@ the documentation of `org-diary'."
        (setq marker (org-agenda-new-marker (match-beginning 0))
              category (org-get-category)
              org-category-pos (get-text-property (point) 
'org-category-position)
-             txt (match-string 2)
+             txt (buffer-substring (match-beginning 2) (match-end 3))
              tags (org-get-tags-at (point))
              txt (org-agenda-format-item "" txt category tags)
              priority (1+ (org-get-priority txt))



and by moving to origin/master and then reverting that one commit, all
seems well.  I can send more information if needed, but I'm guessing the
above report will make the problem apparent.

Attachment: pgpfW_78S22gP.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]