Comments (2)
See https://github.com/rmculpepper/custom-load
from racket-mode.
Instead of going to a separate shell, I would expect users to use M-x compile and put raco make in there. We could help by setting compile-command
to raco make
by default:
compile-command is a variable defined in ‘compile.el’.
Its value is "make -k "
This variable may be risky if used as a file-local variable.
This variable is safe as a file local variable if its value
satisfies the predicate ‘(lambda (a) (and (stringp a) (or (not (boundp (quote compilation-read-command))) compilation-read-command)))’.
Documentation:
Last shell command used to do a compilation; default for next compilation.
Sometimes it is useful for files to supply local values for this variable.
You might also use mode hooks to specify it in certain modes, like this:
(add-hook 'c-mode-hook
(lambda ()
(unless (or (file-exists-p "makefile")
(file-exists-p "Makefile"))
(set (make-local-variable 'compile-command)
(concat "make -k "
(if buffer-file-name
(shell-quote-argument
(file-name-sans-extension buffer-file-name))))))))
You can customize this variable.
from racket-mode.
Related Issues (20)
- Unicode affects Check Syntax HOT 37
- racket-xp-mode reports "defined locally" and imported, both? HOT 3
- Ability to configure the context for racket-racket to operate? HOT 7
- racket-hash-lang-mode not highlighting buffer with font-lock HOT 31
- Typo in documentation HOT 2
- print-as-expression in buffer has no effect HOT 2
- Invalid read causes REPL to fail HOT 9
- Test failures with very recent paredit commits HOT 1
- racket-xp-unused-face not applied to identifiers beginning with an underscore. HOT 3
- Issue viewing r5rs documents using `racket-xp-describe` HOT 1
- XREF can not find references inside Scribblings HOT 3
- collection not found HOT 2
- install and racket-run permission denied HOT 11
- `racket-repl` starts a new REPL even if one exists HOT 1
- Buffer-specific back end? HOT 5
- run main module HOT 10
- "result arity mismatch" when using a contract with or/c and values HOT 3
- Test coverage doesn't work for match
- Better syntax highlighting for scribble files HOT 7
- racket-tests/indent-speed-* can fail on slow / loaded hosts. HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from racket-mode.