From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike McLean Subject: Re: Bug: Tag Completion Not Prompting for all tags Date: Tue, 3 Apr 2012 21:00:53 -0400 Message-ID: References: <6A1FEA98-38A0-48C5-88C3-DEE9401C38B5@pobox.com> <87pqbyqqr4.fsf@gnu.org> <87iphl3zaq.fsf@gnu.org> <87k41yw2sh.fsf@gnu.org> Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: multipart/alternative; boundary="Apple-Mail=_B879BA3E-F79A-4C7F-AA16-9E083935F4DC" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:42822) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SFEax-00018f-9r for emacs-orgmode@gnu.org; Tue, 03 Apr 2012 21:01:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SFEav-0003VA-6s for emacs-orgmode@gnu.org; Tue, 03 Apr 2012 21:01:06 -0400 In-Reply-To: <87k41yw2sh.fsf@gnu.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: "emacs-orgmode@gnu.org" --Apple-Mail=_B879BA3E-F79A-4C7F-AA16-9E083935F4DC Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 OK - sorry, it took an extra day. Here is the new (third, and hopefully = last) test case. 1 Steps to Reproduce: 1.1 Start Emacs clean /Applications/Emacs.app/Contents/MacOS/Emacs -Q 1.1.1 Note: Emacs Version M-x emacs-version GNU Emacs 24.0.95.1 (x86_64-apple-darwin, NS apple-appkit-1038.36) of = 2012-04-03 on bob.porkrind.org 1.2 Clone Git HEAD Org-Mode (to get the new commit) $ git clone git://orgmode.org/org-mode.git 1.3 Load Cloned version of org-mode Evaluate the following Lisp in *scratch* (require 'ido) (ido-mode t) (setq load-path (cons "~/tmp/new-new-new/org-mode/lisp" load-path)) (setq load-path (cons "~/tmp/new-new-new/org-mode/contrib/lisp" = load-path)) (require 'org-install) (setq org-completion-use-ido t) (setq org-tag-alist (quote ( (:startgroup) ("tag_a" . ?a) ("tag_b" . ?b) (:endgroup) ("tag_c" . ?c) ))) 1.4 Open the following org-mode file * Header 1 ** Header 1.1 * Header 2 = :Personal: 1.4.1 Note: Org-Version M-x org-version release_7.8.07-201-g72d9 Org-mode version 7.8.08 (release_7.8.07.201.g72d9) 1.5 Point should be on the first asterisk for =93Header 1=94 1.6 Type C-c C-q to bring up Tag selection The expected result is the fast tag selection window-split; this works 1.7 Type to enter free tag selection The expected result is that the Minibuffer prompts with Tag: and the ido = completion (this works) 1.8 Type t to begin to ido select one of the tags The expected result is the ido completion narrowing the choices; the = result Error in post-command-hook (ido-exhibit): (wrong-type-argument sequencep = 97) Note that M-x toggle-debug-on-error doesn=92t show anything different = than the above. On Apr 2, 2012, at 11:50 AM, Bastien wrote: > Hi Mike, >=20 > Mike McLean writes: >=20 >> The dangers of minimal testing setups is rearing its ugly head.=20 >=20 > You bet :) >=20 >> I can >> confirm that your latest patch does fix the minimal example that I >> provided. It does not, sadly, fix a similar case where the >> org-tag-alist variable includes the :startgroup and :endgroup tokens. >> If you can my most recent steps to reproduce, step 1.3, and add those >> tokens, the error is "Wrong type argument: stringp, :endgroup" >=20 > Can you resubmit the full test case? >=20 >> Thank you for you patience :) >=20 > Thanks for your collaboration :) >=20 > --=20 > Bastien >=20 --Apple-Mail=_B879BA3E-F79A-4C7F-AA16-9E083935F4DC Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252 OK - = sorry, it took an extra day. Here is the new (third, and hopefully last) = test case.

1 Steps = to Reproduce:

1.1 Start = Emacs clean

1.1.1 Note: Emacs = Version

M-x emacs-version =
<RET>
GNU Emacs 24.0.95.1 (x86_64-apple-darwin, NS apple-appkit-1038.36) of =
2012-04-03 on bob.porkrind.org

1.2 Clone = Git HEAD Org-Mode (to get the new commit)

git://orgmode.org/org-mode.git=

1.3 Load Cloned version of = org-mode

Evaluate the following Lisp = in (require = 'ido) (ido-mode t) (setq load-path (cons load-path)) (setq load-path (cons load-path)) ( . ?a) ( . ?b) ( . ?c) )))

1.4 Open the following org-mode = file

* Header 1
** Header 1.1
* Header 2                                                               =
       :Personal:

1.4.1 Note: Org-Version

1.5 Point = should be on the first asterisk for =93Header 1=94

1.6 Type C-c = C-q to bring up Tag selection

1.7 Type ido completion (this = works)

1.8 Type ido select one of the = tags

The expected result is the Error in = post-command-hook (ido-exhibit): (wrong-type-argument sequencep 97)

Note that M-x toggle-debug-on-error doesn=92t show = anything different than the = above.


On Apr 2, 2012, at 11:50 = AM, Bastien wrote:

Hi = Mike,

Mike McLean <mike.mclean@pobox.com> = writes:

The dangers of minimal testing = setups is rearing its ugly head.

You bet = :)

I can
confirm that your latest patch does fix the minimal = example that I
provided. It = does not, sadly, fix a similar case where = the
org-tag-alist variable = includes the :startgroup and :endgroup = tokens.
If you can my most = recent steps to reproduce, step 1.3, and add = those
tokens, the error is = "Wrong type argument: stringp, :endgroup"

Can you = resubmit the full test case?

Thank you = for you patience :)

Thanks for your collaboration = :)

--
= Bastien


= --Apple-Mail=_B879BA3E-F79A-4C7F-AA16-9E083935F4DC--