Android SDK has an emacs support stuff, but no emacs USE flag here. I think it can be useful to emacs users
Gabor, have you used the Emacs support? It seems rather basic and has no autoload magic, so a hard-coded load is a no-go for us (Emacs team). It seems to work, but more than byte-compiling and installing in /usr/share/emacs/site-lisp is not in our scope.
And no way to do wrapper for it to fit in gentoo-style? I currently not using this, because my phone isn't arrived yet, but I thinking on using, because NetBeans is too bloated for a small, fast apps; and i need a hack to make android support correct. This was a basic idea, why I asked this. I can include this .el as well as described way on project's homepage, but an official support is always better than own hacks :-). (In reply to comment #1) > Gabor, have you used the Emacs support? > > It seems rather basic and has no autoload magic, so a hard-coded load is a > no-go for us (Emacs team). It seems to work, but more than byte-compiling and > installing in /usr/share/emacs/site-lisp is not in our scope. >
I talked to ulm (the rest of the GNU Emacs team), and we can provide a custom-made autoload for android. So a USE=emacs is in reach (not today, though). :)
(In reply to comment #2) > And no way to do wrapper for it to fit in gentoo-style? Well, the .el contains only a handful of interactive functions, so there's always the possibility to autoload some (or all) of them. nelchael, rich0: O.K. with you if the Emacs team is taking care of this issue?
No objections here - they have a bit more experience with emacs than I do. If any changes are needed on the android side let us know so that we can make sure not to disrupt them in the future.
Byte-compilation of android.el fails: In android-read-project-root: android.el:41:8:Warning: `(read-directory nil (read-file-name "Android project root: " android-project-root nil t nil))' is a malformed function android.el:41:8:Warning: `(entered-root (read-directory) (read-directory))' is a malformed function android.el:41:8:Warning: `(and entered-root (file-directory-p entered-root))' is a malformed function android.el:57:16:Warning: reference to free variable `entered-root' In android-uninstall-app: android.el:104:40:Warning: reference to free variable `package' In end of data: android.el:132:1:Warning: the following functions are not known to be defined: labels, do Most of these warnings are probably fixable by adding "(require 'cl)" or "(eval-when-compile (require 'cl))" at the top of android.el. However, since we are newly adding Emacs support for the Gentoo package, I am of the opinion that upstream should fix their code before we go ahead.