How to work around the infamous dual-context when using delegates together with std.parallelism

Christian Köstlin christian.koestlin at gmail.com
Mon May 31 16:50:50 UTC 2021


On 2021-05-31 13:40, CandG wrote:
> On Thursday, 27 May 2021 at 14:44:29 UTC, Steven Schveighoffer wrote:
>> On 5/27/21 10:13 AM, Christian Köstlin wrote:
>>> P.S.: I still do not get how to post formatted snippets with 
>>> thunderbird to the newsgroup/forum :/
>>
>> It's not possible currently.
> 
> I no longer use thunderbird, but:
>   - 
> https://github.com/CyberShadow/DFeed/commit/2e60edab2aedd173c7ea3712cb9500d90d4b795d#diff-0ecfc518dcbf670fdac54985dd56663a16a0806fd57a05ac09bf40a933b851e5R338 
> 
>   - IIRC thunderbird allows changing headers: try adding "Content-Type" 
> to the comma-separated list "mail.compose.other.header"
>   - Then in the composition window make sure Content-Type is set to 
> something like "text/plain; markup=markdown"
Thanks for the tip, lets see if it works:

```D
void main(string[] args) {
   writeln("Hello World");
}
```

Kind regards,
Christian



More information about the Digitalmars-d-learn mailing list