Questions tagged [emacs-internals]
22 questions
19
votes
1 answer
Are there any benefits of compiling Emacs with one graphical toolkit opposed to another?
It seems the options are gtk, gtk2, gtk3, lucid or athena, motif. Of course, there are visual differences and one toolkit may be more to your tastes than others. Apart from that, are there any other differences such as with respect to performance…

tmalsburg
- 2,570
- 1
- 16
- 30
8
votes
3 answers
How do I force kill Emacs?
I often find myself with an incomplete or invalid emacs config, which breaks the normal behavior of kill-emacs such that it stops at an error.
In this case, I would like to forcefully kill emacs, without resorting to hunting down the PID and issuing…

PythonNut
- 10,363
- 2
- 30
- 76
5
votes
2 answers
Why does GUI emacs take longer to start?
I care about the time it takes to start emacs. I bounce around a lot and edit many files. I cannot use emacsclient due to some limitations in my workflow and machine.
In the terminal emacs -nw -Q M-x emacs-init-time returns 0.0 seconds
In the GUI…

PythonNut
- 10,363
- 2
- 30
- 76
3
votes
0 answers
How can I list all function keys?
Seems that src/keyboard.c file contains C string arrays for (info "(elisp) Function Keys").
Is there a way to get that list in Elisp?
I discovered that such symbols have special properties:
(symbol-plist 'backspace)
==> (event-symbol-element-mask…

gavenkoa
- 3,452
- 20
- 37
3
votes
0 answers
How text is stored internally in emacs?
I'm curious about the Emacs architecture. Do you know where are the structures for keeping opened text file? Where are the main functions for opening, editing and closing text files? How in general terms text is stored.
I once opened one xml file,…

Peret Finctor
- 133
- 4
1
vote
1 answer
compiling emacs without dump/unexec enabled
Is there a way of configuring the emacs build to produce an executable that does not use dump/unexec functionality?
I'm trying to compile emacs with ASAN, clang and gcc's address sanitizer, enabled.
However, ASAN is an invasive compiler plugin and…

Greg Nisbet
- 877
- 5
- 19
-4
votes
2 answers
Why is Emacs code so unorganized?
I've been looking at Mickey Petersen's exegesis on the Emacs 25.1 NEWS file, and realized that built-in Emacs Lisp files are a mess.
The worst offender is without a doubt subr.el, whose description simply says
Basic lisp subroutines for Emacs
From…

Tianxiang Xiong
- 3,878
- 18
- 28