From patchwork Sun Jan 23 13:32:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brandon X-Patchwork-Id: 36770 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 534BD27BBEA; Sun, 23 Jan 2022 13:33:22 +0000 (GMT) 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,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, 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 1E1B927BBE9 for ; Sun, 23 Jan 2022 13:33:22 +0000 (GMT) Received: from localhost ([::1]:38280 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nBczh-0002mv-AM for patchwork@mira.cbaines.net; Sun, 23 Jan 2022 08:33:21 -0500 Received: from eggs.gnu.org ([209.51.188.92]:48256) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nBczO-0002lu-Pb for guix-patches@gnu.org; Sun, 23 Jan 2022 08:33:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:45987) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nBczO-0000DO-Fu for guix-patches@gnu.org; Sun, 23 Jan 2022 08:33:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nBczO-0001Pi-Cn for guix-patches@gnu.org; Sun, 23 Jan 2022 08:33:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53471] [PATCH] gnu: Add emacs-minimap. Resent-From: Brandon Lucas Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 23 Jan 2022 13:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 53471 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53471@debbugs.gnu.org Cc: Brandon Lucas X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16429447595396 (code B ref -1); Sun, 23 Jan 2022 13:33:02 +0000 Received: (at submit) by debbugs.gnu.org; 23 Jan 2022 13:32:39 +0000 Received: from localhost ([127.0.0.1]:38890 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nBcz0-0001Oy-QJ for submit@debbugs.gnu.org; Sun, 23 Jan 2022 08:32:39 -0500 Received: from lists.gnu.org ([209.51.188.17]:39968) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nBcyy-0001Oq-NR for submit@debbugs.gnu.org; Sun, 23 Jan 2022 08:32:37 -0500 Received: from eggs.gnu.org ([209.51.188.92]:48238) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nBcyy-0002JU-9n for guix-patches@gnu.org; Sun, 23 Jan 2022 08:32:36 -0500 Received: from mail-4317.proton.ch ([185.70.43.17]:22310) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nBcyw-0008Ad-BT for guix-patches@gnu.org; Sun, 23 Jan 2022 08:32:35 -0500 Date: Sun, 23 Jan 2022 13:32:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ndon.dk; s=protonmail; t=1642944751; bh=alxhyRSoh1Iyt1qM0youc4xYEtuxde1+pI9X7x5sVRk=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:From:To:Cc; b=RwhvIuaQsX/yRW4r9B6EIg+wUGkVowk6LyQn2O9HT7dhMf7MLIjm5jMJv5Y+37uyt kuyplLzKFljz5bjUdYcuxm/4bR5s7/Mjj1pDO2y5+CHRXxwkrNQ1sYnb/1AUZ4O8e6 BfeivOKAEHSEkgJqvNrjjMhNYdj22G/q5w/yosvaqcEOq+WT+0V/RZ6LGWuB+lebk7 FZlDqjA/g8eWw3kkPNtLfb3g5za3HCD+oazxlHzy4wqOaCt60NlANsEHniOrkhCDAm t6Hj/fM9INXkcaZZItCT48tcK70qhb8XjbVrIFVc0QnEGG8xZuZ4u2zGUL3iBHHzgt z8l2QoOGDzoRQ== From: Brandon Lucas Message-ID: <20220123133204.1167960-1-br@ndon.dk> MIME-Version: 1.0 Received-SPF: pass client-ip=185.70.43.17; envelope-from=br@ndon.dk; helo=mail-4317.proton.ch 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, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: Brandon Lucas Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/emacs-xyz.scm (emacs-minimap): New variable. --- gnu/packages/emacs-xyz.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) -- 2.34.0 diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 8edbfc5a3d..2ce2b6070b 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -26678,6 +26678,36 @@ (define-public emacs-minibuffer-line variable and the @code{minibuffer-line} face.") (license license:gpl3+))) +(define-public emacs-minimap + (package + (name "emacs-minimap") + (version "1.4") + (source + (origin + (method url-fetch) + (uri (string-append + "https://elpa.gnu.org/packages/minimap-" + version + ".el")) + (sha256 + (base32 "09fm0ziy8cdzzw08l7l6p63dxz2a27p3laia2v51mvbva8177ls1")))) + (build-system emacs-build-system) + (home-page "http://elpa.gnu.org/packages/minimap.html") + (synopsis "Sidebar showing a 'mini-map' of a buffer") + (description + "Minimap provides Emacs with a minimap sidebar, which is a + smaller display of the current buffer on the side, like a scrollbar. It + highlights the currently shown region and updates its position automatically. + You can navigate in the minibar by dragging the active region with the mouse, + which will scroll the corresponding edit buffer. + Additionally, you can overlay information from the tags gathered by CEDET's + semantic analyzer. + + Use M-x minimap-mode to toggle activation of the minimap. + Use 'M-x customize-group RET minimap RET' to adapt minimap to your + needs.") + (license license:gpl3+))) + (define-public emacs-eshell-prompt-extras (package (name "emacs-eshell-prompt-extras")