Package Details: emacs-git

Git Clone URL: (read-only, click to copy)
Package Base: emacs-git
Description: GNU Emacs. Development master branch.
Upstream URL:
Keywords: development editor IDE text
Licenses: GPL3
Conflicts: emacs, emacs-27-git, emacs-seq, emacs26-git
Provides: emacs, emacs-seq
Replaces: emacs-seq, emacs26-git, emacs27-git
Submitter: vorbote
Maintainer: vorbote
Last Packager: vorbote
Votes: 83
Popularity: 0.146201
First Submitted: 2014-01-05 02:05
Last Updated: 2020-05-30 16:17

Required by (415)

Sources (1)

Pinned Comments

vorbote commented on 2017-06-30 19:14

This new PKGBUILD is a work in progress. If you find PACKAGING bugs, please let me know ASAP.

Upstream bugs are reported upstream. Write to and report it there, or, better yet, use the debbugs client included. You will find instructions at Good luck!

Latest Comments

1 2 3 4 5 6 ... Next › Last »

vorbote commented on 2020-05-28 00:13

@iexcel Take upstream bugs to upstream.

iexcel commented on 2020-05-22 19:44

The build fails with clang 10 regardless of LTO enablement. GCC works fine.

  CC       sha512.o
  CC       dtoastr.o
  CC       dtotimespec.o
dtotimespec.c:34:27: warning: implicit conversion from 'time_t' (aka 'long') to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-int-float-conversion]
  else if (! (sec < 1.0 + TYPE_MAXIMUM (time_t)))
                        ~ ^~~~~~~~~~~~~~~~~~~~~
./intprops.h:58:4: note: expanded from macro 'TYPE_MAXIMUM'
  ((t) (! TYPE_SIGNED (t)                                               \
1 warning generated.
  CC       filemode.o
  CC       filevercmp.o
  CC       gettime.o
  CC       nstrftime.o
  CC       pipe2.o
  CC       qcopy-acl.o
  CC       stat-time.o
  CC       tempname.o
  CC       timespec.o
  CC       timespec-add.o
  CC       timespec-sub.o
  CC       u64.o
  CC       unistd.o
  CC       openat-die.o
  CC       save-cwd.o
  AR       libgnu.a
make[1]: Leaving directory '/home/me/.cache/yay/emacs-git/src/emacs-git/lib'
make -C lib-src all
make[1]: Entering directory '/home/me/.cache/yay/emacs-git/src/emacs-git/lib-src'
  CCLD     etags
error: fallthrough annotation does not directly precede switch label
1 error generated.
make[1]: *** [Makefile:366: etags] Error 1
make[1]: Leaving directory '/home/me/.cache/yay/emacs-git/src/emacs-git/lib-src'
make: *** [Makefile:411: lib-src] Error 2
==> ERROR: A failure occurred in build().
Error making: emacs-git

totsilence commented on 2020-05-07 19:30

Thanks for the update. There is a bug, though: If I set NOCAIRO to "YES" I get:

==> ERROR: depends is not allowed to be empty.

totsilence commented on 2020-04-09 09:21


emacs now builds with cairo by default (if found), so whether or not --with-cairo is added to configure is irrelevant. I suggest to change

if [[ $CAIRO == "yes" ]]; then


if [[ $CAIRO != "yes" ]]; then


titaniumbones commented on 2020-04-08 20:26

I need to experimentally revert some some changes in emacs-git that were made soe time ago (cf. I'm not that familiar with aur -- is it appropriate for me to ask for help here on how to modify package source before running makepkg -si?


vorbote commented on 2020-02-23 13:07

@jilen No, pkgconf is not a build dependency.

If you try to compile a PKGBUILD in Arch without installing the base-devel group, you are doing things wrong.

jilen commented on 2020-02-21 02:13

Notice that, this build depends on pkgconf, which was not listed as a dependency

vorbote commented on 2020-02-17 20:31

@jackrandom no problem. I thought I'd updated the build to disable clang and lto last December, I'll have to upload the new version...

niv commented on 2020-02-16 21:43

If someone is interested, I created emacs27-git [1], which is based on emacs-27 release branch [2] and has LTO and CLANG disabled by default.

@vorbote, I mildly modified your PKGBUILD from here for that, I hope that's okay, else let me know!

[1] [2]

shackra commented on 2020-02-11 05:03

this package is slow and freeze when using lsp-mode but I use the Snap of Emacs for Linux Mint in my work laptop and it do not behave the same as this package installed on my gaming PC

any ideas?