Questions tagged [source]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
9
votes
3answers
3k views

Installing Emacs from source: 'make' fatal error: 'libxml/tree.h' file not found

I wish to run Emacs from the latest development version. I've downloaded the latest Emacs development version from https://savannah.gnu.org/projects/emacs (with git clone -b master git://git.sv.gnu....
9
votes
2answers
1k views

Navigate to the source code of built-in functions and variables

Throughout the day I am constantly using C-h f or C-h v (describe-function and describe-variable) to look up documentation for functions and variables. More often than not, if I don't get all the ...
9
votes
1answer
372 views

Make consistent syntax highlighting of LaTeX source blocks

Org manual's solution for syntax highlighting of org-babel code blocks is to turn on native fontification with (setq org-src-fontify-natively t) works well for LaTeX code enclosed in blocks with #+...
3
votes
2answers
2k views

Compile Emacs with xwidgets in Ubuntu 14.04

Going to build Emacs from the git repository. Found this and this resources that suggest to compile it with xwidgets for Ubuntu 16.04. On my Ubuntu 14.04, did install the corresponding dependencies ...
3
votes
1answer
497 views

Finding the source file containing the definition of functions and variables

Is it possible to merge find-function and find-variable to a single find-function-or-variable to be able to search both functions and variables at the same time and going to their definition in the ...
3
votes
0answers
43 views

Add a source reference to org blocks

During research, I often cite a passage from some website, a local document or org file. For context and later use, I always add the source reference after the block: * Public transport ** Bus Buses ...
3
votes
0answers
66 views

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 ...
2
votes
1answer
461 views

Installing Emacs from source: no 'configure' file

I wish to build the latest development version of Emacs from source. I've browsed to https://savannah.gnu.org/projects/emacs and executed the command suggested on the front page, namely git clone -b ...
2
votes
1answer
581 views

org-mode setting to preserve spacing in SRC code, with verbatim latex output to pdf

Like this post, when I indent within a SRC code block in org-mode, 8 consecutive spaces are converted to a tab. Moreover, when I export to LaTeX 8 consecutive spaces are converted to tabs in the ...
1
vote
1answer
84 views

disable minor mode inside source blocks

i have org mode set up with typo minor mode and pretty entities enabled by default. but when i work on programming, these two are totally useless inside the source code blocks i insert into org ...
1
vote
1answer
159 views

How to find where a given function is called from in gtags

I am using gtags and can jump to where a function is defined. Howeve I am not able to find inside a function where it is begin called from. Is there anyway to find where a function is called from?
1
vote
1answer
121 views

Compiled Emacs Needs Terminfo

When installing emacs completely from source to a custom prefix (no root), even after the compilation works, it says emacs: Cannot open terminfo database file . Adding the terminfo to different parts ...
1
vote
1answer
432 views

Error when (stata . t) added to org-babel-do-load-languages in an attempt to evaluate Stata code in org-mode [closed]

Important Note: As of Spring 2020, ob-stata.el via Emacs Speaks Statistics has been deprecated. Even the updated version described below in this thread is broken. I (the author of the updated ob-...
1
vote
0answers
524 views

Installation Warning: Cannot convert string

I am installing emacs from source on Ubuntu machine. make install successfully installed it. Now when I start emacs it is showing this warning Warning: Cannot convert string "-*-courier-medium-r-*-*-...
0
votes
1answer
132 views

Installing Emacs from source: the command `C-h v` for accessing variables doesn't work

I have installed the latest development version of Emacs on my Mac from the source by cloning the Git repository here ('Emacs source repository' under 'Anonymous clone'), and then executing make in ...
0
votes
1answer
54 views

How to control the favicon as a function of file extension.

I'm using GNU Emacs 25.0.50.1 (x86_64-apple-darwin14.0.0, NS appkit-1343.14 Version 10.10 (Build 14A389)) of 2014-10-20 And I interesting in knowing how emacs does an icon in the top window frame ...
0
votes
1answer
93 views

How do I build emacs from sources on macOS Catalina Version 10.15.4

I typically run gnuemacs using MacPorts. However, I have a friend who does not have admin on his managed mac, so I want to build for him a full release of emacs that will run out of his home directory....
0
votes
0answers
77 views

How to build and run Emacs from source with Eclipse?

I have just downloaded the latest version (Oxygen, Release 4.7.0) of the Eclipse IDE for C/C++ Developers, and would like to use it to build and run Emacs from source, which I have downloaded from the ...
0
votes
0answers
90 views

How to add a key map in Emacs source code?

I found ESC-prefix and Control-X-prefix defined in keymap.c: initial_define_key (global_map, 033, "ESC-prefix"); initial_define_key (global_map, Ctl ('X'), "Control-X-prefix"); But no matter what ...