~samhh

https://samhh.com

Trackers

~samhh/bangin

Last active 6 days ago

#3 Make manpage with ronn-ng 6 days ago

Ticket created by ~samhh on ~samhh/bangin

Seems to have replaced the original on Arch. It's a breaking change; the triple-ticks in particular are now broken upon conversion.

#478 panic: Attempted to create context with negative offset 16 days ago

Comment by ~samhh on ~sircmpwn/aerc2

My stacktrace looks the same as dilyn's.

I've added some data to the panic locally and it looks like my y (input to Subcontext) is coming through as -1 for some reason.

#506 Cannot run master without stylesets-dirs set in config 18 days ago

Comment by ~samhh on ~sircmpwn/aerc2

I'm setting the PREFIX to /usr when compiling. It's correctly propagating to make. I can see all the stuff in /usr/share/aerc/ but it doesn't find it unless I set the config explicitly in aerc.conf.

#506 Cannot run master without stylesets-dirs set in config 22 days ago

Comment by ~samhh on ~sircmpwn/aerc2

I'm seeing the same behaviour with the template-dirs option, too. It doesn't seem to be checking the default directory (per the config manpage). Adding it to the config manually fixes it.

#506 Cannot run master without stylesets-dirs set in config 28 days ago

Ticket created by ~samhh on ~sircmpwn/aerc2

Not sure if this is an intentional change between 0.5.2 and master but stylesets-dirs now appears to be effectively a required property in the config. Without it you'll see:

Failed to load config: Unable to load default styleset: Can't find styleset "default" in any of [stylesets]

#2 How best to distribute/manage banglists? 29 days ago

Comment by ~samhh on ~samhh/bangin

Another idea, inside $XDG_CONFIG_HOME/bangin:

  • Rename bangin.bangs to bangs
  • Add new file lists

Then add a sync command to bangin that attempts to pull in those lists and put them into the appropriate directory. If we consider it like adblock lists then we don't really care about versioning.

I'm not sure how this would intersect with any attempts to simultaneously use some local lists. I think this only works with such a simple design if everything in the lists directory is wiped prior to syncing.

#2 How best to distribute/manage banglists? 29 days ago

Ticket created by ~samhh on ~samhh/bangin

It needs to be possible to automate this process.

The simplest solution would be to add a new shell script, or patch support into the main script, for providing a URL from which we can attempt to get the list and place it in the right directory. This won't support versioning, though, unless we store a cache of where the data came from to look back upon later.

The most "correct" solution in my eyes is for banglists to be distributed in package managers, but... is this only viable on Arch? That'd be limiting.

#1 Multibang search 29 days ago

Comment by ~samhh on ~samhh/bangin

I think this introduces an ambiguity issue where it can only work if we always interpret ! as a bang (rather than just the last as we do now).

Given a!bcdefgh!i, who's to say that !bcdefgh isn't a bang?

We could introduce a space separator, but then it starts to feel hacky and hard to remember...

#1 Multibang search 29 days ago

Ticket created by ~samhh on ~samhh/bangin

x!f!g

Which'd output each bang's output to a newline.

#478 panic: Attempted to create context with negative offset a month ago

Comment by ~samhh on ~sircmpwn/aerc2

I'm seeing the same a lot today. I'm on Arch under xmonad in Alacritty.

It seems to happen for me after opening URLs in urlscan and focusing away from aerc.