Hi list,
I found an old thread between m.e.grimm and Roman Haefeli in the archives from 2014-01-26 about escaping in Pd.
https://lists.puredata.info/pipermail/pd-list/2014-01/105594.html
Roman sees this odd behavior in escaping a comma:
----message to print-- , comma at the beginning; comma, right after first word; comma in, the middle; comma at the end,;
gives:
----print-- print: , comma at the beginning print: comma, right after first word print: comma in, the middle print: comma at the end, ----/print--
Meaning the backslash can escape the comma when it comes in the beginning or after the first word, but later the escaping character will be part of the printout.
Is this a bug? is there an explanation for this inconsistency or should I file an issue for it?
Actually this looks related: https://github.com/pure-data/pure-data/issues/824
m.
hi, I tested your cases and didn't see anything funny, can you send me/us a patch?
Em ter., 7 de jul. de 2020 às 08:48, Max abonnements@revolwear.com escreveu:
Hi list,
I found an old thread between m.e.grimm and Roman Haefeli in the archives from 2014-01-26 about escaping in Pd.
https://lists.puredata.info/pipermail/pd-list/2014-01/105594.html
Roman sees this odd behavior in escaping a comma:
----message to print-- , comma at the beginning; comma, right after first word; comma in, the middle; comma at the end,;
gives:
----print-- print: , comma at the beginning print: comma, right after first word print: comma in, the middle print: comma at the end, ----/print--
Meaning the backslash can escape the comma when it comes in the beginning or after the first word, but later the escaping character will be part of the printout.
Is this a bug? is there an explanation for this inconsistency or should I file an issue for it?
Actually this looks related: https://github.com/pure-data/pure-data/issues/824
m.
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
attached.
On 07.07.20 19:52, Alexandre Torres Porres wrote:
hi, I tested your cases and didn't see anything funny, can you send me/us a patch?
Em ter., 7 de jul. de 2020 às 08:48, Max <abonnements@revolwear.com mailto:abonnements@revolwear.com> escreveu:
Hi list, I found an old thread between m.e.grimm and Roman Haefeli in the archives from 2014-01-26 about escaping in Pd. https://lists.puredata.info/pipermail/pd-list/2014-01/105594.html Roman sees this odd behavior in escaping a comma: ----message to print-- \, comma at the beginning; comma\, right after first word; comma in\, the middle; comma at the end\,; ------- gives: ----print-- print: , comma at the beginning print: comma, right after first word print: comma in\, the middle print: comma at the end\, ----/print-- Meaning the backslash can escape the comma when it comes in the beginning or after the first word, but later the escaping character will be part of the printout. Is this a bug? is there an explanation for this inconsistency or should I file an issue for it? Actually this looks related: https://github.com/pure-data/pure-data/issues/824 m. _______________________________________________ Pd-list@lists.iem.at <mailto:Pd-list@lists.iem.at> mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Alex, can you elaborate what you mean by "not seeing anything funny"? Do you see the same output as Roman and I, and think it is meant like that? What's the logic behind it? Or do you see a different output?
m.
On 07.07.20 19:52, Alexandre Torres Porres wrote:
hi, I tested your cases and didn't see anything funny, can you send me/us a patch?
Em ter., 7 de jul. de 2020 às 08:48, Max <abonnements@revolwear.com mailto:abonnements@revolwear.com> escreveu:
Hi list, I found an old thread between m.e.grimm and Roman Haefeli in the archives from 2014-01-26 about escaping in Pd. https://lists.puredata.info/pipermail/pd-list/2014-01/105594.html Roman sees this odd behavior in escaping a comma: ----message to print-- \, comma at the beginning; comma\, right after first word; comma in\, the middle; comma at the end\,; ------- gives: ----print-- print: , comma at the beginning print: comma, right after first word print: comma in\, the middle print: comma at the end\, ----/print-- Meaning the backslash can escape the comma when it comes in the beginning or after the first word, but later the escaping character will be part of the printout. Is this a bug? is there an explanation for this inconsistency or should I file an issue for it? Actually this looks related: https://github.com/pure-data/pure-data/issues/824 m. _______________________________________________ Pd-list@lists.iem.at <mailto:Pd-list@lists.iem.at> mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Added this issue: https://github.com/pure-data/pure-data/issues/1083
On 08.07.20 16:30, Max wrote:
Alex, can you elaborate what you mean by "not seeing anything funny"? Do you see the same output as Roman and I, and think it is meant like that? What's the logic behind it? Or do you see a different output?
m.
On 07.07.20 19:52, Alexandre Torres Porres wrote:
hi, I tested your cases and didn't see anything funny, can you send me/us a patch?
Em ter., 7 de jul. de 2020 às 08:48, Max <abonnements@revolwear.com mailto:abonnements@revolwear.com> escreveu:
Hi list,
I found an old thread between m.e.grimm and Roman Haefeli in the archives from 2014-01-26 about escaping in Pd.
https://lists.puredata.info/pipermail/pd-list/2014-01/105594.html
Roman sees this odd behavior in escaping a comma:
----message to print-- , comma at the beginning; comma, right after first word; comma in, the middle; comma at the end,; -------
gives:
----print-- print: , comma at the beginning print: comma, right after first word print: comma in, the middle print: comma at the end, ----/print--
Meaning the backslash can escape the comma when it comes in the beginning or after the first word, but later the escaping character will be part of the printout.
Is this a bug? is there an explanation for this inconsistency or should I file an issue for it?
Actually this looks related: https://github.com/pure-data/pure-data/issues/824
m.
_______________________________________________ Pd-list@lists.iem.at mailto:Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Em qua., 8 de jul. de 2020 às 18:51, Max abonnements@revolwear.com escreveu:
Added this issue: https://github.com/pure-data/pure-data/issues/1083
On 08.07.20 16:30, Max wrote:
Alex, can you elaborate what you mean by "not seeing anything funny"? Do you see the same output as Roman and I, and think it is meant like that? What's the logic behind it? Or do you see a different output?
for some reason, I did not get this previous email from a few hours ago, but I now see the issue on github with your patch