~gjabell

Berlin

https://galenabell.com

~gjabell/public-inbox

Last active 6 months ago

~gjabell/mfn-devel

Last active 1 year, 1 month ago

~gjabell/mfn-announce

Last active 1 year, 1 month ago
View more

Recent activity

[PATCH] filetype: Set "groovy" for Jenkinsfile 2 months ago

From Galen Abell to ~martanne/devel

---
 lua/plugins/filetype.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lua/plugins/filetype.lua b/lua/plugins/filetype.lua
index bf80a89..3cd234e 100644
--- a/lua/plugins/filetype.lua
+++ b/lua/plugins/filetype.lua
@@ -176,7 +176,7 @@ vis.ftdetect.filetypes = {
		ext = { "%.go$" },
	},
	groovy = {
		ext = { "%.groovy$", "%.gvy$" },
		ext = { "%.groovy$", "%.gvy$", "^Jenkinsfile$" },
[message trimmed]

Re: [PATCH senpai] Alphabetically sort buffer list 2 months ago

From Galen Abell to ~taiite/public-inbox

Hey, thanks for taking a look!

For me it's less confusing for channels to be sorted, but I admit this
is more a personal preference sort of thing :)

Good point about multiple networks, I didn't consider that when I wrote
the patch. It would definitely require some additional logic to handle.

I think ultimately it would be nice to have some additional
configuration (maybe like the autosort plugin in weechat). If there are
already plans to refactor the UI then I think it would be better to not
merge this patch for now, and others who are interested in it can apply
it manually; otherwise let me know and I can send some follow up
patches to try and handle multiple networks and also add a configuration

[PATCH senpai v2] Add PHONY Makefile targets 2 months ago

From Galen Abell to ~taiite/public-inbox

---
Sorry for the delay, been swamped lately :)

This is a v2 patch for "Add Go and module files as Makefile deps"

v2 to use PHONY targets for everything instead of specifying the Go files, and
change the commit message to better represent the changes.

 Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Makefile b/Makefile
index 8cc57e5..da150ec 100644
--- a/Makefile
[message trimmed]

[PATCH senpai] Alphabetically sort buffer list 3 months ago

From Galen Abell to ~taiite/public-inbox

---
 ui/buffers.go | 42 ++++++++++++++++++++++++++++++++++++------
 1 file changed, 36 insertions(+), 6 deletions(-)

diff --git a/ui/buffers.go b/ui/buffers.go
index 40aa83f..e8d6291 100644
--- a/ui/buffers.go
+++ b/ui/buffers.go
@@ -220,18 +220,48 @@ func (bs *BufferList) Previous() {
}

func (bs *BufferList) Add(title string) (ok bool) {
	lTitle := strings.ToLower(title)
	for _, b := range bs.list {
[message trimmed]

[PATCH senpai] Add Go and module files as Makefile deps 3 months ago

From Galen Abell to ~taiite/public-inbox

This ensures that running `make` will rebuild senpai if files other than
cmd/senpai/main.go are modified.
---
Resending with proper repo prefix.

 Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 8cc57e5..052f535 100644
--- a/Makefile
+++ b/Makefile
@@ -9,9 +9,12 @@ PREFIX = /usr/local
BINDIR = bin
[message trimmed]

[PATCH] Add Go and module files as Makefile deps 3 months ago

From Galen Abell to ~taiite/public-inbox

This ensures that running `make` will rebuild senpai if files other than
cmd/senpai/main.go are modified.
---
 Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 8cc57e5..052f535 100644
--- a/Makefile
+++ b/Makefile
@@ -9,9 +9,12 @@ PREFIX = /usr/local
BINDIR = bin
MANDIR = share/man
[message trimmed]

[PATCH v2] Document dmenu wrap-around environment variable 5 months ago

From Galen Abell to ~mil/sxmo-devel

---
Rebasing and resending this since I forgot after the implementation was
merged.
 USERGUIDE.md | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/USERGUIDE.md b/USERGUIDE.md
index b138cc8..054a69b 100644
--- a/USERGUIDE.md
+++ b/USERGUIDE.md
@@ -598,6 +598,10 @@ The following enviroment variables can be set:
        <td>$SVKBD_HEIGHTFACTOR</td>
        <td>Integer value expressing a height fraction, a one key row of the virtual keyboard takes 1/x of the screen height.</td>
    </tr>
[message trimmed]

[PATCH sxmo-dmenu v3] Add optional wrap around to top/bottom of list 6 months ago

From Galen Abell to ~mil/sxmo-devel

When paging up on the first item or down on the last item, the selection
will jump to the bottom or top item, respectively. This behavior is
disabled by default but can be enabled by setting the DMENU_WRAP_AROUND
environment variable.
---
This fixes the previous (reverted) version to correctly jump to and from
the other "pages" in the menu when the cursor reaches the end or
beginning of the list.

 config.def.h |  3 +++
 dmenu.c      | 33 +++++++++++++++++++++++++++------
 2 files changed, 30 insertions(+), 6 deletions(-)

diff --git a/config.def.h b/config.def.h
[message trimmed]

Re: [PATCH sxmo-dmenu] Add wrap around to top/bottom of list 7 months ago

From Galen Abell to ~mil/sxmo-devel

Hmm, good catch. I'm not sure off the top of my head why that's
happening, so might be best to revert the original patch until I can
debug it and send a fix.

[PATCH sxmo-docs] Document dmenu wrap-around environment variable 7 months ago

From Galen Abell to ~mil/sxmo-devel

---
 USERGUIDE.md | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/USERGUIDE.md b/USERGUIDE.md
index 40fe084..156c89e 100644
--- a/USERGUIDE.md
+++ b/USERGUIDE.md
@@ -524,6 +524,10 @@ The following enviroment variables can be set:
        <td>$SVKBD_HEIGHTFACTOR</td>
        <td>Integer value expressing a height fraction, a one key row of the virtual keyboard takes 1/x of the screen height.</td>
    </tr>
    <tr>
        <td>$DMENU_WRAP_AROUND</td>
[message trimmed]