all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Giovanni Biscuolo <g@xelera.eu>
To: help-gnu-emacs@gnu.org
Subject: tramp and adb, strange escape codes in dired
Date: Thu, 11 Jun 2020 15:55:50 +0200	[thread overview]
Message-ID: <87eeql7lll.fsf@roquette.i-did-not-set--mail-host-address--so-tickle-me> (raw)

[-- Attachment #1: Type: text/plain, Size: 1944 bytes --]

Hello,

I'm using Emacs 26.3 and adb 7.1.2_r36 [1], both installed via Guix on a
foreign distro (Debian 10)

I'm trying to use adb via tramp (I'd love to be able to browse my phone
filesystem in Emacs) for the first time and I get a strange dired
buffer:

--8<---------------cut here---------------start------------->8---

  /adb::/storage:
  total 13
  drwxr-xr-x  1 root root          80 05-31 13:04 [1;34m.[0m
  drwxr-xr-x  1 root root          4k 2009-01-01  [1;34m..[0m
  drwx--x--x  1 root sdcard_rw     4k 05-31 13:04 [1;34memulated[0m
  drwxr-xr-x  1 root root          60 05-31 13:03 [1;34mself[0m
  drwxr-xr-x  1 root root          80 05-31 13:04 [1;34m/storage/.[0m
  drwxr-xr-x  1 root root          4k 2009-01-01  [1;34m/storage/..[0m

--8<---------------cut here---------------end--------------->8---

If I try to "dired-visit" any of the listed dirs I get this in the
*Messages* buffer:

--8<---------------cut here---------------start------------->8---

dired-get-file-for-visit: File no longer exists; type ‘g’ to update Dired buffer

--8<---------------cut here---------------end--------------->8---

I'm able to use "adb shell" in a shell buffer under Emacs, this is the
result:

--8<---------------cut here---------------start------------->8---

jflte:/storage # ls -lah
ls -lah
total 6.0K
drwxr-xr-x  4 root root        80 2020-05-31 13:04 .
drwxr-xr-x 22 root root      4.0K 2009-01-01 01:00 ..
drwx--x--x  3 root sdcard_rw 4.0K 2020-05-31 13:04 emulated
drwxr-xr-x  2 root root        60 2020-05-31 13:03 self
jflte:/storage # 

--8<---------------cut here---------------end--------------->8---

and I can "navigate" all my folders via adb shell (in root mode).

Do you have any idea why I get this result?

Thanks! Gio'



[1] but I have the same results using adb 8.1.0+r23-5 version from
Debian stable

-- 
Giovanni Biscuolo

Xelera IT Infrastructures

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

             reply	other threads:[~2020-06-11 13:55 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-11 13:55 Giovanni Biscuolo [this message]
2020-06-11 14:12 ` tramp and adb, strange escape codes in dired Michael Heerdegen
2020-06-11 17:03   ` Giovanni Biscuolo
2020-06-11 15:28 ` tomas
2020-06-11 17:55   ` Michael Albinus
2020-06-12  9:28     ` Giovanni Biscuolo
2020-06-12 15:50       ` Michael Albinus
2020-06-13 12:57         ` Giovanni Biscuolo
2020-06-13 13:20           ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87eeql7lll.fsf@roquette.i-did-not-set--mail-host-address--so-tickle-me \
    --to=g@xelera.eu \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.