From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id +EMWDVdya2A8awAAgWs5BA (envelope-from ) for ; Mon, 05 Apr 2021 22:25:59 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id IDkYB1dya2CXXQAAB5/wlQ (envelope-from ) for ; Mon, 05 Apr 2021 20:25:59 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 71288935F for ; Mon, 5 Apr 2021 22:25:58 +0200 (CEST) Received: from localhost ([::1]:38916 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lTVnJ-0001vX-Hd for larch@yhetil.org; Mon, 05 Apr 2021 16:25:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33956) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lTVXu-0000WJ-Pm for guix-patches@gnu.org; Mon, 05 Apr 2021 16:10:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55380) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lTVXu-0001Pj-IO for guix-patches@gnu.org; Mon, 05 Apr 2021 16:10:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lTVXu-0003xT-CW for guix-patches@gnu.org; Mon, 05 Apr 2021 16:10:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47605] [PATCH] gnu: Add emacs-mode-line-idle. Resent-From: Eugene Klimov Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 05 Apr 2021 20:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47605 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47605@debbugs.gnu.org Cc: Eugene Klimov X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161765335815156 (code B ref -1); Mon, 05 Apr 2021 20:10:02 +0000 Received: (at submit) by debbugs.gnu.org; 5 Apr 2021 20:09:18 +0000 Received: from localhost ([127.0.0.1]:38693 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lTVXB-0003wO-Kp for submit@debbugs.gnu.org; Mon, 05 Apr 2021 16:09:18 -0400 Received: from lists.gnu.org ([209.51.188.17]:39128) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lTVWh-0003vK-IY for submit@debbugs.gnu.org; Mon, 05 Apr 2021 16:08:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33592) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lTVWh-0000RL-EA for guix-patches@gnu.org; Mon, 05 Apr 2021 16:08:47 -0400 Received: from mout-p-103.mailbox.org ([2001:67c:2050::465:103]:56440) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1lTVWe-0000ob-Ae for guix-patches@gnu.org; Mon, 05 Apr 2021 16:08:46 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:105:465:1:2:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4FDhYg1kJzzQjwV for ; Mon, 5 Apr 2021 22:08:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1617653313; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=vQUjBzuu348VkuL9szF8lfk0MCCKJZKY+3pX21TNQQ8=; b=S1wjCEVe5aqP8MKMbx12haUUkJYWP1PRHaVU7PyV6hk/BkXNRQaw0GhEaOT1bYT74IFmxW QW01QrrPQl8AcQj1YBxYVqTxK9BNGDyFdGbrb15L1yrviB3/nCJNOWit5+YJZCYHvSqtqZ T+UNeKT+PdGKIRvYMICNkY3rhqwLbbLMP0pYKFLvIkB7GlZpZXH0Ykmhsb/PFx8V05dJAy dX/RRLzQNu6ZGAYhG8id+3Oqi5JUvGiPFXmpwStzqfzguQCtxbsyWXYdRfcndqCYMyal20 CUDyl3D9pjFhmyVtwugUW2hFvxeDSOM+UKdBd/hWUAuJqzzNRPSgCif+Vvw0tA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mailbox.org; h= content-transfer-encoding:content-type:content-type:mime-version :message-id:date:date:subject:subject:from:from:received; s= mail20150812; t=1617653311; bh=0QW7NH3xcbKHhpfZRpN2v9FFiCJWqz9cW +oW5GmaJ80=; b=Gqa8y6YwmW4qxXd9woaqN765ddOZ5RcEWzIqikYsvU/tNar8O itJ8dKWvDfgCLl7Ao4zbkLE3fWo8fjOm0Tnioys+ZTLy3/rQaD1f9Cr+aA9COm6a Ho0ecSnDmkkvW582IPme2i7N9/2XnZem6lsdANZoptOKr6Eolmy6VJflEJ+k/Q4a rmOfW2v76b9nPzda8bdqBzd9xicEeE+hK+jKs+AjF16D6lB9L72MkyHF0vZM2zAb wXRhIOU2D53reV5/OwfpH69YEovXou7LVJCRgJf16+jdXqh9YsxDzwD1qBAfayrQ //aUBymgU9gJd0KGWESHzSyY8zDnhm4uXGgdw== X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter04.heinlein-hosting.de (spamfilter04.heinlein-hosting.de [80.241.56.122]) (amavisd-new, port 10030) with ESMTP id wSZWZ_2p1uoO; Mon, 5 Apr 2021 22:08:31 +0200 (CEST) Date: Tue, 6 Apr 2021 01:08:07 +0500 Message-Id: <20210405200807.30111-1-lipklim@mailbox.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-MBO-SPAM-Probability: X-Rspamd-Score: -6.07 / 15.00 / 15.00 X-Rspamd-Queue-Id: 548A617BE X-Rspamd-UID: 28daa2 Received-SPF: pass client-ip=2001:67c:2050::465:103; envelope-from=lipklim@mailbox.org; helo=mout-p-103.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 05 Apr 2021 16:09:15 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Mon, 05 Apr 2021 16:25:41 -0400 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Eugene Klimov X-ACL-Warn: , Eugene Klimov via Guix-patches From: Eugene Klimov via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1617654358; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=vQUjBzuu348VkuL9szF8lfk0MCCKJZKY+3pX21TNQQ8=; b=c2yucyHvYxDBR8TeWpbJ3PHTkbeKsXxliTrFlEnHRWTVq31FA+f7pMw//FEwC2LFJ29MFv xWZEguWvIe6903tQpl1NkJotf0aZPQx/H3vJv5j08p9ZBNtQHRNV3eR+EO/aguHejYUXJp aFga9AowoArpzO0yLzS2sPxXuI6jNR5c590gHmOVzwZQVrEn/zLYQ9VjpFf4Eq7S6nvAyS aC7RMqdxDTzUEFiAZ87vkWqxV+15pQn95I4SfKJUBzNnsB5lzp2AqmSIflFdNoQSWP4Lhx OMkrtjSN+i3hsQZ5VCJaK3p3qy9cM0A2Db/vXTD5EUyl737Ou8tOmHLLLzvG7Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617654358; a=rsa-sha256; cv=none; b=twg/DxuhfDMqGpvu2OZe1w8NKM3k187RVH7JgNNDvaXl0eViUPEc+FtuBnpZvO0S6PVYj9 8d89yBTahps1fpW14fyTFWthIJrt/4CE4gplf7l13vdU2Xzoa3KIiXUi0OpOo5MJlf9gfx QMuuXeWjtLXuzO6QG5sl6VywWea4Cu/JJ3NGXrLeeO7v/g1QJbO6y8w/yx1GMEDBvK/cuA bbFtrXwsL7ZreLAhRaXsJ7If5liRxAh4e4/ylkAyZa40vIHAqJjuNFdB0QaNnq2tPBE9uT XJmOkalLVAJc3wIrkGUp0F+ZAnxB2DjRmYvf1vjHbczDj+GS4hdHXUj17Cl31Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=S1wjCEVe; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=Gqa8y6Yw; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -2.94 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=S1wjCEVe; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=Gqa8y6Yw; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 71288935F X-Spam-Score: -2.94 X-Migadu-Scanner: scn0.migadu.com X-TUID: daahwSXygwoz * gnu/packages/emacs-xyz.scm (emacs-mode-line-idle): New variable. --- gnu/packages/emacs-xyz.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 239915fffe..ea9f3bfcd1 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -96,6 +96,7 @@ ;;; Copyright © 2021 Xinglu Chen ;;; Copyright © 2021 Stefan Reichör ;;; Copyright © 2021 Simon Tournier +;;; Copyright © 2021 Eugene Klimov ;;; ;;; This file is part of GNU Guix. ;;; @@ -27566,3 +27567,34 @@ and prefered services can easily be configured.") quasi-prefix map, with many useful bindings. These bindings are shorter than usual, using mostly unprefixed keys.") (license license:gpl3+))) + +(define-public emacs-mode-line-idle + ;; Package has no release. Version is extracted from "Version:" keyword in + ;; main file. + (let ((commit "02b1da6278e43cc9cc0356110cc6bfbb37eb8241") + (revision "1")) + (package + (name "emacs-mode-line-idle") + (version (git-version "0.1" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/ideasman42/emacs-mode-line-idle.git") + (commit commit))) + (sha256 (base32 "0ky330b2sfbzkbxbfp9b21hdywsjw26bllspglz08hrbni7jmry8")) + (file-name (git-file-name name version)))) + (build-system emacs-build-system) + (home-page "https://gitlab.com/ideasman42/emacs-mode-line-idle") + (synopsis "Simple delayed text evaluation for the mode-line") + (description + "Mode Line Idle (mode-line-idle.el) is a minor mode that +provides a convenient way to defer text evaluation in a way that can +be easily integrated into existing mode-line's without requiring a +minor mode or configuration. + +Mode Line Idle helps to add useful information into the mode-line +without slowing down Emacs performance. While delaying updates is not +so difficult, having multiple timers can become awkward when mixed in +with the mode-lines configuration. Instead of avoiding expensive +information in the mode-line, it can be calculated when idle.") + (license license:gpl3+)))) -- 2.31.1