From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#51451: image-transform-original has a misleading name Date: Wed, 27 Oct 2021 17:31:48 -0700 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31276"; mail-complaints-to="usenet@ciao.gmane.io" To: 51451@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 28 02:33:43 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mftMU-0007y3-6c for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 28 Oct 2021 02:33:42 +0200 Original-Received: from localhost ([::1]:37528 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mftMS-00075c-Ix for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 27 Oct 2021 20:33:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39644) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mftKt-0005cQ-J1 for bug-gnu-emacs@gnu.org; Wed, 27 Oct 2021 20:32:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39328) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mftKs-0003J2-SC for bug-gnu-emacs@gnu.org; Wed, 27 Oct 2021 20:32:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mftKs-0000KM-Kj for bug-gnu-emacs@gnu.org; Wed, 27 Oct 2021 20:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 Oct 2021 00:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51451 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16353811201246 (code B ref -1); Thu, 28 Oct 2021 00:32:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 28 Oct 2021 00:32:00 +0000 Original-Received: from localhost ([127.0.0.1]:50874 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mftKq-0000K2-5E for submit@debbugs.gnu.org; Wed, 27 Oct 2021 20:32:00 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:38698) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mftKo-0000Ju-HK for submit@debbugs.gnu.org; Wed, 27 Oct 2021 20:31:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39584) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mftKk-0005Yq-BV for bug-gnu-emacs@gnu.org; Wed, 27 Oct 2021 20:31:55 -0400 Original-Received: from mail-pf1-f178.google.com ([209.85.210.178]:43676) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mftKg-0003Hl-OJ for bug-gnu-emacs@gnu.org; Wed, 27 Oct 2021 20:31:52 -0400 Original-Received: by mail-pf1-f178.google.com with SMTP id 187so4288619pfc.10 for ; Wed, 27 Oct 2021 17:31:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:mime-version:date:message-id:subject:to; bh=oyzcj9018cK/IfLNvBG48ikJzUMBvZZWBycJbtzJT28=; b=0fRPMxzKu+Go5b9XIdk/99K6cTqTXBGDyx/HiGMZr6KPvujIX31JU3voANN38qtWT4 KaDeNqs9xFiZqcBwKWRsTT6B924hEP6P6AtM9gV/kKe4Y3XZokybYAJUAKb75xzNFgRf IYsIP8PuJQDHq488tcn/69CY3qimiP5AI6WR05nT+DoLFROgraf/dBsmNj1AoX4WVUUt kCv/UXa9ZpiBjnXfB44QM3lfHA/o1F2ByZFqhHoVRc/oKYnJE1a3bB9bV5aTB95lahgn hSTT6vBHEb0RywzFXMPXkgwtGnMVXX5PTELfr41iuSorCjElA5m033ytcVwPlvJHpVo+ i7uA== X-Gm-Message-State: AOAM530+8LszO+KqbVtYT85oP+jSFXUjfgM1DL3Z7LkaN5NZTjpeKvF3 Wmvv2y/tvNd5eJyAsWWxztc6502Fm1DTus5l+cG/jOtP X-Google-Smtp-Source: ABdhPJwYOEaonybgUakde9LMpp8tLHdrqg6VHlktsj2JA/erjE4CYJNgqYKVIrgHUpnfErGEWO2pqzBP9OqtMBKYTZw= X-Received: by 2002:a63:370c:: with SMTP id e12mr753897pga.359.1635381109451; Wed, 27 Oct 2021 17:31:49 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 27 Oct 2021 17:31:48 -0700 Received-SPF: pass client-ip=209.85.210.178; envelope-from=stefankangas@gmail.com; helo=mail-pf1-f178.google.com X-Spam_score_int: 13 X-Spam_score: 1.3 X-Spam_bar: + X-Spam_report: (1.3 / 5.0 requ) BAYES_50=0.8, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:218479 Archived-At: Severity: minor This is the docstring of `image-transform-original'. (image-transform-original) Display the current image with the original (actual) size and rotation. >From reading this it is clear what it does, but the command name makes it sound like it will transform the original image. These are the commands under the "s" key in image-mode: s 0 image-transform-reset s b image-transform-fit-both s f image-mode-fit-frame s h image-transform-fit-to-height s m image-transform-set-smoothing s o image-transform-original s r image-transform-set-rotation s s image-transform-set-scale s w image-transform-fit-to-width Perhaps this would be less confusing if these commands were named `image-display-*' instead of `image-transform-*'? s 0 image-display-reset-size s b image-display-fit-both s f image-mode-fit-frame s h image-display-fit-to-height s m image-display-set-smoothing s o image-display-original-size s r image-display-set-rotation s s image-display-set-scale s w image-display-fit-to-width Doesn't that make more sense?