Emacs: Difference between revisions

imported>Tobias.bora
No edit summary
imported>Tobias.bora
No edit summary
Line 16: Line 16:
{{warning| Certain issues are possible, when mixing different versions of Emacs, in particular a configuration file tailored towards emacs with native compilation, may misbehave on non-native compiling versions, unless only the emacs lisp code is shared between them.}}
{{warning| Certain issues are possible, when mixing different versions of Emacs, in particular a configuration file tailored towards emacs with native compilation, may misbehave on non-native compiling versions, unless only the emacs lisp code is shared between them.}}


==== Unstable branches ====  
==== Emacs or emacs-gtk ====
As of [https://github.com/nix-community/emacs-overlay/pull/223 April 2022], The emacsPgtkGcc and emacsGcc varients have been renamed to emacsPgtkNativeComp and emacsNativeComp respectivelt, to remain consistant with the rest of Nixpkgs.


As of July 2021, the Nix community offers [https://github.com/nix-community/emacs-overlay/blob/f177e5d14ad2e1edceb63f3ab8aa9748ebe6383c/default.nix#L104 7 variants of GNU Emacs] as overlays: emacsGit, emacsGcc, emacsPgtk, emacsPgtkGcc, emacsUnstable, emacsGit-nox, and emacsUnstable-nox.  
Note that [https://github.com/NixOS/nixpkgs/pull/189543 since 2022-09], the package called <code>emacs</code> is now installing the lucid toolkit instead of gtk. The reason is that emacs is less stable with gtk especially in daemon mode. However, the lucid flavor of emacs will not take into account the gtk theme (since it is not even gtk) and looks quite… ugly (see comparisons [https://emacs.stackexchange.com/questions/33065/on-linux-why-should-one-choose-lucid-over-gtk-gui-for-emacs here]). If you still prefer the gtk version of emacs, you can install instead <code>emacs-gtk</code> (before 2022-09 this package does not exist and emacs defaults to the gtk version)
 
==== Unstable branches ====
 
As of July 2021, the Nix community offers [https://github.com/nix-community/emacs-overlay/blob/f177e5d14ad2e1edceb63f3ab8aa9748ebe6383c/default.nix#L104 7 variants of GNU Emacs] as overlays: emacsGit, emacsNativeComp ([https://github.com/nix-community/emacs-overlay/pull/223 formerly] emacsGcc), emacsPgtk, emacsPgtkNativeComp ([https://github.com/nix-community/emacs-overlay/pull/223 formerly] emacsPgtkGcc), emacsUnstable, emacsGit-nox, and emacsUnstable-nox.  


===== Pure GTK =====
===== Pure GTK =====