From a7986f5706a9ee93ab084331effcb7136b4ae50e Mon Sep 17 00:00:00 2001 From: Martin Michlmayr Date: Wed, 20 May 2020 08:48:23 +0800 Subject: Fix typos --- commands/msg/mark.go | 2 +- commands/msg/read.go | 2 +- commands/util.go | 2 +- doc/aerc-config.5.scd | 4 ++-- doc/aerc-imap.5.scd | 2 +- doc/aerc-smtp.5.scd | 2 +- doc/aerc-templates.7.scd | 2 +- doc/aerc.1.scd | 6 +++--- 8 files changed, 11 insertions(+), 11 deletions(-) diff --git a/commands/msg/mark.go b/commands/msg/mark.go index 6738a5e..3955f4a 100644 --- a/commands/msg/mark.go +++ b/commands/msg/mark.go @@ -77,7 +77,7 @@ func (Mark) Execute(aerc *widgets.Aerc, args []string) error { case "unmark": if visual { - return fmt.Errorf("visual mode not suported for this command") + return fmt.Errorf("visual mode not supported for this command") } if all && toggle { diff --git a/commands/msg/read.go b/commands/msg/read.go index dcb9657..1e264c2 100644 --- a/commands/msg/read.go +++ b/commands/msg/read.go @@ -51,7 +51,7 @@ func (Read) Execute(aerc *widgets.Aerc, args []string) error { } if toggle { - // ignore commmand given, simply toggle all the read states + // ignore command given, simply toggle all the read states return submitToggle(aerc, store, h) } msgUids, err := h.markedOrSelectedUids() diff --git a/commands/util.go b/commands/util.go index e3395fd..fdf20bd 100644 --- a/commands/util.go +++ b/commands/util.go @@ -17,7 +17,7 @@ import ( "github.com/mitchellh/go-homedir" ) -// QuickTerm is an ephemeral terminal for running a single command and quiting. +// QuickTerm is an ephemeral terminal for running a single command and quitting. func QuickTerm(aerc *widgets.Aerc, args []string, stdin io.Reader) (*widgets.Terminal, error) { cmd := exec.Command(args[0], args[1:]...) pipe, err := cmd.StdinPipe() diff --git a/doc/aerc-config.5.scd b/doc/aerc-config.5.scd index 58eaa0f..eb88849 100644 --- a/doc/aerc-config.5.scd +++ b/doc/aerc-config.5.scd @@ -58,7 +58,7 @@ These options are configured in the *[ui]* section of aerc.conf. : sender name and address | %F : author name, or recipient name if the message is from you. - The adderss is shown if no name part. + The address is shown if no name part. | %g : message labels (for example notmuch tags) | %i @@ -129,7 +129,7 @@ These options are configured in the *[ui]* section of aerc.conf. Default: "[..] , [..] , [..] , [..] , [..], [..] , [..] , [..] " *spinner-delimiter* - Spinner delimiter to split string into a animation + Spinner delimiter to split string into an animation Default: "," diff --git a/doc/aerc-imap.5.scd b/doc/aerc-imap.5.scd index a34855f..4e55202 100644 --- a/doc/aerc-imap.5.scd +++ b/doc/aerc-imap.5.scd @@ -41,7 +41,7 @@ available: *oauth2_params:* If specified, the configured password is used as an refresh token that - is exhanged with an access token + is exchanged with an access token - token_endpoint (required) - client_id (optional) diff --git a/doc/aerc-smtp.5.scd b/doc/aerc-smtp.5.scd index 9a86732..79dc8b8 100644 --- a/doc/aerc-smtp.5.scd +++ b/doc/aerc-smtp.5.scd @@ -29,7 +29,7 @@ available: *smtps://*: SMTP with TLS/SSL - Additionally, you can specify an authentication mechansim like so: + Additionally, you can specify an authentication mechanism like so: *+none*: No authentication is required to use this SMTP server. You may omit the diff --git a/doc/aerc-templates.7.scd b/doc/aerc-templates.7.scd index d065012..1e0c6ec 100644 --- a/doc/aerc-templates.7.scd +++ b/doc/aerc-templates.7.scd @@ -56,7 +56,7 @@ available always. *Date and Time* The date and time information is always available and can be easily - formated. + formatted. - Date: Date and Time information when the compose window is opened. - OriginalDate: Date and Time when the original message of received. diff --git a/doc/aerc.1.scd b/doc/aerc.1.scd index 3eb8b24..61e35bb 100644 --- a/doc/aerc.1.scd +++ b/doc/aerc.1.scd @@ -50,7 +50,7 @@ These commands work in any context. Displays aerc's current working directory in the status bar. *set* .