[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#31500] [PATCH 19/21] gnu: emacs-image+: New variable.
From: |
Pierre Neidhardt |
Subject: |
[bug#31500] [PATCH 19/21] gnu: emacs-image+: New variable. |
Date: |
Fri, 18 May 2018 20:48:50 +0200 |
* 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 4e0193031..5a9df8fc8 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -10998,3 +10998,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
- [bug#31500] [PATCH 19/21] gnu: emacs-image+: New variable.,
Pierre Neidhardt <=
[bug#31499] [PATCH 01/21] gnu: emacs-daemons: New variable., Clément Lassieur, 2018/05/22