Recently Active Questions
27,898 questions
1
vote
1
answer
589
views
Using auto-insert and yasnippet to insert variables into template
I've been reading this and this, trying to figure out how to have an org-mode in-buffer settings template such as this:
# # -*- mode: org -*-
# # -*- coding: utf-8 -*-
#+TITLE: $1
#+AUTHOR: `(user-...
0
votes
1
answer
215
views
How to align operands in c++-mode?
I'm trying to get Emacs to align operands vertically.
Current behaviour
#include <iostream>
void main()
{
std::cout << 1 + 2
+ 3;
return 1 + 2
+ 3;
}
Wanted ...
1
vote
2
answers
520
views
Can TODO headings in org mode inherit part of the heading style, specifically fontsize?
Emacs initiate here, I've just now added different heading sizes for org-mode to my init file, according to the answer on this page: Setting for org-mode bullet font size
(custom-set-faces
'(org-...
2
votes
1
answer
266
views
How to get content of CDATA section (and strip all HTML tags from it)
I am trying to parse an RSS feed element returned by org-feed-parse-rss-feed with a custom version of org-feed-parse-rss-entry.
(defun aleneum/org-feed-parse-rss-entry (entry)
"Parse the `:item-...
2
votes
1
answer
305
views
gzip: stdin: unexpected end of file
Linux Mint 20.1
Emacs 27.1
I connect to remote Linux host by tramp mode. Success connect. Nice.
But when in dired mode I try to open log file (press Enter) I get the next message:
gzip: stdin: ...
0
votes
1
answer
248
views
Org-mode, linking between headings topic
I use Org-mode to manage a knowledge-base system.
I want to apply the dependency/requirement concept for learning any specific topic:
Let's say We have 4 nodes, each one represent a "Topic to ...
0
votes
1
answer
95
views
Is there any org-babel source block that converts to a LaTeX pseudocode algorithm block?
Currently, when I want to add some algorithm's pseudocode to my LaTeX export, I have to manually write LaTeX:
** Pixel-Flipping: A Technique to Assess Faithfulness
- Pixel-flipping is a quantitative, ...
0
votes
1
answer
55
views
Does Emacs support stripping comments in CLI mode?
While researching how to remove C and C++ style comments from a file, I stumbled on the following two comments by Alan Mackenzie from almost 20 years ago:
I can assure you, as half of the Emacs CC ...
3
votes
1
answer
298
views
How do you use the eieio-persistent class to serialize a set of objects?
I am trying to use the eieio-persistent class to make persistent objects. My goal is to store many objects in a file.
I am not sure how to achieve this though. If I use this code, I do get a ...
1
vote
1
answer
493
views
Elpaca: problems with eglot version and flymake
I am using elpaca as my package manager. When I try to install flymake, using the use-package compatibility, I am getting the following error:
eldoc installed version (1 13 0) lower than min required ...
2
votes
1
answer
335
views
emacs-nox framebuffer access
First of all, I am not familiar with how emacs-nox is implemented internally.
Suppose we can access framebuffer directly (/dev/fb...)
Is it possible to access the framebuffer directly using emacs?
For ...
3
votes
1
answer
834
views
AUCTeX does not compile if the local variable is already set
I'm basically want to ask the question that was asked in Tex Stackexchange but was considered off-topic there (this is the link to the question).
When I am trying to compile (using the command C-c C-...
0
votes
0
answers
8
views
How to fix crashing of WSL Emacs over X?
On a Windows machine I run the MobaXterm X server system. I use this to display Emacs running on a remote Linux machine. This works fine.
I also use this X system to display Emacs running on a WSL ...
0
votes
1
answer
51
views
Trying to auto load these packages in Clojure files, they worked the first time but don't work anymore
I have the following function to auto start raindow-delimters and paredit
(defun my-lisp-hook ()
(enable-paredit-mode 1)
(rainbow-delimiters-mode 1))
(add-hook 'clojure-mode-hook 'my-lisp-hook)
...
0
votes
1
answer
107
views
How to have 'emacs' behave like 'find-file' within vterm?
I know that such a thing is possible within eshell; however, I am now using vterm, and I'd like for when I type emacs for it to be as if I typed find-file.
For example, for eshell, you could do
alias ...