[PATCH 0/1] Fix typos as found by codespell

classic Classic list List threaded Threaded
4 messages Options
Georg Faerber Georg Faerber
Reply | Threaded
Open this post in threaded view
|

[PATCH 0/1] Fix typos as found by codespell

Hi all,

Please find attached a patch to fix some typos, as found by codespell.
There are some more typos within the test/corpora/default/bar/cur/ and
test/corpora/lkml/cur/ directories, but I left them untouched for now,
as the files in there are fixtures, I guess. Tell me if you want to get
a patch for these as well.

Thanks for your work,
especially for merging and releasing the cleartext indexing feature
recently -- highly appreciated,
cheers,
Georg

Georg Faerber (1):
  Fix typos as found by codespell

 NEWS                                       | 4 ++--
 bindings/python/docs/source/filesystem.rst | 2 +-
 contrib/go/src/notmuch/notmuch.go          | 2 +-
 debian/changelog                           | 4 ++--
 emacs/notmuch-mua.el                       | 2 +-
 test/T190-multipart.sh                     | 2 +-
 test/T410-argument-parsing.sh              | 2 +-
 vim/README                                 | 2 +-
 8 files changed, 10 insertions(+), 10 deletions(-)

--
2.16.2

_______________________________________________
notmuch mailing list
[hidden email]
https://notmuchmail.org/mailman/listinfo/notmuch
Georg Faerber Georg Faerber
Reply | Threaded
Open this post in threaded view
|

[PATCH 1/1] Fix typos as found by codespell

Signed-off-by: Georg Faerber <[hidden email]>
---
 NEWS                                       | 4 ++--
 bindings/python/docs/source/filesystem.rst | 2 +-
 contrib/go/src/notmuch/notmuch.go          | 2 +-
 debian/changelog                           | 4 ++--
 emacs/notmuch-mua.el                       | 2 +-
 test/T190-multipart.sh                     | 2 +-
 test/T410-argument-parsing.sh              | 2 +-
 vim/README                                 | 2 +-
 8 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/NEWS b/NEWS
index e4f8160b..17dba019 100644
--- a/NEWS
+++ b/NEWS
@@ -1444,7 +1444,7 @@ Command-Line Interface
 The commands set consistent exit status codes on failures
 
   The cli commands now consistently set exit status of 1 on failures,
-  except where explicitly otherwise noted. The notable expections are
+  except where explicitly otherwise noted. The notable exceptions are
   the status codes for format version mismatches for commands that
   support formatted output.
 
@@ -2654,7 +2654,7 @@ Turn "id:MSG-ID" links into buttons associated with notmuch searches
 
 Add keybinding ('c I') for stashing Message-ID's without an id: prefix
 
-  Reduces manual labour when stashing them for use outside notmuch.
+  Reduces manual labor when stashing them for use outside notmuch.
 
 Do not query on `notmuch-search` exit
 
diff --git a/bindings/python/docs/source/filesystem.rst b/bindings/python/docs/source/filesystem.rst
index a23ae41a..558c93de 100644
--- a/bindings/python/docs/source/filesystem.rst
+++ b/bindings/python/docs/source/filesystem.rst
@@ -14,7 +14,7 @@ Files and directories
       iterator and broke list(Filenames()). Use `len(list(names))`
       instead.
 
-:class:`Directoy` -- A directory entry in the database
+:class:`Directory` -- A directory entry in the database
 ------------------------------------------------------
 
 .. autoclass:: Directory
