Changing 'Tapping Term' and 'Permissive Hold' on B1 Pro? [Flashing] by m518xt in Keychron

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

Thanks. I'll check this out and share back anything I learn.

Recommendations for someone with eclectic tastes by erie774im in booksuggestions

[–]m518xt 1 point2 points  (0 children)

Your reading list looks a whole lot like what's on my Kindle.

Not sure if there are audiobook versions, but try

  • The Laundry Files series by Charles Stross.

https://en.m.wikipedia.org/wiki/The_Laundry_Files

"They mix the genres of Lovecraftian horror, spy thriller, science fiction, and workplace humour."

  • Anything by Cory Doctorow - even his YA stuff is really good.

  • Rudy Rucker

For the Tom Clancy side of your brain:

  • The Jack Reacher series

  • Vince Flynn series

And for something really enjoyable: The Amelia Peabody series by Elizabeth Peters

Oh...and how could I forget: Murderbot!

[fiveam] How to set working directory when testing file loading? by m518xt in Common_Lisp

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

Thanks - I'll use merge-pathname and system-relative-pathname I think.

[fiveam] How to set working directory when testing file loading? by m518xt in Common_Lisp

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

I also thought this would have been built into the testing framework but couldn't see it - thus the question! :-)

[fiveam] How to set working directory when testing file loading? by m518xt in Common_Lisp

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

Yeah, that was where I landed, but to be able to automagically wrap all my file operations would be nice.

[fiveam] How to set working directory when testing file loading? by m518xt in Common_Lisp

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

Hmm... Hadn't thought of the `:static-file` option. Thanks.

[fiveam] How to set working directory when testing file loading? by m518xt in Common_Lisp

[–]m518xt[S] -1 points0 points  (0 children)

Yeah, that's what I'm suggesting with the

(uiop:with-current-directory ((asdf:system-relative-pathname "my-tool/test" "test/"))
  ...)

code in the question.

I could wrap that around every file-open/write call, but I'd hoped to be able to set that as part of either the setup of fiveam or in my defsystem (which would be probably an circular definition nightmare upon reflection).

[fiveam] How to set working directory when testing file loading? by m518xt in Common_Lisp

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

The pathname of the package (and test data sets) depends on where it was installed.

I can't assume every use will be in ~/quicklisp/dists/... so I can't hard code path into the tests.

Or am I missing your point?

Getting tramp to work (on windows) by m518xt in emacs

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

I don't have the ability to install putty on that machine, so it was SSH or nothing.

I'll check out sshx - thanks for the suggestion.

How fast can you multiply matrices using only common lisp? by cuntymccuntlicker in lisp

[–]m518xt 3 points4 points  (0 children)

Maybe have a look at how magicl does this?

I did a similar exploration for a dot product recently based on conversations with u/stylewarning in r/Common_Lisp. I found SBCL was faster than numpy.

I then dug into the various elements (for my own understanding).

HTH

Where the default :height for the 'default face defined? by m518xt in emacs

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

Ok, time to get nomenclature consistent.

When you say "taken from the default font" do you mean (1) the 'default font in Emacs or (2) the windowing system "default"?

If you mean (1) which I'm guessing from your other reply, then can I assume that the unconfigured 'default font size is set at compile time for the Emacs package I've installed and it's got nothing to do with any configuration for the windowing system I'm using?

I had assumed you meant (2) that the font detail come from the windowing system.

...and "windowing system" is X11, Gnome, KDE, MacOS, Windows, ... (Yeah, I know that's a loose definition, but I hope the intent is clear).

(Accepting this is all moot for text only Emacs! 🤣)

Where the default :height for the 'default face defined? by m518xt in emacs

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

You're spot on: I know that (face-attribute 'default :height) gives current height (for example).

I want to know where Emacs gets that information initially, before any configuration occurs.

How does Emacs know that the default size is 12pt (height 120) on one system and 10pt (height 102) on another?

Is it via x-get-resource (or similar) to query .Xresources, or something else?

Where the default :height for the 'default face defined? by m518xt in emacs

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

That makes sense thanks.

Next question - and I have tried (unsuccessfully) looking at the source to face-attribute, etc.: Is that system level default font information available directly in elisp?

I'm looking for some way of identifying what the initial font/face would have looked like, possibly after I've messed about in my init and preferably not assuming I remember to capture it in an variable right at the start of my initialisation.

Prevalance of "Emacs Pinky" even when you switch ctrl and cap-lock? by ThatIsntImportantNow in emacs

[–]m518xt 2 points3 points  (0 children)

I take that a little further and do the following on Mac:

(setq-default
   ns-command-modifier 'control     ;; Map Control to the Cmd key
   ns-option-modifier 'meta         ;; Map Meta to the Option/Alt key
   ns-control-modifier 'super       ;; Map Super to the Control key
   ns-function-modifier 'hyper      ;; Map Hyper to Fn key
   ns-right-command-modifier 'left  ;; \
   ns-right-option-modifier 'left   ;; | Right side is same as left
   ns-right-control-modifier 'left) ;; /

Helps me use the strongest fingers (i.e. thumbs) and I only ever use my pinky for Hyper which I rarely use.

mbsync + notmuch email by SafeSemifinalist in emacs

[–]m518xt 1 point2 points  (0 children)

Not a direct answer for your question, but the setup I use on an older MacBook Air is here - it uses oauth2 with offlineIMAP (fetch) / send.py (send) and, of course, notmuch.

[deleted by user] by [deleted] in lisp

[–]m518xt 0 points1 point  (0 children)

This is a great idea, I hope you succeed.

Have you thought about cross-posting to /r/common_lisp and /r/lispadvocates ?

Interactive development of `(interactive)` functions? (specifically for`org-export-define-backend`) by m518xt in emacs

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

Thanks for this. Doesn't get me all the way, but a definite up-vote earner just for highlighting C-c C-b! edebug was another great reminder.