[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: HyRolo: automatic capture of email addresses
From: |
Xavier Maillard |
Subject: |
Re: HyRolo: automatic capture of email addresses |
Date: |
Sat, 01 Mar 2025 09:11:42 +0100 |
> For a solution even more in line with Hyperbole you could define an implicit
> button that would call hyrolo-add. Something like this: (It assumes you are
> reading your mail in gnus and it is not heavily tested.)
>
> ----------------------------------------------------------------------
> (defib my-hyrolo-add ()
> "With action key on a line beginning with From: call hyrolo-add.
> Only active in gnus-article-mode."
> (if (eq major-mode 'gnus-article-mode)
> (save-excursion
> (beginning-of-line)
> (when (looking-at "From:")
> (ibut:label-set (buffer-substring-no-properties
> (line-beginning-position) (line-end-position)))
> (hact (lambda () (call-interactively 'hyrolo-add)))))))
> ----------------------------------------------------------------------
That works perfectly and it is just better approach than automating it
in my not so humble opinion.
Just changed to use rmail.
Thank you Mats.
My rolo file is growing and extending slightly (I push all the stuff
into it, I just need to better use the hierarchy system to prevent it
to be a huge mess).
--
Xavier Maillard (http://www.maillard.im)
Partagez votre super pouvoir! (http://dondesang.efs.sante.fr/)
GPG: 84C7 EF28 760F 49A7 D7C0 BFD7 141B AF53 291E 888D