On 13.04.2015 05:01 PM, Lawrence Velázquez wrote: > On Apr 13, 2015, at 10:38 AM, Mihai Moldovan <[email protected]> wrote: > >> The "problem" is that this is not a real "block" but a list element. >> While a newline at the beginning is generally ignored by the notes base >> code, newlines at the end are not. Not escaping a newline there is thus >> leading to output like this: >> >> "xinit has the following notes: >> To choose MacPorts' X11 as the default server, you must install >> xorg-server, >> >> logout, and log back in. >> >> " > > That's not the only problem with xinit's notes — they're entirely broken. > Each "notes-append" you do creates its own separate block of text that the > notes code formats/wraps individually.
I'm open to suggestions.
If individual notes-append "blocks" creates own separate list elements,
notes-append is not really useful in most circumstances. The only
workaround I see is using
notes [concat {*}"${notes} new content"]
to flatten the lists into one string every single time, but that's fugly.
Mihai
signature.asc
Description: OpenPGP digital signature
_______________________________________________ macports-dev mailing list [email protected] https://lists.macosforge.org/mailman/listinfo/macports-dev
