Denote-search, a simple search utility for Denote

lmq-10/denote-search

This package provides a search utility for Denote, the simple-to-use, focused-in-scope, and effective note-taking tool for Emacs.

The command denote-search is the main point of entry. It accepts a query, which should be a regular expression, and then searches the contents of all the notes stored in denote-directory for it. The results are put in a buffer which allows folding and further filtering; all standard commands offered by Xref are available as well.

This package has the same code principles as Denote: to be simple-to-use, focused-in-scope, and effective. We build upon Xref to be good Emacs citizens, and don't use any dependencies other than Denote and built-in libraries.

This works pretty well. It returns a nice, foldable list of results. One can also refine the results by filtering by file names, etc. I'll probably continue using Deadgrep, but denote-search is nice to have in the quiver.

Permalink #

Sunday, March 02, 2025

Avatarium is new to me. I love her soulful (clean) vocals and the doom/sludgy sound. It's like Joni Mitchell and Black Sabbath teamed up.

{{< youtube VFKfPIV_aZc >}}


Too many journals. Not enough to say.


Keeping the Leica SL2, for now

We look good together, no?

When I bought the Nikon Z f recently, the way I intended to offset the cost was to sell the Leica SL2. The mistake I made was to buy the Nikon before selling the Leica.

Yesterday, I gathered up the SL2 with accessories and took some photos of it for the listing. Picking up the camera reminded me that, as nice as the Z f is, it's not in the same league as the SL2. Everything about the Leica feels nicer. Controls, covering, grip, doors, battery, all of it.

I've been lost in the Nikon's menu system for a week. I still don't know where anything is. There's more "stuff" available on the Nikon, but the Leica's menus are simple, clear, and easy to understand. Sometimes less is more, you know?

I started to reconsider the move to Nikon for my digital photography.

On the other hand, the Z f is significantly smaller and lighter. Accessories are less expensive. The RAW files look good, and are much smaller (due to being 24MP vs 47MP, sure, but still). It's better at everything in low light. And auto-focus with the Nikon is miles ahead of the Leica. Eye detection with continuous auto-focus is a thing to behold.

I'm keeping both cameras.

The Nikon is for everyday stuff. It's perfect for the dog and my grandson and out-and-about photography. The Leica will remain for more "serious" things like studio portraits, which I want to do more of.

That's settled then. 😉.

Permalink #

Saturday, March 01, 2025

I would love to be a person who goes out to photograph because I have something to say, rather than someone looking for an excuse to play with cameras and because I'm bored.


I find YouTube to be 95% useless, but the other 5% is helpful and can be absolutely amazing and wonderful.


If I cancel my subscriptions to every newspaper that publishes something stupid, I'll have nowhere left to get any news. Mastodon, you say? Hardly.


I bet you a million dollars that the Mozilla terms-of-use kerfluffle ends up being a tempest in a teapot. Again. We're so quick to jump on things that have even the slightest whiff of "wrongdoing". That's fine, but know what you're pouncing on, first.


Thursday, February 27, 2025

New t-shirt is funny.

I've been shopping for desktop computers to run Linux. Something easy and nice, like a low-mid range Thelios, maybe. This is a terrible idea and I should stop doing it at once.


When do you think I'll finally find something that I'm good at?


There are too many people in my head.


I like Matt Birchler's Quick Reviews app, but I wish it would look up the year/director for me. The new iOS app might do something like that, but I won't use the app on iOS.


Some days I find myself in a foul mood because "Emacs is being stupid and annoying and I don't feel like dealing with it!"

Today, though, Emacs has been making me absolutely giddy. It can be wonderful, and I wish more people could put in the time to get to know (and love) it. 😍.


Wednesday, February 26, 2025

Well, I'm in that place again. You know the one. The one where I write the same thing in more than one, and sometimes more than two, places because I can't decide where stuff goes.


I've backed up and made all of my Kindle books readable on any device. I also just borrowed a book from the library, directly from my Kobo. This feels very good.


Tuesday, February 25, 2025

I'd like to get kaorahi (Howm) and Prot (Denote) together and maybe lock them in a room for a few hours. At the end, there would either be plans for building the greatest Emacs package ever...or fisticuffs.


Monday, February 24, 2025

What's New in Emacs 30.1? - Mastering Emacs

Full support for Emacs on Android, and a whole host of touch screen-related improvements to Emacs as a result.

