~doolio

Recent activity

Re: SMTP pass configuration 1 year, 6 days ago

From Niall Dooley to ~sircmpwn/sr.ht-discuss

On Sat, 25 Nov 2023 at 18:46, Niall Dooley <dooleyn@gmail.com> wrote:
> I've see posts [1] where the bare pass command works but not
> for me.

OK, reviewing [1] again the following is working for me now.

[credential "smtp://smtp.gmail.com:587"]
    helper = !pass dev/send-email
[sendemail]
    annotate = yes
    smtpEncryption = tls
    smtpServer = smtp.gmail.com
    smtpServerPort = 587
    smtpUser = <gmail email address>

Re: copyright of colors from the modus theme 1 year, 23 days ago

From Niall Dooley to ~protesilaos/modus-themes

On Thu, 21 Dec 2023 at 23:41, takeda <patch@sent.as> wrote:
> No, I ended up creating and using my own colors for my website.

OK, thanks.  I appreciate you getting back to me in any case.

Re: [QUESTION] setup.el: Why does :global use global-set-key and not define-key? 1 year, 24 days ago

From Niall Dooley to ~pkal/public-inbox

On Wed, 20 Dec 2023 at 19:03, Philip Kaludercic <philipk@posteo.net> wrote:
> Just looking at the definition of global-set-key, it should be more or
> less like:
>
>   (define-key (current-global-map) key command)
>
> >              so would it not be better to use the more primitive
> > function within a macro definition?
>
> I don't know of any such rule when writing macros.

I didn't mean to suggest their was such a rule.

> > No doubt there is a valid reason for your choice but I was just curious.

[QUESTION] setup.el: Why does :global use global-set-key and not define-key? 1 year, 25 days ago

From Niall Dooley to ~pkal/public-inbox

Hi Philip,

Why does setup-define :global use

`(global-set-key ,key ,command)

and not something like

`(define-key global-map ,key ,command)?

My understanding is that `global-set-key' is just a thin wrapper around
`define-key' so would it not be better to use the more primitive
function within a macro definition?

Re: Can you please change the package name for setup.el 1 year, 25 days ago

From Niall Dooley to ~pkal/public-inbox

How about setpkg so it is similar to the new setopt?

Re: copyright of colors from the modus theme 1 year, 29 days ago

From Niall Dooley to ~protesilaos/modus-themes

> From: takeda <patch@sent.as>
> Date: Wed, 04 May 2022 02:29:42 +0530
> I've been considering using the colors from the modus themes on my
website.

Hello takeda,

Did you ever use the modus-themes on your website?  This is also
something I would like to do.  Are you able to share the css files?

Kind regards,

Niall

[PATCH] Rearrange some lines to ease diffing 1 year, 30 days ago

From Niall Dooley to ~protesilaos/modus-themes

Add missing keywords line for consistency.
---
 modus-vivendi-deuteranopia-theme.el |  1 +
 modus-vivendi-theme.el              |  2 +-
 modus-vivendi-tinted-theme.el       | 15 ++++++++-------
 3 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/modus-vivendi-deuteranopia-theme.el
b/modus-vivendi-deuteranopia-theme.el
index 0a798aa..4b136ee 100644
--- a/modus-vivendi-deuteranopia-theme.el
+++ b/modus-vivendi-deuteranopia-theme.el
@@ -6,6 +6,7 @@
 ;; Maintainer: Modus-Themes Development <~protesilaos/modus-themes@lists.sr.ht>

Re: SMTP pass configuration 1 year, 1 month ago

From Niall Dooley to ~sircmpwn/sr.ht-discuss

On Sat, 25 Nov 2023 at 19:10, Moritz Poldrack <moritz@poldrack.dev> wrote:
> May I suggest using the libsecret API? I am sure there's a compatibility
> layer if not native support.
>
> [credential]
>         helper          = store
>         credentialStore = secretservice

Thanks, but isn't libsecret for working with gnome-keyring?

Also, doesn't the store helper save your credentials in plaintext to
~/.git-credentials by default.

Re: SMTP pass configuration 1 year, 1 month ago

From Niall Dooley to ~sircmpwn/sr.ht-discuss

On Thu, 23 Nov 2023 at 11:10, Simon Ser <contact@emersion.fr> wrote:
> git-send-email can use gitcredentials though.

Right, but I'm trying to retrieve those credentials from a
password-store file where my encryption key is on a removeable device.
The below based on suggestions earlier in this thread is not working for
me.  I think it is not working for me because my encryption key is on a
removeable device.  If I use the commented out helper instead it does
work and I've see posts [1] where the bare pass command works but not
for me.

[credential]
        protocol = smtp
    #helper = "!f() { test \"$1\" = get && echo password=$(cat

Re: SMTP pass configuration 1 year, 1 month ago

From Niall Dooley to ~sircmpwn/sr.ht-discuss

> There is an official credential helper for pass(1) on
> https://github.com/languitar/pass-git-helper.

This helper only knows about the git credential protocol and not the
smtp protocol [1].

[1]: https://github.com/languitar/pass-git-helper/discussions/322#discussioncomment-7646963