emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] MobileOrg and tags


From: Bastien
Subject: Re: [O] MobileOrg and tags
Date: Sat, 04 Aug 2012 10:24:56 +0200
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1.50 (gnu/linux)

James Harkins <address@hidden> 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



reply via email to

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