From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38509) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fL4l0-0003JK-5O for guix-patches@gnu.org; Tue, 22 May 2018 06:43:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fL4kz-0006PC-8J for guix-patches@gnu.org; Tue, 22 May 2018 06:43:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:35819) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fL4kz-0006P6-5B for guix-patches@gnu.org; Tue, 22 May 2018 06:43:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fL4ky-00050G-VP for guix-patches@gnu.org; Tue, 22 May 2018 06:43:04 -0400 Subject: [bug#31500] [PATCH 18/20] gnu: Add emacs-image+. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38172) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fL4k9-0002YY-MW for guix-patches@gnu.org; Tue, 22 May 2018 06:42:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fL4k8-00060g-I7 for guix-patches@gnu.org; Tue, 22 May 2018 06:42:13 -0400 Received: from mail-wm0-x22b.google.com ([2a00:1450:400c:c09::22b]:33430) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fL4k8-00060Q-CE for guix-patches@gnu.org; Tue, 22 May 2018 06:42:12 -0400 Received: by mail-wm0-x22b.google.com with SMTP id x12-v6so15689391wmc.0 for ; Tue, 22 May 2018 03:42:12 -0700 (PDT) Received: from mimimi.home (2a01cb040a37a0005adf9a0845f647b3.ipv6.abo.wanadoo.fr. [2a01:cb04:a37:a000:5adf:9a08:45f6:47b3]) by smtp.gmail.com with ESMTPSA id 67-v6sm22437230wmw.32.2018.05.22.03.42.10 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 May 2018 03:42:10 -0700 (PDT) From: Pierre Neidhardt Date: Tue, 22 May 2018 12:41:31 +0200 Message-Id: <20180522104133.26049-18-ambrevar@gmail.com> In-Reply-To: <20180522104133.26049-1-ambrevar@gmail.com> References: <20180518184910.9987-1-ambrevar@gmail.com> <20180522104133.26049-1-ambrevar@gmail.com> 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: 31500@debbugs.gnu.org * gnu/packages/emacs.scm (emacs-image+): New variable. --- gnu/packages/emacs.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 981731bd9..fbfc391f0 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -11001,3 +11001,41 @@ provided by other Emacs packages dealing with pass: - @code{auth-source-pass.el}: integration of Emacs' auth-source with @code{pass}, included in Emacs 26+).") (license license:gpl3+))) + +(define-public emacs-image+ + (package + (name "emacs-image+") + (version "20150707.916") + (source + (origin + (method url-fetch) + (uri (string-append + "https://melpa.org/packages/image+-" + version + ".el")) + (sha256 + (base32 + "0lbgqc9n2ard9nrsk9ri2jazk8l6dv2hrmi83dvsm14kfnnajdil")))) + (build-system emacs-build-system) + (propagated-inputs `(("imagemagick" ,imagemagick))) + (home-page + "https://github.com/mhayashi1120/Emacs-imagex") + (synopsis + "Image manipulate extensions for Emacs") + (description + "Type @code{C-x C-l +} to zoom-in the current image. +You can zoom-out with type @code{-}. +To manipulate a image under cursor: @code{M-x imagex-sticky-mode}. +Or to activate globally: @code{M-x imagex-global-sticky-mode}. +Or in .emacs: @code{(eval-after-load 'image+ '(imagex-global-sticky-mode 1))}. + +- @code{C-c +} / `C-c -`: Zoom in/out image. +- @code{C-c M-m}: Adjust image to current frame size. +- @code{C-c C-x C-s}: Save current image. +- @code{C-c M-r} / @code{C-c M-l}: Rotate image. +- @code{C-c M-o}: Show image @code{image+} have not modified. + +Adjusted image when open image file: @code{M-x imagex-auto-adjust-mode}. +Or in .emacs: @code{(eval-after-load 'image+ '(imagex-auto-adjust-mode 1))}. +If you do not want error message in minibuffer: @code{(setq imagex-quiet-error t)}.") + (license license:gpl3+))) -- 2.17.0