Sooo, do I need an Android phone, now?


Most of today was spent farting around in Emacs. Again. I don't mind. It was fun. I tweaked Howm. Played with Gnus. Upgraded to Emacs 30.1, and cleaned up some config. A good time was had by all.


Org mode capture template for creating Howm TODOs

My use of Howm has continued to grow organically. In other words, I don't set out to use Howm, it just happens :).

One of Howm's unique features is its TODO implementation:

Format of schedule and todo:
[2002-10-21]@1  schedule -- (shown in schedule part. @3 = "3 days schedule to 10-23")
[2002-10-21]+7  todo -- float up slowly from the date in 7 days
[2002-10-21]!7  deadline -- float up fast from 7 days before the date
[2002-10-21]-1  reminder -- float at the date and sink slowly one unit per 1 day
[2002-10-21]~30 defer -- float at the date and repeat sinking and floating with 30 days period
[2002-10-21].   done -- sink forever
(Numbers after marks are default values.)

How to remember:
- Schedule at(@) the date
- Reminder sinks down(-).
- Todo floats up(+).
- Deadline needs attention!
- Defer waves(~) up and down.
- Done is the end(.).

These TODOs can be placed anywhere in any Howm file, but sometimes I just want to capture a task and have it added to an existing list of TODOs. I created a simple org-capture template for this:

  ("h" "Todo to Howm" plain
           (file+headline , "~/Documents/Notes/Denote/Howm/20250224T081548--todo.org" "Inbox")
           "- [%<%F>]+ %?")

Running the capture template puts a new, dated TODO into a dedicated Howm TODO file. After a few uses for testing, it looks like this:

* Inbox
- [2025-02-24]. [2025-02-24]:+ Create capture template for Howm dates
- [2025-02-24]. [2025-02-24]:+ Move TODO file to root of Howm tree
- [2025-02-24]+ Fix categories on Baty.net
- [2025-02-24]~ Buy replacement hinges for laundry room
- [2025-02-24]+ Something to do
- [2025-02-28]@ Meeting with tax guys

They show up when needed on the Howm menu, like so:

Howm Menu

At some point I should add a prompt for the date to use as well as the type of TODO, but for now, it's a small, useful quality-of-life improvement.

Permalink #

Sunday, February 23, 2025

I'm starting to worry that Severance is just being weird for the sake of being weird. Some of this stuff had better resolve itself or I'm going to be very disappointed.


Journal vs Post

Currently, my blog has two types of posts, Journal and Post. Journal entries are comprised of things I collect or think about during each day. I post one per day. Posts are your typical blog post. Posts are (usually) a bit longer and are about a single topic.

I'd like to eliminate the Journal posts, but have not found a way to do that. I could post every random thing that occurs to me as a full Post, but that feels too noisy and weird. I could move the Journal posts to the wiki. I still do that, sometimes. Or, I could stop writing them. Only the first two options are feasible, so which is it? I don't know.

For now, I'd like to move more of the Journal notes into their own Posts, and leave the journal for truly unstructured bits and bobs. It would be noise, mostly.

Still noodlin' on it.

Permalink #

Saturday, February 22, 2025

I still don't know what belongs here. It's mostly just a place to write things I'm thinking about. Things that have even the remotest chance of being useful or entertaining to someone else. There are at least three places I write things: Here, the wiki, and my Emacs daybook. And this doesn't include the paper options. I don't enjoy having to decide where to put things, but I have been unsuccessful in limiting myself to only one option.


Friday, February 21, 2025

My personality is a rolling amalgam of the recent movies, blog posts, and YouTube videos I've taken in.


I have more open loops than a macrame convention.


Morning pages with the AlphaSmart Neo 2

AlphaSmart Neo 2

I started free writing again a couple weeks ago, but this time I'm doing it digitally, using the AlphaSmart Neo 2.

I dove hard into "Morning Pages" after reading Julia Cameron's The Artist's Way, but it didn't last long. I mean, c'mon, there's no way I can consistently write 3 lined pages, longhand, every morning.

The intended benefits of doing hard-core morning pages are lost on me, but I can get behind the practice of doing a little free writing each day. For me, it's more like forced journaling.

My version of morning pages is more like "Morning Pages Lite". I set a timer for ten minutes, press the On button, and start typing. Ten minutes is plenty long enough for me to uplug the tubes in my head. I'm not an artist, so that's all I need.

