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) | alain.coch...@unistra.fr 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