GNU bug report logs - #67759
[ android ] 30.0.50; unable to access device storage

Previous Next

Package: emacs;

Reported by: జిందం వాఐి <jindam.vani <at> disroot.org>

Date: Mon, 11 Dec 2023 00:16:01 UTC

Severity: normal

Tags: moreinfo

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 67759 in the body.
You can then email your comments to 67759 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#67759; Package emacs. (Mon, 11 Dec 2023 00:16:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to జిందం వాఐి <jindam.vani <at> disroot.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 11 Dec 2023 00:16:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: జిందం వాఐి <jindam.vani <at> disroot.org>
To: bug-gnu-emacs <at> gnu.org
Subject: [ android ] 30.0.50; unable to access device storage
Date: Mon, 11 Dec 2023 05:21:58 +0530
* downloaded from sourceforge_ emacs-30.0.50-16-armeabi-v7a.apk
* install, close on installation
* device settings_ apps_ emacs_
permissions_ storage
* open emacs
* find file or directory_ tabbing
storage or sdcard doesnt auto
complete
* it also doesnt show org.gnu.emacs
in my device filemanager

In GNU Emacs 30.0.50 (build 1, armv7a-unknown-linux-android16) of
 2023-12-10 built on xeon
Repository revision: 79aca35c1f0b77d1c109e3b5526400d92f42a2aa
Windowing system distributor 'samsung', version 28.0.0
System Description: 
samsung/j7veltedx/j7velte:9/PPR1.180610.011/J701FDDUACUG2:user/release-keys

Configured using:
 'configure --with-png=yes --with-webp=yes --with-gif=yes
 --with-json=ifavailable --with-jpeg=yes --with-xml2=yes
 --with-sqlite3=yes --with-gnutls=yes --with-tiff=yes --with-selinux=yes
 --with-modules=yes --with-tree-sitter=yes --with-imagemagick=no
 --with-lcms2=yes --with-mailutils= --with-pop=no-by-default
 --with-harfbuzz=yes --enable-check-lisp-object-type= 'CFLAGS=-O2
 -Werror=implicit-function-declaration''

Configured features:
GIF GMP GNUTLS HARFBUZZ JPEG JSON LIBXML2 MODULES PDUMPER PNG SECCOMP
SQLITE3 TIFF TREE_SITTER WEBP ZLIB

Important settings:
  value of $LANG: en_US.utf8
  locale-coding-system: utf-8-unix

Major mode: Fundamental

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  blink-cursor-mode: t
  minibuffer-regexp-mode: t
  buffer-read-only: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message mailcap yank-media puny dired
dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068
epg-config gnus-util text-property-search time-date subr-x mm-decode
mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader
cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util
mail-prsvr mail-utils rmc iso-transl tooltip cus-start cconv eldoc paren
electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel
android-win term/common-win touch-screen ls-lisp tool-bar dnd fontset
image regexp-opt fringe tabulated-list replace newcomment text-mode
lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch
easymenu timer select scroll-bar mouse jit-lock font-lock syntax
font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic
indonesian philippine cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
theme-loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote android multi-tty move-toolbar
make-network-process emacs)

Memory information:
((conses 8 39753 15072) (symbols 24 5104 0) (strings 16 13736 1762)
 (string-bytes 1 359305) (vectors 8 9435)
 (vector-slots 4 143349 15682) (floats 8 37 15) (intervals 28 406 16)
 (buffers 568 11))

-- 
regards,
జిందం వాఐి [ jindam, vani ]
web_ jindam.neocities.org
[matrix]_ @jindam:oikei.net




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#67759; Package emacs. (Mon, 11 Dec 2023 01:10:02 GMT) Full text and rfc822 format available.

Message #8 received at 67759 <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: జిందం వాఐి
 <jindam.vani <at> disroot.org>
Cc: 67759 <at> debbugs.gnu.org
Subject: Re: bug#67759: [ android ] 30.0.50; unable to access device storage
Date: Mon, 11 Dec 2023 09:08:58 +0800
It is hard to wrap my head around such a curt and superficial account of
different experiences, each of which might or might not be a bug.

జిందం వాఐి <jindam.vani <at> disroot.org> writes:

> * downloaded from sourceforge_ emacs-30.0.50-16-armeabi-v7a.apk
> * install, close on installation
> * device settings_ apps_ emacs_
> permissions_ storage
> * open emacs
> * find file or directory_ tabbing
> storage or sdcard doesnt auto
> complete

This might seem trivial, but people have run across this pithole before:
have you erased the leading "~" character in the default file name
prompt?  If not, do so, as Android's storage directory is located at
/sdcard rather than your home folder.

But assuming that you have, you've likely omitted the trailing "/" after
the file name that informs Emacs it is a directory.  Absent this
character, file name completion will complete from / instead of /sdcard,
and your device is one of those which deny Emacs the rights to examine
/.

