From: Alain.Cochard@unistra.fr
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: Bastien <bzg@gnu.org>, emacs-orgmode@gnu.org, Alain.Cochard@unistra.fr
Subject: Re: Tag completion does not work well with org-complete-tags-always-offer-all-agenda-tags
Date: Mon, 14 May 2018 16:20:58 +0200 [thread overview]
Message-ID: <23289.39754.230850.819664@frac.u-strasbg.fr> (raw)
In-Reply-To: <87wow7tglp.fsf@nicolasgoaziou.fr>
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.cochard@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
next prev parent reply other threads:[~2018-05-14 14:30 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-02 11:24 Tag completion does not work well with org-complete-tags-always-offer-all-agenda-tags Alain.Cochard
2018-05-04 21:44 ` Nicolas Goaziou
2018-05-08 8:17 ` Bastien
2018-05-12 6:32 ` Alain.Cochard
2018-05-12 8:20 ` Gregor Zattler
2018-05-12 14:20 ` Alain.Cochard
2018-05-13 21:01 ` Nicolas Goaziou
2018-05-14 14:20 ` Alain.Cochard [this message]
2018-05-14 14:43 ` Nicolas Goaziou
2018-05-14 14:52 ` Alain.Cochard
2018-05-14 15:42 ` Nicolas Goaziou
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=23289.39754.230850.819664@frac.u-strasbg.fr \
--to=alain.cochard@unistra.fr \
--cc=bzg@gnu.org \
--cc=emacs-orgmode@gnu.org \
--cc=mail@nicolasgoaziou.fr \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.