~cdv

Massachusetts, USA

Recent activity

[PATCH v2] Add :prompt command 5 days ago

From Christopher Vittal to ~sircmpwn/aerc

Usage:
    :prompt <prompt> <command...>

Displays the prompt on the status bar, waits for user input, then
appends that input as the last argument to the command and executes it.
The input is passed as one argument to the command, unless it is empty,
in which case no extra argument is added.
---
 commands/prompt.go | 33 +++++++++++++++++++++++++++++++++
 doc/aerc.1.scd     |  6 ++++++
 widgets/aerc.go    | 34 ++++++++++++++++++++++++++++++++--
 widgets/exline.go  | 41 +++++++++++++++++++++++++++++++++++++----
 4 files changed, 108 insertions(+), 6 deletions(-)
 create mode 100644 commands/prompt.go
[message trimmed]

[PATCH] Add :prompt command 6 days ago

From Christopher Vittal to ~sircmpwn/aerc

Usage:
    :prompt <prompt> <command...>

Displays the prompt on the status bar, waits for user input, then
appends that input as the last argument to the command and executes it.
The input is passed as one argument to the command, unless it is empty,
in which case no extra argument is added.
---

This requires Daniel Bridge's Observer patch and applies cleanly on top
of that entire series. I felt that using that work was cleaner than
adapting any adhoc solution. There is some work left to be done to get
completions working correctly. I'm leaving that to a future change
however.
[message trimmed]

[PATCH] Add support for <C-j> as '<Enter>' in ExLine 7 days ago

From Christopher Vittal to ~sircmpwn/aerc

---
I think this should resolve the explicit issues raised in this feature
request ticket[1].

[1]: https://todo.sr.ht/~sircmpwn/aerc2/259

 widgets/exline.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/widgets/exline.go b/widgets/exline.go
index 4791ae9..be1cde1 100644
--- a/widgets/exline.go
+++ b/widgets/exline.go
@@ -50,7 +50,7 @@ func (ex *ExLine) Event(event tcell.Event) bool {
[message trimmed]

Re: [PATCH] Joining the args in cf for folders with spaces 14 days ago

From Christopher Vittal to ~sircmpwn/aerc

I was unclear in my first message, sorry. I meant to say multiple
consecutive spaces. Something like "I  made a typo/mailbox". I'm pretty
sure that won't work with the current solution.

Re: [PATCH] Joining the args in cf for folders with spaces 14 days ago

From Christopher Vittal to ~sircmpwn/aerc

On Thu, Aug 08, 2019 at 02:39:33PM -0400, Ben Cohen wrote:
> +		if len(args) > 2 {
> +			args[1] = strings.Join(args[1:], " ")
> +		}

Thank you for this, it is much better than before. However, I think this
is still a problem if there is a directory with two spaces in its name.
I feel like we should do what many shells do and escape the spaces (and
possibly other characters) when generating the completions.

[PATCH] Add delete forward <C-k> and backward <C-u> 14 days ago

From Christopher Vittal to ~sircmpwn/aerc

Choose the readline defaults for the behavior of these two
functions/keybindings. Depending on the program, either of these can
delete the whole line.

Note that by default in [compose], <C-k> is bound to :prev-field<Enter>.
Leave it up to the user whether or not they want to rebind the key in
[compose].
---
 lib/ui/textinput.go | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/lib/ui/textinput.go b/lib/ui/textinput.go
index e5a2337..00e91ee 100644
--- a/lib/ui/textinput.go
[message trimmed]

[PATCH sr.ht-pkgbuilds v2 5/5] Remove pyotp dependency of meta.sr.ht 8 months ago

From Christopher Vittal to ~sircmpwn/sr.ht-dev

---
 meta.sr.ht/PKGBUILD | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta.sr.ht/PKGBUILD b/meta.sr.ht/PKGBUILD
index 2ea7c66..a3d6df7 100644
--- a/meta.sr.ht/PKGBUILD
+++ b/meta.sr.ht/PKGBUILD
@@ -10,7 +10,6 @@ depends=(
     "python-pgpy"
     "python-sshpubkeys"
     "python-pystache"
-    "python-pyotp"
     "python-qrcode"
[message trimmed]

[PATCH sr.ht-pkgbuilds v2 4/5] Update sr.ht PKGBUILDs 8 months ago

From Christopher Vittal to ~sircmpwn/sr.ht-dev

They now use the correct license strings and source fetch URLs.
Furthermore, the core.sr.ht license is now installed in the python-srht
package, as is recommended by Arch Linux packaging standards.
---
 builds.sr.ht/PKGBUILD   | 10 +++++-----
 dispatch.sr.ht/PKGBUILD | 10 +++++-----
 git.sr.ht/PKGBUILD      | 10 +++++-----
 lists.sr.ht/PKGBUILD    | 10 +++++-----
 man.sr.ht/PKGBUILD      | 10 +++++-----
 meta.sr.ht/PKGBUILD     | 10 +++++-----
 python-srht/PKGBUILD    | 11 ++++++-----
 todo.sr.ht/PKGBUILD     | 10 +++++-----
 8 files changed, 41 insertions(+), 40 deletions(-)
[message trimmed]

[PATCH sr.ht-pkgbuilds v2 3/5] Update python-sshpubkeys url 8 months ago

From Christopher Vittal to ~sircmpwn/sr.ht-dev

---
 python-sshpubkeys/PKGBUILD | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/python-sshpubkeys/PKGBUILD b/python-sshpubkeys/PKGBUILD
index a889d2e..0c4ffe7 100644
--- a/python-sshpubkeys/PKGBUILD
+++ b/python-sshpubkeys/PKGBUILD
@@ -1,10 +1,10 @@
 # Maintainer: Drew DeVault <sir@cmpwn.com>
 pkgname='python-sshpubkeys'
 pkgver=3.1.0
-pkgrel=1
+pkgrel=6
[message trimmed]

[PATCH sr.ht-pkgbuilds v2 2/5] Update external PKGBUILDs to latest version 8 months ago

From Christopher Vittal to ~sircmpwn/sr.ht-dev

---
 python-asyncpg/PKGBUILD | 31 ++++++++++++++-----------------
 python-pgpy/PKGBUILD    |  8 ++++----
 python-py-gfm/PKGBUILD  |  7 +++----
 3 files changed, 21 insertions(+), 25 deletions(-)

diff --git a/python-asyncpg/PKGBUILD b/python-asyncpg/PKGBUILD
index 547e82d..8397ba4 100644
--- a/python-asyncpg/PKGBUILD
+++ b/python-asyncpg/PKGBUILD
@@ -1,42 +1,39 @@
 # Maintainer: Guillaume Horel <guillaume.horel at gmail dot com>
 # Contributor: Carl George < arch at cgtx dot us >
 
[message trimmed]