Questions tagged [development]

Using Emacs to develop programs in other languages.

Filter by
Sorted by
Tagged with
1
vote
2answers
358 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 ...
2
votes
1answer
115 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 ...
2
votes
1answer
122 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 ...
5
votes
1answer
3k 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
2answers
1k 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. ...
17
votes
1answer
2k 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
1answer
576 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 ...
20
votes
8answers
12k 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
1answer
84 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 ...
14
votes
3answers
905 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
2answers
212 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 ...
8
votes
1answer
5k 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 ...