~tsdh

near Koblenz, Germany

https://www.tsdh.org/

Free software hacker, Emacs addict, hobbyist beekeeper and chicken farmer

Trackers

~tsdh/swayr

Last active a month ago

~tsdh/highlight-parentheses.el

Last active a month ago

~tsdh/switchy-window

Last active 1 year, 1 month ago

~tsdh/rdictcc

Last active 1 year, 9 months ago

~tsdh/svgrep

Last active 2 years ago

#41 Support for pipewire? 30 days ago

Comment by ~tsdh on ~tsdh/swayr

Do you mean wpctl? If so, that looks like it could do the job in a similar way as pactl. I'd certainly be interested in a module.

#41 Support for pipewire? a month ago

Comment by ~tsdh on ~tsdh/swayr

I actually use pipewire myself but the pactl and pavucontrol utilities seem to work in that scenario, too, maybe because I have pipewire-pulse installed. So since nothing was broken, I didn't investigate further and only learned about pw-cli from your report just now. It looks much more complicated, though. From a quick look at its options and the man page, I don't see how one could adjust the volume using it... And searching the web suggests one should use pw-volume for that task. But that's a 3rd-party project which doesn't seem to be widely available, e.g., on Arch Linux it's not in the official package repositories but only in the AUR.

I certainly wouldn't object to having a native pipewire module so feel free to go ahead if you know how to do volume changes and muting using pipewire.

#5 Laggy movement due to highlight-parentheses--highlight → scan-sexps a month ago

Comment by ~tsdh on ~tsdh/highlight-parentheses.el

Thanks! I'll make a new ELPA release then. :-)

#5 Laggy movement due to highlight-parentheses--highlight → scan-sexps a month ago

on ~tsdh/highlight-parentheses.el

"~tsdh" outgoing@sr.ht writes:

It would be nice if you could give that version some testing before I make another ELPA release.

After two days, I do not see any issues.

-- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at https://orgmode.org/. Support Org development at https://liberapay.com/org-mode, or support my work at https://liberapay.com/yantar92

#5 Laggy movement due to highlight-parentheses--highlight → scan-sexps a month ago

Comment by ~tsdh on ~tsdh/highlight-parentheses.el

Alright. I've just pushed a better fix for #6. Instead of just safe-guarding when the highlighting function is run in the wrong buffer, it's now ensured runs in the correct buffer where the post-command-hook initiated the highlighting, i.e., where the timer eventually calling the highlighting function is started.

It would be nice if you could give that version some testing before I make another ELPA release.

REPORTED RESOLVED CLOSED

#5 Laggy movement due to highlight-parentheses--highlight → scan-sexps a month ago

Comment by ~tsdh on ~tsdh/highlight-parentheses.el

Tassilo Horn referenced this ticket in commit e6a4ce1.

#6 Error running timer ‘highlight-parentheses--highlight’: (wrong-type-argument overlayp nil) a month ago

Comment by ~tsdh on ~tsdh/highlight-parentheses.el

Tassilo Horn referenced this ticket in commit e6a4ce1.

#5 Laggy movement due to highlight-parentheses--highlight → scan-sexps a month ago

on ~tsdh/highlight-parentheses.el

"~tsdh" outgoing@sr.ht writes:

Hm, I thought I had fixed that with 6a41199 concerning #6 where the fix is in version 2.2.1 which has appeared on NonGNU ELPA on March, 31st. Is it possible you are still using 2.2.0?

You are right. I happened to update my packages right in the middle between 2.2.0 and 2.2.1. Judging from the commits, the backtrace I am seeing should be addressed. I will test 2.2.1 version and let you know if any problems remain. Meanwhile, feel free to close the task.

#5 Laggy movement due to highlight-parentheses--highlight → scan-sexps a month ago

Comment by ~tsdh on ~tsdh/highlight-parentheses.el

Hm, I thought I had fixed that with 6a41199 concerning #6 where the fix is in version 2.2.1 which has appeared on NonGNU ELPA on March, 31st. Is it possible you are still using 2.2.0?

#5 Laggy movement due to highlight-parentheses--highlight → scan-sexps a month ago

on ~tsdh/highlight-parentheses.el

"~tsdh" outgoing@sr.ht writes:

Can you get a backtrace with toogle-debug-on-error? Does that happen when you switch to a buffer where highlight-parentheses-mode is off?

Debugger entered--Lisp error: (wrong-type-argument overlayp nil) (overlay-start nil) (highlight-parentheses--highlight) (apply highlight-parentheses--highlight nil) (timer-event-handler [t 26126 44053 245233 nil highlight-parentheses--highlight nil nil 416000 nil])

e (current-buffer) #<buffer Org Agenda(i)>

highlight-parenthesis-mode is off in both agenda buffer and Org buffers. However, it is not off in the minibuffer. Doing something that involves answering prompt triggers the backtrace. (prompt is not the only way the bug is triggered)

My config:

(add-hook 'minibuffer-setup-hook #'highlight-parentheses-minibuffer-setup) (dolist (hook '( prog-mode-hook helpful-mode-hook debugger-mode-hook lisp-interaction-mode-hook)) (add-hook hook #'highlight-parentheses-mode)))

-- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at https://orgmode.org/. Support Org development at https://liberapay.com/org-mode, or support my work at https://liberapay.com/yantar92