When I try to emerge preview-latex, a dependency to emacs is created, even if xemacs should suffice. Reproducible: Always Steps to Reproduce: 1. emerge unmerge emacs 2. emerge xemacs 3. emerge -p preview-latex Actual Results: [ebuild N ] gnome-base/gnome-desktop-2.6.2 [ebuild N ] app-editors/emacs-21.3-r3 [ebuild N ] app-emacs/auctex-11.53 [ebuild N ] dev-tex/preview-latex-0.8.1 Expected Results: [ebuild N ] dev-tex/preview-latex-0.8.1 I removed all the emacs deps. in the ebuild manually and could emerge preview-latex
Yes, you need either emacs or xemacs, but portage cannot handle dependencies relative to your system. Portage is only able to process USE flag based conditional dependencies, and you need to turn on xemacs USE flag to get preview-latex for xemacs installed. emerge -pv preview-latex shows you that preview-latex has emacs and xemacs USE flags. See also bug #54183.