From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Temporarily disable `timer-event-handler' Date: Tue, 04 Feb 2020 20:30:09 -0500 Message-ID: References: <83wo93hdzh.fsf@gnu.org> <14f50308-b4d2-34e8-e7bb-89822dcd9404@Alexander.Shukaev.name> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="46693"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Alexander Shukaev Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Feb 05 02:31:14 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 1iz9X7-000C23-Ls for ged-emacs-devel@m.gmane-mx.org; Wed, 05 Feb 2020 02:31:13 +0100 Original-Received: from localhost ([::1]:40310 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iz9X6-0003bE-OK for ged-emacs-devel@m.gmane-mx.org; Tue, 04 Feb 2020 20:31:12 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58897) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iz9WC-000336-E0 for emacs-devel@gnu.org; Tue, 04 Feb 2020 20:30:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iz9WB-0000qx-Fw for emacs-devel@gnu.org; Tue, 04 Feb 2020 20:30:16 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:7353) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iz9W9-0000VU-To; Tue, 04 Feb 2020 20:30:14 -0500 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 63A8D44AFBD; Tue, 4 Feb 2020 20:30:13 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id D1E0B44AF95; Tue, 4 Feb 2020 20:30:11 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1580866211; bh=gfd+canyJrG8KiQVP00nTGHadXq3BQMRsmYcxc5XSHM=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=WuNaNF+4zDOvSnuCdbJ8ncLPBLc7OgtVYrL6PoNH/QuZOHKz0GIppwch313ocIXaG pgN6qKg066W1GdTc/1ftVSNgUYGfjqFA0tE1CwUcmi+ZGlC+cGWIB/7wBgVo5F/9Cm 2FpcSUa/o3tL9LkterI1aSMkyepv66uHXxsKfVc4mnAZJ8WpxQDsj4fOSm1TG+TcnH k5P2a8AetW6tbUrSY6oyx/jawHiyZhCphykfZfg756E4TjM5lphRRqosYPX2RFDv+S SY4/KgDo0M1x/DA3gYbrRRwZokBhhLKjyMiG3d5hNHuc7RmeNi69lz0xTKVbf0RW3W BVrsIb5L3DGGg== Original-Received: from pastel (unknown [216.154.34.88]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 8C1C41203AB; Tue, 4 Feb 2020 20:30:11 -0500 (EST) In-Reply-To: <14f50308-b4d2-34e8-e7bb-89822dcd9404@Alexander.Shukaev.name> (Alexander Shukaev's message of "Wed, 5 Feb 2020 02:21:37 +0100") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 132.204.25.50 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:244855 Archived-At: >> Instead we need something more specific which lets A delay B without >> delaying other, unrelated, events. > In a fine-grained scenario where one knows exactly which other timer (event) > to delay, yes. I was more into temporarily inhibiting all the timers (for > whatever reason may be needed too, e.g. what Michael faces). I know you are, but this would be fundamentally wrong, just like it would be wrong for your OS to let Emacs prevent all other applications on your machine from running. Stefan