emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Uriel Avalos <amscopub-mail@yahoo.com>
To: emacs-orgmode@gnu.org
Subject: Re: Re: Automatic global tag list?
Date: Wed, 24 Nov 2010 20:35:25 -0500	[thread overview]
Message-ID: <23651.3472199023$1290648948@news.gmane.org> (raw)
In-Reply-To: <80tyj7ktfh.fsf@missioncriticalit.com>

Thanks. That did the trick. I found that I also had to disable 
org-use-fast-tag-selection. For some reason, with that set to t or
auto, I couldn't select from the global tag list.

On Wed, 24 Nov 2010 09:38:26 +0100
Sébastien Vauban <wxhgmqzgwmuf@spammotel.com> wrote:

> Hi Matt,
> 
> Matt Lundin wrote:
> > Have you tried the following setting?
> >
> > (setq org-complete-tags-always-offer-all-agenda-tags t)
> >
> >> BTW, where is the documentation? I'm using orgmode 7.03, perhaps it's
> >> not documented there?
> >
> > C-h f org-global-tags-completion-table.
> 
> C-h v org-complete-tags-always-offer-all-agenda-tags says:
> 
>     ,----
>     | org-complete-tags-always-offer-all-agenda-tags is a variable defined in `org.el'.
>     | Its value is nil
>     | 
>     | Documentation:
>     | If non-nil, always offer completion for all tags of all agenda files.
>     | Instead of customizing this variable directly, you might want to
>     | set it locally for remember buffers, because there no list of
>     | tags in that file can be created dynamically (there are none).
>     | 
>     |   (add-hook 'org-remember-mode-hook
>     |             (lambda ()
>     |               (set (make-local-variable
>     |                     'org-complete-tags-always-offer-all-agenda-tags)
>     |                    t)))
>     | 
>     | You can customize this variable.
>     | 
>     | [back]
>     `----
> 
> (didn't know about that var)
> 
> You see that one should sed 's/remember/capture/g'.
> 
> --8<---------------cut here---------------start------------->8---
> --- INDEX:/lisp/org.el
> +++ WORKDIR:/lisp/org.el
> @@ -2732,10 +2732,10 @@ To disable these tags on a per-file basis, insert anywhere in the file:
>  (defcustom org-complete-tags-always-offer-all-agenda-tags nil
>    "If non-nil, always offer completion for all tags of all agenda files.
>  Instead of customizing this variable directly, you might want to
> -set it locally for remember buffers, because there no list of
> +set it locally for capture buffers, because there no list of
>  tags in that file can be created dynamically (there are none).
>  
> -  (add-hook 'org-remember-mode-hook
> +  (add-hook 'org-capture-mode-hook
>              (lambda ()
>                (set (make-local-variable
>                      'org-complete-tags-always-offer-all-agenda-tags)
> --8<---------------cut here---------------end--------------->8---
> 
> It seems there are a lot more references to remember, but I'm not sure which
> can be safely removed.
> 
> Best regards,
>   Seb
> 
> -- 
> Sébastien Vauban
> 
> 
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

      reply	other threads:[~2010-11-25  1:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20101122193057.6e59460camscopub-mail@yahoo.com@dove.localdomain>
2010-11-23  5:52 ` Automatic global tag list? Carsten Dominik
2010-11-23 15:45   ` Uriel Avalos
     [not found]   ` <20101123104500.6275e344amscopub-mail@yahoo.com@dove.localdomain>
2010-11-23 16:50     ` Carsten Dominik
2010-11-23 17:59       ` amscopub-mail
2010-11-24  5:01         ` Matt Lundin
2010-11-24  8:38           ` Sébastien Vauban
2010-11-25  1:35             ` Uriel Avalos [this message]

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='23651.3472199023$1290648948@news.gmane.org' \
    --to=amscopub-mail@yahoo.com \
    --cc=emacs-orgmode@gnu.org \
    /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).