> * it also doesnt show org.gnu.emacs
> in my device filemanager

This isn't a bug: your device's file manager doesn't support SAF
volumes.  The Android file manager does, and even when hidden, can
generally be accessed by means of a program that launches system
activities.  A web search should answer questions in this respect.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#67759; Package emacs. (Mon, 11 Dec 2023 02:44:02 GMT) Full text and rfc822 format available.

Message #11 received at 67759 <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: జిందం వాఐి
 <jindam.vani <at> disroot.org>
Cc: 67759 <at> debbugs.gnu.org
Subject: Re: bug#67759: [ android ] 30.0.50; unable to access device storage
Date: Mon, 11 Dec 2023 10:42:45 +0800
Please don't remove the bug tracker from the CC list.

జిందం వాఐి <jindam.vani <at> disroot.org> writes:

> On 2023-12-11 06:38, Po Lu wrote:
>
>> This might seem trivial, but people have run across this pithole
>> before:
>> have you erased the leading "~" character in the default file name
>> prompt?  If not, do so, as Android's storage directory is located at
>> /sdcard rather than your home folder.
>> But assuming that you have, you've likely omitted the trailing "/"
>> after
>> the file name that informs Emacs it is a directory.  Absent this
>> character, file name completion will complete from / instead of
>> /sdcard,
>> and your device is one of those which deny Emacs the rights to examine
>> /.
>
> menu_ file_ opendirectory
> * ~/
> * press enter
> * shows 6 files [ 2 saved messages,
> emacs.d, emacs-fa...., 2 dots ]
>
> no effect [ using hackerskeyboard ]
> on find file or open directory
> * omitted ~ and type sdcard or
> storage
> * omitted ~ and / and type
> sdcard or storage

I don't understand, sorry.  Would you describe the actions you took in
English, rather than as such a heavily abridged enumeration?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#67759; Package emacs. (Mon, 11 Dec 2023 07:17:02 GMT) Full text and rfc822 format available.

Message #14 received at 67759 <at> debbugs.gnu.org (full text, mbox):

From: జిందం వాఐి <jindam.vani <at> disroot.org>
To: Po Lu <luangruo <at> yahoo.com>
Subject: Re: bug#67759: [ android ] 30.0.50; unable to access device storage
Date: Mon, 11 Dec 2023 10:53:53 +0530
On 2023-12-11 08:12, Po Lu wrote:
> Please don't remove the bug tracker from the CC list.
> 
> జిందం వాఐి <jindam.vani <at> disroot.org> writes:
> 
>> On 2023-12-11 06:38, Po Lu wrote:
>> 
>>> This might seem trivial, but people have run across this pithole
>>> before:
>>> have you erased the leading "~" character in the default file name
>>> prompt?  If not, do so, as Android's storage directory is located at
>>> /sdcard rather than your home folder.
>>> But assuming that you have, you've likely omitted the trailing "/"
>>> after
>>> the file name that informs Emacs it is a directory.  Absent this
>>> character, file name completion will complete from / instead of
>>> /sdcard,
>>> and your device is one of those which deny Emacs the rights to 
>>> examine
>>> /.
>> 
>> menu_ file_ opendirectory
>> * ~/
>> * press enter
>> * shows 6 files [ 2 saved messages,
>> emacs.d, emacs-fa...., 2 dots ]
>> 
>> no effect [ using hackerskeyboard ]
>> on find file or open directory
>> * omitted ~ and type sdcard or
>> storage
>> * omitted ~ and / and type
>> sdcard or storage
> 
> I don't understand, sorry.  Would you describe the actions you took in
> English, rather than as such a heavily abridged enumeration?

video_ 
https://commons.wikimedia.org/wiki/File:Access_of_device_storage_of_emacs_on_android_issue.webm

-- 
regards,
జిందం వాఐి [ jindam, vani ]
web_ jindam.neocities.org
[matrix]_ @jindam.vani:oikei.net




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#67759; Package emacs. (Mon, 11 Dec 2023 07:17:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#67759; Package emacs. (Mon, 11 Dec 2023 07:29:02 GMT) Full text and rfc822 format available.

Message #20 received at 67759 <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: జిందం వాఐి
 <jindam.vani <at> disroot.org>
Cc: 67759 <at> debbugs.gnu.org
Subject: Re: bug#67759: [ android ] 30.0.50; unable to access device storage
Date: Mon, 11 Dec 2023 15:28:12 +0800
Once again, please do NOT remove the bug tracker from the CC list.  This
is generally performed by selecting the "Reply All" option in your MUA
(or its analog) to reply.

జిందం వాఐి <jindam.vani <at> disroot.org> writes:

