From xah@xahlee.org Thu Nov 27 08:39:00 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-7.4 required=4.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 27 Nov 2008 16:39:00 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mARGcvBS030767 for ; Thu, 27 Nov 2008 08:38:58 -0800 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L5jtI-0004Eb-ML for bug-gnu-emacs@gnu.org; Thu, 27 Nov 2008 11:38:56 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L5jtH-0004EK-LN for bug-gnu-emacs@gnu.org; Thu, 27 Nov 2008 11:38:55 -0500 Received: from [199.232.76.173] (port=56331 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L5jtH-0004EH-FV for bug-gnu-emacs@gnu.org; Thu, 27 Nov 2008 11:38:55 -0500 Received: from mout.perfora.net ([74.208.4.194]:50090) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L5jtH-0001kF-09 for bug-gnu-emacs@gnu.org; Thu, 27 Nov 2008 11:38:55 -0500 Received: from [192.168.1.2] (c-24-6-185-159.hsd1.ca.comcast.net [24.6.185.159]) by mrelay.perfora.net (node=mrus1) with ESMTP (Nemesis) id 0MKpCa-1L5jtD1lMC-00010p; Thu, 27 Nov 2008 11:38:54 -0500 Mime-Version: 1.0 (Apple Message framework v753.1) Content-Transfer-Encoding: quoted-printable Message-Id: Content-Type: text/plain; charset=UTF-8; delsp=yes; format=flowed To: bug-gnu-emacs@gnu.org From: xah lee Subject: wdired-change-to-wdired-mode result error with custom dir Date: Thu, 27 Nov 2008 08:38:49 -0800 X-Mailer: Apple Mail (2.753.1) X-Provags-ID: V01U2FsdGVkX1/kWemq/f9FN/XGvY8cdmFCsEDWaaQuZNsQPKe sQoNtOh9RNzGNEc6VqVDSL3o96+C9/ft5UIn2xXgcRJqrYCwka AJrhR+3ZrDjIg5k3ijXFQ== X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Summary: when using wdired-change-to-wdired-mode in dired of a =20 custome dir, it causes minor problems when emacs tries to rename the =20 buffer of a opened file whose name just changed. This possible bug involves some user defined function, however, all =20 things considered, i think it is still a bug. detail: I have a function show-file-in-dired that opens the current buffer in =20= dired. (defun show-file-in-dired () "Show the current file in dired." (interactive) (let () (dired buffer-file-name) ) ) Then, if i tried to rename the file there by calling wdired-change-to-=20= wdired-mode, then after renaming it, emacs gives error like this: byte-code: Buffer is read-only: #> Press C-c C-c when finished or C-c ESC to abort changes insert-directory: Reading directory: no such file or directory, /=20 Users/xah/Documents/temp/emacs, elisp, javascript.txt Steps to reproduce. =E2=80=A2 eval the above elisp code. =E2=80=A2 go into a dir, open a file. (don't close the dired buffer. Not = =20 sure this is important to reproduce the problem but anyway just leave =20= it.) =E2=80=A2 type M-x show-file-in-dired. This should get you in dired with = =20 only that file shown. =E2=80=A2 type M-x wdired-change-to-wdired-mode. Then edit the file = name. =20 Type C-c C-c to complete. =E2=80=A2 Emacs beeps and gives error. ------------------- In GNU Emacs 22.2.1 (powerpc-apple-darwin8.11.0, Carbon Version 1.6.0) of 2008-04-05 on g5.tokyo.stp.isas.jaxa.jp Windowing system distributor `Apple Inc.', version 10.4.11 configured using `configure '--prefix=3D/Applications/Emacs.app/=20 Contents/Resources' '--with-carbon' '--without-x' '--libexecdir=3D/=20 Volumes/Emacs/Emacs.app/Contents/MacOS/libexec' 'CFLAGS=3D-Os -arch =20 i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -DUSE_ATSUI -=20= DUSE_MAC_TSM'' Xah =E2=88=91 http://xahlee.org/ =E2=98=84 From cyd@stupidchicken.com Sat Nov 29 21:43:29 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.0 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1441-done) by emacsbugs.donarmstrong.com; 30 Nov 2008 05:43:29 +0000 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAU5hQKd032384 for <1441-done@emacsbugs.donarmstrong.com>; Sat, 29 Nov 2008 21:43:27 -0800 Received: by cyd.mit.edu (Postfix, from userid 1000) id EBDED57E09E; Sun, 30 Nov 2008 00:43:26 -0500 (EST) From: Chong Yidong To: xah lee Cc: 1441-done@debbugs.gnu.org Subject: Re: wdired-change-to-wdired-mode result error with custom dir Date: Sun, 30 Nov 2008 00:43:26 -0500 Message-ID: <87ej0tdb0h.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > when using wdired-change-to-wdired-mode in dired of a custome dir, it > causes minor problems when emacs tries to rename the buffer of a > opened file whose name just changed. I've checked in a fix. Thanks for the bug report. From unknown Tue Jun 17 20:27:25 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Sun, 28 Dec 2008 15:24:03 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator