help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making sure I'm not checking email (or doing other things) too often


From: Michael Heerdegen
Subject: Re: Making sure I'm not checking email (or doing other things) too often
Date: Mon, 15 Feb 2016 16:08:27 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.91 (gnu/linux)

Marcin Borkowski <mbork@mbork.pl> writes:

> > [ An alternative approach would be to make `not-too-often-add-guard' a
> > macro.  This would avoid the need of using `symbol-value' which some
> > find not aesthetic, but that's more a matter of personal taste, and you
> > surely know that already. ]
>
> I did not even consider it, because what I want to do is to feed
> `not-too-often-add-guard' to mapc.  The assumption is that the user will
> have an alist of command/time interval pairs.

You would just use `dolist' or a lambda wrapper around the macro call
(with the current signature, you can't `mapc' your function over an
alist directly anyway).

> Thanks, I'll probably make use of it, if you have nothing against (I
> plan to eventually put this on Melpa).

I don't care.


Regards,

Michael.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]