unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Damien Cassou <damien@cassou.me>
To: Robert Pluim <rpluim@gmail.com>
Cc: 38393@debbugs.gnu.org
Subject: bug#38393: 26.3.50; [PATCH][ELPA] Fix typos in dired-du.el
Date: Thu, 28 Nov 2019 07:24:25 +0100	[thread overview]
Message-ID: <87h82o7c2u.fsf@cassou.me> (raw)
In-Reply-To: <m2imn5kant.fsf@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 570 bytes --]

Robert Pluim <rpluim@gmail.com> writes:
>>>>>> On Tue, 26 Nov 2019 21:55:49 +0100, Damien Cassou <damien@cassou.me> 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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-packages-dired-du-dired-du.el-Fix-typos.patch --]
[-- Type: text/x-patch, Size: 2807 bytes --]

From a0475e35296ece855cbc9585daf5a6b64475779e Mon Sep 17 00:00:00 2001
From: Damien Cassou <damien@cassou.me>
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


  reply	other threads:[~2019-11-28  6:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-26 20:55 bug#38393: 26.3.50; [PATCH][ELPA] Fix typos in dired-du.el Damien Cassou
2019-11-27  8:04 ` Robert Pluim
2019-11-28  6:24   ` Damien Cassou [this message]
2020-01-20 18:27     ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h82o7c2u.fsf@cassou.me \
    --to=damien@cassou.me \
    --cc=38393@debbugs.gnu.org \
    --cc=rpluim@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).