From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.bugs Subject: Re: Error bunzip2ing files with non-ASCI-names Date: Tue, 24 Jan 2006 09:46:26 -0700 Message-ID: References: <35A02AAE5FA12544A96AB3C5130D2C27873B8F@MCHP7R6A.ww002.siemens.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1138124239 984 80.91.229.2 (24 Jan 2006 17:37:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 24 Jan 2006 17:37:19 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jan 24 18:37:18 2006 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F1S69-0003j8-Di for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 Jan 2006 18:36:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F1S8q-0000AN-Ok for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 Jan 2006 12:39:40 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F1RTb-0005IC-2V for bug-gnu-emacs@gnu.org; Tue, 24 Jan 2006 11:57:03 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F1RTX-0005Fx-V0 for bug-gnu-emacs@gnu.org; Tue, 24 Jan 2006 11:57:02 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F1RTX-0005FN-CR for bug-gnu-emacs@gnu.org; Tue, 24 Jan 2006 11:56:59 -0500 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1F1RYT-00020l-Iw for bug-gnu-emacs@gnu.org; Tue, 24 Jan 2006 12:02:05 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1F1ROV-0007Rz-1t for bug-gnu-emacs@gnu.org; Tue, 24 Jan 2006 17:51:47 +0100 Original-Received: from 207.167.42.60 ([207.167.42.60]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 24 Jan 2006 17:51:47 +0100 Original-Received: from ihs_4664 by 207.167.42.60 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 24 Jan 2006 17:51:47 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: bug-gnu-emacs@gnu.org Original-Lines: 49 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 207.167.42.60 User-Agent: Mozilla Thunderbird 0.9 (X11/20041105) X-Accept-Language: en-us, en In-Reply-To: <35A02AAE5FA12544A96AB3C5130D2C27873B8F@MCHP7R6A.ww002.siemens.net> X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:14742 Archived-At: Rommerskirchen, Heinrich wrote: > In GNU Emacs 21.3.1 (i586-suse-linux, X toolkit, Xaw3d scroll bars) > of 2005-03-22 on lorien > configured using `configure '--with-gcc' '--with-pop' '--with-leim' '--with-system-malloc' '--prefix=/usr' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--with-x' '--with-xpm' '--with-jpeg' '--with-tiff' '--with-gif' '--with-png' '--with-x-toolkit=lucid' '--x-includes=/usr/X11R6/include' '--x-libraries=/usr/X11R6/lib' 'i586-suse-linux' 'CC=gcc' 'CFLAGS=-O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -g -pipe -fno-strict-aliasing -DSYSTEM_PURESIZE_EXTRA=25000 -DSITELOAD_PURESIZE_EXTRA=10000 -D_GNU_SOURCE ' 'LDFLAGS=-s' 'build_alias=i586-suse-linux' 'host_alias=i586-suse-linux' 'target_alias=i586-suse-linux'' > 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: de_DE.UTF-8 > locale-coding-system: utf-8 > default-enable-multibyte-characters: t > > Please describe exactly what actions triggered the bug > and the precise symptoms of the bug: > > On my GNU/Linux (SuSE 9.3) workstation emacs is unable to bunzip2 > files whose names are not ASCII, maybe because file names are utf-8 encoded on > this system. > > Steps to reproduce this bug: > In the shell: > > echo xx > bä.txt # the second letter of the filename is a-Umlaut > > bzip2 bä.txt > > emacs -q --no-site-file > In emacs > - type "M-x auto-compression-mode" > - open a dired buffer which contains the file (the filename is displayed > correctly with the Umlaut), > - move point to the file and press enter > The error message "File exists, but cannot be read" is displayed > and an empty buffer is created. If I rename the file with dired-do-rename to > 'bae.txt.bz2', the file can be opened without any problems. > bunzip2 has no problems to unzip the file with its original name (tests started > from eshell, xterm, text-only terminal) > The same happens if I use gzip instead of bzip2. > > Files which are not compressed can be read without problems, even if their names > contain non-ASCII characters. Uncompressing the file 'bä.txt.bz2' in a dired > buffer with 'Z' (dired-do-compress) works, too, and gives the readable file > 'bä.txt'. What happens if you visit bä.txt with `C-x C-f' instead of via Dired? -- Kevin Rodgers