From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Benjamin Riefenstahl Newsgroups: gmane.emacs.bugs Subject: bug#14521: 24.2; Wdired does not handle backslash in filename Date: Fri, 31 May 2013 18:00:51 +0200 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1370016404 7635 80.91.229.3 (31 May 2013 16:06:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 31 May 2013 16:06:44 +0000 (UTC) To: 14521@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 31 18:06:44 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UiRql-00027Q-Kn for geb-bug-gnu-emacs@m.gmane.org; Fri, 31 May 2013 18:06:43 +0200 Original-Received: from localhost ([::1]:53135 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UiRqk-00023t-VK for geb-bug-gnu-emacs@m.gmane.org; Fri, 31 May 2013 12:06:42 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58695) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UiRqa-0001yn-WD for bug-gnu-emacs@gnu.org; Fri, 31 May 2013 12:06:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UiRqV-000181-K0 for bug-gnu-emacs@gnu.org; Fri, 31 May 2013 12:06:32 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56391) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UiRqV-00017r-Gb for bug-gnu-emacs@gnu.org; Fri, 31 May 2013 12:06:27 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UiRs2-0005kq-Cc for bug-gnu-emacs@gnu.org; Fri, 31 May 2013 12:08:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Benjamin Riefenstahl Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 31 May 2013 16:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 14521 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.137001642721972 (code B ref -1); Fri, 31 May 2013 16:08:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 31 May 2013 16:07:07 +0000 Original-Received: from localhost ([127.0.0.1]:44749 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UiRr8-0005iK-3g for submit@debbugs.gnu.org; Fri, 31 May 2013 12:07:06 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55167) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UiRn6-0005Xl-Cp for submit@debbugs.gnu.org; Fri, 31 May 2013 12:02:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UiRlP-0007Cl-RA for submit@debbugs.gnu.org; Fri, 31 May 2013 12:01:15 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:56966) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UiRlP-0007Ch-Or for submit@debbugs.gnu.org; Fri, 31 May 2013 12:01:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56857) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UiRlM-0006up-G2 for bug-gnu-emacs@gnu.org; Fri, 31 May 2013 12:01:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UiRlJ-0007BD-4T for bug-gnu-emacs@gnu.org; Fri, 31 May 2013 12:01:08 -0400 Original-Received: from odoacer.turtle-trading.net ([217.91.34.180]:47514) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UiRlI-000775-Ss for bug-gnu-emacs@gnu.org; Fri, 31 May 2013 12:01:05 -0400 Original-Received: from odoacer.turtle-trading.net ([217.91.34.180] helo=justinian.benny.turtle-trading.net) by odoacer.turtle-trading.net with esmtp (Exim 4.80) (envelope-from ) id 1UiRlB-0001Vc-SC; Fri, 31 May 2013 18:00:57 +0200 Original-Received: from justinian.benny.turtle-trading.net (localhost [127.0.0.1]) by justinian.benny.turtle-trading.net (8.14.7/8.14.5) with ESMTP id r4VG0qnY020406; Fri, 31 May 2013 18:00:52 +0200 Original-Received: (from benny@localhost) by justinian.benny.turtle-trading.net (8.14.7/8.14.7/Submit) id r4VG0q14020405; Fri, 31 May 2013 18:00:52 +0200 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Fri, 31 May 2013 12:07:04 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:74704 Archived-At: Please describe exactly what actions triggered the bug, and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': ----- * Create a file /tmp/t\u, i.e. a file with the sequence "\u" in it. C-x C-f /tmp/t\u C-x C-s * Open the directory in dired. C-x C-f * Change to wdired mode M-x wdire * Exit wdired mode C-c C-c * I get the error "wdired-get-filename: Non-hex digit used for Unicode escape". ----- Variation: * Create a file /tmp/t\h, i.e. a file with the sequence "\h" in it. C-x C-f /tmp/t\h C-x C-s * Open the directory in dired. C-x C-f * Change to wdired mode M-x wdire * Exit wdired mode C-c C-c * I get the question "File /tmp/t\h already exists; rename to it anyway? (yes or no)". ----- It seems that I run against the FIXME in wdired-normalize-filename. Note that renaming and even deleting files works fine if I use the methods provided by plain dired. ----- In GNU Emacs 24.2.1 (i686-redhat-linux-gnu, GTK+ Version 3.6.4) of 2013-04-12 on buildvm-09.phx2.fedoraproject.org Windowing system distributor `Fedora Project', version 11.0.11303000 Configured using: `configure '--build=i686-redhat-linux-gnu' '--host=i686-redhat-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-dbus' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xft' '--with-xpm' '--with-x-toolkit=gtk3' '--with-gpm=no' '--with-wide-int' 'build_alias=i686-redhat-linux-gnu' 'host_alias=i686-redhat-linux-gnu' 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables' 'LDFLAGS=-Wl,-z,relro '' 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: en_US.utf8 value of $LC_NUMERIC: en_US.utf8 value of $LC_TIME: en_US.utf8 value of $LANG: en_US.utf8 value of $XMODIFIERS: @im=none locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Dired Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-x C-f / t m p / t \ u C-x C-s C-x f C-g C-g C-x C-f M-x w d i r e C-c C-c D y e s M-x C-c C-c M-x r e p o r s t t - Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. (New file) Saving file /tmp/t\u... Wrote /tmp/t\u Quit [2 times] Press C-c C-c when finished or C-c ESC to abort changes wdired-get-filename: Non-hex digit used for Unicode escape Deleting...done Press C-c C-c when finished or C-c ESC to abort changes wdired-get-filename: Non-hex digit used for Unicode escape Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils wdired dired regexp-opt time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs)