From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#4739: marked as done (23.1.50; recursive delete fails) Date: Sat, 24 Oct 2009 20:40:06 +0000 Message-ID: References: <877hukedo3.fsf@stupidchicken.com> <87eip3ksyi.fsf@turtle.gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1256416806-7956-0" X-Trace: ger.gmane.org 1256417255 28259 80.91.229.12 (24 Oct 2009 20:47:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 24 Oct 2009 20:47:35 +0000 (UTC) To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 24 22:47:28 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1N1nWI-0005ab-7W for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Oct 2009 22:47:26 +0200 Original-Received: from localhost ([127.0.0.1]:56681 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N1nWH-0005he-QN for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Oct 2009 16:47:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N1nWD-0005dx-54 for bug-gnu-emacs@gnu.org; Sat, 24 Oct 2009 16:47:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N1nW8-0005Zv-42 for bug-gnu-emacs@gnu.org; Sat, 24 Oct 2009 16:47:20 -0400 Original-Received: from [199.232.76.173] (port=47870 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N1nW7-0005Zf-Vq for bug-gnu-emacs@gnu.org; Sat, 24 Oct 2009 16:47:16 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:43014) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N1nW7-0002Y1-C8 for bug-gnu-emacs@gnu.org; Sat, 24 Oct 2009 16:47:15 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9OKlDGn009192; Sat, 24 Oct 2009 13:47:13 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n9OKe6Tk008045; Sat, 24 Oct 2009 13:40:06 -0700 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 4739 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: patch X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:32213 Archived-At: This is a multi-part message in MIME format... ------------=_1256416806-7956-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Sat, 24 Oct 2009 16:32:12 -0400 with message-id <877hukedo3.fsf@stupidchicken.com> and subject line Re: 23.1.50; recursive delete fails has caused the Emacs bug report #4739, regarding 23.1.50; recursive delete fails 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 owner@emacsbugs.donarmstrong.com immediately.) --=20 4739: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D4739 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1256416806-7956-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 16 Oct 2009 20:02:59 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.8 required=4.0 tests=AWL,FOURLA,X_DEBBUGS_CC autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9GK2vjf000357 for ; Fri, 16 Oct 2009 13:02:58 -0700 Received: from mail.gnu.org ([199.232.76.166]:57624 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Myt0q-0000Fw-I1 for emacs-pretest-bug@gnu.org; Fri, 16 Oct 2009 16:02:56 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Myt0k-0003Ct-Ab for emacs-pretest-bug@gnu.org; Fri, 16 Oct 2009 16:02:54 -0400 Received: from mail.gmx.net ([213.165.64.20]:46471) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Myt0j-0003CP-P6 for emacs-pretest-bug@gnu.org; Fri, 16 Oct 2009 16:02:50 -0400 Received: (qmail invoked by alias); 16 Oct 2009 20:02:46 -0000 Received: from p54865187.dip.t-dialin.net (EHLO turtle.gmx.de) [84.134.81.135] by mail.gmx.net (mp028) with SMTP; 16 Oct 2009 22:02:46 +0200 X-Authenticated: #28250155 X-Provags-ID: V01U2FsdGVkX1/lNi0Q/RzlCrr1s843cflYUO2nhm0SHjfvIub1oA 9luNYdqgVGqEFd Received: by turtle.gmx.de (Postfix, from userid 1000) id BC7E9354B4; Fri, 16 Oct 2009 22:02:45 +0200 (CEST) From: Sven Joachim To: emacs-pretest-bug@gnu.org Subject: 23.1.50; recursive delete fails X-Debbugs-CC: Sven Joachim Date: Fri, 16 Oct 2009 22:02:45 +0200 Message-ID: <87eip3ksyi.fsf@turtle.gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Y-GMX-Trusted: 0 X-FuHaFi: 0.49 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) In the following situation Emacs signals an error: $ mkdir -p /tmp/test $ ln -s /tmp /tmp/test $ emacs -Q /tmp Now move point to the 'test' directory, type 'D' and confirm that you want to delete the directory recursively. An error message appears in the echo area: (file-error Removing directory Not a directory /tmp/test/tmp) In GNU Emacs 23.1.50.1 (i486-pc-linux-gnu, GTK+ Version 2.18.2) of 2009-10-13 on turtle (Sorry for not checking a newer version -- Savannah appears to be down, so I cannot upgrade ATM.) Windowing system distributor `The X.Org Foundation', version 11.0.10605000 configured using `configure '--build=i486-linux-gnu' 'build_alias=i486-linux-gnu' 'CFLAGS=-DGTK_DISABLE_DEPRECATED -g -O2'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: C 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: C value of $XMODIFIERS: nil locale-coding-system: nil default enable-multibyte-characters: t Major mode: Group Minor modes in effect: gnus-undo-mode: t display-time-mode: t auto-image-file-mode: t show-paren-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t temp-buffer-resize-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-x d / t m M-x t o g g l e - d e b e r r D y e s C-h e M-x C-x 1 M-x e m a c s - v e s r s i M-x C-g C-x d ~ M-x g n u s C-g M-x SPC q M-x r e p o e r t - e m Recent messages: Checking new news... Opening nnfolder server on archive...done Opening nntp server on news.gnus.org...done Opening nntp server on news.eternal-september.org...done Checking new news...done Retrieving newsgroup: gmane.emacs.devel... Opening nntp server on news.gmane.org...done Fetching headers for gmane.emacs.devel...done Scoring...done Generating summary...done Load-path shadows: None found. Features: (shadow ispell emacsbug sort gnus-cite smiley ansi-color mail-extr gnus-async gnus-bcklg gnus-ml disp-table parse-time timezone byte-opt bytecomp byte-compile nnfolder nndraft nnmh vc-git auth-source gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 epg-config mm-view smime dig nntp gnus-cache gnus-sum nnoo gnus-group gnus-undo nnmail mail-source format-spec gnus-start gnus-spec gnus-int gnus-range message sendmail ecomplete rfc822 mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev gmm-utils mailheader canlock sha1 hex-util hashcash gnus-win gnus gnus-ems nnheader gnus-util netrc time-date mail-utils mm-util mail-prsvr wid-edit cus-start cus-load dired-x dired-aux dired time server uniquify advice help-fns help-mode easymenu view advice-preload po generic-x regexp-opt image-file paren add-ons 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 mldrag 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 loaddefs button minibuffer faces cus-face text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gtk x-toolkit x multi-tty emacs) ------------=_1256416806-7956-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 4739-done) by emacsbugs.donarmstrong.com; 24 Oct 2009 20:32:19 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=MURPHY_DRUGS_REL8 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from pantheon-po42.its.yale.edu (pantheon-po42.its.yale.edu [130.132.50.101]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9OKWHac007182 for <4739-done@emacsbugs.donarmstrong.com>; Sat, 24 Oct 2009 13:32:19 -0700 Received: from furry (173-14-147-246-NewEngland.hfc.comcastbusiness.net [173.14.147.246]) (authenticated bits=0) by pantheon-po42.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id n9OKWCFg016012 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 24 Oct 2009 16:32:12 -0400 Received: by furry (Postfix, from userid 1000) id 7652CC070; Sat, 24 Oct 2009 16:32:12 -0400 (EDT) From: Chong Yidong To: Sven Joachim Cc: 4739-done@emacsbugs.donarmstrong.com Subject: Re: 23.1.50; recursive delete fails Date: Sat, 24 Oct 2009 16:32:12 -0400 Message-ID: <877hukedo3.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) > Here is a patch that should fix this issue by testing whether the > /tmp/test/tmp subdirectory is actually a symlink. It uses the same > trick as the dired-delete-file function to test for that condition: Thanks. The patch looks good, and I've checked it in. ------------=_1256416806-7956-0--