I don't know if it's possible, but could emacs be made an useflag-controlled dependency ? I know nothing about ruby, but it seems that this script should work without emacs. I would probably require some work with the Makefile, but I think it would not loose any functionality outside of emacs. Correct me, if I'm wrong.
Sorry I retired from development; matsuu will take care of it.
its not optional. migemo depends on emacs. $ tar zxvf migemo-0.40.tar.gz $ cd migemo-0.40 $ ./configure --help | grep emacs --with-emacs=EMACS compile with EMACS [EMACS=emacs, xemacs...] --with-lispdir=DIR emacs lisp files go to DIR [guessed] $ ./configure --without-emacs (snip) configure: error: emacs is not available if you want not to use emacs, try app-text/cmigemo.
I was not asking "does it build with current Makefile without emacs ?". I was just saying: "it looks like the program (meaning ruby scripts) doesn't need emacs, it's only needed for the .el file, that adds extra functionality in emacs"
Erm, the -r2 ebuild completely doesn't fix the issue here, since it: 1/ still inherits elisp, which depends on virtual/emacs unconditionally 2/ still DEPENDs on app-emacs/apel unconditionally, which, erm guess what, pulls in virtual/emacs once again 3/ does nothing with the Makefile, so it will fail without emacs anyway Either WONTFIX this bug or fix it properly please.
(In reply to comment #4) > Erm, the -r2 ebuild completely doesn't fix the issue here, since it: > > 1/ still inherits elisp, which depends on virtual/emacs unconditionally > 2/ still DEPENDs on app-emacs/apel unconditionally, which, erm guess what, > pulls in virtual/emacs once again > 3/ does nothing with the Makefile, so it will fail without emacs anyway I couldn't have said this better. ;) @matsuu: If you don't mind, then the Emacs team will prepare a patch. We have migemo on our to-do list anyway, since it does nasty things to Emacs' search functions. See: <http://overlays.gentoo.org/proj/emacs/wiki/sitefile%20problems>
(In reply to comment #5) > I couldn't have said this better. ;) > > @matsuu: If you don't mind, then the Emacs team will prepare a patch. thanks, please.
I have a semi-related question. Well, it more a case for the forum, but maybe somebody answers it here. One of the reasons I've got migemo installed is w3m. For me it's in many aspects superior to lynx (at least it was last time I checked). I've got a little problem with w3m, though. When in line-editing mode (i.e. when entering URL), only Backspace key works like expected, Home, End, Delete do not. Is it supposed to be this way or is there a setting in w3m/bash/whatever that I'm missing ?
(In reply to comment #7) > I have a semi-related question. Well, it more a case for the forum, but > maybe somebody answers it here. Indeed, please take such questions to the forums. Bugzilla is not a helpdesk. I'm answering it now, exceptionally. > When in line-editing mode (i.e. when entering URL), only Backspace key works > like expected, Home, End, Delete do not. Is it supposed to be this way or is > there a setting in w3m/bash/whatever that I'm missing ? It works for me, i.e. Home and End are bound to move-{beginning,end}-of-line, Delete is delete-backward-char.
(In reply to comment #6) > > @matsuu: If you don't mind, then the Emacs team will prepare a patch. > > thanks, please. Yeah, I should not make such promises without having looked at the build system of the package before. ;-) Emacs is deeply entwined there and pulling it is probably not so easy. It would require patching of acinclude.m4 and Makefile.am at least. This looks more like an issue for upstream to me. Can we please remove -r2 again? IMHO, we don't gain anything by not having Emacs in RDEPEND if it is needed in DEPEND anyway.
Regarding comment #8: I don't have .inputrc, so that's probably the reason it does not work for me. Maybe a note should be put on that in w3m ebuild ? Back on topic: as far as I can tell emacs is required only for .el file, the rest are ruby scripts (and a shell script) that don't seem to need emacs. In Makefile.am only direct reference to lisp file is lisp_LISP = migemo.el the rest of that file are _DATA and _SCRIPTS sections. In configure.in AM_PATH_LISPDIR unless there's some direct emacs reference in the scripts, removing those two should allow to drop both emacs and apel.
Fixed in -r3. (I made another revbump because of the new site-init file.)