I haven't written morning pages longhand in quite a while. As much as I love journaling with fountain pens and paper, writing quickly for long periods as an exercise turns into a chore, and I don't enjoy it.

For some reason, I didn't post about it when I bought my first Neo, so I don't remember when I got it. Around 2012, I think. I remember paying $25.

For digital journaling, using the Neo is fun and quirky and about as far as one can get from writing on a computer. It shows only four lines of text at a time. The keyboard isn't fancy, but it's fine. If I want to transfer my writing to a computer, I plug in a USB cable, open my text editor, and press "Send", like this.

The last set of batteries I put in the Neo lasted nearly 3 years. That's 3 years!

Free writing for a few minutes in the morning is something I find useful. Changing the way I do it once it a while keeps it interesting.

Permalink #

Thursday, February 20, 2025

I'd love to have this for my M3. The Leica Summilux-M 50 f/1.4 is the fifth lens in the Classic Line


I dreamt last night that my blog had a really fun, whacky design and everyone talked about it. Then, I woke up and remembered that my blog has a plain, boring, perfectly fine design and I'm keeping it.


I'm considering adding a /notes section of the blog, with tweettoot-sized posts. No titles. Probably no RSS feed. And they'd be syndicated via EchoFeed to Mastodon. It would take the place of these Journal posts. Maybe? Not sure it's something I want, but it's being considered.


It's weird how I can completely agree with someone's politics, yet frequently disagree with them about politics.


I think I have to go back to Mu4e

I "settled" on using notmuch for my email, but now I'm reconsidering that decision.

Notmuch is great, but using it forces me to have two email stores. One is IMAP (via Fastmail). The other is my local notmuch database. Mbsync keeps things kind of synced, but it's really only a few flags. Notmuch doesn't delete or move email on the server. This means I'm managing, for example, my Inbox, in two places. It's not hard, but is it necessary?

I need to read and manage email on my phone, and on both computers. After spending days wrangling issues with syncing between Macs, and knowing that there is a lot that I'm missing when viewing email on my phone, I'm beginning to feel that maybe doing my email this way isn't ideal.

Email in Emacs is important to me, and if notmuch is causing issues, there's always Mu4e. I used Mu4e for a long time before switching to notmuch. Mu4e is easier and feels "nicer" (subjective, I know). It also is a direct mapping of what's on the IMAP server. This means that my email is my email is my email, if you know what I mean. There's one version of it. I still have local copies of everything in ~/Mail, too.

So, my dream of putting my life in notmuch is on hold. I need things to be simpler right now, and using Mu4e makes things simpler for me.

Permalink #

Tuesday, February 18, 2025

I'm typing this in iA Writer because I read a blog post. See how susceptible I am to the opinions of others?

10 minutes later: Back in Emacs. Other editors are fun for a minute, but nope.


I’ll be honest here: if being a supermarket janitor paid as well as being a developer at a large consultancy firm that I won’t name, I’d go back to cleaning toilets in a heartbeat. Software is never really done, especially in an “agile” shop, but least I can tell when the toilet’s clean.

I Still Don't Have a Career | starbreaker.org

Replace "developer" with "project/product manager" and same.


I would prefer to write separate posts for everything, but I don't often have the patience necessary for putting thoughts together well enough. So, I keep pouring them out here in journal entries. Good enough for who it's for.


Monday, February 17, 2025

I'm realizing that digital photography is actually not always easier than shooting film. Wrangling the new Nikon Zf to do what I want has been the opposite of easy. It's not the Nikon's fault, really. It's that modern cameras want to do everything for everyone and it's exhausting getting them to do the right things for me.


Trying to use both Lightroom and Lightroom Classic and syncing between the two was a terrible, terrible idea that I've tried and failed at several times. The worst being this past month. Now I'm spending the morning either finding missing photos or dealing with duplicates. I never learn.


Nick Cave - The Red Hand Files - Issue #313

I endeavour to seek beauty wherever it presents itself. In doing so, I am reluctant to invalidate the best of us in an attempt to punish the worst. I don’t think we can afford that luxury.

On the inseparability of art from artist, yet still finding beauty in the art of bad men.


For every book Trump bans from government libraries, private libraries should stop carrying something of his or his administration's. It's not a "ban", it's just, "No, sorry, we don't have that one."


Speaking of...can't anyone stop that guy? Please?!