From: "Štěpán Němec" <stepnem@gmail.com>
To: Juri Linkov <juri@linkov.net>
Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org
Subject: Re: Auto-resizing of images in image-mode
Date: Sun, 19 Apr 2020 08:58:01 +0200 [thread overview]
Message-ID: <87h7xg55dy.fsf@gmail.com> (raw)
In-Reply-To: <874ktg5pgt.fsf@mail.linkov.net> (Juri Linkov's message of "Sun, 19 Apr 2020 02:45:18 +0300")
On Sun, 19 Apr 2020 02:45:18 +0300
Juri Linkov wrote:
> Better would be to have two ways to view an image without the
> automatic resizing:
>
> 1. an option to disable automatic resizing permanently.
> There is already a defvar 'image-transform-resize'
> but its 'nil' value doesn't disable automatic resizing,
> so a new defcustom is needed. Please see it below.
>
> 2. an easy to type key in image-mode-map to toggle automatic resizing.
> Some programs use 'F' key for "Best Fit" but 'F' is already used
> in image-mode-map for image-goto-frame.
+1
> Also there are no keys for image-transform-fit-to-width,
> image-transform-fit-to-height and image-transform-reset.
> I thought about using a prefix key 'f', so using 'f w' to fit width,
> but 'f' is already taken too.
's' ("scale") is free, used e.g. by the imv image viewer to cycle
between different scaling modes (original size, shrink/fit to window).
--
Štěpán
next prev parent reply other threads:[~2020-04-19 6:58 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-14 18:13 Auto-resizing of images in image-mode Eli Zaretskii
2020-04-16 21:53 ` Juri Linkov
2020-04-17 6:45 ` Eli Zaretskii
2020-04-18 23:45 ` Juri Linkov
2020-04-19 6:58 ` Štěpán Němec [this message]
2020-04-19 23:17 ` Juri Linkov
2020-04-20 10:31 ` Štěpán Němec
2020-04-20 15:29 ` Eli Zaretskii
2020-04-20 23:44 ` Juri Linkov
2020-04-20 13:09 ` Stefan Monnier
2020-04-21 21:28 ` Juri Linkov
2020-04-22 5:34 ` Tassilo Horn
2020-04-19 12:34 ` Alan Third
2020-04-19 23:18 ` Juri Linkov
2020-04-19 14:06 ` Eli Zaretskii
2020-04-19 23:19 ` Juri Linkov
2020-04-19 23:58 ` Juri Linkov
2020-04-20 14:39 ` Eli Zaretskii
2020-04-20 23:43 ` Juri Linkov
2020-04-21 13:51 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h7xg55dy.fsf@gmail.com \
--to=stepnem@gmail.com \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=juri@linkov.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.