From mboxrd@z Thu Jan 1 00:00:00 1970 From: Uriel Avalos Subject: Re: Re: Automatic global tag list? Date: Wed, 24 Nov 2010 20:35:25 -0500 Message-ID: <23651.3472199023$1290648948@news.gmane.org> References: <754893.88649.qm@web120711.mail.ne1.yahoo.com> <87hbf7z55o.fsf@fastmail.fm> <80tyj7ktfh.fsf@missioncriticalit.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=35968 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PLQjm-0007vZ-1s for emacs-orgmode@gnu.org; Wed, 24 Nov 2010 20:35:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PLQjk-0006WT-1q for emacs-orgmode@gnu.org; Wed, 24 Nov 2010 20:35:01 -0500 Received: from smtp110.prem.mail.ac4.yahoo.com ([76.13.13.93]:41049) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1PLQjj-0006W9-UQ for emacs-orgmode@gnu.org; Wed, 24 Nov 2010 20:35:00 -0500 In-Reply-To: <80tyj7ktfh.fsf@missioncriticalit.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Thanks. That did the trick. I found that I also had to disable=20 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=E9bastien Vauban wrote: > Hi Matt, >=20 > 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. >=20 > C-h v org-complete-tags-always-offer-all-agenda-tags says: >=20 > ,---- > | org-complete-tags-always-offer-all-agenda-tags is a variable define= d in `org.el'. > | Its value is nil > |=20 > | Documentation: > | If non-nil, always offer completion for all tags of all agenda file= s. > | 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). > |=20 > | (add-hook 'org-remember-mode-hook > | (lambda () > | (set (make-local-variable > | 'org-complete-tags-always-offer-all-agenda-tags) > | t))) > |=20 > | You can customize this variable. > |=20 > | [back] > `---- >=20 > (didn't know about that var) >=20 > You see that one should sed 's/remember/capture/g'. >=20 > --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). > =20 > - (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--- >=20 > It seems there are a lot more references to remember, but I'm not sure wh= ich > can be safely removed. >=20 > Best regards, > Seb >=20 > --=20 > S=E9bastien Vauban >=20 >=20 > _______________________________________________ > 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