~sircmpwn/aerc

Fix typos v1 PROPOSED

Martin Michlmayr
Martin Michlmayr: 1
 Fix typos

 8 files changed, 11 insertions(+), 11 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~sircmpwn/aerc/patches/10700/mbox | git am -3
Learn more about email & git
View this thread in the archives

[PATCH] Fix typos Export this patch

Martin Michlmayr
---
 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* <category>.<option> <value>
	Changes the value of a configuration paramter at runtime. The category is
	Changes the value of a configuration parameter at runtime. The category is
	the name of the [heading] for the config option you wish to change, and the
	option is the name of the config option. For example, to change this option:

@@ -198,7 +198,7 @@ message list, the message in the message viewer, etc).

*search*
	Searches the current folder.
	The search syntax is dependant on the underlying backend.
	The search syntax is dependent on the underlying backend.
	Refer to *aerc-search*(1) for details

*select* <n>
@@ -284,7 +284,7 @@ message list, the message in the message viewer, etc).
## MESSAGE COMPOSE COMMANDS

*abort*
	Close the composor without sending, discarding the message in progress.
	Close the composer without sending, discarding the message in progress.

*attach* <path>
	Attaches the file at the given path to the email.
-- 
2.26.2

-- 
Martin Michlmayr
https://www.cyrius.com/
Hi,
Merged thank you.

Cheers,
Reto