From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#10489: 24.0.92; dired-do-copy may create infinite directory hierarchy Date: Fri, 13 Jan 2012 08:59:08 -0800 Message-ID: References: <87mx9su32g.fsf@web.de> <87sjjkfvwt.fsf@gmail.com><8362ggkquq.fsf@gnu.org> <87pqeoro8p.fsf@gmail.com><83wr8vki5t.fsf@gnu.org><8762gfdael.fsf@gmx.de> <87hazzll0o.fsf@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1326473982 24661 80.91.229.12 (13 Jan 2012 16:59:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 13 Jan 2012 16:59:42 +0000 (UTC) Cc: 'Juanma Barranquero' , 10489@debbugs.gnu.org, 'Thierry Volpiatto' To: "'Stefan Monnier'" , "'Michael Albinus'" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 13 17:59:36 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RlkTY-0003gG-FO for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Jan 2012 17:59:36 +0100 Original-Received: from localhost ([::1]:51943 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlkTX-0002kf-Ms for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Jan 2012 11:59:35 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:54536) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlkTS-0002jg-SM for bug-gnu-emacs@gnu.org; Fri, 13 Jan 2012 11:59:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RlkTN-0002NB-2B for bug-gnu-emacs@gnu.org; Fri, 13 Jan 2012 11:59:30 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33737) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlkTM-0002N7-VX for bug-gnu-emacs@gnu.org; Fri, 13 Jan 2012 11:59:25 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1RlkTy-0007au-Gq for bug-gnu-emacs@gnu.org; Fri, 13 Jan 2012 12:00:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 Jan 2012 17:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10489 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10489-submit@debbugs.gnu.org id=B10489.132647399529149 (code B ref 10489); Fri, 13 Jan 2012 17:00:02 +0000 Original-Received: (at 10489) by debbugs.gnu.org; 13 Jan 2012 16:59:55 +0000 Original-Received: from localhost ([127.0.0.1]:56643 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RlkTr-0007a6-2I for submit@debbugs.gnu.org; Fri, 13 Jan 2012 11:59:55 -0500 Original-Received: from acsinet15.oracle.com ([141.146.126.227]:57687) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RlkTo-0007Zz-Sh for 10489@debbugs.gnu.org; Fri, 13 Jan 2012 11:59:53 -0500 Original-Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by acsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id q0DGxDf4013295 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 13 Jan 2012 16:59:14 GMT Original-Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q0DGxC4Y000535 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 13 Jan 2012 16:59:13 GMT Original-Received: from abhmt102.oracle.com (abhmt102.oracle.com [141.146.116.54]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q0DGxCpu001530; Fri, 13 Jan 2012 10:59:12 -0600 Original-Received: from dradamslap1 (/10.159.36.36) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 13 Jan 2012 08:59:12 -0800 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AczSBe40kdYgsxlIQVKKuSjo4DfCIQABtgAw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090209.4F1062E2.005E,ss=1,re=0.000,fgs=0 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 (newer, 2) 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:55702 Archived-At: > >> read-file-name-completion-ignore-case is a user > >> configuration which only reflects the underlying system's > >> sensitivity by default but the user is free to modify it. > >> I used to set it to t under GNU/Linux, for instance. > > > > (eval (car (get 'read-file-name-completion-ignore-case > > 'standard-value))) > > > > would do, but that's too hackish ?? > > Yuck. I'd much rather introduce a new defconst which is then used to > provide the default value of read-file-name-completion-ignore-case. > > BTW, a reliable test of file name equality is far from obvious. E.g. > "/ssh:toto:/titi" is equal to "/ssh:TOTO:/titi" but whether > "/ssh:toto:/titi" is not equal to "/ssh:toto:/TITI" if titi > is a typical GNU/Linux machine. And if you try to rely on some system setting (e.g. the constant you mentioned), then that needs to be checked separately for each file name argument, in the case where a remote specifier is part of the file name.