GNU bug report logs -
#3432
[h-e-w] 23.0.93; dired encoding
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 3432 in the body.
You can then email your comments to 3432 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#3432
; Package
emacs
.
(Sun, 31 May 2009 15:05:06 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Lennart Borgman <lennart.borgman <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Sun, 31 May 2009 15:05:06 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
Hi again Konstantin, please use the unpatched version for the bug
report. That will send it to Emacs maintainers and not here.
On Sun, May 31, 2009 at 4:51 PM, Konstantin <Kostafey <at> yandex.ru> wrote:
> Hi, Emacs maintainers!
>
> I'he got the following trouble/bug.
>
> I've tested it on emacs-from-cvs-090503, OS WinXP Home SP2.
>
> On type M-x dired emacs shows \316\362\361\363\362\361\362\342\363\345\362 instead of root.
>
> Here is example:
>
> drwxrwxrwx 1 Administrators SYSTEM 0 05-30 13:34 Common Files
> drwxrwxrwx 1 User \316\362\361\363\362\361\362\342\363\345\362 0 01-19 00:10 Comodo
>
> Emacs 22.3 if free of it:
>
> drwxrwxrwx 1 User root 0 05-30 13:34 Common Files
> drwxrwxrwx 1 User root 0 01-19 00:10 Comodo
>
> My codepage is 1251.
>
> I try to add my .emacs somthing like this:
> (setq file-name-coding-system 'utf-8)
> or
> (setq file-name-coding-system 'cp1251)
> but nothing changed.
>
> ---------------------------------------------
>
> In GNU Emacs 23.0.93.1 (i386-mingw-nt5.1.2600)
> of 2009-05-03 on LENNART-69DE564
> Windowing system distributor `Microsoft Corp.', version 5.1.2600
> configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/g/include -fno-crossjumping'
>
> Important settings:
> value of $LC_ALL: nil
> value of $LC_COLLATE: nil
> value of $LC_CTYPE: nil
> value of $LC_MESSAGES: nil
> value of $LC_MONETARY: nil
> value of $LC_NUMERIC: nil
> value of $LC_TIME: nil
> value of $LANG: ru
> value of $XMODIFIERS: nil
> locale-coding-system: cp1251
> default-enable-multibyte-characters: t
>
> Major mode: Dired by name
>
> Minor modes in effect:
> tooltip-mode: t
> tool-bar-mode: t
> mouse-wheel-mode: t
> menu-bar-mode: t
> file-name-shadow-mode: t
> global-font-lock-mode: t
> font-lock-mode: t
> blink-cursor-mode: t
> global-auto-composition-mode: t
> auto-composition-mode: t
> auto-encryption-mode: t
> auto-compression-mode: t
> line-number-mode: t
> transient-mark-mode: t
>
> Recent input:
> M-x d i r e d <return> <return> <help-echo> M-x r e
> p o r t - e m a c s - b u g <return>
>
> Recent messages:
> For information about GNU Emacs and the GNU system, type C-h C-a.
>
> --
> Konstantin <Kostafey <at> yandex.ru>
>
>
>
Merged 3431 3432 3433.
Request was from
Jason Rumney <jasonr <at> gnu.org>
to
control <at> emacsbugs.donarmstrong.com
.
(Sun, 31 May 2009 15:35:05 GMT)
Full text and
rfc822 format available.
bug reassigned from package `emacs' to `emacs,w32'.
Request was from
Jason Rumney <jasonr <at> gnu.org>
to
control <at> emacsbugs.donarmstrong.com
.
(Sun, 31 May 2009 15:35:06 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com
:
bug#3432
; Package
emacs,w32
.
(Mon, 01 Jun 2009 15:30:04 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Jason Rumney <jasonr <at> gnu.org>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com
.
(Mon, 01 Jun 2009 15:30:04 GMT)
Full text and
rfc822 format available.
Message #14 received at 3432 <at> emacsbugs.donarmstrong.com (full text, mbox):
Eli Zaretskii wrote:
> If I'm right, this problem should show on other platforms as well, not
> just on Windows, when the owner's or group's names include non-ASCII
> characters.
>
Other platforms don't in general use the internal ls-lisp implementation
to generate dired buffers, and most systems use utf-8 encoding in the
locale these days, so even if file-attributes is called somewhere else
with 'string as its second argument, there is a good chance that Emacs
23 will display the username correctly without decoding.
Also, while trying to test this, adduser refused to work, advising:
adduser: To avoid problems, the username should consist only of
letters, digits, underscores, periods, at signs and dashes, and not
start with
a dash (as defined by IEEE Std 1003.1-2001).
So the probability of users on other systems running into this bug are
fairly low.
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com
:
bug#3432
; Package
emacs,w32
.
(Mon, 01 Jun 2009 15:40:04 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Eli Zaretskii <eliz <at> gnu.org>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com
.
(Mon, 01 Jun 2009 15:40:05 GMT)
Full text and
rfc822 format available.
Message #19 received at 3432 <at> emacsbugs.donarmstrong.com (full text, mbox):
> Date: Mon, 01 Jun 2009 23:25:25 +0800
> From: Jason Rumney <jasonr <at> gnu.org>
> CC: Kostafey <at> yandex.ru, 3432 <at> emacsbugs.donarmstrong.com
>
> Other platforms don't in general use the internal ls-lisp implementation
> to generate dired buffers, and most systems use utf-8 encoding in the
> locale these days, so even if file-attributes is called somewhere else
> with 'string as its second argument, there is a good chance that Emacs
> 23 will display the username correctly without decoding.
>
> Also, while trying to test this, adduser refused to work, advising:
>
> adduser: To avoid problems, the username should consist only of
> letters, digits, underscores, periods, at signs and dashes, and not
> start with
> a dash (as defined by IEEE Std 1003.1-2001).
>
> So the probability of users on other systems running into this bug are
> fairly low.
OK, but the solution should still be general, in `file-attributes',
and it is to decode the string by locale-coding-system, don't you
agree?
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com
:
bug#3432
; Package
emacs,w32
.
(Mon, 01 Jun 2009 15:45:04 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Jason Rumney <jasonr <at> gnu.org>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com
.
(Mon, 01 Jun 2009 15:45:04 GMT)
Full text and
rfc822 format available.
Message #24 received at 3432 <at> emacsbugs.donarmstrong.com (full text, mbox):
Eli Zaretskii wrote:
> OK, but the solution should still be general, in `file-attributes',
> and it is to decode the string by locale-coding-system, don't you
> agree?
>
Yes, DECODE_SYSTEM should be used here.
Reply sent
to
Eli Zaretskii <eliz <at> gnu.org>
:
You have taken responsibility.
(Wed, 08 Jul 2009 17:40:05 GMT)
Full text and
rfc822 format available.
Notification sent
to
Lennart Borgman <lennart.borgman <at> gmail.com>
:
bug acknowledged by developer.
(Wed, 08 Jul 2009 17:40:07 GMT)
Full text and
rfc822 format available.
Message #29 received at 3432-done <at> emacsbugs.donarmstrong.com (full text, mbox):
> Date: Mon, 01 Jun 2009 23:37:36 +0800
> From: Jason Rumney <jasonr <at> gnu.org>
> CC: Kostafey <at> yandex.ru, 3432 <at> emacsbugs.donarmstrong.com
>
> Eli Zaretskii wrote:
>
> > OK, but the solution should still be general, in `file-attributes',
> > and it is to decode the string by locale-coding-system, don't you
> > agree?
> >
>
> Yes, DECODE_SYSTEM should be used here.
Done (trunk and branch).
Reply sent
to
Eli Zaretskii <eliz <at> gnu.org>
:
You have taken responsibility.
(Wed, 08 Jul 2009 17:40:07 GMT)
Full text and
rfc822 format available.
Notification sent
to
Konstantin <Kostafey <at> yandex.ru>
:
bug acknowledged by developer.
(Wed, 08 Jul 2009 17:40:07 GMT)
Full text and
rfc822 format available.
Reply sent
to
Eli Zaretskii <eliz <at> gnu.org>
:
You have taken responsibility.
(Wed, 08 Jul 2009 17:40:08 GMT)
Full text and
rfc822 format available.
Notification sent
to
Jason Rumney <jasonr <at> gnu.org>
:
bug acknowledged by developer.
(Wed, 08 Jul 2009 17:40:08 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> emacsbugs.donarmstrong.com
.
(Thu, 06 Aug 2009 14:24:10 GMT)
Full text and
rfc822 format available.
bug unarchived.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Tue, 26 Jan 2010 18:42:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <bug-gnu-emacs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 24 Feb 2010 12:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 15 years and 123 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.