Hot answers tagged


The accepted answer does not work anymore since libxml2 will be installed inside the XCode directory. The solution is described here: In short, Apple provides an installer that can put the librairies inside /usr/include. You ...


The reason you sometimes see “interactive compiled Lisp function” (or likewise for variables) with no file name is that the function was loaded from a byte-compiled file and the corresponding Elisp source file is not present. In order to show you the source code, Emacs has to be able to find the source code. Many distributions ship Lisp source files in a ...


The error message described in the question has previously been encountered by other fellow Emacs enthusiasts, and the recommended fix is to install OSX command line tools by running the following from the command line: xcode-select --install Here is the link to the Emacs development thread that described the above solution by Daniel Sutton: http://lists....


You can use C-h o (describe-symbol) on Emacs 25, here is the related NEWS info: Changes in Emacs 25.1 ** New doc command `describe-symbol'. Works for functions, vars, faces, etc... (It was originally called describe-function-or-variable according to this commit.) Variable and function with the same name can be showed at the same time, for ...


Emacs switched from webkit1gtk to webkit2gtk so you'll need to install that instead. Your GTK package should be fine. PS: I agree with the linked article, although I wouldn't put it this drastically. You're better off with using a dedicated browser built upon WebKit or WebEngine. If all you're after is Emacs keybindings, EXWM might be an alternative.


This line only applies to release tarballs (hence why it says "unpacked") which come with a configure script. For the git checkout you'll need to generate it with ./ Be sure to check out the README file for more instructions.


make is a program often used to automate life-cycle of another program. Compiling, testing, packaging and installing would be examples of events in a program's life-cycle managed by make. Usually, it uses a configuration file, typically called Makefile, to describe what should happen during each event in the program's life-cycle. These descriptions are ...


For emacs-26 on ubuntu, the required package for --with-xwidgets is libwebkit2gtk-4.0-dev. Found in comment here, confirmed by experience.


Using strace (strace emacs), it only looks at stats ~/.terminfo and ~/share/terminfo. Copying a terminfo database (it was installed at a different location on my computer) to ~/.terminfo works.


That would be ggtags-find-reference, bound by default to M-]. Also, using the "standard" ggtags-find-tag-dwim (M-.) on a function's prototype should show you its call sites.


(setq TeX-auto-untabify 't) Adding that to the .emacs file solves the problem wonderfully.


Emacs does not choose the icon, it is provided by OSX, look at those files in Finder, they'll have that same icon. This image can be gathered through by using the AppKit class NSWorkspace's function iconForFileType Grep the source for iconForFileType and you'll find the usage. So if you wanted to change what a swift file's icon was you'd need to change ...


In past I want did the same. So I found the answer by accident another day, funny. I saw that you can do it with any org command prefixed with #+BEGIN by just writing a babel language name after it as we use with in #+BEGIN_SRC blocks. See yourself:


If you're looking for ways to quickly jump to source code, there are also find-function-at-point and find-variable-at-point which will jump to the definition of the symbol under the cursor - you could bind them to C-h C-f and C-h C-v, for instance. Or you could try elisp-slime-nav, which uses M-. to jump to a symbol's definition, and M-, to return - it ...

Only top voted, non community-wiki answers of a minimum length are eligible