[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Tag completion does not work well with org-complete-tags-always-
From: |
Alain . Cochard |
Subject: |
Re: [O] Tag completion does not work well with org-complete-tags-always-offer-all-agenda-tags |
Date: |
Mon, 14 May 2018 16:20:58 +0200 |
Nicolas Goaziou writes on Sun 13 May 2018 23:01:
> Here is what I did.
>
> I created a file "mini-init.el", containing the following lines:
>
> --8<---------------cut here---------------start------------->8---
> (add-to-list 'load-path "/path/to/org-mode/lisp/")
> (setq org-complete-tags-always-offer-all-agenda-tags t)
> (setq org-agenda-files '("/tmp/bug-agenda.org"))
> (find-file "/tmp/bug-agenda2.org")
> --8<---------------cut here---------------end--------------->8---
>
> The file "/tmp/bug-agenda.org" contains the following:
>
> --8<---------------cut here---------------start------------->8---
> * Foo :bar:
> --8<---------------cut here---------------end--------------->8---
>
> The file "/tmp/bug-agenda2.org" is an empty file.
>
> I then run:
>
> emacs -Q -l mini-init.el
>
> When in the empty document ("bug-agenda2.org"), I type "* H", then C-c
> C-q then <TAB>, I get "bar" in the minibuffer and no colon is inserted.
>
> So, I cannot reproduce your issue.
Thank you for not giving up on me! Turned out that the problem was
due to a "::" in one of my tag lists in one of my agenda files...
Specifically, doing as you did above, I don't have the problem, while
I do get it if replacing ":bar:" by "::bar:" or ":foo::bar:" in
"/tmp/bug-agenda.org".
I should note, however, that org-lint does not complain about the "::"
occurrence.
Regards
--
EOST (École et Observatoire des Sciences de la Terre)
IPG (Institut de Physique du Globe) | address@hidden
5 rue René Descartes [bureau 106] | Phone: +33 (0)3 68 85 50 44
F-67084 Strasbourg Cedex, France | Fax: +33 (0)3 68 85 01 25
- [O] Tag completion does not work well with org-complete-tags-always-offer-all-agenda-tags, Alain . Cochard, 2018/05/02
- Re: [O] Tag completion does not work well with org-complete-tags-always-offer-all-agenda-tags, Nicolas Goaziou, 2018/05/04
- Re: [O] Tag completion does not work well with org-complete-tags-always-offer-all-agenda-tags, Bastien, 2018/05/08
- Re: [O] Tag completion does not work well with org-complete-tags-always-offer-all-agenda-tags, Alain . Cochard, 2018/05/12
- Re: [O] Tag completion does not work well with org-complete-tags-always-offer-all-agenda-tags, Nicolas Goaziou, 2018/05/13
- Re: [O] Tag completion does not work well with org-complete-tags-always-offer-all-agenda-tags,
Alain . Cochard <=
- Re: [O] Tag completion does not work well with org-complete-tags-always-offer-all-agenda-tags, Nicolas Goaziou, 2018/05/14
- Re: [O] Tag completion does not work well with org-complete-tags-always-offer-all-agenda-tags, Alain . Cochard, 2018/05/14
- Re: [O] Tag completion does not work well with org-complete-tags-always-offer-all-agenda-tags, Nicolas Goaziou, 2018/05/14