From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marcin Borkowski Newsgroups: gmane.emacs.help Subject: Re: Making sure I'm not checking email (or doing other things) too often Date: Mon, 15 Feb 2016 16:18:56 +0100 Message-ID: <87r3ge0zof.fsf@mbork.pl> References: <87d1rz2ebl.fsf@mbork.pl> <87h9hayr31.fsf@web.de> <87si0u10ms.fsf@mbork.pl> <87bn7iypsk.fsf@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1455549582 20313 80.91.229.3 (15 Feb 2016 15:19:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Feb 2016 15:19:42 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Michael Heerdegen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 15 16:19:34 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aVKw1-0006hz-OU for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Feb 2016 16:19:34 +0100 Original-Received: from localhost ([::1]:33144 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVKvx-0003vQ-Lb for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Feb 2016 10:19:29 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51454) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVKve-0003ox-9U for help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 10:19:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVKvb-0002Vy-3W for help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 10:19:10 -0500 Original-Received: from mail.mojserwer.eu ([2a01:5e00:2:52::8]:57154) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVKva-0002Vo-RN for help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 10:19:06 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 6B5269D2003; Mon, 15 Feb 2016 16:19:04 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Original-Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZHHyakdE16YS; Mon, 15 Feb 2016 16:18:59 +0100 (CET) Original-Received: from localhost (unknown [109.232.24.28]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 7ADB09D2001; Mon, 15 Feb 2016 16:18:58 +0100 (CET) User-agent: mu4e 0.9.13; emacs 25.1.50.2 In-reply-to: <87bn7iypsk.fsf@web.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2a01:5e00:2:52::8 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:109181 Archived-At: On 2016-02-15, at 16:08, Michael Heerdegen wrote: > Marcin Borkowski 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). You're right. >> 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. Thanks, and thanks again for your help. > Regards, > > Michael. Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University