Solvedagda The Emacs mode only handles LaTeX-based literate Agda

nad
38

Perhaps we should support things like .lagda.md in the Emacs mode.

17 Answers

✔️Accepted Answer

I added support for modes that use ``` for code blocks. If there are any other supported literate modes that use a different separator, please let me know and I'll add them too.

Other Answers:

You can put this in your .emacs file

(add-to-list 'auto-mode-alist '("\\.lagda.md\\'" . agda2-mode))

Related Issues:

11
agda "Could not find module ‘Numeric.IEEE’" error when compiling Agda helloworld
The issue as reported is not a bug The generated code uses a Haskell library I'm trying to compile t...
7
agda The Emacs mode only handles LaTeX-based literate Agda
I added support for modes that use ``` for code blocks If there are any other supported literate mod...
4
agda the official 2.6 version hello-world doesn't work with standard install on Ubuntu 18
I think the documentation should make it clearer that you need to have the standard library installe...
163
go question: "go: cannot find main module; see 'go help modules'"
After upgrade to go1.16 try to set : go env -w GO111MODULE=auto https://blog.golang.org/go116-module...
161
go Proposal: A built-in Go error check function, "try"
I actually really like this proposal However I do have one criticism The exit point of functions in ...
119
go proposal: Go 2: simplify error handling with || err suffix
A plain idea with support for error decoration There have been many proposals for how to simplify er...
98
go runtime/cgo: fails to build after updating to Mojave
What version of Go are you using (go version)? GCC What did you do? update macOS to mojave install g...
91
go net/http: remove support for status code 418 I'm a Teapot
I would be saddened to see 418 removed It's a fun bit of flavor that does no harm ...
90
go go: don't change the libraries in 1.18
Agree For example it looked like we were going to add a few new things like constraints.Slice and co...
88
go cmd/go: modify the Go toolchain to work without GOPATH
But seriously in my experience the problem newcomers have with $GOPATH is not its prescribed namespa...
80
go cmd/go: go mod -vendor prunes non-package directories
I can't believe the proposed solution to this issue is to write another tool to finish what go mod v...
72
go proposal: spec: add built-in result type (like Rust, OCaml)
I think this wouldn't be the right direction for Go ()) })! seriously? The main goal of Go should be...
58
go cmd/go: mod download doesn't allow insecure download
Disappointed to see this request being closed Many large enterprises don't manage certificates ideal...
57
go cmd/go: missing sum after updating a different package
For anyone running into this issue in Go 1.16 you can use go get on a package (or set of packages) i...
52
go cmd/go: go build -i results in "/usr/local/go/pkg/darwin_amd64/runtime/cgo.a: permission denied"
Another workaround: What version of Go are you using (go version)? Does this issue reproduce with th...
51
go proposal: spec: binary integer literals
Let's look at why the aforementioned languages have moved forward and added support for binary liter...
49
go Proposal: A built-in go error check function, "catch"
For the record I don't mind if err != nil and all things being equal I would rather not remove that ...
43
go embed, cmd/go: add support for embedded files
Interesting so I could do something like: And potentially even have a //go:generate comment to gener...
37
julia Proposal: Deprecate then remove function piping
If we're deprecating this should we also deprecate * for string concatenation? That has similar issu...
37
go cmd/go: go get golang/x/tools/...: no matching versions for query "latest"
I had the same (or very similar) problem building a module and using GO111MODULE=off wasn't an optio...
36
go spec: generics: use type sets to remove type keyword in constraints
Based on our current experience with a concrete implementation We propose clarifications for the sem...
35
go proposal: spec: add "must" operator # to check and return error
Instead of an operator it could be a builtin generic function If we're having must as a builtin func...
33
go cmd/go: "unexpected module path" error lacks enough detail to find underlying problem (docker Sirupsen/logrus mismatch)
if anyone encounters this issue again What version of Go are you using (go version)? Go 1.11.1 Does ...
31
go cmd/go: go list has too many (more than zero) side effects
Why should go list fix formatting or remove redundant declarations? Zero really does seem like the r...
29
go time: Location interprets wrong timezone (DST) with slim zoneinfo [1.15 backport]
I believe this may be a broader issue This commit to zic changed the default format from fat to slim...
28
go x/lint: freeze and deprecate
This will free up the mental space for other people to write lint programs perhaps based on this one...
28
go runtime: race detector SIGABRT or SIGSEGV on macOS Monterey
@cherrymui I experienced the same problem on our project (and I was able to reproduce the author's o...
27
julia Precompile everything after Pkg.update() and friends
Hi sorry for the bump but I think this warrants further discussion I would consider myself a beginne...
27
go proposal: spec: change all int types to panic on wraparound, overflow
From a programmer's point of view proposal #19623 is a significant simplification (wrap around and o...
27
go cmd/go: clarify best practice for tool dependencies
Let's take a step back: what do you mean by “tool dependency”? Roughly: I'm writing a module; or mor...
27
go cmd/go: leave $GOPATH/pkg/mod directories writable (removable)
I'd like to object to this Making them temporarily unwritable during tests seems fine but leaving it...
26
sdk [meta] meta version 1.7.0 seems incompatible with analyzer 0.40.6
@SimonErich @Fraa-124 for all those who are still experiencing this problem just overwrite the meta ...
26
v Variable Names: Wow - That's 'Opinionated'!
misunderstanding being a false positive is ironic indeed The other day ...
25
go cmd/go: relative imports do not work with vendoring
If anybody is coming here for a fix this worked for me: My app name is 'app' (/go/src/app) instead o...
25
go proposal: Go 2: function overloading
I've relabeled this as a proposal but in fact there is no full proposal here Perhaps this discussion...
25
go all: port to Windows/arm64
I submitted a stack of CLs to add cgo support to windows/arm64 on Friday evening ending at b8fed48 W...
24
sdk dartanalyzer not picking up extension-methods experiment defined in analysis options
VSCode complains This requires the 'extension-methods' experiment to be enabled ...
23
go cmd/compile: rewrite escape analysis
I've uploaded CL 170322 which is in good enough shape for people to try out if they're interested ...
23
go proposal: Go 2: introduce "then" keyword in if statement to allow one liner if statement for better error handling.
What if we fixed go fmt so you could write It's two characters shorter than than if that's important...
22
go time: LoadLocation doesn't work on windows if Go is not installed
I created 4d63.com/tz because I find it more convenient to import a package than manually including ...
22
go Proposal: Go2: Tuple type
It might be interesting to consider whether we can introduce a conversion between a function result ...
22
go proposal: allow implicit conversion of error to bool in if statements, fmt on one line
@peterbourgon there is and it's called bad language design Language should be consistent and intuiti...
22
go proposal: embed: remove import restriction
Using a magic import import _ embed just feels confusing and makes me wonder what magic the Go compi...
21
go cmd/go: allow "go get" when outside a module in module mode
This clearly must work eventually UPDATE: This is a feature request to be able to install a program/...
21
go proposal: Go 2: spec: conditional-assign (?=) for limited ternary operator functionality
I'd honestly prefer for the if and switch statements to be turned into expressions instead ...
20
go sync: add Mutex.TryLock
See also #27544 Personally I think TryLock is a better name than LockIfNoWait. What version of Go ar...
19
sdk Analyzer error for annotations that aren't in scope is confusing
This just hit me I was writing a class and wanted to make use of required parameters in a constructo...
19
go proposal: spec: define _ on rhs as zero value
As a consideration a different language proprosal (#12854) for stronger type elliding may solve what...
19
go net: enable TCP keepalive on new connections from net.Dial
Seems like a good idea More concretely I think the time.Duration zero values in a number of places s...
19
go cmd/go: macOS on arm64 requires codesigning
I don't understand this What is the point of code signing if every execution of clang or the Go comp...