Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [development]

Using Emacs to develop programs in other languages.

Filter by
Sorted by
Tagged with
1 vote
1 answer
55 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. --...
Lennart Van der Goten's user avatar
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 ...
Arne's user avatar
  • 409
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 ...
Melioratus's user avatar
  • 4,678
4 votes
1 answer
771 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 ...
stardiviner's user avatar
  • 1,938
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 ...
Tim's user avatar
  • 5,027
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. ...
Jon's user avatar
  • 11
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 ...
Geier's user avatar
  • 732
1 vote
1 answer
798 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 ...
Leo Ufimtsev's user avatar
  • 4,568
31 votes
10 answers
21k 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 ...
Low Kian Seong's user avatar
2 votes
1 answer
103 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 ...
Łukasz Gruner's user avatar
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, ...
rlazo's user avatar
  • 993
2 votes
2 answers
258 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 ...
Malabarba's user avatar
  • 23.2k
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 ...
Tikhon Jelvis's user avatar