From unknown Tue Sep 23 05:03:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#46552: 27.1; image-mode should not move current point 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-GNU-PR-Keywords: To: 46552@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161346732327385 (code B ref -1); Tue, 16 Feb 2021 09:23:01 +0000 Received: (at submit) by debbugs.gnu.org; 16 Feb 2021 09:22:03 +0000 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 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 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 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 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) 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) From: ynyaaa@gmail.com 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 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-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) 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 $B!F(Bimage--change-size$B!G(B: (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)) From unknown Tue Sep 23 05:03:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#46552: 27.1; image-mode should not move current point Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Feb 2021 12:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46552 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: ynyaaa@gmail.com Cc: 46552@debbugs.gnu.org Received: via spool by 46552-submit@debbugs.gnu.org id=B46552.161347899030866 (code B ref 46552); Tue, 16 Feb 2021 12:37:02 +0000 Received: (at 46552) by debbugs.gnu.org; 16 Feb 2021 12:36:30 +0000 Received: from localhost ([127.0.0.1]:39626 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lBzag-00081l-9o for submit@debbugs.gnu.org; Tue, 16 Feb 2021 07:36:30 -0500 Received: from quimby.gnus.org ([95.216.78.240]:52402) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lBzae-00081Y-O7 for 46552@debbugs.gnu.org; Tue, 16 Feb 2021 07:36:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=gpMjeZ1UAXZGF3SUCqJe6RkdQ78McMCrs6zZuJINgP4=; b=j1Pi80wwLGzq2Xn7jUD7eQzh7M dwOEg6cyWVTuL7rn+Z5BO/rKEviBfXs98qpnsuu8oHgIeKdEZ1qocStxgaCKleShr3MCjG77Nmazr ljgHV1hw2XDrcIgh8TuQX/pMuhCGJmXllZlQGWp7QEhuP4KzUMcvL2iQxTidrd/w/ioY=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lBzaV-00051v-LL; Tue, 16 Feb 2021 13:36:22 +0100 From: Lars Ingebrigtsen References: <86v9astljs.fsf@gmail.com> X-Now-Playing: Sevdaliza's _ISON_: "Replaceable" Date: Tue, 16 Feb 2021 13:36:18 +0100 In-Reply-To: <86v9astljs.fsf@gmail.com> (ynyaaa@gmail.com's message of "Tue, 16 Feb 2021 18:21:43 +0900") Message-ID: <87blckxk8t.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: ynyaaa@gmail.com writes: > 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 : [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) ynyaaa@gmail.com writes: > Example: > C-x C-f /emacs-27.1-x86_64/x86_64/share/emacs/27.1/etc/images/splash.png = RET > M-: (point) RET > =3D> 3 ;; check current point > C-c C-c ;; change to text display > M-: (point) RET > =3D> 1 :: check current point > C-c C-c ;; change to image display > M-: (point) RET > =3D> 25161 ;; check current point, value is EOB This is most puzzling. I can reproduce this problem in Emacs 28 without a problem. But: C-c C-c runs the command image-toggle-display (found in image-minor-mode-map), which is an interactive Lisp closure in =E2=80=98image-mode.el=E2=80=99. If I instead say `M-: (image-toggle-display) RET' or even `M-: (call-interactively 'image-toggle-display) RET', I can't. And `C-c C-c' should be totally equivalent to the latter, right? So what's moving point? It must be some... hook function or something that reacts differently to the two things... but looking through the image-mode.el code, it's not obvious what that could be. Anybody got any ideas here? --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Tue Sep 23 05:03:18 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: ynyaaa@gmail.com Subject: bug#46552: closed (Re: bug#46552: 27.1; image-mode should not move current point) Message-ID: References: <83zh047zh7.fsf@gnu.org> <86v9astljs.fsf@gmail.com> X-Gnu-PR-Message: they-closed 46552 X-Gnu-PR-Package: emacs Reply-To: 46552@debbugs.gnu.org Date: Tue, 16 Feb 2021 16:25:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1613492702-13640-1" This is a multi-part message in MIME format... ------------=_1613492702-13640-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #46552: 27.1; image-mode should not move current point which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 46552@debbugs.gnu.org. --=20 46552: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D46552 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1613492702-13640-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 46552-done) by debbugs.gnu.org; 16 Feb 2021 16:24:10 +0000 Received: from localhost ([127.0.0.1]:41337 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lC390-0003Wo-AL for submit@debbugs.gnu.org; Tue, 16 Feb 2021 11:24:10 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55374) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lC38y-0003Wb-G0 for 46552-done@debbugs.gnu.org; Tue, 16 Feb 2021 11:24:08 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:54555) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lC38t-0003en-Cc; Tue, 16 Feb 2021 11:24:03 -0500 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1470 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lC38n-0006Uv-L5; Tue, 16 Feb 2021 11:24:03 -0500 Date: Tue, 16 Feb 2021 18:24:04 +0200 Message-Id: <83zh047zh7.fsf@gnu.org> From: Eli Zaretskii To: ynyaaa@gmail.com In-Reply-To: <86v9astljs.fsf@gmail.com> (ynyaaa@gmail.com) Subject: Re: bug#46552: 27.1; image-mode should not move current point References: <86v9astljs.fsf@gmail.com> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 46552-done Cc: 46552-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > From: ynyaaa@gmail.com > Date: Tue, 16 Feb 2021 18:21:43 +0900 > > > 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. The initial movement of point when visiting the image the first time is a regression in Emacs 27 due to adding the Exif support: the code which detects Exif moves point as side effect. I've now fixed that on the emacs-27 branch. Once point moves into the image data, the second "C-c C-c" moves point to EOB, because we don't let point end up inside a display property. So this part is not a separate problem, but a side effect of the first part. ------------=_1613492702-13640-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 16 Feb 2021 09:22:03 +0000 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 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 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 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 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) 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) From: ynyaaa@gmail.com To: bug-gnu-emacs@gnu.org Subject: 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 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-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) 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 $B!F(Bimage--change-size$B!G(B: (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)) ------------=_1613492702-13640-1-- From unknown Tue Sep 23 05:03:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#46552: 27.1; image-mode should not move current point Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Feb 2021 16:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46552 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: 46552@debbugs.gnu.org, ynyaaa@gmail.com Received: via spool by 46552-submit@debbugs.gnu.org id=B46552.161349315314479 (code B ref 46552); Tue, 16 Feb 2021 16:33:01 +0000 Received: (at 46552) by debbugs.gnu.org; 16 Feb 2021 16:32:33 +0000 Received: from localhost ([127.0.0.1]:41357 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lC3H6-0003lT-S1 for submit@debbugs.gnu.org; Tue, 16 Feb 2021 11:32:33 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59384) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lC3H5-0003lE-7z for 46552@debbugs.gnu.org; Tue, 16 Feb 2021 11:32:31 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:54739) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lC3H0-00053z-0p; Tue, 16 Feb 2021 11:32:26 -0500 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1987 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lC3Gs-0003g5-Cg; Tue, 16 Feb 2021 11:32:21 -0500 Date: Tue, 16 Feb 2021 18:32:26 +0200 Message-Id: <83y2fo7z39.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87blckxk8t.fsf@gnus.org> (message from Lars Ingebrigtsen on Tue, 16 Feb 2021 13:36:18 +0100) References: <86v9astljs.fsf@gmail.com> <87blckxk8t.fsf@gnus.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > From: Lars Ingebrigtsen > Date: Tue, 16 Feb 2021 13:36:18 +0100 > Cc: 46552@debbugs.gnu.org > > This is most puzzling. I can reproduce this problem in Emacs 28 without > a problem. But: > > C-c C-c runs the command image-toggle-display (found in > image-minor-mode-map), which is an interactive Lisp closure in > ‘image-mode.el’. > > If I instead say `M-: (image-toggle-display) RET' or even > `M-: (call-interactively 'image-toggle-display) RET', I can't. > > And `C-c C-c' should be totally equivalent to the latter, right? > > So what's moving point? It's the "point-adjustment" feature, which moves point out of invisible/intangible/display-property/etc text, where we don't want the user to see point, ever. Try setting global-disable-point-adjustment non-nil, and you will see what happens when this is disabled. > It must be some... hook function or something that reacts > differently to the two things... but looking through the > image-mode.el code, it's not obvious what that could be. It's not in image-mode.el, it's a general feature of Emacs not directly related to images. > Anybody got any ideas here? The point adjustment needs to decide whether to move point before or after the display property. Its logic is based on heuristics that can break/change behavior depending on how the command was invoked, because it's based on the previous value of point (if point moved forward, the logic prefers to adjust point in the forward direction, and vice versa). From unknown Tue Sep 23 05:03:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#46552: 27.1; image-mode should not move current point Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Feb 2021 16:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46552 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 46552@debbugs.gnu.org, ynyaaa@gmail.com Received: via spool by 46552-submit@debbugs.gnu.org id=B46552.161349367215465 (code B ref 46552); Tue, 16 Feb 2021 16:42:02 +0000 Received: (at 46552) by debbugs.gnu.org; 16 Feb 2021 16:41:12 +0000 Received: from localhost ([127.0.0.1]:41369 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lC3PU-00041N-FP for submit@debbugs.gnu.org; Tue, 16 Feb 2021 11:41:12 -0500 Received: from quimby.gnus.org ([95.216.78.240]:54576) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lC3PS-000411-LH for 46552@debbugs.gnu.org; Tue, 16 Feb 2021 11:41:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=eIgnUjJuCendSh0wQO7vv+hHIKIRn1IFWo0vVTV3PyU=; b=hfCDafYenS54By9PNmIESowc9O HZ4GPg21tkig43iNerdUG3Tr7HynD1SNH3SZY540I7va00reaj9ILVhtYXK0RtUJ6sOO7t8OetSPC aV572ECQ00xZZ/8VIchlSNmF0AN0mLM6Sauti7oHHWuqvIW/khO7xlrNIBqNgS2CM4Cg=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lC3PC-0006aA-Et; Tue, 16 Feb 2021 17:41:04 +0100 From: Lars Ingebrigtsen References: <86v9astljs.fsf@gmail.com> <87blckxk8t.fsf@gnus.org> <83y2fo7z39.fsf@gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAIVBMVEVYAQFZExRIAQE4 AQEkAAAcAAALAAFiAAA9DxAuEBH////9nmypAAAAAWJLR0QKaND0VgAAAAd0SU1FB+UCEBAUGm9u qTEAAAF4SURBVDjLnZNNjoMwDIWtFIntHAGFqWZb8bOYXUWdC4DdG5Q1ahc5w9x6nEBI2sJixkgg 8vFs5zkAfGgfZT2HLgCU1jUY3owbjOMmGIGvW+u0B3APGAF/q5ECqquyrkwEIVVnc2ttlihoUfQA cGhC9ZCKtG7FjBabVbEkgjzrIDtb2/rvrgFo7iaDlDeXR9j5nMkQn1omxVy5jWMEl6qU56lsyDCl YChcp/3UCsAIGAvICE0PCp8VxQSHEyhp7sBB4Vw428kN1M3VfsrKqjjrIj/Kc5hyeyfGtV3k/o5y FJovpUtKihvus04pOPQPVxrXCSINmbhEQ/3w63hbgCjU0Xv5BgaNTtmVM1hT+UsULhYwklfIu3cP OSjGORXOgCJYagQF8UtxDAB3AP4DXFKADhDGiCY6kBDaUOym8uAnBXJWVsCLJQt46mrc23mi8MDg W3E3jwBebafgbgT0mgr9ulPQc1dyhiWBibML4LtC9Aff/6Nzs+7+C5goU5g2IF0EAAAAJXRFWHRk YXRlOmNyZWF0ZQAyMDIxLTAyLTE2VDE2OjIwOjI2KzAwOjAw/0QTSQAAACV0RVh0ZGF0ZTptb2Rp ZnkAMjAyMS0wMi0xNlQxNjoyMDoyNiswMDowMI4Zq/UAAAAASUVORK5CYII= X-Now-Playing: Afrodeutsche's _Break Before Make_: "Now What" Date: Tue, 16 Feb 2021 17:40:52 +0100 In-Reply-To: <83y2fo7z39.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 16 Feb 2021 18:32:26 +0200") Message-ID: <87y2foufsb.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: > It's the "point-adjustment" feature, which moves point out of > invisible/intangible/display-property/etc text, where we don't want > the user to see point, ever. Try setting > global-disable-point- [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: > It's the "point-adjustment" feature, which moves point out of > invisible/intangible/display-property/etc text, where we don't want > the user to see point, ever. Try setting > global-disable-point-adjustment non-nil, and you will see what happens > when this is disabled. Ah! Thanks; that fixes the problem. I've now made `image-mode' set `disable-point-adjustment' buffer-locally. >> Anybody got any ideas here? > > The point adjustment needs to decide whether to move point before or > after the display property. Its logic is based on heuristics that can > break/change behavior depending on how the command was invoked, > because it's based on the previous value of point (if point moved > forward, the logic prefers to adjust point in the forward direction, > and vice versa). Right. It is pretty odd that `M-: (call-interactively 'image-toggle-display)' works differently here than `C-c C-c', but that what happens with heuristics, I guess. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Tue Sep 23 05:03:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#46552: 27.1; image-mode should not move current point Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Feb 2021 16:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46552 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 46552@debbugs.gnu.org, ynyaaa@gmail.com Received: via spool by 46552-submit@debbugs.gnu.org id=B46552.161349381115792 (code B ref 46552); Tue, 16 Feb 2021 16:44:02 +0000 Received: (at 46552) by debbugs.gnu.org; 16 Feb 2021 16:43:31 +0000 Received: from localhost ([127.0.0.1]:41382 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lC3Ri-00046e-Td for submit@debbugs.gnu.org; Tue, 16 Feb 2021 11:43:31 -0500 Received: from quimby.gnus.org ([95.216.78.240]:54606) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lC3Rg-00046C-TM for 46552@debbugs.gnu.org; Tue, 16 Feb 2021 11:43:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=5cUgQ1NiMaJFgdhmelj0UEWaoDq6wdCIEpbbOQFaMns=; b=tPJ8W7BcDVz0BOPts2sw3U8H1r 0cPdTy5YVKFGavUjVCzSxh7ukgB0ORlTs0JVl4/bvkmHcd1id1CqBGV2KHwOcNN9iHLJyojmVUSR9 y5tmUaSEUs/8ZSD47oricLWbC8Nybv19xgzBj7Bd6+vXgLtERGgb/Ibi6eFBSxYClcGQ=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lC3RY-0006ck-Is; Tue, 16 Feb 2021 17:43:22 +0100 From: Lars Ingebrigtsen References: <86v9astljs.fsf@gmail.com> <87blckxk8t.fsf@gnus.org> <83y2fo7z39.fsf@gnu.org> <87y2foufsb.fsf@gnus.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAIVBMVEVYAQFZExRIAQE4 AQEkAAAcAAALAAFiAAA9DxAuEBH////9nmypAAAAAWJLR0QKaND0VgAAAAd0SU1FB+UCEBAUGm9u qTEAAAF4SURBVDjLnZNNjoMwDIWtFIntHAGFqWZb8bOYXUWdC4DdG5Q1ahc5w9x6nEBI2sJixkgg 8vFs5zkAfGgfZT2HLgCU1jUY3owbjOMmGIGvW+u0B3APGAF/q5ECqquyrkwEIVVnc2ttlihoUfQA cGhC9ZCKtG7FjBabVbEkgjzrIDtb2/rvrgFo7iaDlDeXR9j5nMkQn1omxVy5jWMEl6qU56lsyDCl YChcp/3UCsAIGAvICE0PCp8VxQSHEyhp7sBB4Vw428kN1M3VfsrKqjjrIj/Kc5hyeyfGtV3k/o5y FJovpUtKihvus04pOPQPVxrXCSINmbhEQ/3w63hbgCjU0Xv5BgaNTtmVM1hT+UsULhYwklfIu3cP OSjGORXOgCJYagQF8UtxDAB3AP4DXFKADhDGiCY6kBDaUOym8uAnBXJWVsCLJQt46mrc23mi8MDg W3E3jwBebafgbgT0mgr9ulPQc1dyhiWBibML4LtC9Aff/6Nzs+7+C5goU5g2IF0EAAAAJXRFWHRk YXRlOmNyZWF0ZQAyMDIxLTAyLTE2VDE2OjIwOjI2KzAwOjAw/0QTSQAAACV0RVh0ZGF0ZTptb2Rp ZnkAMjAyMS0wMi0xNlQxNjoyMDoyNiswMDowMI4Zq/UAAAAASUVORK5CYII= X-Now-Playing: Afrodeutsche's _Break Before Make_: "Start Again Part Four" Date: Tue, 16 Feb 2021 17:43:19 +0100 In-Reply-To: <87y2foufsb.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 16 Feb 2021 17:40:52 +0100") Message-ID: <87tuqcufo8.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Lars Ingebrigtsen writes: > Ah! Thanks; that fixes the problem. I've now made `image-mode' set > `disable-point-adjustment' buffer-locally. Oh, I see you've already fixed this in Emacs 27 differently, so I've reverted my patch. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Lars Ingebrigtsen writes: > Ah! Thanks; that fixes the problem. I've now made `image-mode' set > `disable-point-adjustment' buffer-locally. Oh, I see you've already fixed this in Emacs 27 differently, so I've reverted my patch. (The Emacs mailing lists sure have been slow the past few days...) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Tue Sep 23 05:03:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#46552: 27.1; image-mode should not move current point Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Feb 2021 17:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46552 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: 46552@debbugs.gnu.org, ynyaaa@gmail.com Received: via spool by 46552-submit@debbugs.gnu.org id=B46552.161349507226321 (code B ref 46552); Tue, 16 Feb 2021 17:05:01 +0000 Received: (at 46552) by debbugs.gnu.org; 16 Feb 2021 17:04:32 +0000 Received: from localhost ([127.0.0.1]:41429 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lC3m4-0006qT-Bv for submit@debbugs.gnu.org; Tue, 16 Feb 2021 12:04:32 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44940) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lC3m2-0006qE-Ms for 46552@debbugs.gnu.org; Tue, 16 Feb 2021 12:04:31 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:55579) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lC3lx-0001xx-Hd; Tue, 16 Feb 2021 12:04:25 -0500 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3946 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lC3lw-0002BW-KH; Tue, 16 Feb 2021 12:04:25 -0500 Date: Tue, 16 Feb 2021 19:04:33 +0200 Message-Id: <83tuqc7xlq.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87y2foufsb.fsf@gnus.org> (message from Lars Ingebrigtsen on Tue, 16 Feb 2021 17:40:52 +0100) References: <86v9astljs.fsf@gmail.com> <87blckxk8t.fsf@gnus.org> <83y2fo7z39.fsf@gnu.org> <87y2foufsb.fsf@gnus.org> X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > From: Lars Ingebrigtsen > Cc: ynyaaa@gmail.com, 46552@debbugs.gnu.org > Date: Tue, 16 Feb 2021 17:40:52 +0100 > > Eli Zaretskii writes: > > > It's the "point-adjustment" feature, which moves point out of > > invisible/intangible/display-property/etc text, where we don't want > > the user to see point, ever. Try setting > > global-disable-point-adjustment non-nil, and you will see what happens > > when this is disabled. > > Ah! Thanks; that fixes the problem. I've now made `image-mode' set > `disable-point-adjustment' buffer-locally. Why? that's the wrong thing to do, I think. From unknown Tue Sep 23 05:03:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#46552: 27.1; image-mode should not move current point Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Feb 2021 17:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46552 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 46552@debbugs.gnu.org, ynyaaa@gmail.com Received: via spool by 46552-submit@debbugs.gnu.org id=B46552.161349537126835 (code B ref 46552); Tue, 16 Feb 2021 17:10:02 +0000 Received: (at 46552) by debbugs.gnu.org; 16 Feb 2021 17:09:31 +0000 Received: from localhost ([127.0.0.1]:41433 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lC3qt-0006yk-0F for submit@debbugs.gnu.org; Tue, 16 Feb 2021 12:09:31 -0500 Received: from quimby.gnus.org ([95.216.78.240]:54828) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lC3qr-0006yX-09 for 46552@debbugs.gnu.org; Tue, 16 Feb 2021 12:09:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=DSugptRlPDixz6nQGncnSCDUiNdqXKIZscWF5SDDSmE=; b=vLCM7kJsaCUrEDlMQ6Mt2YM/I5 XAmyD27wfJ9t+IIb+aaSdnKNr8WLmDhE1IPZxcOtkStYcbAgNFJy8Ao3oxVJ0Kwn4eY1u3WLZrYB0 oNmXz3w9NPD+xwtVoruqCp4rEkZJWZlzmr1CJKXfYzOfKs8adADKqEBg6T/NkvuaJtGA=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lC3qg-0006ml-TN; Tue, 16 Feb 2021 18:09:22 +0100 From: Lars Ingebrigtsen References: <86v9astljs.fsf@gmail.com> <87blckxk8t.fsf@gnus.org> <83y2fo7z39.fsf@gnu.org> <87y2foufsb.fsf@gnus.org> <83tuqc7xlq.fsf@gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAIVBMVEVYAQFZExRIAQE4 AQEkAAAcAAALAAFiAAA9DxAuEBH////9nmypAAAAAWJLR0QKaND0VgAAAAd0SU1FB+UCEBAUGm9u qTEAAAF4SURBVDjLnZNNjoMwDIWtFIntHAGFqWZb8bOYXUWdC4DdG5Q1ahc5w9x6nEBI2sJixkgg 8vFs5zkAfGgfZT2HLgCU1jUY3owbjOMmGIGvW+u0B3APGAF/q5ECqquyrkwEIVVnc2ttlihoUfQA cGhC9ZCKtG7FjBabVbEkgjzrIDtb2/rvrgFo7iaDlDeXR9j5nMkQn1omxVy5jWMEl6qU56lsyDCl YChcp/3UCsAIGAvICE0PCp8VxQSHEyhp7sBB4Vw428kN1M3VfsrKqjjrIj/Kc5hyeyfGtV3k/o5y FJovpUtKihvus04pOPQPVxrXCSINmbhEQ/3w63hbgCjU0Xv5BgaNTtmVM1hT+UsULhYwklfIu3cP OSjGORXOgCJYagQF8UtxDAB3AP4DXFKADhDGiCY6kBDaUOym8uAnBXJWVsCLJQt46mrc23mi8MDg W3E3jwBebafgbgT0mgr9ulPQc1dyhiWBibML4LtC9Aff/6Nzs+7+C5goU5g2IF0EAAAAJXRFWHRk YXRlOmNyZWF0ZQAyMDIxLTAyLTE2VDE2OjIwOjI2KzAwOjAw/0QTSQAAACV0RVh0ZGF0ZTptb2Rp ZnkAMjAyMS0wMi0xNlQxNjoyMDoyNiswMDowMI4Zq/UAAAAASUVORK5CYII= X-Now-Playing: Afrodeutsche's _Break Before Make_: "Hiaea" Date: Tue, 16 Feb 2021 18:09:17 +0100 In-Reply-To: <83tuqc7xlq.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 16 Feb 2021 19:04:33 +0200") Message-ID: <87im6suegy.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: >> Ah! Thanks; that fixes the problem. I've now made `image-mode' set >> `disable-point-adjustment' buffer-locally. > > Why? that's the wrong thing to do, I think. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: >> Ah! Thanks; that fixes the problem. I've now made `image-mode' set >> `disable-point-adjustment' buffer-locally. > > Why? that's the wrong thing to do, I think. I see you've fixed the exif point movement problem, but that's just one particular instance of the general problem. The user can move point into the image data, and then hit `C-c C-c', which will then move point to the end of the image (making commands like `+' no longer work). So that doesn't seem like a complete fix. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Tue Sep 23 05:03:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#46552: 27.1; image-mode should not move current point Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Feb 2021 17:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46552 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: 46552@debbugs.gnu.org, Eli Zaretskii , ynyaaa@gmail.com Received: via spool by 46552-submit@debbugs.gnu.org id=B46552.161349601127845 (code B ref 46552); Tue, 16 Feb 2021 17:21:02 +0000 Received: (at 46552) by debbugs.gnu.org; 16 Feb 2021 17:20:11 +0000 Received: from localhost ([127.0.0.1]:41455 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lC41C-0007F1-Ot for submit@debbugs.gnu.org; Tue, 16 Feb 2021 12:20:10 -0500 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:55465) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lC41B-0007Ek-3Z for 46552@debbugs.gnu.org; Tue, 16 Feb 2021 12:20:09 -0500 X-Originating-IP: 91.129.98.178 Received: from mail.gandi.net (m91-129-98-178.cust.tele2.ee [91.129.98.178]) (Authenticated sender: juri@linkov.net) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id F2300C0010; Tue, 16 Feb 2021 17:20:01 +0000 (UTC) From: Juri Linkov Organization: LINKOV.NET References: <86v9astljs.fsf@gmail.com> <87blckxk8t.fsf@gnus.org> <83y2fo7z39.fsf@gnu.org> <87y2foufsb.fsf@gnus.org> Date: Tue, 16 Feb 2021 19:17:54 +0200 In-Reply-To: <87y2foufsb.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 16 Feb 2021 17:40:52 +0100") Message-ID: <87blck0w6x.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > Right. It is pretty odd that `M-: (call-interactively > 'image-toggle-display)' works differently here than `C-c C-c', but that > what happens with heuristics, I guess. `C-c C-c' as a function `image-toggle-display' moves point to the end of the image buffer (this is the bug fixed by Eli). But when invoked via `M-: (image-toggle-display) RET', exiting the minibuffer restores the previous window configuration where point was at the beginning of the buffer, thus restoring the previous point position. This is related to bug#45072 that is a request for an option to not restore a previous window configuration after exiting the minibuffer. From unknown Tue Sep 23 05:03:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#46552: 27.1; image-mode should not move current point Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Feb 2021 17:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46552 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: 46552@debbugs.gnu.org, ynyaaa@gmail.com Received: via spool by 46552-submit@debbugs.gnu.org id=B46552.161349718529715 (code B ref 46552); Tue, 16 Feb 2021 17:40:02 +0000 Received: (at 46552) by debbugs.gnu.org; 16 Feb 2021 17:39:45 +0000 Received: from localhost ([127.0.0.1]:41483 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lC4K9-0007jC-8M for submit@debbugs.gnu.org; Tue, 16 Feb 2021 12:39:45 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57882) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lC4K7-0007iz-FS for 46552@debbugs.gnu.org; Tue, 16 Feb 2021 12:39:44 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:56821) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lC4Jz-0000wh-VH; Tue, 16 Feb 2021 12:39:37 -0500 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2126 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lC4Jz-0001cd-AV; Tue, 16 Feb 2021 12:39:35 -0500 Date: Tue, 16 Feb 2021 19:39:43 +0200 Message-Id: <83pn0z9ajk.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87im6suegy.fsf@gnus.org> (message from Lars Ingebrigtsen on Tue, 16 Feb 2021 18:09:17 +0100) References: <86v9astljs.fsf@gmail.com> <87blckxk8t.fsf@gnus.org> <83y2fo7z39.fsf@gnu.org> <87y2foufsb.fsf@gnus.org> <83tuqc7xlq.fsf@gnu.org> <87im6suegy.fsf@gnus.org> X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > From: Lars Ingebrigtsen > Cc: ynyaaa@gmail.com, 46552@debbugs.gnu.org > Date: Tue, 16 Feb 2021 18:09:17 +0100 > > The user can move point into the image data, and then hit `C-c C-c', > which will then move point to the end of the image (making commands like > `+' no longer work). If the user moves point, there won't be any reason to be surprised that commands which need point on the image don't work. Right? IOW, from the user's POV, the image is a single "cell" on display, so any forward movement of point ends up _after_ the image, where the commands like '+' aren't supposed to work. From unknown Tue Sep 23 05:03:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#46552: 27.1; image-mode should not move current point Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Feb 2021 17:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46552 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 46552@debbugs.gnu.org, ynyaaa@gmail.com Received: via spool by 46552-submit@debbugs.gnu.org id=B46552.161349731529923 (code B ref 46552); Tue, 16 Feb 2021 17:42:01 +0000 Received: (at 46552) by debbugs.gnu.org; 16 Feb 2021 17:41:55 +0000 Received: from localhost ([127.0.0.1]:41487 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lC4MF-0007mZ-LC for submit@debbugs.gnu.org; Tue, 16 Feb 2021 12:41:55 -0500 Received: from quimby.gnus.org ([95.216.78.240]:55132) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lC4MD-0007mM-Gt for 46552@debbugs.gnu.org; Tue, 16 Feb 2021 12:41:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Qn64tqKO7TdzFPkGJYQMfEGPGAJDtQEnc7AwbykZxtM=; b=s4omqzkeR4ENzJMCvaOafZIRYP X67hqrOnRNjBZSOoxNirdUcgjfplx8N/6diiUdo+FoVTjZ3iTXCTgkiLoKSOsS5vc1cKXx2fUsQX3 4fWb1Z666GKBJKupIvJqB9/xNoN3FB4ynKjeEuY7juAGQIhO8+FqkjFP6KL7qh8v+JAM=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lC4M2-00071M-25; Tue, 16 Feb 2021 18:41:46 +0100 From: Lars Ingebrigtsen References: <86v9astljs.fsf@gmail.com> <87blckxk8t.fsf@gnus.org> <83y2fo7z39.fsf@gnu.org> <87y2foufsb.fsf@gnus.org> <83tuqc7xlq.fsf@gnu.org> <87im6suegy.fsf@gnus.org> <83pn0z9ajk.fsf@gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEVGRkVJRTk5OjSS gHVAbJn///+7yQujAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+UCEBEhOBn9QFQAAAG+SURBVDjLdZTr odsgDIWFrwdA0AFAzQDhigGcmP1nqh6E+Kat8sOJPg5HYCkAAAFXpErygRho5omoMjI3sqghQQRZ Zz8wBlvhAQVcQGUfA+gKgknK0Di2BSK4ZDcAi0BRE0yeF8khblUWQrUy41ixed0T7G8wqBoobwGP ccrjKVu9gAqYB4AtKDVM4NYngsY+tgpBAUTf6eRJnqggYkA59MnMZ4tGjio5AXK8mtmiaSGwa1la bpK8SSbtG0LSY8t1A+38ji1UAoxYLsstvhOSKm7j7D/AXWy1qtv4KeB7Teax/w1Itwr7hwV3B/jF n4D+A3iC/JnXJrIXlZOdklkXydcFsLnMHqXy3UH60tS8xMwxT0BJylXQskoYcz8cyJUYsGTj2sfT QZS7amqhxqIbDoq8wPG6Xmy5/ZpAqrK2PR9o5t9dem5WlbwXUPZqjAJoKmbj5oax38XiWODmvSnF 9tbdwk/uszEeAvJwCwFiQpb+PUI++nALUxDpXo86u/25QPI5S3kOyAXQZT6OOWrVZrlcJuoF/Hn7 ECywNlvjvCZ+v66/gipzBulfwF7hG2xUNtLSpAfyPdnfiowc/QGESKt1AwBolAAAACV0RVh0ZGF0 ZTpjcmVhdGUAMjAyMS0wMi0xNlQxNzozMzo1NiswMDowMAKupxYAAAAldEVYdGRhdGU6bW9kaWZ5 ADIwMjEtMDItMTZUMTc6MzM6NTYrMDA6MDBz8x+qAAAAAElFTkSuQmCC X-Now-Playing: Julie Tippetts's _Sunset Glow_: "Now If You Remember" Date: Tue, 16 Feb 2021 18:41:40 +0100 In-Reply-To: <83pn0z9ajk.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 16 Feb 2021 19:39:43 +0200") Message-ID: <875z2rvrjf.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: > If the user moves point, there won't be any reason to be surprised > that commands which need point on the image don't work. Right? > > IOW, from the user's POV, the image is a single "cell" on disp [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: > If the user moves point, there won't be any reason to be surprised > that commands which need point on the image don't work. Right? > > IOW, from the user's POV, the image is a single "cell" on display, so > any forward movement of point ends up _after_ the image, where the > commands like '+' aren't supposed to work. I think that sounds quite surprising. There's nothing much to do in an image-mode buffer than interact with the image, and this makes interaction not work. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Tue Sep 23 05:03:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#46552: 27.1; image-mode should not move current point Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Feb 2021 17:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46552 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: 46552@debbugs.gnu.org, ynyaaa@gmail.com Received: via spool by 46552-submit@debbugs.gnu.org id=B46552.161349800330933 (code B ref 46552); Tue, 16 Feb 2021 17:54:02 +0000 Received: (at 46552) by debbugs.gnu.org; 16 Feb 2021 17:53:23 +0000 Received: from localhost ([127.0.0.1]:41492 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lC4XK-00082r-OL for submit@debbugs.gnu.org; Tue, 16 Feb 2021 12:53:22 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34434) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lC4XJ-00082e-CA for 46552@debbugs.gnu.org; Tue, 16 Feb 2021 12:53:21 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:57016) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lC4XB-0003K4-G6; Tue, 16 Feb 2021 12:53:15 -0500 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2962 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lC4XA-0002h8-FA; Tue, 16 Feb 2021 12:53:13 -0500 Date: Tue, 16 Feb 2021 19:53:18 +0200 Message-Id: <83mtw399wx.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <875z2rvrjf.fsf@gnus.org> (message from Lars Ingebrigtsen on Tue, 16 Feb 2021 18:41:40 +0100) References: <86v9astljs.fsf@gmail.com> <87blckxk8t.fsf@gnus.org> <83y2fo7z39.fsf@gnu.org> <87y2foufsb.fsf@gnus.org> <83tuqc7xlq.fsf@gnu.org> <87im6suegy.fsf@gnus.org> <83pn0z9ajk.fsf@gnu.org> <875z2rvrjf.fsf@gnus.org> X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > From: Lars Ingebrigtsen > Cc: ynyaaa@gmail.com, 46552@debbugs.gnu.org > Date: Tue, 16 Feb 2021 18:41:40 +0100 > > > IOW, from the user's POV, the image is a single "cell" on display, so > > any forward movement of point ends up _after_ the image, where the > > commands like '+' aren't supposed to work. > > I think that sounds quite surprising. There's nothing much to do in an > image-mode buffer than interact with the image, and this makes > interaction not work. But so does "C-c C-c". "If it hurts, don't do that." More importantly, I think disabling the point adjustments will cause very surprising behavior: it allows moving point many times (as many as there are bytes in the image file) without any visible effect. That's something we want very much to avoid, and it is the main reason why we have this point-adjustment feature. Disabling it is a debugging tool, not something to show to users. From unknown Tue Sep 23 05:03:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#46552: 27.1; image-mode should not move current point Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Feb 2021 17:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46552 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: 46552@debbugs.gnu.org, ynyaaa@gmail.com Received: via spool by 46552-submit@debbugs.gnu.org id=B46552.161349827531319 (code B ref 46552); Tue, 16 Feb 2021 17:58:01 +0000 Received: (at 46552) by debbugs.gnu.org; 16 Feb 2021 17:57:55 +0000 Received: from localhost ([127.0.0.1]:41496 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lC4bj-000894-9t for submit@debbugs.gnu.org; Tue, 16 Feb 2021 12:57:55 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36240) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lC4bh-00088s-SW for 46552@debbugs.gnu.org; Tue, 16 Feb 2021 12:57:54 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:57073) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lC4bc-0003qx-JS; Tue, 16 Feb 2021 12:57:48 -0500 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3250 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lC4bb-0004gt-AV; Tue, 16 Feb 2021 12:57:48 -0500 Date: Tue, 16 Feb 2021 19:57:55 +0200 Message-Id: <83k0r799p8.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87im6suegy.fsf@gnus.org> (message from Lars Ingebrigtsen on Tue, 16 Feb 2021 18:09:17 +0100) References: <86v9astljs.fsf@gmail.com> <87blckxk8t.fsf@gnus.org> <83y2fo7z39.fsf@gnu.org> <87y2foufsb.fsf@gnus.org> <83tuqc7xlq.fsf@gnu.org> <87im6suegy.fsf@gnus.org> X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > From: Lars Ingebrigtsen > Cc: ynyaaa@gmail.com, 46552@debbugs.gnu.org > Date: Tue, 16 Feb 2021 18:09:17 +0100 > > I see you've fixed the exif point movement problem, but that's just one > particular instance of the general problem. Btw, I think on master we should fix exif-parse-buffer not to move point. I didn't want risky changes on the release branch, but on master I think it would be okay, and a cleaner solution. WDYT? From unknown Tue Sep 23 05:03:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#46552: 27.1; image-mode should not move current point Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Feb 2021 18:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46552 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 46552@debbugs.gnu.org, ynyaaa@gmail.com Received: via spool by 46552-submit@debbugs.gnu.org id=B46552.161349905432543 (code B ref 46552); Tue, 16 Feb 2021 18:11:02 +0000 Received: (at 46552) by debbugs.gnu.org; 16 Feb 2021 18:10:54 +0000 Received: from localhost ([127.0.0.1]:41511 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lC4oH-0008Sp-KN for submit@debbugs.gnu.org; Tue, 16 Feb 2021 13:10:53 -0500 Received: from quimby.gnus.org ([95.216.78.240]:55346) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lC4oF-0008Sa-LK for 46552@debbugs.gnu.org; Tue, 16 Feb 2021 13:10:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=gzQhpSohOdQoYRuwqb35wlYS3zJiZh81avNMgUCStkM=; b=EZGywpZBoW4Q85PSS6KoleEAps NCOvBVRJs0BS+KzDcC9jWgvR5MRcrDGBcDtY8jhsDBBafxUYwSvElRFOEK26emDL9e62PhfmvMJj2 NZStnV4KzkDg1tKnb7NIXr86/RBUs3y4y+tcH3Y73EVpMnDd9i4NazwZIHtBT/bmC7UM=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lC4o6-0007Bv-LY; Tue, 16 Feb 2021 19:10:45 +0100 From: Lars Ingebrigtsen References: <86v9astljs.fsf@gmail.com> <87blckxk8t.fsf@gnus.org> <83y2fo7z39.fsf@gnu.org> <87y2foufsb.fsf@gnus.org> <83tuqc7xlq.fsf@gnu.org> <87im6suegy.fsf@gnus.org> <83k0r799p8.fsf@gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAGFBMVEXs1Jr967DQvo6s kVWUbjdeQC9VOSz///9RMRGeAAAAAWJLR0QHFmGI6wAAAAd0SU1FB+UCEBIGEhrFhb4AAAGKSURB VDjLlZNdbsIwDMdd4AApvUBp0Z6hzfaMGsPzpNU9wCC5/xFmJ03aaCBtllBj//A/H7ahKJ8bvATl H0HxChxyoJLf5aCKQJkc6Aj2eF6DCiOojFmDo47/22l9WsAek4DWOGcL2CEOsxJiXENwZ+UNtEyK lVTSKqMWBMcMEVRrsEVcDozYQFtrkGdTsqUKV9+iIXbHcPOjT1FN0105xoAQ0jGNRrqONOKVkIg8 gCN75GikYPKFbmiRY7PFxUSw+NNEZOVjJeDBxMA650hi5IRa8AtnJzcxkZ+NQJzZbACc7x7gMhvd ZN39Y+zrX+DmdP1m+Qp5eOxvtii33CvwCLEba/TosDUn/7AKPv2Gd87/llLGWpbwZfv3x6E7lfy6 SqdalqBqrmAsxqowMgYVDnBIhb0s7eMffWmTIgERmF1JOYcuUb6vEqiiluyxBiqBfA/ROicQj1+E tl56t1TtquFMNmqcL/0l4JIBzu+bru+LNHUzYKVGjJ88H87U7GnQA9jkwQU8sf+DH89Hr7OqjPml AAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIxLTAyLTE2VDE4OjA2OjE4KzAwOjAwjmCqwQAAACV0RVh0 ZGF0ZTptb2RpZnkAMjAyMS0wMi0xNlQxODowNjoxOCswMDowMP89En0AAAAASUVORK5CYII= X-Now-Playing: Masada's _Alef_: "Bith Aneth" Date: Tue, 16 Feb 2021 19:10:41 +0100 In-Reply-To: <83k0r799p8.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 16 Feb 2021 19:57:55 +0200") Message-ID: <87wnv7ubmm.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: > Btw, I think on master we should fix exif-parse-buffer not to move > point. I didn't want risky changes on the release branch, but on > master I think it would be okay, and a cleaner solution. > > W [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: > Btw, I think on master we should fix exif-parse-buffer not to move > point. I didn't want risky changes on the release branch, but on > master I think it would be okay, and a cleaner solution. > > WDYT? Yes, good idea. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Tue Sep 23 05:03:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#46552: 27.1; image-mode should not move current point Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Feb 2021 21:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46552 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 46552@debbugs.gnu.org, ynyaaa@gmail.com Received: via spool by 46552-submit@debbugs.gnu.org id=B46552.161351203228858 (code B ref 46552); Tue, 16 Feb 2021 21:48:02 +0000 Received: (at 46552) by debbugs.gnu.org; 16 Feb 2021 21:47:12 +0000 Received: from localhost ([127.0.0.1]:41859 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lC8Bc-0007VO-Di for submit@debbugs.gnu.org; Tue, 16 Feb 2021 16:47:12 -0500 Received: from quimby.gnus.org ([95.216.78.240]:57002) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lC8Ba-0007V9-LS for 46552@debbugs.gnu.org; Tue, 16 Feb 2021 16:47:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=lko6MhLD8tt8IYGwpXTfYCLi0BFstOwf0aqyFkWbHs8=; b=oOSbpMh1EADj6TyZmqHDHy+Fc9 RzR+Fv23gM2lfVD2zzVIO1y1PAJu9ty9z/K86PWTAhFOAZ+rGRYX8UzqN//N+KvFKtfAkhwHEPv86 51U6T95/kXe9A8kfcidPRQ+pkDvbOs++Sooo4i+dP6VdPlcLNNcTo/Ud4dEs+gDizlxE=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lC8BQ-0000jm-9A; Tue, 16 Feb 2021 22:47:03 +0100 From: Lars Ingebrigtsen References: <86v9astljs.fsf@gmail.com> <87blckxk8t.fsf@gnus.org> <83y2fo7z39.fsf@gnu.org> <87y2foufsb.fsf@gnus.org> <83tuqc7xlq.fsf@gnu.org> <87im6suegy.fsf@gnus.org> <83pn0z9ajk.fsf@gnu.org> <875z2rvrjf.fsf@gnus.org> <83mtw399wx.fsf@gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAJ1BMVEX8/PXe3tebmJ2F gYeur80cGC1EOV5hXW1YWJkyRp4rJ1oGBQv////Uy7m9AAAAAWJLR0QMgbNRYwAAAAd0SU1FB+UC EBUtNlX5ioMAAAGQSURBVDjLrdPPTsIwHAfw7Q02DZjgRSfoHV/AEC48QEey3jT7ObebKBy4EYHi 0YOx3JlQzuVAX852HQv748HE72Fp+9mvbdrUMP4vJ7dX7WYV1Nxhv18FZ7+B7XScyqn+HtNOkjXs Q78+J4QsCOn2KCxjtkI6ltGYAVD6RZq9MF4yhhBW4/jOOMdCNiid+Hj/6ckCLATnCoQM39B3hPaz lS90DiBiGnHMIYxTEBk8bQXmawCcwkUKLN4KJNwQoiIwLLhAHkwL4K3UF7kACOch6XI3ZIUKngDy pmybB5Soxwjz86ATso9ZWAaOSRh0JseLc8B8v6GULCghlKojzkAoSKOhpuAx2RJjTOqSqXNP1xjo RYS+JHkjOIWHschHg4v61wXQu1r77ktUBu4FPrtvlaAeEAIQdMpAiDNcfV+OyxWT7qsHb60iNIKJ 44O8IlwCMvfl4C4qQI0DqMvZjQtwOnCcm9Fo9NwZZWk7jvWXN2HqZ1AFZhks9bNpV4JlVE1lmRJk hVmxRnWFbemKIhzlByMhk0QfJF+TAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIxLTAyLTE2VDIxOjQ1 OjU0KzAwOjAwbZAp/QAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0wMi0xNlQyMTo0NTo1NCswMDow MBzNkUEAAAAASUVORK5CYII= X-Now-Playing: Portishead's _Glory Times (1)_: "Sheared Times" Date: Tue, 16 Feb 2021 22:46:58 +0100 In-Reply-To: <83mtw399wx.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 16 Feb 2021 19:53:18 +0200") Message-ID: <87o8gjsn1p.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: > More importantly, I think disabling the point adjustments will cause > very surprising behavior: it allows moving point many times (as many > as there are bytes in the image file) without any visibl [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: > More importantly, I think disabling the point adjustments will cause > very surprising behavior: it allows moving point many times (as many > as there are bytes in the image file) without any visible effect. Oh, definitely. I didn't realise that `disable-point-adjustment' was the thing that controlled all that -- sorry for the confusion. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no