💾 Archived View for gem.acdw.net › html › 2020-11-01-commence-1kaday captured on 2022-03-01 at 15:22:38.

View Raw

More Information

⬅️ Previous capture (2021-12-03)

-=-=-=-=-=-=-

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>2020-11-01-commence-1kaday</title>
<link type="text/css" rel="stylesheet" href="/default.css"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<h1>2020-11-01-commence-1kaday</h1>
<h1>Let us commence</h1>
<p>
<p>Today begins the beginning of #1kaday, my attempt at a watered-down Nanowrimo where I write only 1000 words a day (as opposed to, what, ~1200?) and they don't all have to make a cohesive narrative.  I'm not ready for that yet.  Today is going to be a kind of unfocused, rambling, let-me-get-my-setup-right type of thing, so buckle up, Dear Reader, let's go for a ride.
<p>
<h2>Setting up my text editor</h2>
<p>
<p>So I use emacs, which has been mentioned before, I think.  The first thing I needed to do was get rid of this annoying warning I kept getting from `auto-save` because I hadn't created the folder I'm putting all these in.  So I had to add
<pre class="default">
(cuss auto-save-file-name-transforms
        `((".*" ,(no-littering-expand-var-file-name "auto-save/") t)))
</pre>
<p>even though I've got this `super-save` package, and thought I'd disabled auto-save, but like, whatever.  Also, for some reason I was editing *this* file with sudo powers, so I just exited out from Emacs and got back in.  Uff.
<p>
<p>That done, I now need a word count in the mode-line.  When I was using doom-modeline, it was included, but I've switched for no real reason to smart-mode-line, so I've got to do some searching here.  Hang on.
<p>
<h2>Wc-mode</h2>
<p>
<p>Okay, I found wc-mode and that seems to be what I want.
<ul>
<li><a href="https://github.com/bnbeckwith/wc-mode">It's hosted on Github.</a>
</ul>
<p>It allows me to set a goal word count with `C-c C-w w`, which obviously I set to 1000, and it shows a word count in the mode-line.  So great so far.
<p>
<p>Of course, *my* modeline is smart-mode-line, and I've got the thing it uses to diminish minor-modes, called `rich-minority`.  Of course of course, rich-minority takes a whitelist and a blacklist, so I've got the easy whitelist "^$" (it takes a regexp!) to block all minor-modes.  BUT of course of course of course, the whitelist can be either
<ul>
<li>a regexp
<li>a list of strings
</ul>
<p>but NOT
<ul>
<li>a list of regexps
</ul>
<p>You have to just have a long-ass string, like `"foo\|bar\|whatever\|quux"`, which is super annoying.  So I had to write another function to add minor-modes to the whitelist:
<pre class="default">
(defun rm-whitelist-add (regexp)
  "Add a regexp option to the rm-whitelist group."
  (unless (boundp 'rm-whitelist-regexps)
    (setq rm-whitelist-regexps '("^$")))
  (add-to-list 'rm-whitelist-regexps regexp)
  (setq rm-whitelist (mapconcat 'identity rm-whitelist-regexps "\\|")))
</pre>
<p>Now I'm thinking about it, I could probably (should probably?) make the name of `rm-whitelist-regexps` `rm-whitelist--regexps`, since it's a "private" variable (i.e., it's not set directly, but by this function).  Bah, whatever.  Maybe later.
<p>
<p>Okay, so now I've got my "WC" in the whitelist regexp, I'm seeing my little wordcount increase, word by word.  I'm at 492 right now.  Well, now a little more.  I'm halfway.  This is good.
<p>
<h2>Olivetti?</h2>
<p>
<p>A popular package is olivetti-mode, which is supposed to be a good writeroom-style thing to help.  I've never really gotten into that kind of stuff, but let's try it out.  Hm.. It's not really any different than what I've got.  Maybe I'm missing something.  Let me read the documentation.
<p>
<p>Okay, so it looks like Olivetti does basically the same thing as `visual-fill-column-mode`, which I already have installed, so ... I don't think it's needed.
<p>
<p>/me yeets olivetti
<p>
<p>(I've been on IRC too much lately.)
<p>
<h1>Catch up with my life</h1>
<p>
<p>I haven't written on gemini in a little while, so let's have a catch-up.
<p>
<p>I made some gluten-free bread yesterday!  R is trying to be GF b/c of her gut stuff, which I'm not going to get into, since that's her business .. but suffice it to say I made my first GF loaf, and it's not bad.  I used this recipe:
<ul>
<li><a href="https://www.bobsredmill.com/recipes/how-to-make/everyday-bread-glutenfree">Bob's Red Mill Everyday Bread (Gluten Free)</a>
</ul>
<p>I'll talk more about it over on breadpunk.club at some point.  
<p>
<p>I've set up my own gemini server, well, here -- if you're reading this, you're on it, so I won't make it a link -- but it's gem.acdw.net.  Right now it's using Phoebe, a wiki by Alex Schroeder, but it's not doing exactly what I want so I think I'll switch to Molly Brown by the venerable Solderpunk, maybe today if I have time.  I keep thinking I have a lot to do, but I really don't have that much.
<p>
<p>I've been crocheting socks, and I'm still working on my blanket, and I am going to make two hats, for me and R.  They'll match but not be the same color.  Apparently that'd be "too much."  :P
<p>
<p>I think we're going to get a RPG going on #team or something.  I'm excited for that -- we should start Friday or maybe Saturday?
<p>
<p>Speaking of RPG, I've been watching /The Witcher/ and I really like it.  It's got a little bit of everything.  It makes me want to read the book(s).
<p>
<p>Speaking of book(s), we watched /Silence of the Lambs/ last night for Halloween and it opened up so much more upon this viewing.  I remember reading some stuff about how a lot of the men look straight into the camera to make the viewer identify with Clarice, and boy was that true.  And she is such a badass!  The movie really is all about the male gaze and its effects -- I mean, Buffalo Bill dies because he can't turn off that gaze, and that's his downfall.  I want to read that book and the others, as well.
<p>
<p>The rest of today, I'm going to go get groceries, fuck around some more on IRC, avoid chores, but finally clean.  I'm going to be off IRC much more, any more, I think.  because let's be honest, it's not conducive to actually doing anything.

</body>
</html>