From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#25075: 26.0.50; [PATCH] Dired can now dereference symlinks when copying Date: Tue, 11 Aug 2020 15:17:18 +0200 Message-ID: <87d03xwcdd.fsf@gnus.org> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24529"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Glenn Morris , 25075@debbugs.gnu.org To: Kaushal Modi Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 11 15:18:11 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k5UAL-00068m-UQ for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 11 Aug 2020 15:18:09 +0200 Original-Received: from localhost ([::1]:46934 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k5UAK-0000Yh-SO for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 11 Aug 2020 09:18:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49354) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k5UAE-0000YD-1H for bug-gnu-emacs@gnu.org; Tue, 11 Aug 2020 09:18:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55623) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k5UAD-0002mD-OX for bug-gnu-emacs@gnu.org; Tue, 11 Aug 2020 09:18:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k5UAD-0004uK-Iq for bug-gnu-emacs@gnu.org; Tue, 11 Aug 2020 09:18:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 11 Aug 2020 13:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25075 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 25075-submit@debbugs.gnu.org id=B25075.159715185218810 (code B ref 25075); Tue, 11 Aug 2020 13:18:01 +0000 Original-Received: (at 25075) by debbugs.gnu.org; 11 Aug 2020 13:17:32 +0000 Original-Received: from localhost ([127.0.0.1]:38933 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5U9k-0004tJ-9S for submit@debbugs.gnu.org; Tue, 11 Aug 2020 09:17:32 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:60098) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5U9h-0004t2-Ty for 25075@debbugs.gnu.org; Tue, 11 Aug 2020 09:17:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=HlZtY8+cmyMHFYYUKJOd+wQ1fHSuvOKege4zYOA8BL4=; b=fsM+98pm5gtSA3nz6Vv1BfWQVV vBk8N5YuOMju83HyBUkw9QMZIeZ7JM4I5Z9WI+xwoipUIK8UXizFeyVem8S8vXVt08RyRHDZQnd+H fFg5cwA0Y6+SZlOpTXgomAR728spAxcVC9/1zMO+kLEHMVE4A+I9bDoKibe7WG91GMpk=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k5U9Y-0003bW-R3; Tue, 11 Aug 2020 15:17:23 +0200 In-Reply-To: (Kaushal Modi's message of "Thu, 01 Dec 2016 06:06:21 +0000") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:184644 Archived-At: Kaushal Modi writes: > Copying with symlinks dereferenced is almost always the case for me, > because of the version control system we use. It is a central VCS. So > we need to check out the files before editing them. In checked-in > state, all files are just symlinks to the physical versions in a > central cache server. So almost always "cp -L" is what I want to do > when copying files from one place to another without checking them > out. My cp is aliased to "cp -L". Thanks; I've now applied this patch to Emacs 28, since Eli said: > That was my first thought as well, but we use the same approach as > Kaushal proposed for the equivalent of the -p switch to 'cp'. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no