Hot answers tagged

8

The reason 24.5 builds so quickly for you is that the .elc files are actually distributed in the tarball, see make-dist. When building from git, the majority of the time is spent compiling the .el files into .elc. By optimizing the C code, the Lisp compilation can go faster, but it still takes a long time. Compare build times using your original settings (...


5

When running helm-find-files, you should be able to use C-h k C-j to find out what command will be run by C-j, for me, it gives: C-j runs the command helm-execute-persistent-action (found in helm-find-files-map), which is an interactive Lisp closure in ‘helm.el’. It is bound to , C-j, C-z. (helm-execute-persistent-action &optional (ATTR '...


4

You can change the lazy-highlight face: (custom-set-faces `(lazy-highlight ((t (:foreground "white" :background "SteelBlue"))))) But this face is used in other cases.


3

Here are various suggestions. No elc files. As stated below, compiling all of the lisp files accounts for at least 10% of the time. One way to disable that is to edit the loaddefs target in file lisp/Makefile and change that to: $(lisp)/loaddefs.el: $(LOADDEFS) true No compiler optimization or debugger symbol tables Currently, I'm ...


2

When building ncurses, tell it to install in a directory under your home directory: ./configure --prefix=$HOME/ncurses make make install Then, when building Emacs, tell Emacs to look for include files and libraries under that directory: ./configure LDFLAGS=-L$HOME/ncurses/lib CPPFLAGS=-I$HOME/ncurses/include


2

Should be defined in at least Emacs 24.5 and later: (defun special-form-p (object) "Non-nil if and only if OBJECT is a special form." (if (and (symbolp object) (fboundp object)) (setq object (indirect-function object))) (and (subrp object) (eq (cdr (subr-arity object)) 'unevalled)))


1

You need to upgrade your emacs to at least Emacs 25.1. I'm not sure if each Ubuntu LTS provides updated stable packages beyond the point they released the distro, emacs26 now, but if not you can either compile it yourself or look for a suitable ppa as Kevin Kelley's


1

Aha, I figured it out. It's a new feature (or "feature", depending on your outlook) of Gtk 3. I haven't found any mention of it in the documentation yet, but here's an article from a Gtk developer: https://blog.gtk.org/2017/10/11/a-scrolling-primer/ I'll quote the relevant portion: There’s more to scrolling in GTK+ that you may not know about. One ...


1

https://stackoverflow.com/questions/20541322/how-to-remove-installed-elpa-package suggests simply removing the package directories from your disk. package-delete is undocumented in Emacs 24, but seems to do the same thing (as well as removing any .signed file corresponding to the deleted package).


1

This should be your package manager's duty, not magit, if you are using package.el on Emacs 25, you can try package-autoremove. From C-h f package-autoremove: (package-autoremove) Remove packages that are no more needed. Packages that are no more needed by other packages in ‘package-selected-packages’ and their dependencies will be deleted. ...


1

Following the advice of @zck and @wvxvw, I opened emacs using the -Q option, and this caused the errors not to appear. Hence, I concluded that the errors were raised within my .emacs file. Inside that file, I had the following lines: (load-file "~/cedet-1.0pre7/common/cedet.el") (global-ede-mode 1) (semantic-load-enable-code-helpers) (global-srecode-minor-...


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