Package Details: emacs-native-comp-git-enhanced 28.0.50.147297-1

Git Clone URL: https://aur.archlinux.org/emacs-native-comp-git-enhanced.git (read-only, click to copy)
Package Base: emacs-native-comp-git-enhanced
Description: GNU Emacs. Development native-comp branch and pgtk branch combined.
Upstream URL: http://www.gnu.org/software/emacs/
Licenses: GPL3
Conflicts: emacs, emacs-27-git, emacs-git, emacs-seq, emacs26-git
Provides: emacs, emacs-seq
Replaces: emacs-git, emacs-seq, emacs26-git, emacs27-git
Submitter: VitalyR
Maintainer: VitalyR
Last Packager: VitalyR
Votes: 3
Popularity: 0.27
First Submitted: 2020-07-11 16:12
Last Updated: 2021-03-06 13:52

Required by (413)

Sources (1)

Latest Comments

VitalyR commented on 2021-01-25 17:50

Add this to your config file to fix the define-obsolete-function-alias problem before the packages or config frameworks catchs up:

(define-advice define-obsolete-function-alias (:filter-args (ll) fix-obsolete)
  (let ((obsolete-name (pop ll))
        (current-name (pop ll))
        (when (if ll (pop ll) "1"))
        (docstring (if ll (pop ll) nil)))
    (list obsolete-name current-name when docstring)))

VitalyR commented on 2021-01-11 11:17

Notice that I locked the commit to https://github.com/flatwhatson/emacs.git#commit=78fd106653a9e4fa7c9c3c9788540e2e15552254 in order to avoid breaking your packages. Waiting for these packages adapt to the new define-obsolete-function-alias: all-the-icons evil-ex org-refile org-journal projectile (done!) smart-mode-line solarized treemacs-customization unfill

bienjensu commented on 2020-12-22 13:17

@dabier I am gettings similar errors:

Warning (comp): Debugger entered--Lisp error: (file-error "Opening output file" "Cannot overwrite file" "/usr/share/emacs/28.0.50/lisp/emacs-lisp/cl-lib.el...") Disable showing Disable logging

These repeat after async compilation starts every time emacs is launched, for different el files. I compiled with everything left as default. *Async-native-compile-log* output:

Debugger entered--Lisp error: (file-error "Opening output file" "Cannot overwrite file" "/usr/share/emacs/28.0.50/lisp/emacs-lisp/cl-lib.el...")
signal(file-error ("Opening output file" "Cannot overwrite file" "/usr/share/emacs/28.0.50/lisp/emacs-lisp/cl-lib.el..."))
byte-compile-file("/usr/share/emacs/28.0.50/lisp/emacs-lisp/cl-lib.el")
#f(compiled-function (filename) "Byte-compile FILENAME spilling data from the byte compiler." #<bytecode 0x15639fb902450803>)("/usr/share/emacs/28.0.50/lisp/emacs-lisp/cl-lib.el")
apply(#f(compiled-function (filename) "Byte-compile FILENAME spilling data from the byte compiler." #<bytecode 0x15639fb902450803>) "/usr/share/emacs/28.0.50/lisp/emacs-lisp/cl-lib.el" nil)
comp-spill-lap-function("/usr/share/emacs/28.0.50/lisp/emacs-lisp/cl-lib.el")
comp-spill-lap("/usr/share/emacs/28.0.50/lisp/emacs-lisp/cl-lib.el")
#f(compiled-function (pass) #<bytecode 0x8df95ff29d600bb>)(comp-spill-lap)
mapc(#f(compiled-function (pass) #<bytecode 0x8df95ff29d600bb>) (comp-spill-lap comp-limplify comp-fwprop comp-call-optim comp-ipa-pure comp-cond-cstr comp-fwprop comp-dead-code comp-tco comp-fwprop comp-remove-type-hints comp-final))
comp--native-compile("/usr/share/emacs/28.0.50/lisp/emacs-lisp/cl-lib.el" t)
eval-buffer(#<buffer  *load*> nil "/tmp/emacs-async-comp-cl-lib-OWDUvK.el" nil t)  ; Reading at buffer position 1385
load-with-code-conversion("/tmp/emacs-async-comp-cl-lib-OWDUvK.el" "/tmp/emacs-async-comp-cl-lib-OWDUvK.el" nil t)
command-line-1(("-l" "/tmp/emacs-async-comp-cl-lib-OWDUvK.el"))
command-line()
normal-top-level()

dabier commented on 2020-12-22 01:59

When starting emacs, got lots of similar error like this:

Warning (comp): Debugger entered--Lisp error: (file-error "Opening output file" "Cannot overwrite file" "/usr/share/emacs/28.0.50/lisp/mail/rmail.elc") Disable showing Disable logging

It seems emacs is byte-compiling these buitin library at startup. But, I've enable pre-compile (leave Fast_Boot empty) when installing, and I checked the file rmail.elc is there. How to fix this?

Thanks

zackteo commented on 2020-10-25 02:32

To prevent others from making the same mistake as me, this takes from the pgtk-nativecomp branch. So it does not use X11 but pgtk. In other words, EXWM doesn't work for this version.

bruh commented on 2020-09-27 21:35

If starting the daemon via systemd service throws an error similar to this:

emacs[977939]: emacs: ../native-lisp/28.0.50-x86_64-pc-linux-gnu-<many chars>/lisp-mode-<many chars>.eln: cannot open shared object file: No such file or directory

Then you can fix it by manually adding the following to /usr/lib/systemd/user/emacs.service (or whatever your service file is) under [Service]:

WorkingDirectory=/usr/lib/emacs/28.0.50/x86_64-pc-linux-gnu/

Make sure the path /usr/lib/emacs/28.0.50/native-lisp/ exists. If it doesn't, then find the native-lisp path in your system and replace the parent directory of the path above with the path you found. Here's an fd command to find the path:

fd native-lisp /

VitalyR commented on 2020-09-24 20:43

@yin Glad to see you like it! :)

yin commented on 2020-09-24 17:26

@VitalyR gotcha. used your package because it seems better indeed aka enhanced ^^ thanks

VitalyR commented on 2020-09-24 12:00

@yin Totally right. I created this for practising publishing AUR packages and convenience.

yin commented on 2020-09-24 07:12

so the difference between this and emacs-native-comp-git is that this one uses clang, has link-time optimization, and uses max available cores to make?