Hi pd-list, if I give a canvas a label including a #, it shows a $ instead (Debian, WinXP, OSX). Is this a bug or intended behavior ?
Laurent Willkomm Noise Watchers Philharmonie de Luxembourg
Laurent WILLKOMM wrote:
Hi pd-list, if I give a canvas a label including a #, it shows a $ instead (Debian, WinXP, OSX). Is this a bug or intended behavior ?
it's the way it is currently implemented: guiobjects internally use # to represent $ (to bypass Pd's (and probably tcl's) expansion mechanism). therefore all # are replaced by $.
you could consider this as a bug (though i think it's unlikely to get "fixed" anytime...soon).
fgmasdr IOhannes
On Apr 21, 2009, at 5:14 AM, IOhannes m zmoelnig wrote:
Laurent WILLKOMM wrote:
Hi pd-list, if I give a canvas a label including a #, it shows a $ instead
(Debian, WinXP, OSX). Is this a bug or intended behavior ?it's the way it is currently implemented: guiobjects internally use
# to represent $ (to bypass Pd's (and probably tcl's) expansion
mechanism). therefore all # are replaced by $.you could consider this as a bug (though i think it's unlikely to
get "fixed" anytime...soon).
I am curious, what are the barriers to fixing it? If someone came up
with a better way to represent $, then I don't really see a problem
with fixing that. There won't be backwards compatibility issues since
the $ is saved in the patch instead of the #. Do you really think
that anyone has written some crazy kludge that relies on # being
converted into $ on the canvas label?
.hc
If you are not part of the solution, you are part of the problem.
Do you really think
that anyone has written some crazy kludge that relies on # being
converted into $ on the canvas label?
Yep :)
But:
on this kludge using one hand.
On Apr 21, 2009, at 10:09 AM, Andy Farnell wrote:
Do you really think that anyone has written some crazy kludge that relies on # being converted into $ on the canvas label?
Yep :)
But:
- I was wrong to do it.
- It deserves to get broken.
- It doesn't really matter any more.
- You can probably count the other people who relied
on this kludge using one hand.
Wow, I am curious now. What's the kludge and why? :-)
.hc
-- Use the source
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
There is no way to peace, peace is the way. -A.J. Muste
IOhannes m zmoelnig wrote:
Laurent WILLKOMM wrote:
Hi pd-list, if I give a canvas a label including a #, it shows a $ instead (Debian, WinXP, OSX). Is this a bug or intended behavior ?
it's the way it is currently implemented: guiobjects internally use # to represent $ (to bypass Pd's (and probably tcl's) expansion mechanism). therefore all # are replaced by $.
you could consider this as a bug (though i think it's unlikely to get "fixed" anytime...soon).
fgmasdr IOhannes
Thanks for your quick answers to my question. So it is unfortunataly not possible to label canvases C, C#, ..
L. Willkomm
Well, this isn't completely true... You could use a "Comment" object on top of the canvas, instead of having just the canvas... it does sound like you are using static text, so you won't need to change the label for the canvas, right?
Mike
On Wed, Apr 22, 2009 at 1:32 PM, Laurent WILLKOMM willkomm@pt.lu wrote:
IOhannes m zmoelnig wrote:
Laurent WILLKOMM wrote:
Hi pd-list, if I give a canvas a label including a #, it shows a $ instead (Debian, WinXP, OSX). Is this a bug or intended behavior ?
it's the way it is currently implemented: guiobjects internally use # to represent $ (to bypass Pd's (and probably tcl's) expansion mechanism). therefore all # are replaced by $.
you could consider this as a bug (though i think it's unlikely to get "fixed" anytime...soon).
fgmasdr IOhannes
Thanks for your quick answers to my question. So it is unfortunataly not possible to label canvases C, C#, ..
L. Willkomm
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list