emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: Bastien <bzg@gnu.org>
Cc: nicholas.dokos@hp.com, emacs-orgmode <emacs-orgmode@gnu.org>,
	Noorul Islam K M <noorul@noorul.com>
Subject: Re: [PATCH] - Fix org-fast-tag-selection
Date: Wed, 04 Apr 2012 07:16:59 -0400	[thread overview]
Message-ID: <87limblpas.fsf@norang.ca> (raw)
In-Reply-To: <87obr8m450.fsf@gnu.org> (Bastien's message of "Wed, 04 Apr 2012 07:56:27 +0200")

Bastien <bzg@gnu.org> writes:

> Hi Nick,
>
> Nick Dokos <nicholas.dokos@hp.com> writes:
>
>> With completing-read, I do C-c C-q <TAB> and get a prompt in the
>> minibuffer "Tag: " with no options given. So I press another <TAB> and
>> get the following error:
>
> This should have been fixed already -- can you confirm?

Hi Bastien,

This error is gone but I see other problems.

When completing tags with C-c C-q TAB and selecting a tag that is part
of a group which are supposed to be mutually exclusive it doesn't
remove other existing tags in that group.

ie.

* DONE Test                                                           :@home:

with

(setq org-tag-alist (quote ((:startgroup)
                            ("@errand" . ?e)
                            ("@office" . ?o)
                            ("@home" . ?H)
                            ("@farm" . ?f)
                            (:endgroup)
                            ("PHONE" . ?p)
                            ("WAITING" . ?w)
                            ("HOLD" . ?h)
                            ("PERSONAL" . ?P)
                            ("WORK" . ?W)
                            ("FARM" . ?F)
                            ("ORG" . ?O)
                            ("NORANG" . ?N)
                            ("crypt" . ?E)
                            ("MARK" . ?M)
                            ("NOTE" . ?n)
                            ("BZFLAG" . ?B)
                            ("CANCELLED" . ?c)
                            ("FLAGGED" . ??))))
if I do C-c C-q f
then @home changes to @farm as it should

But if I instead complete the tag with

C-C C-q TAB @farm RET

then I get BOTH tags on the line which is wrong.

* DONE Test                                                     :@farm:@home:

Org-mode version 7.8.08 (release_7.8.07.206.g76e7b)

Also my IDO completion of tags doesn't work (but I'm not sure if that
ever did).  I can't to C-c C-q TAB home RET and get the @home tag -- I
need to enter the @ for it to work.  Without the @ I get errors like
this:

Error in post-command-hook: (wrong-type-argument sequencep 104)

when what I enter doesn't match my tag list.

Regards,
Bernt

  reply	other threads:[~2012-04-04 11:17 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-03 10:43 [PATCH] - Fix org-fast-tag-selection Noorul Islam K M
2012-04-03 12:10 ` Bastien
2012-04-03 13:48   ` Noorul Islam Kamal Malmiyoda
2012-04-03 13:57     ` Bastien
2012-04-03 14:02       ` Noorul Islam Kamal Malmiyoda
2012-04-03 14:29         ` Bastien
2012-04-03 13:45 ` Nick Dokos
2012-04-03 16:13 ` Bernt Hansen
2012-04-03 21:42   ` Nick Dokos
2012-04-04  5:56     ` Bastien
2012-04-04 11:16       ` Bernt Hansen [this message]
2012-04-04 13:54         ` Nick Dokos
2012-04-10 16:41         ` 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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  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=87limblpas.fsf@norang.ca \
    --to=bernt@norang.ca \
    --cc=bzg@gnu.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=nicholas.dokos@hp.com \
    --cc=noorul@noorul.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).