Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 202229 - Emacs package for Portage integration
Summary: Emacs package for Portage integration
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://www.emacswiki.org/cgi-bin/wiki...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-14 11:13 UTC by Maxim Loginov
Modified: 2011-12-03 16:21 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maxim Loginov 2007-12-14 11:13:11 UTC
It is good to have a package for emacs which can give the full control
over portage system. Currently there is only portage.el package on
emacswiki. It looks good, but not exactly what I need. The package I'm
interested in should search for a package by given regexp and/or using
completion and give full information. Basically it should be a wrapper
to "emerge -s" or eix (eix is preferred since it is much faster)
Output info card would be more complete and search options more
flexible. For example, in output card after click on item or 
M-x "cursor-over-some-item command" it should be possible:
                                                                                              
* to go to package homepage from url
                                                                                              
* to get description of any USE flag used by this package, information
  if it set up and where (in /etc/make.conf, in
  /etc/portage/package.use etc). this feature is currently implemented
  by "euse -i" from gentoolkit gentoo package.
                                                                                              
* to find which packages also use this flag, currently implemented by
  "equery hasuse" from gentoolkit gentoo package.
                                                                                              
* to find dependency of the given package, currently implemented by
  "equery depends" from gentoolkit gentoo package. This command should
  output the similar card, so you can go further in your
  investigation.
                                                                                              
* and of course install/uninstall package, here the portage.el package
  can be used.
                                                                                              
You see there are plenty of tools for different operations, but using
them separately is bit inconvenient and time consuming, it is
worthwhile to integrate them into one package. Unfortunately, my
current elisp knowledge is still poor, maybe somebody else is
interested in such a package?


Reproducible: Always
Comment 1 Ulrich Müller gentoo-dev 2007-12-14 16:28:14 UTC
The app-{,x}emacs/gentoo-syntax package presently supports editing of Gentoo related files like ebuilds, eclasses, eselect modules, and runscripts. We also have support for ChangeLogs and ebuild keywording. So it is mainly centered on development of individual files and packages.

OTOH, this request has a more Portage-tree related perspective, therefore I believe that it should go into it's own package. It will also need more dependencies than gentoo-syntax currently has (and for gentoo-syntax, we like to keep them at a minimum).

Reassigning to maintainer-wanted (since it is a request for a new package), adding emacs and xemacs to CC.
Comment 2 Ulrich Müller gentoo-dev 2009-05-07 14:49:35 UTC
There's now ga.el, maybe that would be a way to go?
<http://www.mail-archive.com/gnu-emacs-sources@gnu.org/msg01752.html>
It should be relatively easy to write a Portage backend for it.
Comment 3 Ulrich Müller gentoo-dev 2011-12-03 16:21:06 UTC
I've committed app-emacs/anything to the Portage tree some time ago, see bug 385407. It supports most (all?) of the features requested above ("M-x anything-gentoo RET").

Therefore closing.