From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Damien Cassou Newsgroups: gmane.emacs.bugs Subject: bug#38393: 26.3.50; [PATCH][ELPA] Fix typos in dired-du.el Date: Thu, 28 Nov 2019 07:24:25 +0100 Message-ID: <87h82o7c2u.fsf@cassou.me> References: <87blsy73xm.fsf@cassou.me> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="123201"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 38393@debbugs.gnu.org To: Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 28 07:25:12 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.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iaDEm-000Vr5-2r for geb-bug-gnu-emacs@m.gmane.org; Thu, 28 Nov 2019 07:25:12 +0100 Original-Received: from localhost ([::1]:45670 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iaDEk-0003KE-8v for geb-bug-gnu-emacs@m.gmane.org; Thu, 28 Nov 2019 01:25:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34509) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iaDEd-0003K1-KJ for bug-gnu-emacs@gnu.org; Thu, 28 Nov 2019 01:25:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iaDEc-0004LZ-B8 for bug-gnu-emacs@gnu.org; Thu, 28 Nov 2019 01:25:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50547) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iaDEc-0004Kr-3W for bug-gnu-emacs@gnu.org; Thu, 28 Nov 2019 01:25:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iaDEb-00087t-Vf for bug-gnu-emacs@gnu.org; Thu, 28 Nov 2019 01:25:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Damien Cassou Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 Nov 2019 06:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38393 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 38393-submit@debbugs.gnu.org id=B38393.157492227231190 (code B ref 38393); Thu, 28 Nov 2019 06:25:01 +0000 Original-Received: (at 38393) by debbugs.gnu.org; 28 Nov 2019 06:24:32 +0000 Original-Received: from localhost ([127.0.0.1]:56520 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iaDE8-000870-Bp for submit@debbugs.gnu.org; Thu, 28 Nov 2019 01:24:32 -0500 Original-Received: from mail.choca.pics ([62.210.108.126]:59282) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iaDE6-00086s-VR for 38393@debbugs.gnu.org; Thu, 28 Nov 2019 01:24:31 -0500 Original-Received: from localhost (localhost.localdomain [IPv6:::1]) by mail.choca.pics (Postfix) with ESMTP id 63BD9F08875; Thu, 28 Nov 2019 07:24:29 +0100 (CET) Original-Received: from mail.choca.pics ([IPv6:::1]) by localhost (mail.choca.pics [IPv6:::1]) (amavisd-new, port 10032) with ESMTP id aLT2oLappVuZ; Thu, 28 Nov 2019 07:24:28 +0100 (CET) Original-Received: from localhost (localhost.localdomain [IPv6:::1]) by mail.choca.pics (Postfix) with ESMTP id 4E0E4F08876; Thu, 28 Nov 2019 07:24:28 +0100 (CET) X-Virus-Scanned: amavisd-new at choca.pics Original-Received: from mail.choca.pics ([IPv6:::1]) by localhost (mail.choca.pics [IPv6:::1]) (amavisd-new, port 10026) with ESMTP id lxLl07QrgL_r; Thu, 28 Nov 2019 07:24:28 +0100 (CET) Original-Received: from luz4 (254.116.5.93.rev.sfr.net [93.5.116.254]) by mail.choca.pics (Postfix) with ESMTPSA id E833EF08875; Thu, 28 Nov 2019 07:24:27 +0100 (CET) In-Reply-To: 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:172580 Archived-At: --=-=-= Content-Type: text/plain Robert Pluim writes: >>>>>> On Tue, 26 Nov 2019 21:55:49 +0100, Damien Cassou said: > Damien> If NEW-INFO contains information for one file already in > > 'one' -> 'a' > > And maybe 'already present' or similar. > > Damien> -`dired-du-dir-info', then the new infomation replace > Damien> +`dired-du-dir-info', then the new information replace > > 'replaces' team work! New version attached. -- Damien Cassou "Success is the ability to go from one failure to another without losing enthusiasm." --Winston Churchill --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-packages-dired-du-dired-du.el-Fix-typos.patch >From a0475e35296ece855cbc9585daf5a6b64475779e Mon Sep 17 00:00:00 2001 From: Damien Cassou Date: Tue, 26 Nov 2019 21:54:12 +0100 Subject: [PATCH] * packages/dired-du/dired-du.el: Fix typos --- packages/dired-du/dired-du.el | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/dired-du/dired-du.el b/packages/dired-du/dired-du.el index 13915222a..04ee1e9cc 100644 --- a/packages/dired-du/dired-du.el +++ b/packages/dired-du/dired-du.el @@ -783,7 +783,7 @@ (defun dired-du--file-in-dir-info-p (file &optional dir-info) (defun dired-du--create-or-check-dir-info (&optional keep-drop-dirs) "Initialize `dired-du-dir-info' and return it. -Intial value is just a list with the subdir names included in the +Initial value is just a list with the subdir names included in the Dired buffer. If there are subdirs not included in `dired-du-dir-info' then they are added. @@ -1064,7 +1064,7 @@ (defun dired-du-mark-subdir-files (&optional mark must-exist) "Mark all files in current subdirectory. Optional arg MARK, if non-nil, then is the character mark used. Otherwise use `dired-marker-char'. -Optional arg MUST-EXIST, if non-nil, hide non-existant files. +Optional arg MUST-EXIST, if non-nil, hide non-existent files. Directories '.' and '..' are also marked." (save-restriction @@ -1076,7 +1076,7 @@ (defun dired-du-mark-buffer (&optional mark must-exist) "Mark all files in the Dired buffer. Optional arg MARK, if non-nil, then is the character mark used. Otherwise use `dired-marker-char'. -Optional arg MUST-EXIST, if non-nil, hide non-existant files. +Optional arg MUST-EXIST, if non-nil, hide non-existent files. Directories '.' and '..' are also marked." (let ((dired-marker-char (or mark dired-marker-char))) @@ -1505,7 +1505,7 @@ (defun dired-du--toggle-human-readable (&optional no-message) (when (and (derived-mode-p 'dired-mode) dired-du-find-dired-buffer (not dired-du-on-find-dired-ok)) - (error "Toogle format size in `find-dired' buffers \ + (error "Toggle format size in `find-dired' buffers \ is disabled; enable with %s" (substitute-command-keys "\\[dired-du-on-find-dired-ok-toggle\]"))) @@ -1603,8 +1603,8 @@ (defun dired-du--global-update-dir-info (new-info glob-pos) "Update with NEW-INFO position GLOB-POS of `dired-du-dir-info'. NEW-INFO may be the file info for one file or several. -If NEW-INFO contains information for one file already in -`dired-du-dir-info', then the new infomation replace +If NEW-INFO contains information for a file already present in +`dired-du-dir-info', then the new information replaces the old one. Otherwise, the new information is added in front to \(cdr (nth GLOB-POS `dired-du-dir-info')). -- 2.23.0 --=-=-=--