* bug#1441: wdired-change-to-wdired-mode result error with custom dir
@ 2008-11-27 16:38 ` xah lee
2008-11-30 5:50 ` bug#1441: marked as done (wdired-change-to-wdired-mode result error with custom dir) Emacs bug Tracking System
0 siblings, 1 reply; 2+ messages in thread
From: xah lee @ 2008-11-27 16:38 UTC (permalink / raw
To: bug-gnu-emacs
Summary: 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.
This possible bug involves some user defined function, however, all
things considered, i think it is still a bug.
detail:
I have a function show-file-in-dired that opens the current buffer in
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-
wdired-mode, then after renaming it, emacs gives error like this:
byte-code: Buffer is read-only: #<buffer emacs, elisp,
javascript.txt<2>>
Press C-c C-c when finished or C-c ESC to abort changes
insert-directory: Reading directory: no such file or directory, /
Users/xah/Documents/temp/emacs, elisp, javascript.txt
Steps to reproduce.
• eval the above elisp code.
• go into a dir, open a file. (don't close the dired buffer. Not
sure this is important to reproduce the problem but anyway just leave
it.)
• type M-x show-file-in-dired. This should get you in dired with
only that file shown.
• type M-x wdired-change-to-wdired-mode. Then edit the file name.
Type C-c C-c to complete.
• 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=/Applications/Emacs.app/
Contents/Resources' '--with-carbon' '--without-x' '--libexecdir=/
Volumes/Emacs/Emacs.app/Contents/MacOS/libexec' 'CFLAGS=-Os -arch
i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -DUSE_ATSUI -
DUSE_MAC_TSM''
Xah
∑ http://xahlee.org/
☄
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#1441: marked as done (wdired-change-to-wdired-mode result error with custom dir)
2008-11-27 16:38 ` bug#1441: wdired-change-to-wdired-mode result error with custom dir xah lee
@ 2008-11-30 5:50 ` Emacs bug Tracking System
0 siblings, 0 replies; 2+ messages in thread
From: Emacs bug Tracking System @ 2008-11-30 5:50 UTC (permalink / raw
To: Chong Yidong
[-- Attachment #1: Type: text/plain, Size: 876 bytes --]
Your message dated Sun, 30 Nov 2008 00:43:26 -0500
with message-id <87ej0tdb0h.fsf@cyd.mit.edu>
and subject line Re: wdired-change-to-wdired-mode result error with custom dir
has caused the Emacs bug report #1441,
regarding wdired-change-to-wdired-mode result error with custom dir
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact don@donarmstrong.com
immediately.)
--
1441: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=1441
Emacs Bug Tracking System
Contact don@donarmstrong.com with problems
[-- Attachment #2: Type: message/rfc822, Size: 4065 bytes --]
From: xah lee <xah@xahlee.org>
To: bug-gnu-emacs@gnu.org
Subject: wdired-change-to-wdired-mode result error with custom dir
Date: Thu, 27 Nov 2008 08:38:49 -0800
Message-ID: <F5DF1A4C-6663-46F8-A5D3-DFE07D6899A6@xahlee.org>
Summary: 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.
This possible bug involves some user defined function, however, all
things considered, i think it is still a bug.
detail:
I have a function show-file-in-dired that opens the current buffer in
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-
wdired-mode, then after renaming it, emacs gives error like this:
byte-code: Buffer is read-only: #<buffer emacs, elisp,
javascript.txt<2>>
Press C-c C-c when finished or C-c ESC to abort changes
insert-directory: Reading directory: no such file or directory, /
Users/xah/Documents/temp/emacs, elisp, javascript.txt
Steps to reproduce.
• eval the above elisp code.
• go into a dir, open a file. (don't close the dired buffer. Not
sure this is important to reproduce the problem but anyway just leave
it.)
• type M-x show-file-in-dired. This should get you in dired with
only that file shown.
• type M-x wdired-change-to-wdired-mode. Then edit the file name.
Type C-c C-c to complete.
• 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=/Applications/Emacs.app/
Contents/Resources' '--with-carbon' '--without-x' '--libexecdir=/
Volumes/Emacs/Emacs.app/Contents/MacOS/libexec' 'CFLAGS=-Os -arch
i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -DUSE_ATSUI -
DUSE_MAC_TSM''
Xah
∑ http://xahlee.org/
☄
[-- Attachment #3: Type: message/rfc822, Size: 1185 bytes --]
From: Chong Yidong <cyd@stupidchicken.com>
To: xah lee <xah@xahlee.org>
Cc: 1441-done@emacsbugs.donarmstrong.com
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>
> 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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-11-30 5:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <87ej0tdb0h.fsf@cyd.mit.edu>
2008-11-27 16:38 ` bug#1441: wdired-change-to-wdired-mode result error with custom dir xah lee
2008-11-30 5:50 ` bug#1441: marked as done (wdired-change-to-wdired-mode result error with custom dir) Emacs bug Tracking System
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.