From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: ynyaaa@gmail.com Newsgroups: gmane.emacs.bugs Subject: bug#46552: 27.1; image-mode should not move current point Date: Tue, 16 Feb 2021 18:21:43 +0900 Message-ID: <86v9astljs.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2051"; mail-complaints-to="usenet@ciao.gmane.io" To: 46552@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 16 10:23:32 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 1lBwZv-0000QO-Fm for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Feb 2021 10:23:31 +0100 Original-Received: from localhost ([::1]:47824 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lBwZu-0006Zf-GQ for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Feb 2021 04:23:30 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34754) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lBwZS-0006XJ-5k for bug-gnu-emacs@gnu.org; Tue, 16 Feb 2021 04:23:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56045) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lBwZR-0002Mm-UG for bug-gnu-emacs@gnu.org; Tue, 16 Feb 2021 04:23:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lBwZR-00079Q-Om for bug-gnu-emacs@gnu.org; Tue, 16 Feb 2021 04:23:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: ynyaaa@gmail.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Feb 2021 09:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46552 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.161346732327385 (code B ref -1); Tue, 16 Feb 2021 09:23:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 16 Feb 2021 09:22:03 +0000 Original-Received: from localhost ([127.0.0.1]:39358 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lBwYV-00077b-Ew for submit@debbugs.gnu.org; Tue, 16 Feb 2021 04:22:03 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:46258) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lBwYT-00077E-53 for submit@debbugs.gnu.org; Tue, 16 Feb 2021 04:22:02 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34540) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lBwYS-0005Gk-Un for bug-gnu-emacs@gnu.org; Tue, 16 Feb 2021 04:22:00 -0500 Original-Received: from mail-pj1-x1032.google.com ([2607:f8b0:4864:20::1032]:53578) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lBwYR-0001vN-4R for bug-gnu-emacs@gnu.org; Tue, 16 Feb 2021 04:22:00 -0500 Original-Received: by mail-pj1-x1032.google.com with SMTP id c19so384334pjq.3 for ; Tue, 16 Feb 2021 01:21:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=7yucQnEmk1Q6pya8+y9JoFNacXBiU2jh03m5k8hFyms=; b=ZBjWPNxEpPmzcWgn4fWv0kWBcww50dAsHstr7BuYwBild65jPkJ6StCodGfiZn+M2O 6YlNjkvDl5hWjNH2x12CVcHYUutmtSoZnzjnAcqJ8XFEegnWa/pBGWSnhvnqH2ncProm 0nesWSYYSpeAjYsMzDU0G734XH6c1Uhb+mkLWMEToSNCZOkUmppdQsbVc1UsNXtAbyqy wUEpO926HpTiSAnsSmsulzakmFjn/sjGWQG3vWOw37XwcW9XzncPDvKCQqxmRJIXQCSn G/Ow9L52icDCN4ToiO+mMzkpoYLUwuoBMbyGQ6AaK6Rz1GHsUMcHF94PWtNy1LX2izBP AQsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=7yucQnEmk1Q6pya8+y9JoFNacXBiU2jh03m5k8hFyms=; b=M6yuy1ERdpceFqkP7NSVN9x6TMryD0Z5UhG+hY87qjSP+QMcQ5dGVwkK3mqJxTfoBQ 42xPeDkuRnd290KEC+kE47/3XrVbp0u5OpN6lQRUm6t2by5/FEBmbanRgqSLuoWoU6ao 01t+fIq1CA+rW4QhpX5oCtEGfQSmLBjvzTeVJ1wTB043NBv9XJ4AhDCZ65U8QH81pQFh m2af+mShOtU+FURjehkHJABlesuY0/7LWLCWPjO5jRRiqcLMBn4b+IenWZVM1+1bLBxA hJsyVc4DHwQbeD6+asCzgLHhEsyByRrWRmyQbXuLJCjyUvk+LpDgzwf+lWb2tby6huIQ gHQg== X-Gm-Message-State: AOAM533fb4tCnpA4jebKyoW/oKRtc8ZO18rALWz3Jf59CG6DRyv3Zsdq hK541xNc5Mz/i2ChjEorNlHJcBF7sKc= X-Google-Smtp-Source: ABdhPJymhgvrgk4hOc/i3rhtv7D9wN6VEcgwEMRCNHAm7spcMLhsWCpSeqtuhwEje905sctePBnxMg== X-Received: by 2002:a17:90a:7e94:: with SMTP id j20mr3448983pjl.218.1613467316869; Tue, 16 Feb 2021 01:21:56 -0800 (PST) Original-Received: from HP (east42-p109.eaccess.hi-ho.ne.jp. [219.121.173.110]) by smtp.gmail.com with ESMTPSA id l2sm2231663pjg.50.2021.02.16.01.21.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Feb 2021 01:21:56 -0800 (PST) Received-SPF: pass client-ip=2607:f8b0:4864:20::1032; envelope-from=ynyaaa@gmail.com; helo=mail-pj1-x1032.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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:200100 Archived-At: If an image which is a binary file is opened in image-mode, the current point is moved from the beginning of the buffer to elsewhere. And if the image display is toggled off and on again, the current point is moved to the end of the buffer. Then some operations, such as image-increase-size, cause an error. Example: C-x C-f /emacs-27.1-x86_64/x86_64/share/emacs/27.1/etc/images/splash.png RET M-: (point) RET => 3 ;; check current point C-c C-c ;; change to text display M-: (point) RET => 1 :: check current point C-c C-c ;; change to image display M-: (point) RET => 25161 ;; check current point, value is EOB + ;; image-increase-size -| Error running timer ‘image--change-size’: (error "No image under point") r ;; image-rotate -| No image under point In GNU Emacs 27.1 (build 1, x86_64-w64-mingw32) of 2020-08-22 built on CIRROCUMULUS Repository revision: 86d8d76aa36037184db0b2897c434cdaab1a9ae8 Repository branch: HEAD Windowing system distributor 'Microsoft Corp.', version 10.0.18363 System Description: Microsoft Windows 10 Pro (v10.0.1909.18363.1379) Recent messages: Configured using: 'configure --without-dbus --host=x86_64-w64-mingw32 --without-compress-install 'CFLAGS=-O2 -static'' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY W32NOTIFY ACL GNUTLS LIBXML2 HARFBUZZ ZLIB TOOLKIT_SCROLL_BARS MODULES THREADS JSON PDUMPER LCMS2 GMP Important settings: value of $LANG: JPN locale-coding-system: cp932 Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort emacsbug sendmail mail-extr message rmc puny dired dired-loaddefs format-spec rfc822 mml mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search time-date subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader cl-seq image-mode exif term/bobcat help-mode easymenu cl-loaddefs cl-lib japan-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads w32notify w32 lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 52863 8451) (symbols 48 6373 1) (strings 32 17684 1753) (string-bytes 1 552218) (vectors 16 11210) (vector-slots 8 213266 11242) (floats 8 33 39) (intervals 56 268 0) (buffers 1000 13))