From 18fff725afb744f4d081058a75a233cd830cefd4 Mon Sep 17 00:00:00 2001
From: Dimitris Apostolou
/* Best: perfectly clear even without a comment. */
const units = 'μs';
-/* Allowed: but unncessary as μ is a printable character. */
+/* Allowed: but unnecessary as μ is a printable character. */
const units = '\u03bcs'; // 'μs'
/* Good: use escapes for non-printable characters with a comment for clarity. */
diff --git a/lispguide.xml b/lispguide.xml
index 96c5cc6..456a23e 100644
--- a/lispguide.xml
+++ b/lispguide.xml
@@ -805,8 +805,8 @@ Robert Brown
You should strive to keep top-level forms,
including comments but excluding the documentation string, of
- appropriate length; preferrably short. Forms extending beyond a
- single page should be rare and their use should be justfied.
+ appropriate length; preferably short. Forms extending beyond a
+ single page should be rare and their use should be justified.
This applies to each of the forms in an eval-when
,
rather than to the eval-when
itself.
Additionally, defpackage
forms may be longer,
@@ -3116,7 +3116,7 @@ Robert Brown
You must not use exact comparison on floating point numbers,
since the vague nature of floating point arithmetic
can produce little "errors" in numeric value.
- You should compare absolute values to a threshhold.
+ You should compare absolute values to a threshold.
You must use =
to compare numbers,
diff --git a/styleguide.xsl b/styleguide.xsl
index dfdc598..f8cbfae 100644
--- a/styleguide.xsl
+++ b/styleguide.xsl
@@ -687,7 +687,7 @@ xmlns:fn="http://www.w3.org/2005/xpath-functions">
- c: the indentation of the current python block, in other words, the
indentation of the first line of this block, which is the
indentation of the last line we saw that ended with a colon.
- - d: the "total" indentation of the line, ignorng possible "Yes:" or
+ - d: the "total" indentation of the line, ignoring possible "Yes:" or
"No:" text on the line.
For example, for the last line of the following code snippet, the
diff --git a/vimscriptfull.xml b/vimscriptfull.xml
index fa7e343..ea2123b 100644
--- a/vimscriptfull.xml
+++ b/vimscriptfull.xml
@@ -107,7 +107,7 @@
>=#
must be used for strings.
- The behavior of =~
and friends is dependant upon the
+ The behavior of =~
and friends is dependent upon the
ignorecase
setting.
@@ -232,7 +232,7 @@
Loud scripts are annoying.
- Message the user when an error has occured.
+ Message the user when an error has occurred.
Message the user when an operation which takes a long time has
diff --git a/vimscriptguide.xml b/vimscriptguide.xml
index 2baf3fd..5f40f6f 100644
--- a/vimscriptguide.xml
+++ b/vimscriptguide.xml
@@ -110,7 +110,7 @@
Match error codes, not error text.
- Error text may be locale dependant.
+ Error text may be locale dependent.