Philipp Stephani

Results 63 comments of Philipp Stephani

Friendly ping?

A typical approach would be to use HTTP-like framing, like the language server protocol (https://github.com/Microsoft/language-server-protocol/blob/master/protocol.md#base-protocol). From Emacs you'd start an asynchronous process with `make-process`. It needs a custom process filter....

A PR would be great, thanks a lot!

> It has the advantage that it doesn't require manually specifying the name of variables, just the slot names (but you can specify them if you choose). So I guess...

The docstring of `-if-let` is: ``` (-if-let VAR-VAL THEN &rest ELSE) If VAL evaluates to non-nil, bind it to VAR and do THEN, otherwise do ELSE. VAR-VAL should be a...

Is this actually correct @laurentlb ? AFAIK we'd want WORKSPACE.bazel to be visited in workspace mode, not BUILD file mode. What other files ending in .bazel are there except BUILD.bazel...

Thanks for the pointer to https://github.com/mathetake/bazel-wasmtime-c-api/blob/03dea33441a2d88fd494556da0f2e690b7cd5f14/bazel/cargo/crates.bzl. From what I can see, all the files in https://github.com/mathetake/bazel-wasmtime-c-api/tree/03dea33441a2d88fd494556da0f2e690b7cd5f14/bazel/cargo/remote are of the form `BUILD.*.bazel`, so wouldn't it be enough to add a pattern...

> I'd say it's far easier to strike a balance by having Bazel (and tools around it) formally use .bazel and .bzl file extensions. I don't disagree, but I guess...

> This CL enhances the build commands by automatically inferring the name of the target from the current buffer. If multiple targets match, completion is provided with the list. >...