emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] Re: Automatic global tag list?


From: Uriel Avalos
Subject: Re: [Orgmode] Re: Automatic global tag list?
Date: Wed, 24 Nov 2010 20:35:25 -0500

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 <address@hidden> 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.
> address@hidden
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode



reply via email to

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