From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Ivan Yonchovski Newsgroups: gmane.emacs.devel Subject: Re: Questions about throw-on-input Date: Thu, 07 May 2020 18:36:02 +0300 Message-ID: <87368b69lp.fsf@gmail.com> References: <87r1vwxktw.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="46386"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.3.7; emacs 27.0.91 Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu May 07 17:36:59 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jWia2-000Bwh-MZ for ged-emacs-devel@m.gmane-mx.org; Thu, 07 May 2020 17:36:58 +0200 Original-Received: from localhost ([::1]:34574 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jWia1-0008K9-MW for ged-emacs-devel@m.gmane-mx.org; Thu, 07 May 2020 11:36:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58200) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jWiZD-0007Np-Lq for emacs-devel@gnu.org; Thu, 07 May 2020 11:36:07 -0400 Original-Received: from mail-lf1-x12a.google.com ([2a00:1450:4864:20::12a]:45946) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jWiZC-0005bB-PB for emacs-devel@gnu.org; Thu, 07 May 2020 11:36:07 -0400 Original-Received: by mail-lf1-x12a.google.com with SMTP id a4so4851797lfh.12 for ; Thu, 07 May 2020 08:36:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=5o2QywxDakQcHRy5VZ53qqqYb26Z3j/y6oJXCFofzb4=; b=HWLDZa99AIuKNQJez/3FvFAO8oyYKrZkN4Jby2eFsFjoVMd8ubjIKVZAjzwRdOhATo HB79TJCnwE4HxtitvlFCiDv58D+7Laf6FCsd4sGgM/R+71OH2yB4SjvBNVvRny1MbtvY Frlvh1fs5npwMXmMyfhg6cP4WmvNYte0z5vbq4etTvj5v1g/Ik4tusUufk1SdXLeB0XZ gqC9DazeaWZQ/4oJRL+dGjtc1P4yYTO/fYgi/grK+kkjERRrjioDQHyU6vpim4jpoomx qN6AuQl+SBD5XejIJnS2MsVLXsBFqJdKMRu3AvoTHE1JQPa/caz2ykq/7U90kGemtxwp veZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=5o2QywxDakQcHRy5VZ53qqqYb26Z3j/y6oJXCFofzb4=; b=nemOFqFGmZcaWMsXSPegscRW4oaDc0iGPiDhwCtTuhQBU/42nfnWfNd878QaspGDqP McPu0cRdh5M3ahR4S3qEzK4fOpEBllD8AGBW7HQbq3irvKmCFzZvE/79A6m/twTkFivd pcw4BOZh5lJxx58T5J2HEPt7AaNPJruh/a8xL0BYJDV0VnnurAy1mx1ab++pXYrz+oMu N5V51ULCEjTDBvwPtWZ7yuKvNvbhW5zvVPa+dLZ9/BxLGr1a5kYwmU/w6zMr4EkEAAgG 0NgSgAVHP2JtqGKYwHXjHkNNk/tz4TPBJaLOPMRn6Ta25FgF/DAG3zhJVxkrxubmpEJ4 XQbQ== X-Gm-Message-State: AGi0PuYjePXvtGwiTBjFrGKqGuftx0Wk4v94ynAAiEpZ6QLaaYOi9oDW iQKEjGs1/RtEQ4lvdOFaZ+uSCC0c+9Y= X-Google-Smtp-Source: APiQypKND1/0AGTxlbN8VwFfiFEoRemoL26tekMQrFi6Vf0SioggJ3c5HVL9JRyWMlT/9HYOQjnw2g== X-Received: by 2002:a05:6512:3081:: with SMTP id z1mr9330303lfd.102.1588865764319; Thu, 07 May 2020 08:36:04 -0700 (PDT) Original-Received: from kyoncho-H87-D3H ([2a00:4802:28d:1200:790c:d794:f15:66ba]) by smtp.gmail.com with ESMTPSA id g10sm3977780lfc.95.2020.05.07.08.36.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 May 2020 08:36:03 -0700 (PDT) In-reply-to: Received-SPF: pass client-ip=2a00:1450:4864:20::12a; envelope-from=yyoncho@gmail.com; helo=mail-lf1-x12a.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:249188 Archived-At: Hi Stefan, Thank you for the reply. > > Why do you do that instead of using `while-no-input`? > No particular reason. I think that it the end I will end up with `while-no-input`. > You mean the event is "eaten"? I must say I'm not sure why. I got the answer from Eli. > > That's because timers are run with `inhibit-quit` which interferes. > `while-no-input` would take care of that. > Yes, I didn't know that. Thanks, Ivan