From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 02 12:32:24 2022 Received: (at submit) by debbugs.gnu.org; 2 Jun 2022 16:32:24 +0000 Received: from localhost ([127.0.0.1]:54507 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nwnkG-0006c8-19 for submit@debbugs.gnu.org; Thu, 02 Jun 2022 12:32:24 -0400 Received: from lists.gnu.org ([209.51.188.17]:36276) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nwnkC-0006c0-UY for submit@debbugs.gnu.org; Thu, 02 Jun 2022 12:32:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33708) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nwnkB-0003fZ-Da for bug-gnu-emacs@gnu.org; Thu, 02 Jun 2022 12:32:20 -0400 Received: from mail-pj1-x1033.google.com ([2607:f8b0:4864:20::1033]:38627) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nwnk9-0001u6-DX for bug-gnu-emacs@gnu.org; Thu, 02 Jun 2022 12:32:18 -0400 Received: by mail-pj1-x1033.google.com with SMTP id v11-20020a17090a4ecb00b001e2c5b837ccso9888550pjl.3 for ; Thu, 02 Jun 2022 09:32:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:message-id:from:to:subject:mime-version :content-transfer-encoding; bh=MR7tdUlYW0oF4o9F6a/zfxLyhIns/TarMWN3Bu0qnlc=; b=WSVA0ZYzknXnTSP5eJBrCUHjax7A4lWadGOI+NHvVIM993gbSGWhhOZTkjBMgBecql SOuTZM+ObDXqP7Vn49gQPCUlA2/v72+vZO3DCL83V802Che+pY2cz4esAbnFq7CvjFnF s38IP79yL9IsoODOtkUYiFK6H6rPIp5Dx595q4ciPMfjM1XNEtWgxF6kbqL+Vhd/ktVw oRayQZyUaXfmS5sq6Na5jEI0xIMwhxJsvvMstO3inhYDNPx98RptHaW1Gf5qRave2t6m jyxw5Z+B748AY5kAcE/RA1sv6OJjL1kk3GYjqnYb64NthzE9Jh3vy8IXK6v/azJF5wsK SC4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:message-id:from:to:subject:mime-version :content-transfer-encoding; bh=MR7tdUlYW0oF4o9F6a/zfxLyhIns/TarMWN3Bu0qnlc=; b=TGG9ODRf7tQaOtgoAZZgnx4NkJ2XUTX4vyRRwbY5XMZAcCsf35WhTC7pXhr6KBuIAR Wr75ODsKRSqr0qvxOGkBVdv7JY/bzUmdXg+VoJfa4Wf3x6S7Q0Z72NswV9G2/4qjBCB6 tV4VoNZt5CgRUCe5QFnAU9uqnu8EkZSYhcNgun60wZOYaD/+daien7hoQJvgRBqUYx5E TOiokUmMtaJGBXAXOcG8j1HFFl6KVYrq4lbqwtOf1qyffSqpCHv4oWZt/Eut2RfPPBZG c0ibTSPZmPPP2tjuEQKOw4DoltLY1PaMFvdZkziyZFSDoFVJN7JTvx+V8gBVk0GzRpQw mhWQ== X-Gm-Message-State: AOAM532XLmU9az2FGIGOMUxsoyig5QIiTdd9j5XDACFxbCHvxZbZMH3X cXDZQOB7Yxz3QSg9eXMQGm/JbpTCP90X8w== X-Google-Smtp-Source: ABdhPJxhgwZbY6uczWYHzsnvPYyLJlGumcIvYbvfPNSBsTqxu1BlCmYEOXMD3bmfM5Rq1K5QpxdLxQ== X-Received: by 2002:a17:90a:8592:b0:1dd:bab:d286 with SMTP id m18-20020a17090a859200b001dd0babd286mr6209531pjn.143.1654187534311; Thu, 02 Jun 2022 09:32:14 -0700 (PDT) Received: from retriever.mtv.corp.google.com ([2620:0:1000:1510:3f9f:dc5f:3e5e:fa25]) by smtp.gmail.com with ESMTPSA id j16-20020a17090a7e9000b001e32824c452sm5821441pjl.40.2022.06.02.09.32.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Jun 2022 09:32:13 -0700 (PDT) Date: Thu, 02 Jun 2022 09:32:09 -0700 Message-Id: From: "T.V Raman" To: bug-gnu-emacs@gnu.org Subject: 29.0.50; Feature Request: Hook When battery transitions to low or critical MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::1033; envelope-from=raman@google.com; helo=mail-pj1-x1033.google.com X-Spam_score_int: -175 X-Spam_score: -17.6 X-Spam_bar: ----------------- X-Spam_report: (-17.6 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) From: Eli Zaretskii To: "T.V Raman" Subject: Re: battery.el: Add option to play a sound when battery hits critical? Date: Thu, 02 Jun 2022 19:28:01 +0300 Cc: emacs-devel@gnu.org > Date: Thu, 02 Jun 2022 08:42:48 -0700 > From: "T.V Raman" > > Subject line almost says it all: > > battery.el can change the face used to display battery status in the > modeline. > > Could we also have a defcustom that makes an auditory alert that is > configurable when it transitions from normal to low and low to > critical? Maybe we should have a hook that would be run by the battery.el's timer function, then you could write a hook function to do whatever you want, including playing a sound. Suggest to file a feature request bug report about this. -- Thanks, --Raman(I Search, I Find, I Misplace, I Research) ♉ Id: kg:/m/0285kf1 🦮 From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 02 23:57:56 2022 Received: (at 55770) by debbugs.gnu.org; 3 Jun 2022 03:57:56 +0000 Received: from localhost ([127.0.0.1]:54883 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nwyRg-0001rk-CF for submit@debbugs.gnu.org; Thu, 02 Jun 2022 23:57:56 -0400 Received: from quimby.gnus.org ([95.216.78.240]:58908) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nwyRa-0001rS-MQ for 55770@debbugs.gnu.org; Thu, 02 Jun 2022 23:57:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=g7Pd08uePGgSPPP88A8nZTQG2NVfpg6CrpdysYxalLc=; b=aWGW4HV0+eCI+/dfrCpH+NyQtP OAYd/fMa7o81HQrDrYktmnDRtalx/so/QAWnPuiN2GCxzhA7SF88PENKfRTzJHr0Sr/9pUkghB7j8 1ighJLREb2lfSMgRmszz0WV+5uBp/vjMqUWXe8vFdxpRjg8TaBLEqFEu8BwiTVzjdLKk=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nwyRR-0002LH-VF; Fri, 03 Jun 2022 05:57:44 +0200 From: Lars Ingebrigtsen To: "T.V Raman" Subject: Re: bug#55770: 29.0.50; Feature Request: Hook When battery transitions to low or critical References: X-Now-Playing: 50 Foot Wave's _Power + Light_: "Power + Light" Date: Fri, 03 Jun 2022 05:57:41 +0200 In-Reply-To: (T. V. Raman's message of "Thu, 02 Jun 2022 09:32:09 -0700") Message-ID: <87h752bdqi.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: "T.V Raman" writes: > Maybe we should have a hook that would be run by the battery.el's > timer function, then you could write a hook function to do whatever > you want, including playing a sound. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55770 Cc: 55770@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) "T.V Raman" writes: > Maybe we should have a hook that would be run by the battery.el's > timer function, then you could write a hook function to do whatever > you want, including playing a sound. Good idea. I've now added this to Emacs 29 as `battery-update-functions'. (The doc string has an example function that plays an alarm.) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 02 23:57:58 2022 Received: (at control) by debbugs.gnu.org; 3 Jun 2022 03:57:58 +0000 Received: from localhost ([127.0.0.1]:54886 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nwyRh-0001rx-Lp for submit@debbugs.gnu.org; Thu, 02 Jun 2022 23:57:57 -0400 Received: from quimby.gnus.org ([95.216.78.240]:58922) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nwyRg-0001rY-En for control@debbugs.gnu.org; Thu, 02 Jun 2022 23:57:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Ivw01gpnvJ4gTYgCo32Heu38o29/2GtyiiBCIREFVmw=; b=KGKJHaZvqDjR8GrzfdfZG0Zv9D aP4WYv9h0SXh176ONxXWupiB2+MIJsfhymHKWJ7UO/5KpvyRd23g/SLcZUTMPPt+EjPWZxjBIUhx3 NbLM9xFA4rqBSTk1N3sW82z2zKKMYk/gSjmm2IqYd3aOtOxUIOklj88zVjHXUNa8OsLM=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nwyRY-0002LR-JD for control@debbugs.gnu.org; Fri, 03 Jun 2022 05:57:50 +0200 Date: Fri, 03 Jun 2022 05:57:47 +0200 Message-Id: <87fskmbdqc.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #55770 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 55770 29.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 55770 29.1 quit From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 03 10:07:11 2022 Received: (at 55770) by debbugs.gnu.org; 3 Jun 2022 14:07:11 +0000 Received: from localhost ([127.0.0.1]:56832 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nx7xH-0006Lw-O3 for submit@debbugs.gnu.org; Fri, 03 Jun 2022 10:07:11 -0400 Received: from mail-pf1-f175.google.com ([209.85.210.175]:39747) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nx7xC-0006LR-Qy for 55770@debbugs.gnu.org; Fri, 03 Jun 2022 10:07:10 -0400 Received: by mail-pf1-f175.google.com with SMTP id y196so7261166pfb.6 for <55770@debbugs.gnu.org>; Fri, 03 Jun 2022 07:07:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=from:mime-version:content-transfer-encoding:message-id:date:to:cc :subject:in-reply-to:references; bh=JrQyA370iDlRomLlTuOj/kFvzIrZf29jUqilQ5e68Ec=; b=kqa/RaIfEoK5ypxucPLzXue0OwAVYlXqiM5nxAdsKVY3aJfOOAheLlxGf1/+7T5xln TZE4ickJxH8Fc6sOU5I4GObkTEBodE77akbixVAhdaf6U/o0i6HkZDVv8/ZmHmXt9H3P MrHGgWBgD83aRLDgwGiaC8m9LsHp9t+ZejeTAkhtHYrpUiPCyz8bkNWlH04oxCBElilE qYdD6NFCzQ0joq27p2le+9/LX02sS1Li2Al2FsasqVInUl2wEuc+QFpfYV0Onn24iRL2 hBfCEtbjoXBXO+I/UNkqP+9KQrQQkKMXWhEwnMtnt4Z+IgeHHO9EiDh4adPsVvpGhUdW 7ZpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:mime-version:content-transfer-encoding :message-id:date:to:cc:subject:in-reply-to:references; bh=JrQyA370iDlRomLlTuOj/kFvzIrZf29jUqilQ5e68Ec=; b=EFBMv7Op3Tetm1J6xeiwPWo3gw+4jVErrcCHJxk2KllP++imQG7ty8w5nBxmo5GNUV 3100mcqg76xB/RWr0P7KVz9C9yRC3fd8k4JqFnOcipa29nYUp/J+woyZnmIa1f7v8d6Y IIPmF/cIvv/SylcEBaDSxd/UKMQzGPoVxB0qUgqtBXdKxNLSZoO5+y1ZxPQ/bdoPqGvy Cb4+n7JYg5+VNav/8YTXB59uUwU2oHbgVDFRsnMyMVkNYAuNfvIRYwTnsXg/UTIY+qlJ dS2rxqPmoUPUZQtxIHAOUIhBIB3zmgxFq/xmvQi5i73ZtJyTUDXPACvxEOp7d/KS0acF SgwA== X-Gm-Message-State: AOAM53011/oAxvkrP3Mp5B/Ih+52bezvq0iYkWg3dAjaJ/BL5ls6Zbhv 0RwNiqkwfELPmntL0WbkLLjD5GItp5flsQ== X-Google-Smtp-Source: ABdhPJxoGZSSzbyIuhN0sWN5aPWqcXyb+33bztY9csKvv4QBgwJtqrooAjF0h5uct4JXJLBgEY84jA== X-Received: by 2002:a05:6a00:114e:b0:51b:8ff5:e05a with SMTP id b14-20020a056a00114e00b0051b8ff5e05amr10644150pfm.37.1654265220494; Fri, 03 Jun 2022 07:07:00 -0700 (PDT) Received: from retriever.mtv.corp.google.com ([2620:0:1000:1510:9967:fa3e:b8c8:ae23]) by smtp.gmail.com with ESMTPSA id g24-20020a170902869800b0015e8d4eb20bsm5380515plo.85.2022.06.03.07.06.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Jun 2022 07:06:59 -0700 (PDT) From: "T.V Raman" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-ID: <25242.5507.88125.426973@retriever.mtv.corp.google.com> Date: Fri, 3 Jun 2022 07:06:59 -0700 To: larsi@gnus.org Subject: Re: bug#55770: 29.0.50; Feature Request: Hook When battery transitions to low or critical In-Reply-To: <87h752bdqi.fsf@gnus.org> References: <87h752bdqi.fsf@gnus.org> X-Mailer: VM 8.1.1 under 29.0.50 (x86_64-pc-linux-gnu) X-Spam-Score: -8.0 (--------) X-Debbugs-Envelope-To: 55770 Cc: 55770@debbugs.gnu.org, raman@google.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -9.0 (---------) Awesome, thanks! --=20 Thanks, --Raman(I Search, I Find, I Misplace, I Research) =E2=99=89 Id: kg:/m/0285kf1 =F0=9F=A6=AE -- Thanks, --Raman(I Search, I Find, I Misplace, I Research) ♉ Id: kg:/m/0285kf1 🦮 From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 03 12:39:23 2022 Received: (at 55770) by debbugs.gnu.org; 3 Jun 2022 16:39:23 +0000 Received: from localhost ([127.0.0.1]:56908 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nxAKZ-0002NZ-KF for submit@debbugs.gnu.org; Fri, 03 Jun 2022 12:39:23 -0400 Received: from mail-pg1-f182.google.com ([209.85.215.182]:34628) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nxAKU-0002NF-Ii for 55770@debbugs.gnu.org; Fri, 03 Jun 2022 12:39:22 -0400 Received: by mail-pg1-f182.google.com with SMTP id g184so7633457pgc.1 for <55770@debbugs.gnu.org>; Fri, 03 Jun 2022 09:39:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=VCGfW5a9wYgmsZHsx3Wu29V/F4HuL3I72C+SDYmO3nw=; b=f7wJt8nii0zasF46miBBOJ64a1b7Zvi2IA8TP6Cq92Vpk53h0URtEECprxpJrpu0MU osapSdsrNIOK3DWVV1XaxuPIJZguHE7CsG5752WsKjZkqWeaOzuK+d7xMoJgkftcBSbh 1MQ0JBh81YQbt4CQAfMLoRKdwTnBM411ywyxVUlxjGsM1nsqlvJv4715N9trsQ2BoN3s 7LWwgbHs3SJYc6B3WXtbqY1f1U+Q+O6ECos9l8b4+H5DzwfDqJBg8tIkQc38PMotCoJS UsGhcuKy4hVSBrZUvGtecd3bDI1ED5iB2WygN30ZcUK9EQnYYVAWmw3Lj6KGtxyngBt6 JMew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=VCGfW5a9wYgmsZHsx3Wu29V/F4HuL3I72C+SDYmO3nw=; b=lVnxaqvUg16xY0f9TfDz1kl2cSJt0gIbBYxGOTk6GbI5ordzyNl2m5lB3BdrJPkmWD 6zphN8gX0tf6PAtTcb/iLlHk/MB6B8B5m3bJ+mw/eLShNGTn3nJwUsotkjcb6yswe+PJ 03eLDK7TejV+3GX+q5Zy8tBl0hgszNYo6E/nbXncotHk0DA3UAKqNqR/oHwKvJkNcLSk eB1g/EZy6vWq3qX1AnglMRuThAOWuuZNszl79/RyJA8AnZPf5dCugtx+1hKFTRuoBwJy A17GZYiFB34s/qj8zFrbhBwCpkuJ+FoVNeKQwtDJEtWsDPRvvR5eXqOvCYYC+6wNlVbC H0aQ== X-Gm-Message-State: AOAM531PyCzbaio+xkLz9a7MjUKoZ13Q+i6t30lEGCfGKL/chdUWns/j Uku9s6jTsLIIoIFE6i5pyf/fBvaVl9aBVw0x X-Google-Smtp-Source: ABdhPJwTF528maorTSs+bgJQkHIugy1DCg+K5HmeY/vkByfjRiHKCz4qQnOzC0f37BuwUHZx0OW37A== X-Received: by 2002:a05:6a00:1a0a:b0:51b:8e6c:ce73 with SMTP id g10-20020a056a001a0a00b0051b8e6cce73mr19699183pfv.60.1654274352088; Fri, 03 Jun 2022 09:39:12 -0700 (PDT) Received: from raman9 (c-24-4-174-65.hsd1.ca.comcast.net. [24.4.174.65]) by smtp.gmail.com with ESMTPSA id r2-20020a170903020200b0015e8d4eb1f6sm5638881plh.64.2022.06.03.09.39.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Jun 2022 09:39:11 -0700 (PDT) From: "T.V Raman" To: Lars Ingebrigtsen Subject: Re: bug#55770: 29.0.50; Feature Request: Hook When battery transitions to low or critical References: <87h752bdqi.fsf@gnus.org> Date: Fri, 03 Jun 2022 09:39:10 -0700 In-Reply-To: <87h752bdqi.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 03 Jun 2022 05:57:41 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=gb18030 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -8.0 (--------) X-Debbugs-Envelope-To: 55770 Cc: 55770@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -9.0 (---------) Lookeding at this more closely, default value of battery-update-interval is 60s which might be okay for updating modeline; will having other functions here prove to be an efficiency hit? For instance, if playing a sound on entering critical state, one might well end up implementing some more logic to decide how often to play a soun= d. --=20 Thanks, --Raman(I Search, I Find, I Misplace, I Research) =817=A94 Id: kg:/m/0285kf1 =950=DC8 From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 03 13:49:46 2022 Received: (at 55770) by debbugs.gnu.org; 3 Jun 2022 17:49:46 +0000 Received: from localhost ([127.0.0.1]:56937 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nxBQg-0004RF-E9 for submit@debbugs.gnu.org; Fri, 03 Jun 2022 13:49:46 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53682) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nxBQb-0004Qu-PV for 55770@debbugs.gnu.org; Fri, 03 Jun 2022 13:49:45 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58944) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nxBQW-0006G3-BP; Fri, 03 Jun 2022 13:49:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Ac03fGDQWwZGPFmwO7moKPHiAm/dnjEt/5iE2pFVftc=; b=WbXI8wwaDwAR KWaYo53A/tRR7JLMEJdUjC5fctj1bpUMk8JlYjginzTXH0HyZ8xh5U4mAdtX7bqKdU/jVpLZVHxB1 /YfsOUbtcQJkHmxI7+p+eaoCbFaQvEiCIP3tvXNsq4/NYGnsPbc95SAwkAkeqfilWm6F5KTshxbMC ufMf5NbeS7Pyotkj+bLUYG1wwM6QpsYdaszsR/iYqqogwapv5+4ZIxDwNRefgD/HpuMjiZVHU58D1 0dq4hpxJZwMctjPvSfOlf8GHX7CEHNEy/YuZtLGY2CuJmhgJlsRYk+VyUC++TRWY5pA27Cumx/mMK jtSM0JZShiqtghzCDzqYkA==; Received: from [87.69.77.57] (port=2480 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nxBQV-0004j2-Qn; Fri, 03 Jun 2022 13:49:36 -0400 Date: Fri, 03 Jun 2022 20:49:48 +0300 Message-Id: <83v8thbps3.fsf@gnu.org> From: Eli Zaretskii To: "T.V Raman" In-Reply-To: (bug-gnu-emacs@gnu.org) Subject: Re: bug#55770: 29.0.50; Feature Request: Hook When battery transitions to low or critical References: <87h752bdqi.fsf@gnus.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55770 Cc: larsi@gnus.org, 55770@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: 55770@debbugs.gnu.org > Date: Fri, 03 Jun 2022 09:39:10 -0700 > From: "T.V Raman" via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > > Lookeding at this more closely, > default value of battery-update-interval is 60s which might be okay for > updating modeline; will having other functions here prove to be an > efficiency hit? > > For instance, if playing a sound on entering critical state, one might > well end up implementing some more logic to decide how often to play a sound. battery-update-interval is also a defcustom, so you can make it smaller if you need. From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 03 14:00:18 2022 Received: (at 55770) by debbugs.gnu.org; 3 Jun 2022 18:00:18 +0000 Received: from localhost ([127.0.0.1]:56974 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nxBar-0004nN-J9 for submit@debbugs.gnu.org; Fri, 03 Jun 2022 14:00:18 -0400 Received: from mail-pf1-f172.google.com ([209.85.210.172]:33503) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nxBal-0004lq-Fd for 55770@debbugs.gnu.org; Fri, 03 Jun 2022 14:00:15 -0400 Received: by mail-pf1-f172.google.com with SMTP id w21so7755353pfc.0 for <55770@debbugs.gnu.org>; Fri, 03 Jun 2022 11:00:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=from:mime-version:content-transfer-encoding:message-id:date:to:cc :subject:in-reply-to:references; bh=ADzUvi3G1ClvRL35MCKDtrVvyHitSlO09dpD2rav5S4=; b=tZRdOgs7LBih7Yr67DdLsvtF7HPBkDeBGtJtARnlnM4X8Z0NAf5qSTo6bKR3OU11t/ O3K6+qC5FKwp+0DMzLcI3mcbRofm/UjmDBzMrBliN55VCd5vGfU8w2CRCcjBGSg75VdS vpf1MDxwBwn4WVpzzmmjXRk37Xrj3JTI0TOfBbCS+V0rchpq1A6AScUCYN2gxenfIYds 89TwBOkk+blZNmoN45Egd30uUSKaUmC+EDALHXUUA95YKR+kYWdtPa/ZSZK02GHB5C5r CEBErdbroselWKId3R05erYj9NmI9DBZiWRU0oqHqATM1NMFC7suyKYoJ70rkO0jjfaK /4Ow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:mime-version:content-transfer-encoding :message-id:date:to:cc:subject:in-reply-to:references; bh=ADzUvi3G1ClvRL35MCKDtrVvyHitSlO09dpD2rav5S4=; b=gVdB161Vs22ckLAnb94fUVsgTqdMugxXHpuY8UBdjoYNJqcdbgULb4pS9RiWIFJAKH qGDKVu6Y6hPWo/mVwemnlzzm2LnEEkJtdnNVuA9DVLYOc+WN5RXXSU/gmyVh37yuNTbm 9xIKMWWtlIyPUbR5xJ49JA9YhVs/MD1lO2c+aeAvqOG1qSPuY5kYnCeM2+i53otTT9jk 5nMvG2+rfWqLSal1Cx+wvM6EK7HIZ2xE1qQgL6OpG5hR6UjXsLNruUmbhnllvOLvcwdS VnQ8Vf4DSUxSLNG4bITCiN7661QuETyw3ENZCgOKMVGACyfnYJn6v4lhJRoQY5vQG4jh mOhg== X-Gm-Message-State: AOAM5319BzBHEjrec9p5vJcGn5qFr8DRd6wk+xcpim0wUcpT4siihb94 pJ1PAwKd3PElDhJ1NJhSLTvdwivLMTnmEg== X-Google-Smtp-Source: ABdhPJx47pJ+cSy7+ztfi0DRxj5fTTnsYNLEDLD82uo8QuNlwkg4jijRfrcyukWGMpS5kr770shzTw== X-Received: by 2002:a05:6a00:1145:b0:4f6:3ebc:a79b with SMTP id b5-20020a056a00114500b004f63ebca79bmr11468464pfm.41.1654279205167; Fri, 03 Jun 2022 11:00:05 -0700 (PDT) Received: from retriever.mtv.corp.google.com ([2620:0:1000:1510:9967:fa3e:b8c8:ae23]) by smtp.gmail.com with ESMTPSA id c140-20020a624e92000000b005182e39038csm3265897pfb.38.2022.06.03.11.00.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Jun 2022 11:00:04 -0700 (PDT) From: "T.V Raman" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-ID: <25242.19491.737855.32056@retriever.mtv.corp.google.com> Date: Fri, 3 Jun 2022 11:00:03 -0700 To: eliz@gnu.org Subject: Re: bug#55770: 29.0.50; Feature Request: Hook When battery transitions to low or critical In-Reply-To: <83v8thbps3.fsf@gnu.org> References: <87h752bdqi.fsf@gnus.org> <83v8thbps3.fsf@gnu.org> X-Mailer: VM 8.1.1 under 29.0.50 (x86_64-pc-linux-gnu) X-Spam-Score: -8.0 (--------) X-Debbugs-Envelope-To: 55770 Cc: larsi@gnus.org, 55770@debbugs.gnu.org, raman@google.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -9.0 (---------) I understand and I can set mine appropriately --- I was just pointing out that a low value for the update interval when combined with an update function that does some computes could prove a bad combination.E= li Zaretskii writes: > > Cc: 55770@debbugs.gnu.org > > Date: Fri, 03 Jun 2022 09:39:10 -0700 > > From: "T.V Raman" via "Bug reports for GNU Emacs, > > the Swiss army knife of text editors" > >=20 > >=20 > > Lookeding at this more closely, > > default value of battery-update-interval is 60s which might be oka= y for > > updating modeline; will having other functions here prove to be an= > > efficiency hit=3F > >=20 > > For instance, if playing a sound on entering critical state, one = might > > well end up implementing some more logic to decide how often to pl= ay a sound. >=20 > battery-update-interval is also a defcustom, so you can make it > smaller if you need. --=20 Thanks, --Raman(I Search, I Find, I Misplace, I Research) =E2=99=89 Id: kg:/m/0285kf1 =F0=9F=A6=AE -- Thanks, --Raman(I Search, I Find, I Misplace, I Research) ♉ Id: kg:/m/0285kf1 🦮 From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 03 14:41:01 2022 Received: (at 55770) by debbugs.gnu.org; 3 Jun 2022 18:41:01 +0000 Received: from localhost ([127.0.0.1]:57034 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nxCEG-0008CU-VU for submit@debbugs.gnu.org; Fri, 03 Jun 2022 14:41:01 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35378) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nxCEE-0008C0-8z for 55770@debbugs.gnu.org; Fri, 03 Jun 2022 14:40:59 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59764) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nxCE7-0002LS-4m; Fri, 03 Jun 2022 14:40:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=JMx46/BVj6DL51n+qCxJ2C2PP4vBXJxzPMPILjtD5us=; b=QsmnyttMUZk/ icp0zzOQY6ww9uM2AWuxz9tLyqgrhkrA0skAjxVZDq9ppDRzYv3K8o/lK7JgijRkybP9UL+S7Yqe9 OMSIUJG7gbEcUOFQ4Y1UjqCuXr44EU4PDDRyU3CZ9OVZeV4JzlJgYFpFuwzqecWaQas6Cb4JWYe+M RuFA3bWVMgBo44GD4EN2PMwyGwE35onST4SQ4ZBEQsKHrySnxaGIKZa/PiTdyTtP+R276eH6REaAb GEqBKJAAisbc0E2oE/6A7MGXoLJKhbH+StdssWSiX8G2tQ2+21IAD191lzWdWgkQsADkT78iBZzHM THfmupcCpKqCTgsCkk6s7A==; Received: from [87.69.77.57] (port=1653 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nxCE4-0006xl-QN; Fri, 03 Jun 2022 14:40:50 -0400 Date: Fri, 03 Jun 2022 21:40:52 +0300 Message-Id: <83tu91bnez.fsf@gnu.org> From: Eli Zaretskii To: "T.V Raman" In-Reply-To: <25242.19491.737855.32056@retriever.mtv.corp.google.com> (raman@google.com) Subject: Re: bug#55770: 29.0.50; Feature Request: Hook When battery transitions to low or critical References: <87h752bdqi.fsf@gnus.org> <83v8thbps3.fsf@gnu.org> <25242.19491.737855.32056@retriever.mtv.corp.google.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55770 Cc: larsi@gnus.org, 55770@debbugs.gnu.org, raman@google.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: "T.V Raman" > Date: Fri, 3 Jun 2022 11:00:03 -0700 > Cc: raman@google.com, > larsi@gnus.org, > 55770@debbugs.gnu.org > > I understand and I can set mine appropriately --- I was just pointing > out that a low value for the update interval when combined with an > update function that does some computes could prove a bad combination. The default value is for when the status is just displayed. I don't think I see a reason to make the default shorter, because it will just cause more drain on the battery for no good reason. From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 03 16:09:25 2022 Received: (at 55770) by debbugs.gnu.org; 3 Jun 2022 20:09:25 +0000 Received: from localhost ([127.0.0.1]:57107 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nxDbp-0004XD-Cu for submit@debbugs.gnu.org; Fri, 03 Jun 2022 16:09:25 -0400 Received: from mail-pj1-f43.google.com ([209.85.216.43]:41729) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nxDbn-0004Wz-CT for 55770@debbugs.gnu.org; Fri, 03 Jun 2022 16:09:24 -0400 Received: by mail-pj1-f43.google.com with SMTP id l20-20020a17090a409400b001dd2a9d555bso7922839pjg.0 for <55770@debbugs.gnu.org>; Fri, 03 Jun 2022 13:09:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=from:mime-version:content-transfer-encoding:message-id:date:to:cc :subject:in-reply-to:references; bh=kkkafLj0speP+S0KwqvDE6PkyDBVIEywOe6OHY/FOrs=; b=WdxNsxZZ7aE6Ab5LWd1NrtbDt70KoXTCCXrriV7yAxFn8/LlcDkWM26flgdH6nGLxh nJhxZRHF3RBMlCZ81oXcrgPqSO6Y/p9XNJuHhXeeeK2CZOe49c15/PyUxpRljGqQ4zPf u/m0i5Ynpt4Qq9cHB30az8UmTqQhn83/E5T3rWUwY6/8ZtPpBRqTmIYORVWKc0/0PPgv WdXjC4s1yzglzMt08tr4crdsUmsqPn0VM7S7u6IuACIrWRFZmpkNV4WcfMGCPGEddIbW yqC+Pd38K89i6ZMWtS+nA7Bd2bTtFQoI9r+qwdkM2Ci6yP6fSVXIZBC7l+zWBlnUQBWU RSKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:mime-version:content-transfer-encoding :message-id:date:to:cc:subject:in-reply-to:references; bh=kkkafLj0speP+S0KwqvDE6PkyDBVIEywOe6OHY/FOrs=; b=qi8GM6JDj3ScqYkgU3Dj33euNenJE1og5OHKzOmJEtffnvYzCUK1Z+TTW/osiPwaa6 KAfhCmeR8PU2pe1q1/u54jnXnSfDRU+L7tpgs4Eldro8o9s4UfmulUEsC9IsfYgNDtP6 9cySnj0NcaFMDN7j1vT4Q374jpweyqZ8mYfj+KFJ4Ifq/MN5vVTsEgI9DybBo+Vvr7TG eD3XfYZSnccGPccCxEXUC2SJA/TyAN7j5s/nW5q06rzztUHQU681dh++eRHAMfXVmgy6 L4mPi9QATJ0UcH3vOs6iXrXfJTRnasQajWMks90HiLNqWkp4EZq/GImGsY1ygbPq61bk QtNQ== X-Gm-Message-State: AOAM532VlVhOe7VJOMujttSsyItdvjKjKFqRVYVSEHEYD7ofJ1owf+xf 5dql6M1ptGV3yLzcUAWXfomJ94K+xxLYVg== X-Google-Smtp-Source: ABdhPJyWEdfCVbWQKOqdP0uArhnhKb6QFl01AcXiSFjRqIzY6vEhItNKIvLDkVAilk/H3jhkTI22YQ== X-Received: by 2002:a17:90b:4c0b:b0:1e8:2960:46f5 with SMTP id na11-20020a17090b4c0b00b001e8296046f5mr6290405pjb.219.1654286957032; Fri, 03 Jun 2022 13:09:17 -0700 (PDT) Received: from retriever.mtv.corp.google.com ([2620:0:1000:1510:ab9b:547b:b5d7:3ba4]) by smtp.gmail.com with ESMTPSA id i184-20020a6254c1000000b0051b6091c452sm5852078pfb.70.2022.06.03.13.09.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Jun 2022 13:09:15 -0700 (PDT) From: "T.V Raman" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-ID: <25242.27239.180264.658796@retriever.mtv.corp.google.com> Date: Fri, 3 Jun 2022 13:09:11 -0700 To: eliz@gnu.org Subject: Re: bug#55770: 29.0.50; Feature Request: Hook When battery transitions to low or critical In-Reply-To: <83tu91bnez.fsf@gnu.org> References: <87h752bdqi.fsf@gnus.org> <83v8thbps3.fsf@gnu.org> <25242.19491.737855.32056@retriever.mtv.corp.google.com> <83tu91bnez.fsf@gnu.org> X-Mailer: VM 8.1.1 under 29.0.50 (x86_64-pc-linux-gnu) X-Spam-Score: -8.0 (--------) X-Debbugs-Envelope-To: 55770 Cc: larsi@gnus.org, 55770@debbugs.gnu.org, raman@google.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -9.0 (---------) we're not communicating. I did not ask to reduce the 60s -- rather I was saying that if we allow the user to configure additional functions to run on each update, and if that user doesn't realize that it will run every minute, it might put too much load on the system.Eli Zaretskii writes: > > From: "T.V Raman" > > Date: Fri, 3 Jun 2022 11:00:03 -0700 > > Cc: raman@google.com, > > larsi@gnus.org, > > 55770@debbugs.gnu.org > >=20 > > I understand and I can set mine appropriately --- I was just point= ing > > out that a low value for the update interval when combined with an= > > update function that does some computes could prove a bad combinat= ion. >=20 > The default value is for when the status is just displayed. I don't= > think I see a reason to make the default shorter, because it will ju= st > cause more drain on the battery for no good reason. --=20 Thanks, --Raman(I Search, I Find, I Misplace, I Research) =E2=99=89 Id: kg:/m/0285kf1 =F0=9F=A6=AE -- Thanks, --Raman(I Search, I Find, I Misplace, I Research) ♉ Id: kg:/m/0285kf1 🦮 From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 03 22:01:18 2022 Received: (at 55770) by debbugs.gnu.org; 4 Jun 2022 02:01:18 +0000 Received: from localhost ([127.0.0.1]:57296 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nxJ6M-0005DB-Gq for submit@debbugs.gnu.org; Fri, 03 Jun 2022 22:01:18 -0400 Received: from smtp-3.orcon.net.nz ([60.234.4.44]:59865) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nxJ6I-0005D0-6A for 55770@debbugs.gnu.org; Fri, 03 Jun 2022 22:01:16 -0400 Received: from [10.253.37.70] (port=14032 helo=webmail.orcon.net.nz) by smtp-3.orcon.net.nz with esmtpa (Exim 4.90_1) (envelope-from ) id 1nxJ66-00042z-L7; Sat, 04 Jun 2022 14:01:03 +1200 Received: from ip-116-251-140-135.kinect.net.nz ([116.251.140.135]) via [10.253.37.253] by webmail.orcon.net.nz with HTTP (HTTP/1.1 POST); Sat, 04 Jun 2022 14:01:01 +1200 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Sat, 04 Jun 2022 14:01:01 +1200 From: Phil Sainty To: "T.V Raman" Subject: Re: bug#55770: 29.0.50; Feature Request: Hook When battery transitions to low or critical In-Reply-To: <25242.27239.180264.658796@retriever.mtv.corp.google.com> References: <87h752bdqi.fsf@gnus.org> <83v8thbps3.fsf@gnu.org> <25242.19491.737855.32056@retriever.mtv.corp.google.com> <83tu91bnez.fsf@gnu.org> <25242.27239.180264.658796@retriever.mtv.corp.google.com> Message-ID: <96eb3be0d5dbb119876d86aa40f43b7c@webmail.orcon.net.nz> X-Sender: psainty@orcon.net.nz User-Agent: Orcon Webmail X-GeoIP: -- X-Spam_score: -2.9 X-Spam_score_int: -28 X-Spam_bar: -- X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55770 Cc: eliz@gnu.org, 55770@debbugs.gnu.org, larsi@gnus.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 2022-06-04 08:09, T.V Raman" wrote: > I did not ask to reduce the 60s -- rather I was saying that if we > allow the user to configure additional functions to run on each > update, and if that user doesn't realize that it will run every > minute That could be emphasised like this? (defcustom battery-update-functions nil "Functions run by `display-battery-mode' after updating the status. +This normally happens every `battery-update-interval' seconds. From unknown Fri Sep 12 10:18:59 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 02 Jul 2022 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator