From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:35982) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iwE9n-00066M-Ju for guix-patches@gnu.org; Mon, 27 Jan 2020 18:51:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iwE9m-0002Qa-G1 for guix-patches@gnu.org; Mon, 27 Jan 2020 18:51:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53295) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iwE9l-0002Q2-Qt for guix-patches@gnu.org; Mon, 27 Jan 2020 18:51:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iwE9l-0000w3-QR for guix-patches@gnu.org; Mon, 27 Jan 2020 18:51:01 -0500 Subject: [bug#39320] [PATCH] gnu: Add emacs-mwim. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:35957) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iwE9g-00066C-Gq for guix-patches@gnu.org; Mon, 27 Jan 2020 18:50:57 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:44209) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iwE9g-0002LP-Bb for guix-patches@gnu.org; Mon, 27 Jan 2020 18:50:56 -0500 From: Amin Bandali Date: Mon, 27 Jan 2020 18:50:36 -0500 Message-Id: <20200127235036.14809-1-mab@gnu.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: 39320@debbugs.gnu.org Cc: Amin Bandali * gnu/packages/emacs-xyz.scm (emacs-mwim): New variable. --- gnu/packages/emacs-xyz.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index c5214405d0..18b976796f 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -21125,3 +21125,27 @@ pattern guessed from thing under current cursor position. mercury-mode provided by Emacs as a wrapper around prolog-mode.") (home-page "https://github.com/ahungry/metal-mercury-mode") (license license:gpl3+)))) + +(define-public emacs-mwim + (let ((commit "b4f3edb4c0fb8f8b71cecbf8095c2c25a8ffbf85") + (revision "0")) + (package + (name "emacs-mwim") + (version (git-version "0.4" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/alezost/mwim.el.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0l3k611gp9g2x2vfmh92wnhnda81dslpwwpb8mxmzk308man77ya")))) + (build-system emacs-build-system) + (home-page "https://github.com/alezost/mwim.el") + (synopsis "Move to the beginning/end of line, code or comment") + (description "@code{mwim} provides several commands to switch between +various line positions, like moving to the beginning/end of code, line, or +comment.") + (license license:gpl3+)))) -- 2.25.0