* Android port for GNU Emacs
@ 2024-11-10 2:29 Carlos Scarinci
2024-11-10 14:47 ` W. Greenhouse via Users list for the GNU Emacs text editor
0 siblings, 1 reply; 3+ messages in thread
From: Carlos Scarinci @ 2024-11-10 2:29 UTC (permalink / raw)
To: help-gnu-emacs
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)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Android port for GNU Emacs
2024-11-10 2:29 Android port for GNU Emacs Carlos Scarinci
@ 2024-11-10 14:47 ` W. Greenhouse via Users list for the GNU Emacs text editor
2024-11-10 23:59 ` Po Lu
0 siblings, 1 reply; 3+ messages in thread
From: W. Greenhouse via Users list for the GNU Emacs text editor @ 2024-11-10 14:47 UTC (permalink / raw)
To: help-gnu-emacs
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)
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Android port for GNU Emacs
2024-11-10 14:47 ` W. Greenhouse via Users list for the GNU Emacs text editor
@ 2024-11-10 23:59 ` Po Lu
0 siblings, 0 replies; 3+ messages in thread
From: Po Lu @ 2024-11-10 23:59 UTC (permalink / raw)
To: W. Greenhouse via Users list for the GNU Emacs text editor; +Cc: W. Greenhouse
"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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-11-10 23:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-10 2:29 Android port for GNU Emacs Carlos Scarinci
2024-11-10 14:47 ` W. Greenhouse via Users list for the GNU Emacs text editor
2024-11-10 23:59 ` Po Lu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).