From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Harkins Subject: Re: MobileOrg and tags Date: Sun, 29 Jul 2012 16:22:13 -0400 Message-ID: References: <87r4sb5d5o.wl%jamshark70@dewdrop-world.net> <87a9yupfok.wl%jamshark70@dewdrop-world.net> <87k3xn4vyl.fsf@gnu.org> Reply-To: jamshark70@dewdrop-world.net Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:40051) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sva0G-0004v9-3J for emacs-orgmode@gnu.org; Sun, 29 Jul 2012 16:22:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sva0E-00050t-R8 for emacs-orgmode@gnu.org; Sun, 29 Jul 2012 16:22:16 -0400 In-Reply-To: <87k3xn4vyl.fsf@gnu.org> 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: Bastien Cc: emacs-orgmode@gnu.org On 7/28/12, Bastien wrote: > Can you try replacing the call to the function > > (org-global-tags-completion-table) > > by a call to the variable `org-tag-alist'? > > I'm not using org-mobile.el, so purely a shoot in the dark. Nope. "org-tag-alist" is empty in my installation, and I didn't find any code that populates it automatically. Tags are still empty. > But `org-tag-alist-for-agenda' doesn't seem necessary here, > and using `org-global-tags-completion-table' is too time > consuming. Unfortunately, as far as I can see, (org-global-tags-completion-table) is the only function that will generate the tag list from multiple agenda files. Per your comment on my bug report, I tried (org-get-buffer-tags) but, as I would have expected from the name, it acquires the tags only from the active buffer when C-c C-x RET p is called. I have: Agenda file 1: { set, of, tags, from, file, 1 } Agenda file 2: { another, group, of, tags } If file 1 is the active buffer, then the tags written into the index are only "set, of, tags, from, file, 1." "Another" and "group" are omitted. By (org-get-buffer-tags): #+TAGS: DC Hadron Lilypond Maybe MusicSoftware NYC SuperCollider TaxQs TIP Today Todo Trip2012 By (org-global-tags-completion-table): #+TAGS: Bug DC FarShore Hadron Hard Lament lily Lilypond longC Maybe midfast MusicSoftware MyConcert NYC Opt SC Sheng SuperCollider TaxQs TIP Today Todo Trip2012 Wk11Docs Wk11plugs Wk2012 I would rather wait a little longer and have a correct result, than save time and have the feature not work. Or have a configuration variable so the user can decide how to generate the tag list. If the global tag completion table function is too slow for some, they could manually populate org-tag-alist or...? hjh -- James Harkins /// dewdrop world jamshark70@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks