emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Android port


From: Angelo Graziosi
Subject: Re: Android port
Date: Sat, 18 Feb 2023 22:58:06 +0100 (CET)

> Il 18/02/2023 09:42 Po Lu ha scritto:
> 
> It was made 10 days ago.
> 

I gave a try to the F-Droid package installing it on a device with android 11. 
I use this device with mouse and keyboard (the delete key does not work in 
Emacs). 

I enabled Emacs to have access to all the files.

When I start Emacs there is a notification [See (emacs) Android Environment for 
more details about this notification]: what it means is a mystery.

The font on this system is too small and I would increase it as I do, for 
example, with my build on GNU/Linux. But How is this font called? I cannot 
establish this from Options - Set Default Font

It seems that HOME (~/) is "/data/data/org.gnu/files" which cannot be accessed 
from, for example, Termux (this app has access to /data/data/com.termux/). So 
it is hard (but not impossible) to comunicate with the "external world" (for 
example to move an init.el, taken from another system,  to ~/.emacs.d/: this 
would facilitate the setup of this android Emacs.

In any case, I created a ~/.emacs.d/init.el and added something like

(global-tab-line-mode 1)

(setq tab-line-tabs-function 'tab-line-tabs-buffer-groups)
(setq tab-line-close-tab-function 'kill-buffer)

(setq auto-save-list-file-prefix nil)

(column-number-mode 1)
(delete-selection-mode 1)
(electric-pair-mode 1)
(savehist-mode 1)
(tool-bar-mode -1)

Needless to say, Emacs crashes all the time and I have to try many times to 
write that. And if I add

(desktop-save-mode 1)

it crashes during startup, mainly if one want to load desktop file blocked by 
the lock file left there by previous crash..

BTW, the About Emacs says it is a

  build 1, aarch64-unknown-linux-android220 of 2023-02-18

Why 2023-02-18 if the package was made 10 days ago?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]