Diego Zamboni

Results 98 comments of Diego Zamboni

Just for reference, I found a way to achieve this by using a global dispatch table to call the functions: ``` > cat test2.elv dispatch-table = [&] fn g {...

As mentioned by @xiaq in Telegram, it works if we assign the new function directly to the function variable, like this: ``` fn f { put top-f } fn g...

Happy to be the counterexample πŸ˜‰. I think that code should be pretty easy to change to use value inputs or to store the output of the command before and...

I figured out how to do this using `org-download` by customizing `org-download-screenshot-method` to a command that writes the clipboard to a file on disk. On macOS https://github.com/jcsalterego/pngpaste can be used,...

I agree with @krader1961. While this idea sounds technically interesting, I'm afraid it would add a lot of implementation complexity and edge cases for minimal benefit. I **like** that the...

@SolitudeSF thanks! @href I have improved https://github.com/href/elvish-gitstatus/pull/7 using this tip πŸ˜„

@krader1961 these are good questions. I agree it might make sense to automatically load all builtin modules, since they are commonly used anyway. The only counterpoint would be if doing...

I know Elvish well, but I don't code Python regularly so I don't fully understand how `virtualenv` works. @gaborbernat is there documentation somewhere about how to write a new activator?...

@iwoloschin right - I remembered seeing something about virtualenv somewhere, and it was your module indeed which I had seen. I agree that using `-source` is not recommended, since it's...

> Let me start by saying I use Conda. I wrote my own, trivial, `con` and `coff` Elvish functions to activate and deactivate a Conda environment. This is not hard...