emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#27082: closed ([PATCH] gnu: Add emacs-disable-mous


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#27082: closed ([PATCH] gnu: Add emacs-disable-mouse.)
Date: Fri, 26 May 2017 13:28:01 +0000

Your message dated Fri, 26 May 2017 15:26:59 +0200
with message-id <address@hidden>
and subject line Re: bug#27082: [PATCH] gnu: Add emacs-disable-mouse.
has caused the debbugs.gnu.org bug report #27082,
regarding [PATCH] gnu: Add emacs-disable-mouse.
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
27082: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=27082
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH] gnu: Add emacs-disable-mouse. Date: Fri, 26 May 2017 12:35:18 +0200
* gnu/packages/emacs.scm (emacs-disable-mouse): New variable.
---
 gnu/packages/emacs.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 1d537532b..09a80c1a2 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -25,6 +25,7 @@
 ;;; Copyright © 2017 Kei Kebreau <address@hidden>
 ;;; Copyright © 2017 George Clemmer <address@hidden>
 ;;; Copyright © 2017 Feng Shu <address@hidden>
+;;; Copyright © 2017 Jan Nieuwenhuizen <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -4795,3 +4796,28 @@ Emacs.")
 using ERT.  It assumes a certain test structure setup and can therefore make
 running tests easier.")
       (license license:gpl3+))))
+
+(define-public emacs-disable-mouse
+  (package
+    (name "emacs-disable-mouse")
+    (version "0.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://github.com/purcell/disable-mouse/archive/";
+             version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0haqpq23r1wx04lsqrrg3p5visg9hx5i36dg55ab003wfsrlrzbc"))))
+    (build-system emacs-build-system)
+    (home-page
+     "https://github.com/purcell/disable-mouse";)
+    (synopsis "Disable mouse commands globally")
+    (description
+     "Provides @code{disable-mouse-mode} and @code{global-disable-mouse-mode},
+pair of minor modes which suppress all mouse events by intercepting them and
+running a customisable handler command (@code{ignore} by default).
+")
+    (license license:gpl3+)))
-- 
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.com




--- End Message ---
--- Begin Message --- Subject: Re: bug#27082: [PATCH] gnu: Add emacs-disable-mouse. Date: Fri, 26 May 2017 15:26:59 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)
Marius Bakke writes:

>> +    (home-page
>> +     "https://github.com/purcell/disable-mouse";)
>
> This can be a single line.

Ok.

>> +    (description
>> +     "Provides @code{disable-mouse-mode} and 
>> @code{global-disable-mouse-mode},
>> +pair of minor modes which suppress all mouse events by intercepting them and
>> +running a customisable handler command (@code{ignore} by default).
>> +")
>   ^^^
> It would look better to move this up to the previous line IMO.

Ok.

> Other than that looks good!

Thanks, pushed as

    7a0efa77a gnu: Add emacs-disable-mouse.

janneke

-- 
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.com


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]