diff --git a/contrib/go/src/notmuch/notmuch.go b/contrib/go/src/notmuch/notmuch.go
index 750ebb5b..5496198a 100644
--- a/contrib/go/src/notmuch/notmuch.go
+++ b/contrib/go/src/notmuch/notmuch.go
@@ -597,7 +597,7 @@ func (self *Threads) MoveToNext() {
  *
  * It's not strictly necessary to call this function. All memory from
  * the notmuch_threads_t object will be reclaimed when the
- * containg query object is destroyed.
+ * containing query object is destroyed.
  */
 func (self *Threads) Destroy() {
  if self.threads != nil {
diff --git a/debian/changelog b/debian/changelog
index 5f02d7a7..28c8f636 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -529,7 +529,7 @@ notmuch (0.18-3) unstable; urgency=medium
 notmuch (0.18-2) unstable; urgency=medium
 
   * Disable atomicity tests on armhf. These should be re-enabled when
-    upstream relases a fix for this (in progress).
+    upstream releases a fix for this (in progress).
 
  -- David Bremner <[hidden email]>  Thu, 08 May 2014 08:28:33 +0900
 
@@ -950,7 +950,7 @@ notmuch (0.6.1-1) unstable; urgency=low
 notmuch (0.6) unstable; urgency=low
 
   * New upstream release; see /usr/share/doc/notmuch/NEWS for
-    details. Hilights include:
+    details. Highlights include:
     - Folder-based search (Closes: #597222)
     - PGP/MIME decryption and verification
   * Document strict dependency on emacs23 (Closes: #631994).
diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el
index 59b546a6..fc8ac687 100644
--- a/emacs/notmuch-mua.el
+++ b/emacs/notmuch-mua.el
@@ -103,7 +103,7 @@ Note that these functions use `mail-citation-hook' if that is non-nil."
   "Function to decide which parts get a header when replying.
 
 This function specifies which parts of a mime message with
-mutiple parts get a header."
+multiple parts get a header."
   :type '(radio (const :tag "No part headers"
                notmuch-show-reply-insert-header-p-never)
  (const :tag "All except multipart/* and hidden parts"
diff --git a/test/T190-multipart.sh b/test/T190-multipart.sh
index f73535b7..3eeac1db 100755
--- a/test/T190-multipart.sh
+++ b/test/T190-multipart.sh
@@ -319,7 +319,7 @@ This is an embedded message, with a multipart/alternative part.
 EOF
 test_expect_equal_file EXPECTED OUTPUT
 
-test_begin_subtest "--format=text --part=7, inline attachement"
+test_begin_subtest "--format=text --part=7, inline attachment"
 notmuch show --format=text --part=7 'id:[hidden email]' >OUTPUT
 cat <<EOF >EXPECTED
  attachment{ ID: 7, Filename: attachment, Content-type: text/plain
diff --git a/test/T410-argument-parsing.sh b/test/T410-argument-parsing.sh
index a384ce86..b31d239a 100755
--- a/test/T410-argument-parsing.sh
+++ b/test/T410-argument-parsing.sh
@@ -73,7 +73,7 @@ positional arg 1 bananas
 EOF
 test_expect_equal_file EXPECTED OUTPUT
 
-test_begin_subtest "test keyword arguments with non-default value separted by a space"
+test_begin_subtest "test keyword arguments with non-default value separated by a space"
 $TEST_DIRECTORY/arg-test --boolkeyword false bananas > OUTPUT
 cat <<EOF > EXPECTED
 boolkeyword 0
diff --git a/vim/README b/vim/README
index d6f23350..c137bacd 100644
--- a/vim/README
+++ b/vim/README
@@ -5,7 +5,7 @@ utilizing the notmuch framework, through it's ruby bindings.
 
 == install ==
 
-Simply run 'make install'. However, check that you have the depencies below.
+Simply run 'make install'. However, check that you have the dependencies below.
 
 === vim +ruby ===
 
--
2.16.2

_______________________________________________
notmuch mailing list
[hidden email]
https://notmuchmail.org/mailman/listinfo/notmuch
Daniel Kahn Gillmor Daniel Kahn Gillmor
Reply | Threaded
Open this post in threaded view
|

Re: [PATCH 1/1] Fix typos as found by codespell

On Sun 2018-03-18 03:30:25 +0100, Georg Faerber wrote:

> Signed-off-by: Georg Faerber <[hidden email]>
> ---
>  NEWS                                       | 4 ++--
>  bindings/python/docs/source/filesystem.rst | 2 +-
>  contrib/go/src/notmuch/notmuch.go          | 2 +-
>  debian/changelog                           | 4 ++--
>  emacs/notmuch-mua.el                       | 2 +-
>  test/T190-multipart.sh                     | 2 +-
>  test/T410-argument-parsing.sh              | 2 +-
>  vim/README                                 | 2 +-
>  8 files changed, 10 insertions(+), 10 deletions(-)

this patch looks good to me.

     --dkg
_______________________________________________
notmuch mailing list
[hidden email]
https://notmuchmail.org/mailman/listinfo/notmuch
David Bremner-2 David Bremner-2
Reply | Threaded
Open this post in threaded view
|

Re: [PATCH 1/1] Fix typos as found by codespell

In reply to this post by Georg Faerber
Georg Faerber <[hidden email]> writes:

> Signed-off-by: Georg Faerber <[hidden email]>
> ---
>  NEWS                                       | 4 ++--
>  bindings/python/docs/source/filesystem.rst | 2 +-
>  contrib/go/src/notmuch/notmuch.go          | 2 +-
>  debian/changelog                           | 4 ++--
>  emacs/notmuch-mua.el                       | 2 +-
>  test/T190-multipart.sh                     | 2 +-
>  test/T410-argument-parsing.sh              | 2 +-
>  vim/README                                 | 2 +-
>  8 files changed, 10 insertions(+), 10 deletions(-)

Pushed to master.

Thanks for your contribution to notmuch,

d
_______________________________________________
notmuch mailing list
[hidden email]
https://notmuchmail.org/mailman/listinfo/notmuch