emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: James Harkins <jamshark70@gmail.com>
To: Bastien <bzg@gnu.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: MobileOrg and tags
Date: Sun, 29 Jul 2012 16:22:13 -0400	[thread overview]
Message-ID: <CAFniQ7WAe1-X_DBjF1jH-pHu4ZUu0uuD6ALQrM23-oNutnKjVQ@mail.gmail.com> (raw)
In-Reply-To: <87k3xn4vyl.fsf@gnu.org>

On 7/28/12, Bastien <bzg@gnu.org> 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

  reply	other threads:[~2012-07-29 20:22 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-17  2:34 MobileOrg and tags James Harkins
2012-07-20 16:20 ` James Harkins
2012-07-28 17:49   ` Bastien
2012-07-29 20:22     ` James Harkins [this message]
2012-07-30 10:20       ` Bastien
2012-08-03 12:31         ` Bastien
2012-08-03 15:41           ` James Harkins
2012-08-03 16:16             ` Bastien
2012-08-03 17:02               ` James Harkins
2012-08-03 17:09                 ` Bastien
2012-08-03 18:06                 ` Bastien
2012-08-03 18:50                   ` James Harkins
2012-08-04  8:24                     ` Bastien
2012-08-04  8:24                     ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAFniQ7WAe1-X_DBjF1jH-pHu4ZUu0uuD6ALQrM23-oNutnKjVQ@mail.gmail.com \
    --to=jamshark70@gmail.com \
    --cc=bzg@gnu.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=jamshark70@dewdrop-world.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).