From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: org-mobile-push failure with git tip Date: Thu, 17 Nov 2011 13:45:29 +0100 Message-ID: <874ny2rk7q.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:49174) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RR1My-0004iP-Qq for emacs-orgmode@gnu.org; Thu, 17 Nov 2011 07:47:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RR1Mu-000658-LF for emacs-orgmode@gnu.org; Thu, 17 Nov 2011 07:47:08 -0500 Received: from mail-ww0-f49.google.com ([74.125.82.49]:49121) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RR1Mu-000650-Gv for emacs-orgmode@gnu.org; Thu, 17 Nov 2011 07:47:04 -0500 Received: by wwe32 with SMTP id 32so2195038wwe.30 for ; Thu, 17 Nov 2011 04:47:03 -0800 (PST) In-Reply-To: (Greg Troxel's message of "Tue, 15 Nov 2011 21:11:43 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Greg Troxel Cc: emacs-orgmode@gnu.org Hello, Greg Troxel writes: > 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 > 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)) I've recently pushed a patch around that area. Does the problem persist with the latest git ? Regards, -- Nicolas Goaziou