> On 2023-12-11 08:12, Po Lu wrote:
>> Please don't remove the bug tracker from the CC list.
>> జిందం వాఐి <jindam.vani <at> disroot.org> writes:
>> 
>>> On 2023-12-11 06:38, Po Lu wrote:
>>> 
>>>> This might seem trivial, but people have run across this pithole
>>>> before:
>>>> have you erased the leading "~" character in the default file name
>>>> prompt?  If not, do so, as Android's storage directory is located at
>>>> /sdcard rather than your home folder.
>>>> But assuming that you have, you've likely omitted the trailing "/"
>>>> after
>>>> the file name that informs Emacs it is a directory.  Absent this
>>>> character, file name completion will complete from / instead of
>>>> /sdcard,
>>>> and your device is one of those which deny Emacs the rights to
>>>> examine
>>>> /.
>>> menu_ file_ opendirectory
>>> * ~/
>>> * press enter
>>> * shows 6 files [ 2 saved messages,
>>> emacs.d, emacs-fa...., 2 dots ]
>>> no effect [ using hackerskeyboard ]
>>> on find file or open directory
>>> * omitted ~ and type sdcard or
>>> storage
>>> * omitted ~ and / and type
>>> sdcard or storage
>> I don't understand, sorry.  Would you describe the actions you took
>> in
>> English, rather than as such a heavily abridged enumeration?
>
> video_
> https://commons.wikimedia.org/wiki/File:Access_of_device_storage_of_emacs_on_android_issue.webm

There is no bug in this video, so far as I can tell from its last 40
seconds.  Completion of / naturally does not function when Emacs is
forbidden from reading that directory.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#67759; Package emacs. (Mon, 11 Dec 2023 15:56:02 GMT) Full text and rfc822 format available.

Message #23 received at 67759 <at> debbugs.gnu.org (full text, mbox):

From: జిందం వాఐి <jindam.vani <at> disroot.org>
To: 67759 <at> debbugs.gnu.org
Subject: Re: bug#67759: [ android ] 30.0.50; unable to access device storage
Date: Mon, 11 Dec 2023 20:47:43 +0530
On 2023-12-11 08:12, Po Lu wrote:
> There is no bug in this video, so far as I can tell from its last 40
> seconds.  Completion of / naturally does not function when Emacs is
> forbidden from reading that directory.

* resolved issue [ 1 ]
* just paste "/sdcard/" after C-x C-f
* it seems autocompletion is not
implemented?

[ 1 ] 
https://github.com/orgzly/orgzly-android/issues/1043#issuecomment-1704069314

-- 
regards,
జిందం వాఐి [ jindam, vani ]
web_ jindam.neocities.org
[matrix]_ @jindam:oikei.net




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#67759; Package emacs. (Wed, 27 Dec 2023 14:07:02 GMT) Full text and rfc822 format available.

Message #26 received at 67759 <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <waylandthrowaway <at> gmail.com>
To: జిందం వాఐి
 <jindam.vani <at> disroot.org>
Cc: Po Lu <luangruo <at> yahoo.com>, 67759 <at> debbugs.gnu.org
Subject: Re: bug#67759: [ android ] 30.0.50; unable to access device storage
Date: Wed, 27 Dec 2023 21:22:43 +0800
What problems remain here, preventing this bug from being closed?  I
read this thread from start to finish several times but each successive
time made less sense of it than the previous.




Added tag(s) moreinfo. Request was from Stefan Kangas <stefankangas <at> gmail.com> to control <at> debbugs.gnu.org. (Wed, 27 Dec 2023 14:45:01 GMT) Full text and rfc822 format available.

Reply sent to Stefan Kangas <stefankangas <at> gmail.com>:
You have taken responsibility. (Sun, 09 Jun 2024 22:56:02 GMT) Full text and rfc822 format available.

Notification sent to జిందం వాఐి <jindam.vani <at> disroot.org>:
bug acknowledged by developer. (Sun, 09 Jun 2024 22:56:02 GMT) Full text and rfc822 format available.

Message #33 received at 67759-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Po Lu <waylandthrowaway <at> gmail.com>
Cc: Po Lu <luangruo <at> yahoo.com>, 67759-done <at> debbugs.gnu.org,
 జిందం వాఐి
 <jindam.vani <at> disroot.org>
Subject: Re: bug#67759: [ android ] 30.0.50; unable to access device storage
Date: Sun, 9 Jun 2024 13:56:44 -0700
Po Lu <waylandthrowaway <at> gmail.com> writes:

> What problems remain here, preventing this bug from being closed?  I
> read this thread from start to finish several times but each successive
> time made less sense of it than the previous.

More information was requested, but none was given within 23 weeks, so
I'm closing this bug.  If this is still an issue, please reply to this
email (use "Reply to all" in your email client) and we can reopen the
bug report.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 08 Jul 2024 11:24:12 GMT) Full text and rfc822 format available.

This bug report was last modified 18 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.