From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike McLean Subject: Re: Bug: Tag Completion Not Prompting for all tags Date: Wed, 4 Apr 2012 13:38:03 -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 Content-Type: multipart/alternative; boundary=f46d04088e9fad669804bcdde242 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:33268) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SFUA0-000126-6d for emacs-orgmode@gnu.org; Wed, 04 Apr 2012 13:38:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SFU9r-0004zG-AB for emacs-orgmode@gnu.org; Wed, 04 Apr 2012 13:38:19 -0400 Received: from a-pb-sasl-sd.pobox.com ([74.115.168.62]:48954 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SFU9q-0004yZ-W2 for emacs-orgmode@gnu.org; Wed, 04 Apr 2012 13:38:11 -0400 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 639209341 for ; Wed, 4 Apr 2012 13:38:06 -0400 (EDT) Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 5D0B59340 for ; Wed, 4 Apr 2012 13:38:06 -0400 (EDT) Received: from mail-bk0-f41.google.com (unknown [209.85.214.41]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id AEFF1933B for ; Wed, 4 Apr 2012 13:38:04 -0400 (EDT) Received: by bkwq16 with SMTP id q16so653217bkw.0 for ; Wed, 04 Apr 2012 10:38:03 -0700 (PDT) In-Reply-To: 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: Mike McLean Cc: "emacs-orgmode@gnu.org" --f46d04088e9fad669804bcdde242 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable FYI I saw the other thread related to org-tag-fast-selection and Ido mode, so I just re tested my minimal example below. I get the same error with: release_7.8.07-207-g5d9c Org-mode version 7.8.08 (release_7.8.07.207.g5d9c) This version includes the April 3 commit e48d67ed6 that mentions "bug when gathering tag completion options" Mike On Tuesday, April 3, 2012, Mike McLean wrote: > 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 201= 2-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 tha= n > 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 > > > --f46d04088e9fad669804bcdde242 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable FYI

I saw the other thread related to org-tag-fast-selec= tion and Ido mode, so I just re tested my minimal example below. I get the = same error with:

release_7.8.07-207-g5d9c
Org-mode version 7.8.08 (rele= ase_7.8.07.207.g5d9c)
This version incl= udes the April 3 commit e48d67ed6 that mentions "bug when gathering ta= g completion options"

Mike

On Tuesday, April 3, 20= 12, Mike McLean wrote:

OK - sorry, it too= k an extra day. Here is the new (third, and hopefully last) test case.

<= div style=3D"font-family:Times,serif;font-size:16px">

1=A0Steps to Reproduce:

<= /div>

1.1=A0Start Emacs clean

<= pre style=3D"border-top-width:1pt;border-right-width:1pt;border-bottom-widt= h:1pt;border-left-width:1pt;border-top-style:solid;border-right-style:solid= ;border-bottom-style:solid;border-left-style:solid;border-top-color:rgb(174= ,189,204);border-right-color:rgb(174,189,204);border-bottom-color:rgb(174,1= 89,204);border-left-color:rgb(174,189,204);background-color:rgb(243,245,247= );padding-top:5pt;padding-right:5pt;padding-bottom:5pt;padding-left:5pt;fon= t-family:courier,monospace;font-size:14px"> /Applications/Emacs.app/Contents/MacOS/Emacs -Q

1.1.1=A0Note: 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=A0Clone Git HEAD Org-Mode (to get the new commit)

$ git clone git://orgmode.org/org-mode.git

1.3=A0Load Cloned version of org-mode

Evaluate the following Lisp in=A0*scratch*

(require =
9;ido)
(ido-mode t)

(setq load-path (cons "~/tmp/ne=
w-new-new/org-mode/lisp" load-path))
(setq load-path (cons "~/tmp/ne=
w-new-new/org-mode/contrib/lisp" load-path))
(require =
9;org-install)
(setq org-completion-use-ido t)
(setq org-tag-alist (quote (
                            (:startg=
roup)
                            ("t=
ag_a" . ?a)
                            ("t=
ag_b" . ?b)
                            (:endgro=
up)
                            ("t=
ag_c" . ?c)
                            )))

1.4=A0Open the following org-mode file

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

1.4.1=A0Note: Org-Version

<= pre style=3D"border-top-width:1pt;border-right-width:1pt;border-bottom-widt= h:1pt;border-left-width:1pt;border-top-style:solid;border-right-style:solid= ;border-bottom-style:solid;border-left-style:solid;border-top-color:rgb(174= ,189,204);border-right-color:rgb(174,189,204);border-bottom-color:rgb(174,1= 89,204);border-left-color:rgb(174,189,204);background-color:rgb(243,245,247= );padding-top:5pt;padding-right:5pt;padding-bottom:5pt;padding-left:5pt;fon= t-family:courier,monospace;font-size:14px"> M-x org-version <RET> release_7.8.07-201-g72d9 Org-mode version 7.8.08 (release_7.8.07.201.g72d9)

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

1.6=A0Type=A0C-c C-q=A0to bring up Tag selection

The expected result is the fast tag selection window-sp= lit; this works

1.7=A0Type=A0<TAB>=A0to enter free tag selection

The expected result is that the Minibuffer prompt= s with=A0Tag:<= /code>=A0and the=A0ido=A0completion (this works)

1.8=A0Type=A0t=A0to begin to=A0ido=A0select one of the tags

The expected result is the=A0ido=A0completion narrowing the choices; the result=

Error in post-command-hook (ido-exhibit): (wrong-type-argument sequencep 97=
)

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


On Apr 2, 2012, a= t 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 mini= mal example that I
provided. It does not, sadly, fix a = similar case where the
org-tag-al= ist variable includes the :startgroup and :endgroup tokens.
If you can my most recent steps to reproduce, ste= p 1.3, and add those
tokens, the = error is "Wrong type argument: stringp, :endgroup"

Can you resubmit the full test case?

T= hank you for you patience :)

Thanks for your collaborat= ion :)

--
Bastien


--f46d04088e9fad669804bcdde242--