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 (...
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
It is bound to , C-j, C-z.
(helm-execute-persistent-action &optional (ATTR '...
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:
No compiler optimization or debugger symbol tables
Currently, I'm ...
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)))
When building ncurses, tell it to install in a directory under your home directory:
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
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
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 ...
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).
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:
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.
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: