[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#15337: 24.3.50; [PATCH] cd to directory name with french accent fail
From: |
Eli Zaretskii |
Subject: |
bug#15337: 24.3.50; [PATCH] cd to directory name with french accent fail from term/ansi-term |
Date: |
Wed, 11 Sep 2013 19:21:00 +0300 |
> From: Thierry Volpiatto <thierry.volpiatto@gmail.com>
> Cc: 15337@debbugs.gnu.org
> Date: Wed, 11 Sep 2013 16:12:28 +0200
>
> > IOW, please dig deeper and tell where did the unibyte string in
> > cd-path come from, because I don't see why would it be TRT to decode
> > it where you suggest; perhaps I'm missing something.
>
> I am using emacs -Q here and CDPATH is empty (I don't use it).
> (getenv "CDPATH") => nil
> env | grep CDPATH => empty too.
>
> cd is working as expected from emacs itself, but when used from term,
> the string "~/Téléchargement" is
> "/home/thierry/T\303\251l\303\251chargements"
> so `file-directory-p' fails on
> "/home/thierry/T\303\251l\303\251chargements"
> And the CDPATH error is called.
>
> So the patch I send fix the problem but yes maybe the decoding should
> occur somewhere in term.el instead when sending the string to `cd'.
If you cannot figure out where does the unibyte string come from,
please provide a test case starting from "emacs -Q". Thanks.
- bug#15337: 24.3.50; [PATCH] cd to directory name with french accent fail from term/ansi-term, Thierry Volpiatto, 2013/09/11
- bug#15337: 24.3.50; [PATCH] cd to directory name with french accent fail from term/ansi-term, Eli Zaretskii, 2013/09/11
- bug#15337: 24.3.50; [PATCH] cd to directory name with french accent fail from term/ansi-term, Thierry Volpiatto, 2013/09/11
- bug#15337: 24.3.50; [PATCH] cd to directory name with french accent fail from term/ansi-term,
Eli Zaretskii <=
- bug#15337: 24.3.50; [PATCH] cd to directory name with french accent fail from term/ansi-term, Thierry Volpiatto, 2013/09/12
- bug#15337: 24.3.50; [PATCH] cd to directory name with french accent fail from term/ansi-term, Eli Zaretskii, 2013/09/12
- bug#15337: 24.3.50; [PATCH] cd to directory name with french accent fail from term/ansi-term, Thierry Volpiatto, 2013/09/13
- bug#15337: 24.3.50; [PATCH] cd to directory name with french accent fail from term/ansi-term, Eli Zaretskii, 2013/09/13
- bug#15337: 24.3.50; [PATCH] cd to directory name with french accent fail from term/ansi-term, Thierry Volpiatto, 2013/09/13
- bug#15337: 24.3.50; [PATCH] cd to directory name with french accent fail from term/ansi-term, Thierry Volpiatto, 2013/09/13
- bug#15337: 24.3.50; [PATCH] cd to directory name with french accent fail from term/ansi-term, Eli Zaretskii, 2013/09/13
- bug#15337: 24.3.50; [PATCH] cd to directory name with french accent fail from term/ansi-term, Eli Zaretskii, 2013/09/13