![[Home]](https://www.emacswiki.org/images/logo218x38.png)
Gentoo is a distribution of GNU/Linux. Gentoo includes packages for GNU Emacs, BZR GNU Emacs and XEmacs.
List of GNU Emacs packages
List of XEmacs packages
Other Emacs Lisp files are available indirectly from non-Emacs Lisp packages which support the “emacs” USE flag.
Gentoo’s USE flag system includes a flag for emacs (called “emacs”). This means that for packages which have an Emacs Lisp module (eg. xcscope.el is distributed with cscope), the Emacs Lisp will be automatically compiled and integrated into the filesystem if you have “emacs” in your USE flag set in /etc/make.conf. Thus the above list is not a complete list all possible Emacs Lisp modules supported in Gentoo.
Each GNU Emacs Lisp package includes a reasonable configuration which is designed to suit most users needs. You can get the Gentoo configuration by including
(require 'site-gentoo)
in your InitFile. This is especially handy if you’re on a multi-user system, as you’re no longer subjected to the system administrator’s preferences for Emacs Lisp add-on packages. If you omit the above load call from your InitFile, you will have a plain vanilla Emacs. If you’d like a bit of both worlds, you can include any number of specific Gentoo load calls: eg.
(load "/usr/share/emacs/site-lisp/site-gentoo.d/50slime-cvs-gentoo.el") (load "/usr/share/emacs/site-lisp/site-gentoo.d/50xcscope-gentoo.el")
Gentoo has a BZR GNU Emacs package which integrates seamlessly into your filesystem. Obviously, it cannot be supported by either Gentoo or upstream – it is there for your convenience only.
Each package responds to several other USE flags governing everything from choice of supporting applications (ispell/aspell, MTA, etc.), GUI toolkit to be used (or not used) when building the software (GTK+, Xaw3d, Motif, etc.), support for types of images (PNG, TIFF, JPEG, GIF, XPM are all optional) and internationalization options (use NLS, LEIM etc.).
MatthewKennedy, UlrichMüller, ChristianFaulhammer …
(best reported to Gentoo Bugzilla)
I’d like to have a package for emacs which can give the full control over portage system, currently there is only portage.el package here. It looks good, but not exactly what I need… the package I’m interesting should search for a package for given regexp and/or using completion, and give full information. basically it should be wrapper to “emerge -s” or eix. eix is preferred since it is much faster, output info is more complete and search options are more flexible. in output by clicking on flag or by M-x “some cursor-over-flag command” it should be possible:
M-x anything-gentoo in Lisp:anything-config.el provide sources to browse gentoo package and do differents actions on it. You have of course to install Anything on your emacs.
There is now app-emacs/anything in the Portage tree. – ulm
The anything package has been replaced by Helm. Once you install Helm, you should be able to just type M-x helm-gentoo
See also: EmacsForDebian