From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: MobileOrg and tags Date: Sat, 04 Aug 2012 10:24:56 +0200 Message-ID: <87sjc3awtj.fsf@gnu.org> References: <87r4sb5d5o.wl%jamshark70@dewdrop-world.net> <87a9yupfok.wl%jamshark70@dewdrop-world.net> <87k3xn4vyl.fsf@gnu.org> <8739494kku.fsf@altern.org> <87pq78rwbz.fsf@gnu.org> <87ipd06kzx.wl%jamshark70@dewdrop-world.net> <87d338osqw.fsf@gnu.org> <87fw837vud.wl%jamshark70@dewdrop-world.net> <87lihvn94j.fsf@gnu.org> <87ehnn7qtu.wl%jamshark70@dewdrop-world.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:38542) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SxZeq-0001p3-9W for emacs-orgmode@gnu.org; Sat, 04 Aug 2012 04:24:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SxZep-0000xR-6I for emacs-orgmode@gnu.org; Sat, 04 Aug 2012 04:24:24 -0400 Received: from mail-we0-f169.google.com ([74.125.82.169]:43966) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SxZep-0000ux-0O for emacs-orgmode@gnu.org; Sat, 04 Aug 2012 04:24:23 -0400 Received: by mail-we0-f169.google.com with SMTP id s10so1056648wey.0 for ; Sat, 04 Aug 2012 01:24:22 -0700 (PDT) In-Reply-To: <87ehnn7qtu.wl%jamshark70@dewdrop-world.net> (James Harkins's message of "Fri, 03 Aug 2012 14:50:21 -0400") 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: James Harkins Cc: emacs-orgmode@gnu.org James Harkins writes: > No, it didn't help. > > It seems I was right. You can't pass a list of cons-cells into org-global-tags-completion-table. It has to be a list of strings. It's necessary to get "car" from each item in files-alist. > > diff --git a/lisp/org-mobile.el b/lisp/org-mobile.el > index 7795780..f6ab493 100644 > --- a/lisp/org-mobile.el > +++ b/lisp/org-mobile.el > @@ -424,7 +424,7 @@ agenda view showing the flagged items." > done-kwds > (org-uniquify org-todo-keywords-for-agenda))) > (setq drawers (org-uniquify org-drawers-for-agenda)) > - (setq tags (mapcar 'car (org-global-tags-completion-table files-alist))) > + (setq tags (mapcar 'car (org-global-tags-completion-table (mapcar 'car files-alist)))) > (with-temp-file > (if org-mobile-use-encryption > org-mobile-encryption-tempfile Okay, I've now applied this change, thanks. -- Bastien