On 03 Mar 2002, Adrian.Aichner(a)t-online.de wrote:
>>>>> "Jeff" == Jeff Mincy
<jeff(a)delphioutpost.com> writes:
Jeff> On 03 Mar 2002, Adrian.Aichner(a)t-online.de wrote:
>>>>>>> "Jeff" == Jeff Mincy <mincy(a)rcn.com>
writes:
Jeff> When clicking on the toolbar colors I get:
>>
>> Hi Jeff,
>>
>> what exactlty did you do to get this problem?
>>
>> Is it reproducible in xemacs -vanilla?
Jeff> Yes, (I had to remember to take out my patch though).
How?
Please give me a simple recipe.
xemacs -vanilla (actually
c:/PROGRA~1/XEmacs/XEmacs-21.4.6/i586-pc-win32/xemacs.exe -vanilla
from a cygwin bash shell), open an xpm file, say etc/xemacs-icon3.xpm:
My path is: c:/PROGRA~1/XEMACS/XEMACS-21.4.6/etc/xemacs-icon3.xpm You
should be in xpm-mode if you are using the latest package.
You get a row of little color buttons (in this case, different shades
of gray), you should get the error when you click on them. Clicking
on the button is supposed to print a message like 'Toolbar selected #b2b2b2 (o)'
Without the patch I get wrong-type-argument toolbar-button-p nil, with
the patch I get 'Toolbar selected nil (o)'.
>> What version of XEmacs are you using?
>>
>> What is your version of
>> (package-get-package-provider 'xpm-mode)
>> (text-modes "1.32")
Oops, i was acidentally using a local package-index file with an old
text-modes package of version 1.32 in the index. 1.38 is the latest
of course and I do have it installed.
Jeff> text-modes 1.38 xemacs 21.4.6 on windows build.
Jeff> It is fine on Unix.
Jeff> So, there may be an underlying toolbar issue on windows.
I'm on Windows as well and want to take a look if I can reproduce the
problem.
Are you using the cygwin or the windows build? This was using the
*windows* build, even though I'm also running cygwin.
-jeff
>> All these questions would be answered by a proper
>> M-x report-emacs-bug
Jeff> Yea, well, I already had the patch...
Jeff> -jeff
>> Adrian
>>
Jeff> Signaling: (wrong-type-argument toolbar-button-p nil)
Jeff> toolbar-button-help-string(nil)
Jeff> xpm-toolbar-select-colour(#<misc-user-event (call-interactively (lambda
(event) (interactive "e") (xpm-toolbar-select-colour event "C")))>
"C")
Jeff> (lambda (event) (interactive "e") (xpm-toolbar-select-colour event
"C"))(#<misc-user-event (call-interactively (lambda (event) (interactive
"e") (xpm-toolbar-select-colour event "C")))>)
Jeff> call-interactively((lambda (event) (interactive "e")
(xpm-toolbar-select-colour event "C")))
>>
>>
Jeff> When opening a non existent file, fubar.xpm, xpm-mode goes into an
Jeff> infinite while loop in xpm-init.
>>
Jeff> I'm sending a patch.
>>
Jeff> -jeff