Questions tagged [compile]
The compile tag has no usage guidance.
14
questions
0
votes
0answers
23 views
How do I make compilation use vterm instead of the default shell it is using?
I am running M-x compile commands in my Projectile projects. I would like to use vterm for running them as the compilations are getting very slow because the project is very large.
How do I make ...
1
vote
1answer
32 views
Can't make emacs compile with locally installed harfbuzz
Whenever I start the ./configure script for emacs at the end of it I get the following message:
configure: WARNING: This configuration uses the Cairo graphics library,
but not the HarfBuzz font ...
0
votes
0answers
60 views
Error: Symbol's function definition is void: which-key-mode
My init-which-key.el contains the following code,
(require 'package)
(defun my/which-key-setup ()
"Startup configuration for which-key."
(unless (package-installed-p 'which-key)
(...
0
votes
1answer
32 views
Cannot make `compile-command` buffer local
I've tried making compile-command buffer-local via
(defun compilation-make-locals (process)
(set (make-local-variable 'compile-command)
compile-command))
(add-hook 'compilation-start-hook '...
0
votes
0answers
32 views
is there a way to make compile shell process happen in eshell / “real” shell?
i wanted to bind a key to a compile and run command, then i found this post, Compile and run single file c++ programs in Emacs[SOLVED]
( last answer)
It works perfectly fine and as intended.
The only ...
1
vote
1answer
72 views
M-x compile hangs with WARNING: terminal is not fully functional
I have been using M-x compile for ages. Lately (our sysadmin has updated many things) it hangs after giving this message: WARNING: terminal is not fully functional - (press RETURN). Pressing return ...
1
vote
1answer
71 views
Function `cd` not working correctly in conjunction with `tramp` and `compile`
For context I am looking at a remote file; for example: /ssh:desktop:/home/user/project/src/file.cpp.
I then issue the interactive command compile like so:
cd /ssh:desktop:/home/user/project/Release &...
0
votes
1answer
46 views
Create shortcut for interactive compile command
I know that we can start compile interactively using C-u M-x compile. Is there a way to start this whenever I run M-x compile? If that cannot be done, how do I create a shortcut to C-u M-x compile?
...
0
votes
0answers
69 views
Where is M-x compile?
I have a basic C file open in c-mode:
#include <stdio.h>
#include <stdlib.h>
int main()
{
return 0;
};
I'm trying to compile it. I type M-x compile expecting to be asked to set my ...
1
vote
2answers
100 views
How to Run a Context Sensitive Compile?
When working on projects which use multiple kinds of build-systems, sometimes I want to run a make command based on the project, without having to manually setup project spesific hooks.
Is there a ...
1
vote
1answer
81 views
Create custom “mode-hook” for other programming languages
For C/C++, I have the following to be run when I do M-x compile on a .c/.cpp file
(add-hook 'c++-mode-hook
(lambda ()
(set (make-local-variable 'compile-command)
...
0
votes
0answers
88 views
Send command to run in eshell, after compiled
So I've been mapping my M-x compile like this, according to c-mode-hook or c++-mode-hook:
(add-hook 'c++-mode-hook
(lambda ()
(set (make-local-variable 'compile-command)
...
1
vote
1answer
109 views
Projectile command for debug and release
My google searches aren't turning up anything useful, but I am trying to figure out how I" can use projectile-project-compilation-cmd to be able to dynamically switch between release and debug with ...
0
votes
0answers
15 views
Emacs continuously asking for input and not sure what is the cause
I have this function implemented to basically compile and run the cpp file I am writing. Some files needs input (cin) so running this function will not stop and would continuously showing this message:...