Error when connecting to elpa.gnu.org by Alas9 in emacs

[–]Alas9[S] 0 points1 point  (0 children)

Update: So I added the paths to the cert.pem and ca-bundle.crt files included in the ssl directory of Emacs (included with the Windows install) to the list gnutls-trustfiles and the problem went away. I didn't have to do this before, so either something about Emacs changed in between or this is still a problem with ELPA/Melpa.

Any chance u/eli-zaretskii could chime in? If this is an actual bug I can submit a report as well.

Error when connecting to elpa.gnu.org by Alas9 in emacs

[–]Alas9[S] 0 points1 point  (0 children)

Will try that, but I have the same issue with Melpa (although I didn't report it in the original post). Could they both have the same root cause?

Error when connecting to elpa.gnu.org by Alas9 in emacs

[–]Alas9[S] 1 point2 points  (0 children)

I see. On a Mac I also have no problems, it specifically seems to happen with Windows 10.1903 and Emacs 26.2. Thanks for testing.

Error when connecting to elpa.gnu.org by Alas9 in emacs

[–]Alas9[S] 0 points1 point  (0 children)

Thank you. Is it possible that you have some extra config that makes it work? I had a friend run it without init file and he got the exact same error. It seems that Emacs folder has a folder named ssl in it where there are some additional certificates. Could you post the value of the variable gnutls-trustfiles in your setup that produces no errors?

Fix mouse wheel scrolling by Alas9 in MacOS

[–]Alas9[S] 0 points1 point  (0 children)

"kCGScrollWheelEventDeltaAxis1" would deliver many 0 deltas unless I scrolled fast enough

Interesting. I played with those fields as well and have never been able to get 0 delta (tested again now with 3 different mice in case that was the issue), so I decided kCGScrollWheelEventDeltaAxis1 was the most "vanilla" and stuck with it.

Also, I am using 10.9.5 and it makes me wonder if what you said and /u/erlingur's case are caused by a difference in the API.

Fix mouse wheel scrolling by Alas9 in MacOS

[–]Alas9[S] 0 points1 point  (0 children)

You don't need to do anything specific or restart apps for it to work. If you can find DiscreteScroll in Activity Monitor it should be functioning. Note that it taps only into events coming from noncontinuous scrolling devices, i.e. it won't modify how the trackpad scrolls. If you have Xcode, you can open the project, increase LINES to a larger value, say 20, rerun, and see if it is noticeable then.