From patchwork Fri Jul 14 18:10:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ahmad Draidi X-Patchwork-Id: 51710 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id C6CFC27BBE9; Fri, 14 Jul 2023 19:12:20 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id D418027BBE2 for ; Fri, 14 Jul 2023 19:12:17 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qKNGv-0003Yt-FT; Fri, 14 Jul 2023 14:12:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qKNGt-0003YZ-UK for guix-patches@gnu.org; Fri, 14 Jul 2023 14:12:03 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qKNGt-0007s5-MP for guix-patches@gnu.org; Fri, 14 Jul 2023 14:12:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qKNGs-0000mr-Ly; Fri, 14 Jul 2023 14:12:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64627] [PATCH] gnu: Add emacs-mode-line-bell. Resent-From: Ahmad Draidi Original-Sender: "Debbugs-submit" Resent-CC: andrew@trop.in, liliana.prikler@gmail.com, guix-patches@gnu.org Resent-Date: Fri, 14 Jul 2023 18:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64627 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64627@debbugs.gnu.org Cc: Ahmad Draidi , Andrew Tropin , Liliana Marie Prikler X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Andrew Tropin , Liliana Marie Prikler Received: via spool by submit@debbugs.gnu.org id=B.16893583083002 (code B ref -1); Fri, 14 Jul 2023 18:12:02 +0000 Received: (at submit) by debbugs.gnu.org; 14 Jul 2023 18:11:48 +0000 Received: from localhost ([127.0.0.1]:43442 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qKNGd-0000mM-U5 for submit@debbugs.gnu.org; Fri, 14 Jul 2023 14:11:48 -0400 Received: from lists.gnu.org ([2001:470:142::17]:48684) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qKNGc-0000m8-B1 for submit@debbugs.gnu.org; Fri, 14 Jul 2023 14:11:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qKNGV-0003Q9-OI for guix-patches@gnu.org; Fri, 14 Jul 2023 14:11:39 -0400 Received: from rainycloud.ext.redscript.org ([2402:28c0:4:1081::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qKNGS-0007Vd-HD for guix-patches@gnu.org; Fri, 14 Jul 2023 14:11:39 -0400 Received: from localhost.localdomain (unknown [5.194.79.44]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by rainycloud.ext.redscript.org (Postfix) with ESMTPSA id 5069342BA; Fri, 14 Jul 2023 18:11:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redscript.org; s=mail1-rsa; t=1689358284; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=O6oewYi2hwlHgUFGRcvgYX6SO2irT4Ly505uNOPWZ84=; b=AQ29RTszOBSS8gcSBGSY1paXe8vPHqF1/wLbPHeIZi2oiXej6MNizPwr4QaEQtdgi6hzAh j8LIAUi3w7f9le5cYQYId4WzUBt0ILmKlvY0TNJD87/uE2e0KzP7148eKgctC5Evjp7sf/ UrASmwW1qt1QzDW6v+u/GR9A8mox9ELPnmBkdMQaizMX2Bhf7xaBA9q8UTyIGBMaNPAINX H8pTSwAi1nppOcay3d4hCrgrvfiJBGBqHNZRn77A9C2WBwqNPtzz62sjsGrDaNYR+78IQN AJjyHltfh2+fcGzuFPNXrDcZf3dtg0oVk251GcrJMXKtwtspzXVTMzH2H56gT56roVkihv xZyiNnj5Ag2QP4PXRlyF64T1ATIlp8dRhUhPtjUJwOsTjgculMVgfpSr55LHtY8bWY9L2J I4Z4ePbnNx/Vj6toGh15n4Pg6MIwW7NC8ymu06msUXEUzDlZNNz5yfJD1MR6+/j9k6cCMm 2EZD6XeLIWTbHuVDpiS13VCktE9gdejdrDS4HNJ2OqPjnK5WxB3Qw4RqOr4jlE4et9EN9O lxy502Os0YD75iGxB2b1Kp49hcnei6AvS0gWCdKIuFLj3KQLniZw9myqCcLf8goththy9f rwkkiJROh2CL7+PTylS/yW3PBrBDHWMdBhKS/qlpJr4KWyTk9ke90= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=redscript.org; s=mail1-ed25519; t=1689358284; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=O6oewYi2hwlHgUFGRcvgYX6SO2irT4Ly505uNOPWZ84=; b=7HUDYWq/sRWzuZD+2UUH4bBZHcX41JyyEYeRFzEYVIL8s0i4M32DRdS4tw84KybZlQF03E oLHmHXJt8jZW5pDg== Date: Fri, 14 Jul 2023 22:10:41 +0400 Message-ID: <0555667838a64bb027995435bbe1586d78caf1f2.1689358241.git.a.r.draidi@redscript.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2402:28c0:4:1081::1; envelope-from=a.r.draidi@redscript.org; helo=rainycloud.ext.redscript.org 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Ahmad Draidi X-ACL-Warn: , Ahmad Draidi via Guix-patches X-Patchwork-Original-From: Ahmad Draidi via Guix-patches via From: Ahmad Draidi Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/emacs-xyz.scm (emacs-mode-line-bell): New variable. --- gnu/packages/emacs-xyz.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) base-commit: 917a299831361f253ea664f009176b4bbe06900a diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 480096fb50..70dbcce313 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -7477,6 +7477,28 @@ (define-public emacs-rspec snippets for yasnippet.") (license license:gpl3+)))) +(define-public emacs-mode-line-bell + (package + (name "emacs-mode-line-bell") + (version "0.2") + (source (origin + (method git-fetch) + (file-name (git-file-name name version)) + (uri (git-reference + (url "https://github.com/purcell/mode-line-bell") + (commit version))) + (sha256 + (base32 + "13n3di05lgqfm4f8krn3p36yika5znhymp5vr2d747x54hqmgh7y")))) + (build-system emacs-build-system) + (home-page "https://github.com/purcell/mode-line-bell") + (synopsis "Flash the mode-line instead of ringing the bell") + (description + "This Emacs package provides a global minor mode @code{mode-line-bell-mode} +which sets @code{ring-bell-function} to a function that will briefly flash the +mode-line when the bell is rung.") + (license license:gpl3+))) + (define-public emacs-mode-line-idle ;; Package has no release. Version is extracted from "Version:" keyword in ;; main file.