[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Android port for GNU Emacs
From: |
Po Lu |
Subject: |
Re: Android port for GNU Emacs |
Date: |
Mon, 11 Nov 2024 07:59:43 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
"W. Greenhouse" via Users list for the GNU Emacs text editor
<help-gnu-emacs@gnu.org> writes:
> Carlos Scarinci <cyscarinci@gmail.com> writes:
>
>> I am trying out emacs-30.0.92-29 on android, alongside with termux,
>> following the instructions
>>
>> https://sourceforge.net/projects/android-ports-for-gnu-emacs/
>>
>>
>> After a fresh installation, the addition of the lisp code in
>> early-init.el, and the granting of storage access, as instructed, my
>> emacs is not able to run any shell commands. If I open eshell, I can
>> run termux installed programs without a problem, but from the
>> minibuffer or from built-in functions, I always get
>>
>> (Shell command failed with code 127 and no output)
>>
>>
>> I would like to ask if there is any other configuration required to
>> have access to termux installed programs (specifically texlive and
>> tectonic)?
>>
>> Thank you in advance for your help and attention. (And sorry, if this
>> is not the correct channel for this type of inquiry)
I apologize for not responding sooner. Please configure:
(setq android-use-exec-loader nil)
reboot your device, and report whether this enables Termux executables
to run normally. If so, please file a ticket for this to
bug-gnu-emacs@gnu.org with `M-x report-emacs-bug', which generates
valuable metadata concerning your system's configuration.
Otherwise, please attempt to start such programs from an inferior shell
buffer, and see what is printed there.
> Carlos, I think for access to Termux programs (which normally exist in
> Termux private data dir such as /data/data/com.termux/), you would
> need to choose one of the builds that includes its own copy of Termux,
> built to share signing key with Emacs. Those are in the termux/
> subdirectory of the Sourceforge project you linked. Backing up Termux
> and reinstslling from Po Lu's build from Sourceforge would also be
> needed.
This cannot be the problem if the OP can successfully execute Termux
binaries from eshell.