Questions tagged [development]
Using Emacs to develop programs in other languages.
13 questions
1
vote
1
answer
84
views
How are program arguments handled when a program/script is launched from Emacs?
I often find myself wondering how people handle program arguments when they are developing with Emacs. Let's say we have a Python script test.py and launching it requires supplying arguments, e.g. --...
2
votes
2
answers
1k
views
How to use clojure-lsp in Emacs?
I downloaded clojure-lsp (https://github.com/snoe/clojure-lsp) and tried to add it as a client in my init.el:
(use-package lsp-mode
:ensure t)
(use-package lsp-ui
:ensure t
:config
...
3
votes
1
answer
1k
views
How to call org-lint against org-mode file from command-line
I am configuring a CI/CD pipeline to process org-mode files into documentation, source code, and other file formats.
I would like to add a call to org-lint to do basic syntax checking against org ...
4
votes
1
answer
821
views
How to make org-babel call all remote code blocks under a specific headline?
For example, I have following org file:
***** user level
****** copy system service file
At first copy system's systemd service file to systemd user level. by check it
out, and tangle it to target ...
6
votes
1
answer
5k
views
GNU Global + ggtags and helm + helm+gtags
In http://tuhdo.github.io/c-ide.html#orgheadline2 which is about "Prerequisite"
Or, helm + helm-gtags.
What does "Or" imply as the alternative to the combination "helm + helm+gtags"?
Is the ...
1
vote
2
answers
3k
views
How to set up hotkey for compiling c code and run the compiled file?
I used to use tmux with vim to write codes in C/C++. So I split the screen into two in tmux and then press F3 to "make" the file. And then I can press F4 to run the "main" file in the next subscreen.
...
21
votes
1
answer
4k
views
How to automatically create neat C comment blocks while typing?
Some code editors such as eclipse automatically form neat blocks when you start typing a multi-line comment:
Is there some package or another way to do this in emacs too?
Edit: To clarify: I do not ...
1
vote
1
answer
838
views
Emacs (semantic) include not working for relative personal includes
This works:
Running semantic-decoration-include-visit (opens the included header):
#include <string.h>
#include "/usr/include/gtk-3.0/gtk/gtk.h"
Works well.
This does not:
But if I run ...
32
votes
10
answers
22k
views
How do use Emacs to look up a function in Python?
What is the easiest way to configure Emacs to be able to look up where a function is defined? I want to highlight it in Emacs and press a key combo to look up where the source of the function is.
Can ...
2
votes
1
answer
117
views
Warning about modification of files which should be static
Some files in Emacs should not be modified, for example:
an .el.gz library file which is expected to behave "properly"
an external extension, which will be overwritten on update
Anyway, there are ways ...
16
votes
3
answers
2k
views
Closing all pending parenthesis
When writing lisp codes, sometimes I'm deep in a nested expression and all I want is to insert all the missing closing parenthesis. Right now I'm just inserting them until I get a mismatched paren, ...
2
votes
2
answers
284
views
Command to automatically define a resource variable in an Android project
When coding Android projects, resource variables are somewhat
cumbersome to define, as they involve visiting a file far away in the
directory structure and writing xml(!).
Say I want to define a ...
9
votes
1
answer
7k
views
How can I set Emacs up for iOS development with Swift?
I'm going to be doing a bit of iOS work soon, using Swift (yay!). Unfortunately, this usually involves xcode (boo!).
How can I set Emacs up to build iOS apps with Swift? Ideally, they would run on ...