From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Newsgroups: gmane.emacs.bugs Subject: bug#34307: Remind to refresh directory if hardlinks were affected Date: Mon, 04 Feb 2019 12:57:36 +0800 Message-ID: <874l9k6thb.fsf@jidanni.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="82034"; mail-complaints-to="usenet@blaine.gmane.org" To: 34307@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 04 05:59:20 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gqWLm-000LF9-QE for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Feb 2019 05:59:19 +0100 Original-Received: from localhost ([127.0.0.1]:35951 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gqWLl-0005Cy-QU for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Feb 2019 23:59:17 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:35566) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gqWLf-0005Ce-Gn for bug-gnu-emacs@gnu.org; Sun, 03 Feb 2019 23:59:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gqWLe-0000Nt-2k for bug-gnu-emacs@gnu.org; Sun, 03 Feb 2019 23:59:11 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58684) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gqWLW-0000GG-5o for bug-gnu-emacs@gnu.org; Sun, 03 Feb 2019 23:59:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gqWLV-0003W3-Vt for bug-gnu-emacs@gnu.org; Sun, 03 Feb 2019 23:59:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 04 Feb 2019 04:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 34307 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.154925628913435 (code B ref -1); Mon, 04 Feb 2019 04:59:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 4 Feb 2019 04:58:09 +0000 Original-Received: from localhost ([127.0.0.1]:57965 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gqWKf-0003Ud-3k for submit@debbugs.gnu.org; Sun, 03 Feb 2019 23:58:09 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:49217) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gqWKc-0003U9-LR for submit@debbugs.gnu.org; Sun, 03 Feb 2019 23:58:07 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:57861) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gqWKV-0007QF-Ct for submit@debbugs.gnu.org; Sun, 03 Feb 2019 23:58:00 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:35358) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gqWKU-00056t-Fl for bug-gnu-emacs@gnu.org; Sun, 03 Feb 2019 23:57:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gqWKR-0007Kd-R7 for bug-gnu-emacs@gnu.org; Sun, 03 Feb 2019 23:57:57 -0500 Original-Received: from lavender.maple.relay.mailchannels.net ([23.83.214.99]:60256) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gqWKQ-00074O-84 for bug-gnu-emacs@gnu.org; Sun, 03 Feb 2019 23:57:54 -0500 X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 0D016683597 for ; Mon, 4 Feb 2019 04:57:41 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a22.g.dreamhost.com (unknown [100.96.29.126]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id C6E82683951 for ; Mon, 4 Feb 2019 04:57:40 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Original-Received: from pdx1-sub0-mail-a22.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.16.2); Mon, 04 Feb 2019 04:57:41 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Sponge-Company: 32d88ce437755127_1549256260903_2815598044 X-MC-Loop-Signature: 1549256260903:3473128797 X-MC-Ingress-Time: 1549256260902 Original-Received: from pdx1-sub0-mail-a22.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a22.g.dreamhost.com (Postfix) with ESMTP id 7121B8217A for ; Sun, 3 Feb 2019 20:57:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to :subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=jidanni.org; bh=4NAhfpV/pqBf4b7NPj fwk80eXss=; b=BTSZJIxJnMVG04S3lmg3/64WXjXcufuZWEi0ULXi3oDsfP/Gsi iN+a69h/RIVFZcsLbJbd01v+axfcnmmodOcHlcYeDkReQuJW3+C9o4PRPaM0vbDW jdCQGJ7cPf/sVAVRvBjv76PpexPch11sbsFlOpi3fB7P+HSZ471jYanck= Original-Received: from jidanni.org (111-246-86-245.dynamic-ip.hinet.net [111.246.86.245]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a22.g.dreamhost.com (Postfix) with ESMTPSA id E4A6282181 for ; Sun, 3 Feb 2019 20:57:39 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a22 X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: 0 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedtledrkeefgdejiecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfggtgfgsehtkeertddttdejnecuhfhrohhmpejnnjjnucffrghnucflrggtohgsshhonhcuoehjihgurghnnhhisehjihgurghnnhhirdhorhhgqeenucffohhmrghinhepvghlrdhithenucfkphepudduuddrvdegiedrkeeirddvgeehnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehjihgurghnnhhirdhorhhgpdhinhgvthepudduuddrvdegiedrkeeirddvgeehpdhrvghtuhhrnhdqphgrthhhpeeprehuthhfqdekreeureehiehmpfehnfhiheehsgevkeerpecuffgrnhculfgrtghosghsohhnuceojhhiuggrnhhnihesjhhiuggrnhhnihdrohhrgheqpdhmrghilhhfrhhomhepjhhiuggrnhhnihesjhhiuggrnhhnihdrohhrghdpnhhrtghpthhtohepsghughdqghhnuhdqvghmrggtshesghhnuhdrohhrghenucevlhhushhtvghrufhiiigvpedt X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.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" Xref: news.gmane.org gmane.emacs.bugs:155069 Archived-At: On R runs the command dired-do-rename (found in dired-mode-map), which is an interactive autoloaded compiled Lisp function in =E2=80=98dired-aux= .el=E2=80=99. It is bound to R, . (dired-do-rename &optional ARG) Rename current file or all marked (or next ARG) files. When renaming just the current file, you specify the new name. When renaming multiple or marked files, you specify a directory. This command also renames any buffers that are visiting the files. The default suggested for the target directory depends on the value of =E2=80=98dired-dwim-target=E2=80=99, which see. Perhaps mention "after renaming files to different filesystems, be sure to hit "g" to update the hardlink count of any previous hardlinks to them, that are still remaining in the directory. Same on the docstring of x runs the command dired-do-flagged-delete (found in dired-mode-map), which is an interactive compiled Lisp function in =E2=80=98dired.el=E2= =80=99.