Hot answers tagged

14

I use Linux Deploy to run Debian in a chroot environment on my Nexus 7 tablet. With that, I can do whatever I want, including running Emacs. It's fully functional, complete with all the latest updates and packages. If you choose to go with an Android device and don't use a bluetooth keyboard, I'd recommend looking into the Hacker's Keyboard. If you ...


9

A note about iOS. Apple will certainly never let Emacs on the App Store, as it runs against everything Apple stands for. Here are some reasons: Apple does not allow users to run downloaded code (see this). This would kill all usage of package.el which would be pretty bad, IMHO. Given that Emacs is basically a lisp VM, the chances of you running downloaded ...


6

The Termux package from the play store includes apt packages, including a recent emacs. It is character mode, not GUI, but it is quite functional.


4

Concise instructions for access with root are also found here http://www.reddit.com/r/emacs/comments/2adkvc/how_to_get_emacs_to_run_on_android_painlessly/. Note the link http://emacs.zielm.com/data/ seems broken. However, I tried to find a way to do this without root, and here are some results. I tried following the GNURoot option offered in a couple of ...


4

For the record: I have dug up the root cause for this one. It is not for ZShaolin build, but rather, for Termux build of Emacs, but the source of the broken load-history entry is the same, it's an Emacs bug resulting from running undumped, which Android builds necessarily have to do. See https://github.com/termux/termux-packages/issues/423 for the full ...


2

Try bookmarks. visit the file add a bookmark to it with C-x r m or by running bookmark-set jump to the bookmark at any time with C-x r b (M-x bookmark-jump) or display a list of all your bookmarks with C-x r l (M-x bookmark-bmenu-list) You can, of course, also bind F5 (or any other key) to a function that calls bookmark-jump with a given bookmark name.


2

One way of doing could be: ;; quickly open some files (global-set-key (kbd "<f6> h") (lambda () (interactive) (find-file "~/.emacs.d/lisp/init_hooks.el"))) Another way of doing: (require 'ido) ; part of emacs (defvar xah-filelist nil "alist for files i need to open frequently. Key is a short abbrev string, Value is file path string.") (setq xah-...


2

Seems like your Emacs has a malformed load-history variable. Its documentation states: Documentation: Alist mapping loaded file names to symbols and features. Each alist element should be a list (FILE-NAME ENTRIES...), where FILE-NAME is the name of a file that has been loaded into Emacs. The file name is absolute and true (i.e. it doesn't contain ...


2

Based on this adding something like this to your config should work: (advice-add 'browse-url-default-browser :override (lambda (url &rest args) (start-process-shell-command "open-url" nil (concat "am start -a android.intent.action.VIEW -d " url))))


1

This problem is related to this code in android-mode.el (defmacro android-in-root (body) "Execute BODY form with project root directory as ``default-directory''. The form is not executed when no project root directory can be found." `(let ((android-root-dir (android-root))) (if android-root-dir (let ((default-directory android-root-dir)) ...


1

You can use xml.el to handle XML data. The following function should provide you with the class names you are looking for: (require 'xml) (require 'seq) (defun activity-from-manifest (manifest) (seq-filter 'identity (mapcar (lambda (node) (let ((name (xml-get-attribute-or-nil node 'android:name))) ...


1

Latest source tarball is available from https://hydra.nixos.org/job/gnu/emacs-trunk/tarball/latest


1

Can't answer you directly, however for me, using GNU Emacs 25.1.1 (x86_64-w64-mingw32) of 2016-09-17 and grep c:\>grep --version grep --version GNU grep 2.5.4 c:\>dir | grep -i pro dir | grep -i pro 06/08/2017 16:08 <DIR> Program Files 24/08/2017 19:02 <DIR> Program Files (x86) Seem to work okay. Perhaps if ...


1

(setq browse-url-browser-function 'browse-url-xdg-open) seems to make things open up in the right browser for me.


1

I'm running GNU Emacs on an iPad in iSH - a relatively new developer app that is essentially an Alpine Linux container. iSH allows you to install Emacs using the apk package manager. Here's how to install it: 1. Install [TestFlight] from the App Store. 2. Open a web browser on the iOS device and click here [https://testflight.apple.com/join/97i7KM8O] to ...


1

Ok, I ended up programming this myself. I bind it to C-c v. (defun java/find-or-define-variable () "Go to definition of variable at point. Define it if doesn't exist." (interactive) (push-mark) (unless (or (looking-at "[[:alnum:]_]") (looking-back "[[:alnum:]_]")) (search-forward-regexp "[[:alnum:]_]") (forward-char -1)) (let (name ...


Only top voted, non community-wiki answers of a minimum length are eligible