telenieko

joined 1 year ago
[โ€“] telenieko@alien.top 1 points 1 year ago (1 children)

TL;DR often goes at the top of the post, not the bottom ๐Ÿ˜‰

[โ€“] telenieko@alien.top 1 points 1 year ago (1 children)

It's an opportunity to learn more lisp!

I do currently have a shell script using ripgrep & notmuch-tag, but felt it could be an interesting problem to solve within Emacs :)

[โ€“] telenieko@alien.top 1 points 1 year ago (3 children)

This is r/emacs !! Looking for an Emacs Lisp solution ๐Ÿ˜

[โ€“] telenieko@alien.top 1 points 1 year ago (1 children)

I plan on searching hundreds of files (all notes) so... some way that does not open all of them would be preferable.

[โ€“] telenieko@alien.top 1 points 1 year ago (3 children)

I ask only for the first step. After I have all the referenced message IDs I will start working on the notmuch side to find and tag!

 

Hi there,

I use orgmode links extensively. In particular, I have hundreds (our thousands) of links to emails (in notmuch). I would very much like to add a tag to any email that is being referenced from org.

So, what I need to do first is be able to find all matches of a regular expression in all my org files. Non-interactively.

I have been playing around with xref-matches-in-directory but that would not cover when multiple emails are mentioned in the same line...

I have been looking and looking but everything I find missed the non-interactive part.

So: What is the function to "search for this REGEX in FILES in DIR and return the first capture group"? (the regex has a capture group for the msgid)

The regex:

  (rx-to-string
   (rx "notmuch:id:"
       (group (1+ (not "]")))))
 

Hi there,

I am a big user of GMail's "Scheduled Send" feature. It allows me to reply at my pace and make sure the thread does not become a ping-pong match and replies won't come back earlier than expected.

How to do that "on my own"? I use notmuch + msmtp (within emacs) to handle most of my email but like half of it I have to manage via Gmail's web interface because of the scheduling needs.

I know about msmtp-queue but it is a all or nothing solution. I would love to be able to schedule my emails, either at Emacs level or SMTP level, with some header or something.

Any ideas?