emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Aidan Gauland <aidalgol@no8wireless.co.nz>
To: emacs-orgmode@gnu.org
Subject: Re: TODO keyword completion bug
Date: Wed, 22 Aug 2012 07:43:56 +1200	[thread overview]
Message-ID: <87txvw2fpf.fsf@no8wireless.co.nz> (raw)
In-Reply-To: 87boi4qtxp.fsf@altern.org

Bastien <bzg@altern.org> writes:
> Hi Aidan,
> Aidan Gauland <aidalgol@no8wireless.co.nz> writes:
>> I have some (buffer-local) keywords defined that contain dashes to
>> separate words (because I couldn't think of a single word that would be
>> clear).  M-<TAB> completion does not appear to work for these keywords.
>> This has made me reconsider my choice of keywords, but since they're
>> valid keywords, shouldn't they be valid candidates for completion
>> (i.e. is this a bug)?
> "Keywords" is ambiguous here.
> TODO keywords like "MY-TODO" complete fine with M-TAB.
> #+MY_KEYWORD does not complete fine with M-TAB, but since this keyword
> appears in the buffer anyway, you can simply use M-/.

OK, so I'll just use M-/.

I have the keywords defined with #+TODO:.  I just tried playing around
with them a bit, and I have found that the "problem" is not exactly as I
thought: keywords with dashes, such as MY-TODO, do not complete with
M-TAB if I try to complete from after the dash, i.e. M-TAB on MY- does
not complete.  TODO keyword completion does not work at all if there is
already a headline, e.g. * TO[M-TAB here] Buy bread

So, if this is a bug, I now have a workaround; if it's not a bug, then I
now know how to properly use TODO completion.  I'll leave it to you (the
Org-mode devs) to decide whether to treat this as a bug.

Aidan Gauland

  reply	other threads:[~2012-08-21 19:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-21  4:23 TODO keyword completion bug Aidan Gauland
2012-08-21 13:02 ` Bastien
2012-08-21 19:43   ` Aidan Gauland [this message]
2012-08-21 22:22     ` Bastien

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:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87txvw2fpf.fsf@no8wireless.co.nz \
    --to=aidalgol@no8wireless.co.nz \
    --cc=emacs-orgmode@gnu.org \


* 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 public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).