From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.devel Subject: Re: How about making `sleep-for' interactive? Date: Thu, 27 Jun 2019 15:40:05 -0400 Message-ID: References: <87v9wrwsde.fsf@mbork.pl> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="138253"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Emacs developers To: Marcin Borkowski Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 27 21:41:12 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hgaGe-000Zr2-6k for ged-emacs-devel@m.gmane.org; Thu, 27 Jun 2019 21:41:12 +0200 Original-Received: from localhost ([::1]:53932 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hgaGc-0007Q8-JO for ged-emacs-devel@m.gmane.org; Thu, 27 Jun 2019 15:41:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35142) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hgaFt-0007Px-DX for emacs-devel@gnu.org; Thu, 27 Jun 2019 15:40:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hgaFs-0005Dt-A4 for emacs-devel@gnu.org; Thu, 27 Jun 2019 15:40:25 -0400 Original-Received: from mail-oi1-x229.google.com ([2607:f8b0:4864:20::229]:37732) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hgaFs-0005A5-3i for emacs-devel@gnu.org; Thu, 27 Jun 2019 15:40:24 -0400 Original-Received: by mail-oi1-x229.google.com with SMTP id t76so2481076oih.4 for ; Thu, 27 Jun 2019 12:40:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ZserFwUVZ35umtQQNQZ4BrqLm/Soy8RwoD1PjiljF00=; b=bYqWdcQ3Vd6yP0JT9+Mlaa83A2KE+LnagXqnwUzbi9GgS4syCrteynnCEXDAFDDW/E oF1b8ezn+hFyfzVonmp1hfep2ccWj3tPckvi+CLDFHxkYURAGbuQc3DO4/nRBobFD0ke feRuYcwhXyP4EVhEQ4n+W6Av3bhcsFcHyP1B1+ELJ4x3cD7S7j5iRdRyR+K7Chf7MF3v nwYY5Vl11jbbov3nEJPEQObs4JsOAmVQwcQIVDLLGZkiG5ZSqQafgv457mafjHcynpvV +JiJtSIi04sNgQLOkYKOBOJYTPo50Dq82rW+b6d5EQRiPItruH/XYXJeZufsNijK5x2a rzZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ZserFwUVZ35umtQQNQZ4BrqLm/Soy8RwoD1PjiljF00=; b=FWxWtK6EM0LvTmZTlq0HYU3VEb+H10F2Vd5U24Bw0INcFBOlul3A+aPMdkKuEsa85L lYqnEHSpdrqgB/d0qPBnMOccEInCV+u6BxXETJzygn2RtPwCO8CLixiAvbQmGbVK7jst SBaxoa5hrfDolPuKnY1HTmfKCGgTk1Q6NL5JH2b42HD224SwzFLk5p2H5VKSbGvDLsaH AnpSFjkBxX9YLQz3sJlI/AeT5f9Ty6uRy3Hqmy4zvqFO5drzxkami8CDGg1S3enrN5DR Paj4sOpHRptsDVTn9l8W+GhrHwStjjMpt1REEpPZPcxlFGqANsMannXhi/fwQxSf5vtG MDJw== X-Gm-Message-State: APjAAAWxbwAbcMxYeR05U59kRvVw8VYnhHXfeIh3z0Y89qhhyMebbecH DhA8noYUqoyPqKs/95hA2c2EcEY8pJd2lKhdK/0TKg== X-Google-Smtp-Source: APXvYqxROh28euiDIxkwykkpVb7ECZ7LIT0Y91+0m7H1aCz8LDqKaeUdmFB1P4RisViRjVb8pvbqFPLFCpZJjRSeTww= X-Received: by 2002:a54:4f95:: with SMTP id g21mr2616732oiy.23.1561664420262; Thu, 27 Jun 2019 12:40:20 -0700 (PDT) In-Reply-To: <87v9wrwsde.fsf@mbork.pl> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::229 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:238202 Archived-At: On Thu, 27 Jun 2019 at 00:45, Marcin Borkowski wrote: > I noticed today that `sleep-for' is not an (interactive) command. > Since `sleep-for' is a builtin, I can't prepare a patch (I don't speak > C very well), but if I get a hint I can try (just to learn something > new). FYI, you can make any function interactive by setting its interactive-form symbol property. For example, (put 'sleep-for 'interactive-form '(interactive "nSleep for: "))