From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:49460) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTOJa-00056b-Mo for guix-patches@gnu.org; Tue, 28 Apr 2020 07:23:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jTOIQ-0000kN-6E for guix-patches@gnu.org; Tue, 28 Apr 2020 07:22:14 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55844) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jTOIP-0000kI-QN for guix-patches@gnu.org; Tue, 28 Apr 2020 07:21:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jTOIP-0003tZ-Mk for guix-patches@gnu.org; Tue, 28 Apr 2020 07:21:01 -0400 Subject: [bug#40928] [PATCH 1/2] gnu: Add emacs-ryo-modal. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:49230) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTOHN-0004JL-Qh for guix-patches@gnu.org; Tue, 28 Apr 2020 07:20:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jTOFu-0001CY-Uw for guix-patches@gnu.org; Tue, 28 Apr 2020 07:19:57 -0400 Received: from mail.cock.li ([37.120.193.124]:42530) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jTOFt-0001AN-V3 for guix-patches@gnu.org; Tue, 28 Apr 2020 07:18:26 -0400 Date: Tue, 28 Apr 2020 13:18:17 +0200 From: pinoaffe Message-ID: <20200428131817.2141e9e5@airmail.cc> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 40928@debbugs.gnu.org * gnu/packages/emacs-xyz.scm (emacs-ryo-modal): New variable. --- gnu/packages/emacs-xyz.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index a0275cbe18..37521e92d0 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -22585,3 +22585,31 @@ ASCII UML sequence diagrams in Emacs, which can be embedded in source code, comments or emails.") (license license:gpl3+)))) +(define-public emacs-ryo-modal + (package + (name "emacs-ryo-modal") + (version "20191017.1323") + (source + (origin + (method url-fetch) + (uri (string-append + "https://melpa.org/packages/ryo-modal-" + version + ".el")) + (sha256 + (base32 + "0hslayyfckhirx9sk1pjdrl7acgvwj89aa5spiavz4z6a8rm17js")))) + (build-system emacs-build-system) + (home-page + "http://github.com/Kungsgeten/ryo-modal") + (synopsis "Roll your own modal mode") + (description + "ryo-modal provides a convenient way of defining modal keybindings in Emacs. +The primary way of binding keys is using `ryo-modal-key' and `ryo-modal-keys'. +Both of these functions provide useful keyword arguments. +`ryo-modal-mode' is used to toggle the modal editing environment. +ryo-modal does not come with any predefined bindings! + +If you want bindings that only should be active when the region is active, +please have a look at `selected-minor-mode' (https://github.com/Kungsgeten/selected.el).") + (license license:expat))) -- 2.26.2