Kristoffer Carlsson

Results 1634 comments of Kristoffer Carlsson

> IMO this isn't too spammy (especially because Julia is 1 indexed). I don't see how Julia being 1 indexed has anything to do with the level of spamminess this...

Introduced in 4d1e02f9763512a896581604ac9743f23269c3c3

You need to do: ```julia julia> io = IOBuffer() julia> ioc = IOContext(io, :color=>true) julia> printstyled(ioc, "Hello"; bold = true) julia> String(take!(io)) "\e[0m\e[1mHello\e[22m" ```

> So then the follow-up question is: can the {minted} environment in LaTeX handle those control characters appropriately? I'd assume not, because the styling happens separately. Would need to do...

This could be made into an extension which would also solve the loading time.

> Is it certain the extension feature will make 1.9? It's on the backport branch at least.

I tried this on 1.7, 1.8, and 1.9 and it seems to work correctly on all of them. So I am confused about when this actually was a problem.

Wait, I thought I was in the julia repo and this was with the standard parser..

Imo, there should either be support for providing your own `Downloader` object or this should be set on the global downloader. But adding an environment variable into Pkg that just...

@carlobaldassi, what would be required in the resolver to support this? I am guessing just redefining some stuff in https://github.com/JuliaLang/Pkg.jl/blob/master/src/Resolve/versionweights.jl but are there more things? If you could have some...