From: Eli Zaretskii <eliz@gnu.org>
To: Colin Baxter <m43cap@yandex.com>
Cc: , michael.albinus@gmx.de, emacs-devel@gnu.org
Subject: Re: FAILED tramp-test34-utf8
Date: Thu, 30 Mar 2017 05:57:52 +0300 [thread overview]
Message-ID: <83shlv5v4f.fsf@gnu.org> (raw)
In-Reply-To: <8760irvpli.fsf@yandex.com> (message from Colin Baxter on Wed, 29 Mar 2017 20:40:25 +0100)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1124 bytes --]
> From: Colin Baxter <m43cap@yandex.com>
> Date: Wed, 29 Mar 2017 20:40:25 +0100
> Cc: , emacs-devel@gnu.org
>
> Test tramp-test34-utf8 condition:
> (ert-test-failed
> ((should
> (string-equal
> (funcall ... ...)
> (file-remote-p ... ...)))
> :form
> (string-equal "/tmp/tramp-test5548VYB/\316\223\317\205\317\201\316\257\317\203\317\204\316\265 \317\204\316\277 \316\223\316\261\316\273\316\261\316\276\316\257\316\261 \316\274\316\265 \316\217\317\204\316\277 \316\243\317\204\316\277\317\200" "/tmp/tramp-test5548VYB/Γυρίστε το Γαλαξία με Ώτο Στοπ")
It seems the failure comes from this snippet:
(should
(string-equal
(funcall
(if quoted 'tramp-compat-file-name-quote 'identity)
(car (file-attributes file3)))
(file-remote-p (file-truename file1) 'localname)))
And it's strange that the first file name in the failed condition has
got all of its bytes displayed as ASCII representation, while the
second one still has the raw bytes.
Another question is why do we see raw bytes at all here? These should
not be unibyte strings.
next prev parent reply other threads:[~2017-03-30 2:57 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-28 15:16 FAILED tramp-test34-utf8 Colin Baxter
2017-03-28 18:04 ` Michael Albinus
2017-03-29 8:38 ` Colin Baxter
2017-03-29 11:34 ` Michael Albinus
2017-03-29 11:43 ` Michael Albinus
2017-03-29 12:13 ` Colin Baxter
2017-03-29 12:15 ` Michael Albinus
2017-03-29 12:14 ` Colin Baxter
2017-03-29 19:40 ` Colin Baxter
2017-03-30 2:57 ` Eli Zaretskii [this message]
2017-03-30 7:24 ` Colin Baxter
2017-03-30 15:32 ` Michael Albinus
2017-03-30 17:19 ` Colin Baxter
2017-03-29 14:38 ` Eli Zaretskii
2017-03-29 17:00 ` Michael Albinus
2017-03-29 17:16 ` Eli Zaretskii
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=83shlv5v4f.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=m43cap@yandex.com \
--cc=michael.albinus@gmx.de \
/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.