From unknown Tue Aug 19 10:03:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#54606: 27.1; next/previous image command in image-mode triggers tramp connections for all remote dired buffers Resent-From: Phil Sainty Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Mar 2022 10:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54606 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 54606@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16484624191557 (code B ref -1); Mon, 28 Mar 2022 10:14:02 +0000 Received: (at submit) by debbugs.gnu.org; 28 Mar 2022 10:13:39 +0000 Received: from localhost ([127.0.0.1]:57347 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nYmNW-0000P3-Dq for submit@debbugs.gnu.org; Mon, 28 Mar 2022 06:13:39 -0400 Received: from lists.gnu.org ([209.51.188.17]:42904) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nYmNU-0000Ov-7E for submit@debbugs.gnu.org; Mon, 28 Mar 2022 06:13:36 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44336) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nYmNU-0000BE-3C for bug-gnu-emacs@gnu.org; Mon, 28 Mar 2022 06:13:36 -0400 Received: from smtp-3.orcon.net.nz ([60.234.4.44]:35629) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nYmNP-0007le-7M for bug-gnu-emacs@gnu.org; Mon, 28 Mar 2022 06:13:35 -0400 Received: from [10.253.37.70] (port=48266 helo=webmail.orcon.net.nz) by smtp-3.orcon.net.nz with esmtpa (Exim 4.90_1) (envelope-from ) id 1nYmN9-0004Xs-2m for bug-gnu-emacs@gnu.org; Mon, 28 Mar 2022 23:13:16 +1300 Received: from ip-139-180-65-103.kinect.net.nz ([139.180.65.103]) via [10.253.37.253] by webmail.orcon.net.nz with HTTP (HTTP/1.1 POST); Mon, 28 Mar 2022 23:13:14 +1300 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 28 Mar 2022 23:13:14 +1300 From: Phil Sainty Message-ID: <3947f11808243544dcdd4e4d2fde4922@webmail.orcon.net.nz> X-Sender: psainty@orcon.net.nz User-Agent: Orcon Webmail X-GeoIP: -- Received-SPF: pass client-ip=60.234.4.44; envelope-from=psainty@orcon.net.nz; helo=smtp-3.orcon.net.nz X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.1 (/) 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.7 (--) In 27.1 this code is in `image-next-file'. In master it's now `image-mode--directory-buffers', but the relevant code looks the same: ;; Find a dired buffer. (dolist (buffer (buffer-list)) (with-current-buffer buffer (when (and (derived-mode-p 'dired-mode) (equal (file-truename dir) (file-truename default-directory))) That call to (file-truename default-directory) for each dired buffer can cause tramp to spin up for closed connections for entirely irrelevant dired buffers. Can we put some guards in there to decide whether or not dir and default-directory are actually on the same host before comparing them via file-truename? -Phil (who is simply testing (not (file-remote-p default-directory)) as an interim fix) In GNU Emacs 27.1 (build 2, x86_64-pc-linux-gnu, X toolkit, Xaw scroll bars) of 2020-08-20 built on mts-devtools Windowing system distributor 'The X.Org Foundation', version 11.0.12008000 System Description: Ubuntu 18.04.3 LTS Recent messages: Copying /tmp/tramp.XFX7Dz.elcNyCbqo to /sudo:root@mts-devtools:/usr/local/share/emacs/27.1/lisp/image-mode.elcNyCbqo...done Renaming /sudo:root@mts-devtools:/usr/local/share/emacs/27.1/lisp/image-mode.elcNyCbqo to /sudo:root@mts-devtools:/usr/local/share/emacs/27.1/lisp/image-mode.elc...done Wrote /sudo:root@mts-devtools:/usr/local/share/emacs/27.1/lisp/image-mode.elc Wrote /sudo:root@mts-devtools:/usr/local/share/emacs/27.1/lisp/image-mode.{el,elc} Making completion list... Loading /sudo:root@mts-devtools:/usr/local/share/emacs/27.1/lisp/image-mode.elc... Copying /sudo:root@mts-devtools:/usr/local/share/emacs/27.1/lisp/image-mode.elc to /tmp/tramp.vr7HOL.elc...done Loading /sudo:root@mts-devtools:/usr/local/share/emacs/27.1/lisp/image-mode.elc...done Hunk already applied Mark set [2 times] Configured using: 'configure --with-x-toolkit=lucid --without-sound' Configured features: XPM JPEG TIFF GIF PNG RSVG DBUS GSETTINGS GLIB NOTIFY INOTIFY GNUTLS LIBXML2 FREETYPE HARFBUZZ XFT ZLIB TOOLKIT_SCROLL_BARS LUCID X11 XDBE XIM MODULES THREADS PDUMPER LCMS2 GMP Important settings: value of $LC_MONETARY: en_NZ.UTF-8 value of $LC_NUMERIC: en_NZ.UTF-8 value of $LC_TIME: en_NZ.UTF-8 value of $LANG: en_NZ.UTF-8 locale-coding-system: utf-8 Major mode: Emacs-Lisp Minor modes in effect: hi-lock-mode: t global-magit-file-mode: t goto-address-prog-mode: t elisp-slime-nav-mode: t hl-sexp-mode: t lexbind-mode: t idle-highlight-mode: t minibuffer-line-mode: t global-edit-server-edit-mode: t savehist-mode: t magit-wip-before-change-mode: t magit-wip-after-apply-mode: t magit-wip-after-save-mode: t global-git-commit-mode: t magit-auto-revert-mode: t shell-dirtrack-mode: t async-bytecomp-package-mode: t my-contextual-help-mode: t global-so-long-mode: t show-paren-mode: t my-visible-bell-mode: t cua-mode: t global-display-fill-column-indicator-mode: t display-fill-column-indicator-mode: t minibuffer-depth-indicate-mode: t which-key-mode: t winner-mode: t global-subword-mode: t subword-mode: t global-hl-line-mode: t hl-line-mode: t display-time-mode: t keep-buffers-mode: t fic-mode: t my-keys-local-minor-mode: t auto-compile-on-load-mode: t auto-compile-on-save-mode: t auto-compile-mode: t url-handler-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: /home/vagrant/.emacs.d/el-get/scratch/el-get hides /home/vagrant/.emacs.d/el-get/el-get/el-get /home/vagrant/.emacs.d/my-lisp/so-long hides /usr/local/share/emacs/27.1/lisp/so-long /home/vagrant/.emacs.d/lisp/python hides /usr/local/share/emacs/27.1/lisp/progmodes/python Features: (shadow emacsbug sendmail tramp-adb tramp-archive tramp-ftp tramp-gvfs edebug image-file dabbrev image-dimensions-minor-mode image-mode exif mhtml-mode debug backtrace magit-ediff calc-alg calc-ext calc-menu calc calc-loaddefs calc-macs find-file diff-hl-flydiff diff-hl vc-dir ewoc flyspell sockit web-mode rfc2104 tramp-cmds wdired nroff-mode sort align tramp-sh repeat ispell css-mode sgml-mode git-rebase js hippie-exp log-view ediff ediff-merg ediff-mult ediff-wind ediff-diff ediff-help ediff-init ediff-util magit-submodule cua-rect vc-annotate vc vc-dispatcher markdown-mode mail-extr magit-extras shr-color color url-file url-dired adaptive-wrap eww mm-url gnus nnheader url-queue shr svg dom php-local-manual bug-reference gitconfig-mode conf-mode compare-w mm-archive gnutls network-stream url-cache url-dav wgrep find-dired ido find-file-in-project etags-select sh-script ruby-mode smie face-remap two-column iso-transl php-extras-eldoc-functions sql-upcase sql view php-eldoc my-drupal grep scroll-lock drush-php psysh php-mode mode-local cc-langs php-face php php-project flymake-proc flymake cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs docker-tramp tramp-cache tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat parse-time iso8601 ls-lisp pp cl-print mule-util imenu man term disp-table ehelp warnings winnow compile eieio-opt speedbar sb-image ezimage dframe loadhist ibuf-ext ibuffer ibuffer-loaddefs help-fns hi-lock misearch multi-isearch executable finder finder-inf find-func skeleton dired-aux magit-obsolete magit-blame magit-stash magit-bisect magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-collab ghub url-http url-gw nsm url-auth url url-proxy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap let-alist magit-files magit-refs magit-status magit magit-repos magit-apply autoinsert goto-addr project-local-variables elisp-slime-nav etags fileloop generator xref project hl-sexp lexbind-mode idle-highlight-mode rx tabify minibuffer-line edit-server my-org my-projects my-session savehist desktop frameset my-theme zenburn-theme my-mail autoloads my-libraries sudo my-version-control magit-wip magit-log magit-diff smerge-mode diff git-commit log-edit message rmc puny rfc822 mml mml-sec epa epg epg-config gnus-util rmail rmail-loaddefs text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log magit-core magit-autorevert autorevert filenotify magit-process with-editor shell pcomplete comint server ansi-color magit-margin magit-mode magit-git magit-section magit-utils crm magit-popup pcase async-bytecomp async format-spec dash my-text my-programming my-python so-long my-whitespace ws-trim my-rectangles my-utilities browse-kill-ring my-configuration cus-edit cus-start cus-load wid-edit dired-details dired-x highlight-parentheses paren url-privacy delight delsel cua-base ffap display-fill-column-indicator mb-depth which-key framemove windmove winner ring cap-words superword subword hl-line time my-externals .loaddefs windcycle transpose-frame simple-wiki derived sdcv-mode noutline outline sauron rainbow-mode notify dbus xml multiple-cursors mc-separate-operations rectangular-region-mode mc-mark-pop mc-mark-more thingatpt mc-cycle-cursors mc-edit-lines multiple-cursors-core rect mo-git-blame keep-buffers iedit fic-mode dtrt-indent browse-at-remote vc-git diff-mode easy-mmode s el-get cl-extra help-mode autoload radix-tree lisp-mnt cl dired dired-loaddefs my-elpa my-local my-keybindings edmacro kmacro jka-compr auto-compile packed etags-select-autoloads info project-local-variables-autoloads advice wtf-autoloads package easymenu browse-url url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd 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 dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 6395697 774980) (symbols 48 99712 1) (strings 32 264602 49924) (string-bytes 1 13742442) (vectors 16 478511) (vector-slots 8 5272375 517538) (floats 8 2334 4710) (intervals 56 1397671 5095) (buffers 1000 1327)) From unknown Tue Aug 19 10:03:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#54606: 27.1; next/previous image command in image-mode triggers tramp connections for all remote dired buffers Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 Mar 2022 13:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54606 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Phil Sainty Cc: Michael Albinus , 54606@debbugs.gnu.org Received: via spool by 54606-submit@debbugs.gnu.org id=B54606.164855900719423 (code B ref 54606); Tue, 29 Mar 2022 13:04:02 +0000 Received: (at 54606) by debbugs.gnu.org; 29 Mar 2022 13:03:27 +0000 Received: from localhost ([127.0.0.1]:60166 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZBVP-00053D-45 for submit@debbugs.gnu.org; Tue, 29 Mar 2022 09:03:27 -0400 Received: from quimby.gnus.org ([95.216.78.240]:60262) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZBVN-000530-6g for 54606@debbugs.gnu.org; Tue, 29 Mar 2022 09:03:25 -0400 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=lgtE+fMquWrCYimQDyQeVO3szR2srUmHk2pGEAH0/z0=; b=ShLQwlCvz7+oZEDd81syhDZPP2 wEwynKMcWZMaE2VXFXK7UuREACYUVEYQmy4wbtT9/n+gdq6+agXOxCuRKv6FmjEZX+zwf42365462 7XoVELrmiMkoVR1kyiPjQYyBBd1GBYQNWyfAavsvKtOQdiSB5Nj//la/pXqkFGoK0klo=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nZBVE-00034f-Du; Tue, 29 Mar 2022 15:03:19 +0200 From: Lars Ingebrigtsen References: <3947f11808243544dcdd4e4d2fde4922@webmail.orcon.net.nz> Date: Tue, 29 Mar 2022 15:03:14 +0200 In-Reply-To: <3947f11808243544dcdd4e4d2fde4922@webmail.orcon.net.nz> (Phil Sainty's message of "Mon, 28 Mar 2022 23:13:14 +1300") Message-ID: <87v8vwap2l.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.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: Phil Sainty writes: > ; ; Find a dired buffer. > (dolist (buffer (buffer-list)) > (with-current-buffer buffer > (when (and (derived-mode-p 'dired-mode) > (equal (file-truename dir) > (file-truename default-directory))) > [...] 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: -2.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: -3.3 (---) Phil Sainty writes: > ;; Find a dired buffer. > (dolist (buffer (buffer-list)) > (with-current-buffer buffer > (when (and (derived-mode-p 'dired-mode) > (equal (file-truename dir) > (file-truename default-directory))) > > That call to (file-truename default-directory) for each dired > buffer can cause tramp to spin up for closed connections for > entirely irrelevant dired buffers. > > Can we put some guards in there to decide whether or not dir > and default-directory are actually on the same host before > comparing them via file-truename? Hm. Would binding `non-essential' around that call fix the issue? (I've added Michael to the CCs.) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Tue Aug 19 10:03:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#54606: 27.1; next/previous image command in image-mode triggers tramp connections for all remote dired buffers Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 Mar 2022 13:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54606 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: Phil Sainty , 54606@debbugs.gnu.org Received: via spool by 54606-submit@debbugs.gnu.org id=B54606.164855938720180 (code B ref 54606); Tue, 29 Mar 2022 13:10:02 +0000 Received: (at 54606) by debbugs.gnu.org; 29 Mar 2022 13:09:47 +0000 Received: from localhost ([127.0.0.1]:60203 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZBbX-0005FP-AF for submit@debbugs.gnu.org; Tue, 29 Mar 2022 09:09:47 -0400 Received: from mout.gmx.net ([212.227.17.22]:59561) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZBbV-0005FA-Hr for 54606@debbugs.gnu.org; Tue, 29 Mar 2022 09:09:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1648559372; bh=YeAWqi0OSqdMfqvOwSMLwQCDjpez4y1JZi49gXxxC2s=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=KaCVAC+/I+G1+aua14+mhYtKtpipcfziwcLky8t0grQLHjZpuldKl2fONnQBKMsu2 vsLCZzjoYCspMCIerl3S3RrP84EbWQhYEEBUmBe8y7ON0dZzYVm1KsOO6nUPCJs5+V pqFIVfxgYVcaP95uAr4ri0ma/PnZJB9bYQ98u7Hw= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from gandalf.gmx.de ([213.220.156.255]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N0X8u-1nwVLc2Ju8-00wYqJ; Tue, 29 Mar 2022 15:09:32 +0200 From: Michael Albinus References: <3947f11808243544dcdd4e4d2fde4922@webmail.orcon.net.nz> <87v8vwap2l.fsf@gnus.org> Date: Tue, 29 Mar 2022 15:09:31 +0200 In-Reply-To: <87v8vwap2l.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 29 Mar 2022 15:03:14 +0200") Message-ID: <878rssaos4.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:h4VXaOxZB8NVyhhJXPAWe2bfSbTjaqKNgMo5A9XT6TOzhS/YeY9 3tkuFFt91iC+YOBtjUD4Q+x0XXm5hXxBF7gNrX2fBc4eOZeCXZDEqRUOz0IBraaj8FZKGZ/ PbqEFcwjKiQV79NU8fGOGo7vpx1+c7FXfZRKaEMnpNR2HlsO/2lFff4zrju+9YhZjWbzVVA fFxuX259GX5vNsw9P4y2A== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:HP+01F4Dxwk=:OdZKIdjhGqWLNxMFk9AaFk FJeGymjWURlN4qvIl42GhJoMtOBA497XeCUM+8RYLoq00c7vYmQ8EgG1GSkn9O37gfrYcEz18 ESKJzMiA8yh+6g2i3ItdOUvB+xal7fN8lr5bxwSzaAE9SA7kA1+fBrcbsjaX8VKIk61vUWUyY Y3nDUK9RmQeshwM7uFNdgUm1JT6Fg38Ews4XcE9lkXCZ2RWK5WgZmX6FK+u3H5CV/k5W/JL3f JGUd/Fpwx8Z8ohwy8dMCWcKXHaGXiaki6Z4+K6BYMgQ6ER5zn+FY00n1+nwbB74bJE/0CbVri 4ZuEHjaSTMqc3dAzsn6+Ctm9osAyyGj5QKxPy0jks7H9VQPguQTe/we103lztwD0sUqkn8LhA 4QORPeba7Npbmg1jnD2e/VYw9MSMsr8S84zClo7krd/NyxXlUVJNIxHa9RnvI8pzEZQ5HzPro 6oLIVPRO9CIRsQgMoO5IbkZvWiH/98b0/eEuSc04aybnLTEDT/6j/FoIKf0W8BMhp/yHgqyTV Mani/B1Yzp9xYjikLMJ5VRFZAB2eKUMR7r+47sorGltFwprUHj4AMccgqiSzLj5qXf4WK14u7 Zq+ITHj6XMqma6fXAqT8ch2VwVKO4rDO2+35JrbwWJyhU7grntA6/AV04cVjqpLq1Ar750Ee5 e+M8RsR/hG6eMyzFszV+YxskbOd7GOGVS/lEtmuA2e2vYGdMMK4cmgKaH64CEhr8V0jKylN+O suERoWza7nl227ON8nEkjY044RElpupLn3b62QMbbmRKwRDJXBGN+sbzSFDscDDzCHub7wFxu YF1StcqEf/A0ASzJ8FrHIJzPKNJ/JdrDtb4jEXEcZexoXu6TehC0iHGHJx3P2wE6XaQvU4Jt6 v+9NUuhBMK60xuNDvcvXnCPYZvuY0MZqgmOPlU90zFSN3XIvjT38WqJ6K4rtNewnFGgQWSxb+ joP4IGMY8lZTfsr7DKNWrOsfjpkarcQfnrMzwwAPR6YqdRV2/2UI4LWVsVPRYycl0ltNPD8eV q8YADKEj74WzQ/k2NhSmYe8+evHpMUY3t3Qaf9q/61U25Li3N8jbtzcVqx5NhR6OVEgkZo0An ECyIoK++YCFz6I= 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 (-) Lars Ingebrigtsen writes: > Phil Sainty writes: > >> ;; Find a dired buffer. >> (dolist (buffer (buffer-list)) >> (with-current-buffer buffer >> (when (and (derived-mode-p 'dired-mode) >> (equal (file-truename dir) >> (file-truename default-directory))) >> >> That call to (file-truename default-directory) for each dired >> buffer can cause tramp to spin up for closed connections for >> entirely irrelevant dired buffers. >> >> Can we put some guards in there to decide whether or not dir >> and default-directory are actually on the same host before >> comparing them via file-truename? > > Hm. Would binding `non-essential' around that call fix the issue? (I've > added Michael to the CCs.) That's my expectation. It's on my TODO to test, but I'm occupied yet. Hope to fix this later this week. But of course you can beat me :-) Best regards, Michael. From unknown Tue Aug 19 10:03:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#54606: 27.1; next/previous image command in image-mode triggers tramp connections for all remote dired buffers Resent-From: Phil Sainty Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Mar 2022 11:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54606 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Michael Albinus Cc: Lars Ingebrigtsen , 54606@debbugs.gnu.org Received: via spool by 54606-submit@debbugs.gnu.org id=B54606.164864061226265 (code B ref 54606); Wed, 30 Mar 2022 11:44:01 +0000 Received: (at 54606) by debbugs.gnu.org; 30 Mar 2022 11:43:32 +0000 Received: from localhost ([127.0.0.1]:34699 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZWjc-0006pZ-2u for submit@debbugs.gnu.org; Wed, 30 Mar 2022 07:43:32 -0400 Received: from smtp-3.orcon.net.nz ([60.234.4.44]:48087) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZWjZ-0006pP-U3 for 54606@debbugs.gnu.org; Wed, 30 Mar 2022 07:43:30 -0400 Received: from [10.253.37.70] (port=34769 helo=webmail.orcon.net.nz) by smtp-3.orcon.net.nz with esmtpa (Exim 4.90_1) (envelope-from ) id 1nZWjT-0007el-Sz; Thu, 31 Mar 2022 00:43:24 +1300 Received: from ip-139-180-65-103.kinect.net.nz ([139.180.65.103]) via [10.253.37.253] by webmail.orcon.net.nz with HTTP (HTTP/1.1 POST); Thu, 31 Mar 2022 00:43:23 +1300 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 31 Mar 2022 00:43:23 +1300 From: Phil Sainty In-Reply-To: <878rssaos4.fsf@gmx.de> References: <3947f11808243544dcdd4e4d2fde4922@webmail.orcon.net.nz> <87v8vwap2l.fsf@gnus.org> <878rssaos4.fsf@gmx.de> Message-ID: X-Sender: psainty@orcon.net.nz User-Agent: Orcon Webmail X-GeoIP: -- X-Spam_score: -2.9 X-Spam_score_int: -28 X-Spam_bar: -- 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 (-) On 2022-03-30 02:09, Michael Albinus wrote: > Lars Ingebrigtsen writes: >> Phil Sainty writes: >>> That call to (file-truename default-directory) for each dired >>> buffer can cause tramp to spin up for closed connections for >>> entirely irrelevant dired buffers. >> >> Hm. Would binding `non-essential' around that call fix the issue? > > That's my expectation. It's on my TODO to test, but I'm occupied yet. > Hope to fix this later this week. I've just tested with this, and it solves the immediate problem, but it's slow. In my test case it's taking ~2s to switch between images, whereas it takes only a fraction of a second when I'm ignoring remote dired buffers by adding (not (file-remote-p default-directory)) to the conditions. I have 15 remote dired buffers (about half of which are using multi- hops), which isn't a small number but also isn't big, so I think that `non-essential' seems inadequate here (unless this is significantly more efficient in newer versions). -Phil From unknown Tue Aug 19 10:03:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#54606: 27.1; next/previous image command in image-mode triggers tramp connections for all remote dired buffers Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Mar 2022 11:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54606 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Phil Sainty Cc: Lars Ingebrigtsen , 54606@debbugs.gnu.org Received: via spool by 54606-submit@debbugs.gnu.org id=B54606.164864113527194 (code B ref 54606); Wed, 30 Mar 2022 11:53:02 +0000 Received: (at 54606) by debbugs.gnu.org; 30 Mar 2022 11:52:15 +0000 Received: from localhost ([127.0.0.1]:34708 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZWs3-00074Y-5o for submit@debbugs.gnu.org; Wed, 30 Mar 2022 07:52:15 -0400 Received: from mout.gmx.net ([212.227.17.20]:54243) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZWs0-00074J-Cd for 54606@debbugs.gnu.org; Wed, 30 Mar 2022 07:52:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1648641119; bh=xeShZOYlavQzFOGvDxnPIKEZ+vtTnlxbXE/ccJ56N50=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=LkERQ4JTxpPTqv9GNII31CcDQm8JvV+P7AjVyjURFVVViAhEqYB5xlPlQX+AKqREL Vi77jQSB1zDK++R90u6VrHBHlPkeGP9OCAXg8js4FsFB6Eluuf8PT1PDTY4BsMKhJ6 x8U4zkRaJUCKK74itwsRSFmEBCHTL2QZ3hI96Yfw= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from gandalf.gmx.de ([213.220.151.59]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N1OXT-1o34FQ0cot-012l8C; Wed, 30 Mar 2022 13:51:59 +0200 From: Michael Albinus References: <3947f11808243544dcdd4e4d2fde4922@webmail.orcon.net.nz> <87v8vwap2l.fsf@gnus.org> <878rssaos4.fsf@gmx.de> Date: Wed, 30 Mar 2022 13:51:57 +0200 In-Reply-To: (Phil Sainty's message of "Thu, 31 Mar 2022 00:43:23 +1300") Message-ID: <87mth7bqua.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Provags-ID: V03:K1:19OtnDZvlOJLkdp5QREDMqiZMBVgz4RTrRB2YABEJH/Vw4KwcnV noQgmMtwEAfYr2OI4a0xAP4U2Rb/C1pSljUIrrrdb0np7lft8JNaz5XlaF5fS1axEnMPS0J F+42Su6/QOkrw86PG8Y1N51s77FQhMWJn+/xxKAS5OsaIiBU/Kaj1ARe/5FSTPRDhJNWaHd 6ET8vXMkG3gdo+3vDKgSQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:hUBu7g+dKGE=:V2W+PqP8E+pvUVP6YLhG9h yem4yNjZ1/X4cXtfHob8nBwC1kG0vXOmgl+tkWq1SIPUbeO5hwWZ0zWU+l/RNIUi7IefYD+HP T6SDRwi2vH7PmFQPB2V6R0Gi/jcQrlTAseI1BscVaUzGldFfghbC7Mh5ZQDjemhK3WlgNJtGC qUhyHiHbIMte9GysScNhjC8c+UbhqRIUF3ZAiUsItWYYSBnktEtTGntGw5Y9FdCfv4KVR5iKE 6RusLqzTuvid04kWFWDdRx6lHBzoVByc/9E/KGPl9QcatSjRB7E/kk3yscdAkgvwl2kz8OEbj y5R0P08V1h9Jimti+WDCE9cfPCp/oSNcmjdP9JaQNLiLXGKE+AZ4SJqscmUFJR8wssM4XwdXf 1ymN7Kxuug/CAQTvBeNbBvgiZtRns3aVZOGCjK5m5QeqfqsHDCFVZ8wtf+7csx24GvOsJ0JKn XqAIwg8hu1aT4iqbp/C6o/taS01jqWO4PHG3tyokgD58VQhNbBKAttWwSc9z3jPgcCDFbPfly gAv8WaMexmFjQB7Ez1ljRgo6xg9TPP66hnWOThZi5wpL/DKawuuTtG4fiV0aRsWa7u6PZco8x DutiysAOx2t3q0Q+KjfT8gd4mGtcez+TX8EWOhcr2sbh0VWEaxp/k0DcmJAFvH8PIIIs4+JJ6 l8j8k86VxnH4v1Z8Bf5yWQhvZ0/3YZOF6S6rgq2MVacV64TM87Ew9RpC45rZ8obB0wsFLjJl4 UllPmIIBxQKpXCf99ZQegxm0vnm4ldf17YLzM5KEiCmKoXFsagpCszZYWKrR7biz7IBbdEYqP 4XEgQr1QbOyxa2Lx/+eBYLEvtdDDgt+f2w0o50kXe5Pgicq7m6QY6mZ660k+CqkAaSQBmHJV9 KD/V8pz8VPaHjSYD2QiJBujS9CF3B/V7mCamOsQZpab80Tg2d7mDYPApvKH1go4rqj8nkiFOI IJHGnEg/wUrVWDjk7r+/yssXj5O1+l4ZfiSWzqi5tWkkdA1SfMhYoxhY4QZvX6GWUH+cFyY4R +DLz/yJGFFrJ6ZyLEzPR70dntLDDmwBW5rZoo3gFlvHwcy8vDMY1qj7QnvuFYcr/tY/pNAr/B rLJXgCKSPPG7i8= 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 (-) --=-=-= Content-Type: text/plain Phil Sainty writes: Hi Phil, > I've just tested with this, and it solves the immediate problem, but > it's slow. In my test case it's taking ~2s to switch between images, > whereas it takes only a fraction of a second when I'm ignoring remote > dired buffers by adding (not (file-remote-p default-directory)) to > the conditions. > > I have 15 remote dired buffers (about half of which are using multi- > hops), which isn't a small number but also isn't big, so I think that > `non-essential' seems inadequate here (unless this is significantly > more efficient in newer versions). There is also a change in Tramp of Emacs master, which is relevant in this context. Do you have a chance to test that Emacs version? Otherwise, does the appended patch for Emacs 27 make a difference? I haven't tested it with Emacs 27, though. > -Phil Best regards, Michael. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment *** /tmp/ediffwcSDZb 2022-03-30 13:50:29.736061472 +0200 --- /home/albinus/src/emacs-27/lisp/net/tramp-sh.el 2022-03-30 13:50:18.051914192 +0200 *************** *** 4958,4963 **** --- 4958,4964 ---- ;; If Tramp opens the same connection within a short time frame, ;; there is a problem. We shall signal this. (unless (or (process-live-p p) + (and (processp p) (not non-essential)) (not (tramp-file-name-equal-p vec (car tramp-current-connection))) (time-less-p --=-=-=-- From unknown Tue Aug 19 10:03:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#54606: 27.1; next/previous image command in image-mode triggers tramp connections for all remote dired buffers Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Mar 2022 12:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54606 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Phil Sainty Cc: Michael Albinus , 54606@debbugs.gnu.org Received: via spool by 54606-submit@debbugs.gnu.org id=B54606.164864182028288 (code B ref 54606); Wed, 30 Mar 2022 12:04:02 +0000 Received: (at 54606) by debbugs.gnu.org; 30 Mar 2022 12:03:40 +0000 Received: from localhost ([127.0.0.1]:34721 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZX36-0007MC-6G for submit@debbugs.gnu.org; Wed, 30 Mar 2022 08:03:40 -0400 Received: from quimby.gnus.org ([95.216.78.240]:42428) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZX34-0007Lz-6H for 54606@debbugs.gnu.org; Wed, 30 Mar 2022 08:03:38 -0400 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=4LBq3SApmM9tf2KZewTsum7UpLMA8eYc3B4Huym64xQ=; b=e9UCPWm8LYDmvJAgTegmrCYvpl 86T7THaRf6OlwgvZeC44zbMqaYzWNaYeG59SokdtDkUSHmDIX+4vt9ujn3hZVdPhM52FS9PxP2qcB 1JfjraLcp16Kai2Qx4yR3IhfDAxiTa8oX55w9WytKM6v3DTcT3Wdh/90298bIYgY6j3U=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nZX2t-0007Xl-Op; Wed, 30 Mar 2022 14:03:30 +0200 From: Lars Ingebrigtsen References: <3947f11808243544dcdd4e4d2fde4922@webmail.orcon.net.nz> <87v8vwap2l.fsf@gnus.org> <878rssaos4.fsf@gmx.de> Date: Wed, 30 Mar 2022 14:03:26 +0200 In-Reply-To: (Phil Sainty's message of "Thu, 31 Mar 2022 00:43:23 +1300") Message-ID: <87r16j8x69.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.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: Phil Sainty writes: > I've just tested with this, and it solves the immediate problem, but > it's slow. In my test case it's taking ~2s to switch between images, > whereas it takes only a fraction of a second when I'm ig [...] 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: -2.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: -3.3 (---) Phil Sainty writes: > I've just tested with this, and it solves the immediate problem, but > it's slow. In my test case it's taking ~2s to switch between images, > whereas it takes only a fraction of a second when I'm ignoring remote > dired buffers by adding (not (file-remote-p default-directory)) to > the conditions. Perhaps the n/p commands should just be changed. It's really unusual to have several dired buffers open to the same directory, and the dired buffer we're interested in is usually the one we were in when we started to view the image. So perhaps image-mode should just note the dired buffer it's "called from" (or determine that on startup), and then save that in a buffer-local variable, and just use that buffer? (Recomputing the buffer if it's killed.) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Tue Aug 19 10:03:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#54606: 27.1; next/previous image command in image-mode triggers tramp connections for all remote dired buffers Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 31 Mar 2022 09:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54606 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Phil Sainty Cc: 54606@debbugs.gnu.org Received: via spool by 54606-submit@debbugs.gnu.org id=B54606.164872008030887 (code B ref 54606); Thu, 31 Mar 2022 09:48:01 +0000 Received: (at 54606) by debbugs.gnu.org; 31 Mar 2022 09:48:00 +0000 Received: from localhost ([127.0.0.1]:37929 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZrPM-000824-5o for submit@debbugs.gnu.org; Thu, 31 Mar 2022 05:48:00 -0400 Received: from mout.gmx.net ([212.227.17.21]:51535) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZrPJ-00081E-EQ for 54606@debbugs.gnu.org; Thu, 31 Mar 2022 05:47:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1648720064; bh=ugY4N2iPW/vfmf2wCr6WvjCCdVhe65Ky44JEVJeonIY=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=RkzqKIHEDr7iOx9PL4Up1aUXl7PHY5r36E/RbvFWwQ4Eqd2M80O15JcyJZz0N9YXY UZU3VcaAfnyvSLqXt+BDP1A7wdg55Xq1BH3WHqPAXyNtyKFxAwwrtgdLwrm16UB2zx Bixp30DoHtrDJ1rgAbeqsG/qorffOyX2yZ2ftR2k= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from gandalf.gmx.de ([213.220.151.59]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N5mKJ-1o791H07vH-017FoI; Thu, 31 Mar 2022 11:47:44 +0200 From: Michael Albinus References: <3947f11808243544dcdd4e4d2fde4922@webmail.orcon.net.nz> Date: Thu, 31 Mar 2022 11:47:41 +0200 In-Reply-To: <3947f11808243544dcdd4e4d2fde4922@webmail.orcon.net.nz> (Phil Sainty's message of "Mon, 28 Mar 2022 23:13:14 +1300") Message-ID: <875ynuh2rm.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Provags-ID: V03:K1:itZj/titvqcvWmqtK124jkLEiK9FIBSon3+cc7MkcOoN5iyvs4i D/2NoKN6Z+g3gNPFQs7qD/uCBdWBn78so74G9wT01Y2xUOGR+1HteNxTLOu4O0MjcrU2bbH SKIlkokmeB9yC/3NOKRmg6onTGoEiVsqa8h6iUwfDkM8FTMXZ1hp4F5Msvk1dIR0b+MjkIi jKEHBmBkqgx0m8ZoB+6FQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:4IcPTSf2iPM=:kI9US4Py+7ww7PmoFtnfwk /zHeFK8/ISILoG6VHF9Ivv/T92Bd2+9RqC8fLMCrC1FBgyHhEoSr+IvamC8i+1L+8Fg998JD7 m/nP70wVDO1tmixck5JXEIL+3mYOKo4wI/dkxMOStWfN38R5v7K77iStiRuSMAFbc4MLMj3xT XNxXTB3YYeo6f2KFVKGP1JHCbAYAXlfl3uUqc6XwivzgMLvqF9ADjUdgO2X3HlCiorZiYCCzw V+0YSv81YStgtD/lFeZzgRMhWhQu0QGIirxRyXG1JsthFJJ9AUwJjdn08yyl9G08jYDLvAE39 i5uByOvfH2O+lBaechQ8d6PDfwawB9spdyY/PcuavsQ66duHCsS/NbF5GlOTLcb7XODa7IaTC d16FDfxB0YuFHzULEA1agwTB09HAzJUm5y+1K6jL57cAJt5Muw3xPqLZRtLMb8OPlwqaueeT6 ZzekeZZmCX+MIDAVa/2tlfF+mhMDlwe0Yzf1Sx+Wob0KFItLFVcXslDi8uZvb6epfODm1CNpa J8vdWF+TbQG7MYj0Mbn3iaAwhDFKOb69xjkWStJcGG9iuOLWMFcFq+pa02HuHaBhRIRIw1d5J KNkueSap09qbK6NlGD6AwvVo0PmA8+ZxbvLqg20oICkxIxSldQg/6LrH8B505UckM2Tsa1eAF QMz+68vdbetA3uDkegTpMuOMG8xUaPUAOqryUNjNxaagmIb3XlqI6Py6ASCan0ylO5haLeAYA 4oInmZGXnaH/iz4khpjCSRqlp1nTwISwaH4+0tVUHEr4pBpxWdCn8YYiXuqeH+XMmaqQzxiCF SSRk/sCDtxVwapPSxVz5i2SdMNt33Oz86qrz3GBWbJZWffFFbX9WEjZbem9MUhpEPkOa9npf2 40+kYM1WImJdQPtGsjGAUOsO9c98o0wxI49VvJsA1lxkKrVUMUj5qPC3iO5zXVCdH/piN9obZ CGbP1ukFtdTHdx1t78XBQMZ6ScI8ttty13Yo/hW1ht72tPKO3BPX9aOzMZt4ORgDL+448l48r +Zc/0yG4KFmlu1zzb2NS7d1eT4rConGbHTS3HSf0kwMOYCdd106Yy6GJ0vj/38DBCNpIU47/n X6zzLmKl/PZ6bY= 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 (-) --=-=-= Content-Type: text/plain Phil Sainty writes: Hi Phil, > In 27.1 this code is in `image-next-file'. In master it's now > `image-mode--directory-buffers', but the relevant code looks > the same: > > ;; Find a dired buffer. > (dolist (buffer (buffer-list)) > (with-current-buffer buffer > (when (and (derived-mode-p 'dired-mode) > (equal (file-truename dir) > (file-truename default-directory))) > > That call to (file-truename default-directory) for each dired > buffer can cause tramp to spin up for closed connections for > entirely irrelevant dired buffers. I've reproduced the problem. As said already (?), it is similar to bug#54542. The solution there was to wrap the code in question by let-binding non-essential to t, and to enhance Tramp to behave accordingly. The Tramp change is already in the master branch, and also in the just released Tramp 2.5.2.3 on GNU ELPA. So I've applied the following change in master: --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/lisp/image-mode.el b/lisp/image-mode.el index d7dfb4336b..69af538aa7 100644 --- a/lisp/image-mode.el +++ b/lisp/image-mode.el @@ -1196,8 +1196,9 @@ image-mode--directory-buffers "Return an alist of type/buffer for all \"parent\" buffers to image FILE. This is normally a list of Dired buffers, but can also be archive and tar mode buffers." - (let ((buffers nil) - (dir (file-name-directory file))) + (let* ((non-essential t) ; Do not block for remote buffers. + (buffers nil) + (dir (file-name-directory file))) (cond ((and (boundp 'tar-superior-buffer) tar-superior-buffer) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable This changes the behavior. Recipe: - emacs -Q /ssh:detlef:Pictures/IMG_0040.JPG - Disable Ethernet/WLAN connection - Type 'n' in the image buffer. If the last step happens shortly after disabling the connection, nothing changes, and Emacs is blocked. This is because Emacs needs some seconds to detect the new status of the respective Tramp process (=E2=80=98exited abnormally with code 255'). However, waiting 10 seconds or longer (in my case), typing 'n' immediately returns with the message --8<---------------cut here---------------start------------->8--- user-error: No next file in this directory --8<---------------cut here---------------end--------------->8--- That sounds acceptable, isn't it? It shall also help for other dired buffers with different, already closed, Tramp connections. > > Can we put some guards in there to decide whether or not dir > and default-directory are actually on the same host before > comparing them via file-truename? If you want to go *this* direction, there would be a simple change: --8<---------------cut here---------------start------------->8--- (when (and (derived-mode-p 'dired-mode) (equal (file-remote-p dir) (file-remote-p default-directory)) (equal (file-truename dir) (file-truename default-directory))) --8<---------------cut here---------------end--------------->8--- file-remote-p doesn't do anything on wire. > -Phil (who is simply testing (not (file-remote-p default-directory)) > as an interim fix) Best regards, Michael. --=-=-=-- From unknown Tue Aug 19 10:03:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#54606: 27.1; next/previous image command in image-mode triggers tramp connections for all remote dired buffers Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 31 Mar 2022 11:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54606 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Michael Albinus Cc: Phil Sainty , 54606@debbugs.gnu.org Received: via spool by 54606-submit@debbugs.gnu.org id=B54606.164872690720084 (code B ref 54606); Thu, 31 Mar 2022 11:42:02 +0000 Received: (at 54606) by debbugs.gnu.org; 31 Mar 2022 11:41:47 +0000 Received: from localhost ([127.0.0.1]:38102 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZtBS-0005Ds-UJ for submit@debbugs.gnu.org; Thu, 31 Mar 2022 07:41:47 -0400 Received: from quimby.gnus.org ([95.216.78.240]:53308) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZtBR-0005Dg-SO for 54606@debbugs.gnu.org; Thu, 31 Mar 2022 07:41:46 -0400 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=LU/aDYs92NNpACDgRqF0ghN1K6kluha2P+yGiaDVdLk=; b=ZVRNsQNaDq+cz/mNhMrf/zcQBS q/m8P2YxeH/5pDim+F7NmpLcQ0JiYnphzdQJD2NA6sbaBRNyZzWtqPkcfHD7dg7lmRA+bmbhlmOda /RNlAZdnihNhwN88rsLqLbj+9Ae2f51glkQQeHUFw5xav8KCWfOqTy5rHid42Q1bAPPU=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nZtBJ-00035M-38; Thu, 31 Mar 2022 13:41:39 +0200 From: Lars Ingebrigtsen References: <3947f11808243544dcdd4e4d2fde4922@webmail.orcon.net.nz> <875ynuh2rm.fsf@gmx.de> Date: Thu, 31 Mar 2022 13:41:35 +0200 In-Reply-To: <875ynuh2rm.fsf@gmx.de> (Michael Albinus's message of "Thu, 31 Mar 2022 11:47:41 +0200") Message-ID: <87mth673io.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.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: Michael Albinus writes: >> Can we put some guards in there to decide whether or not dir >> and default-directory are actually on the same host before >> comparing them via file-truename? > > If you want to go *this* directio [...] 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: -2.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: -3.3 (---) Michael Albinus writes: >> Can we put some guards in there to decide whether or not dir >> and default-directory are actually on the same host before >> comparing them via file-truename? > > If you want to go *this* direction, there would be a simple change: > > (when (and (derived-mode-p 'dired-mode) > (equal (file-remote-p dir) > (file-remote-p default-directory)) > (equal (file-truename dir) > (file-truename default-directory))) > > file-remote-p doesn't do anything on wire. I think that sounds like a good change here anyway. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Tue Aug 19 10:03:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#54606: 27.1; next/previous image command in image-mode triggers tramp connections for all remote dired buffers Resent-From: Phil Sainty Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 31 Mar 2022 18:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54606 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: Michael Albinus , 54606@debbugs.gnu.org Received: via spool by 54606-submit@debbugs.gnu.org id=B54606.164875018620609 (code B ref 54606); Thu, 31 Mar 2022 18:10:01 +0000 Received: (at 54606) by debbugs.gnu.org; 31 Mar 2022 18:09:46 +0000 Received: from localhost ([127.0.0.1]:39737 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZzEw-0005ML-MC for submit@debbugs.gnu.org; Thu, 31 Mar 2022 14:09:46 -0400 Received: from smtp-3.orcon.net.nz ([60.234.4.44]:54945) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZzEv-0005MD-Br for 54606@debbugs.gnu.org; Thu, 31 Mar 2022 14:09:45 -0400 Received: from [10.253.37.70] (port=45182 helo=webmail.orcon.net.nz) by smtp-3.orcon.net.nz with esmtpa (Exim 4.90_1) (envelope-from ) id 1nZzEo-0001ni-LJ; Fri, 01 Apr 2022 07:09:39 +1300 Received: from ip-139-180-65-103.kinect.net.nz ([139.180.65.103]) via [10.253.37.253] by webmail.orcon.net.nz with HTTP (HTTP/1.1 POST); Fri, 01 Apr 2022 07:09:38 +1300 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 01 Apr 2022 07:09:38 +1300 From: Phil Sainty In-Reply-To: <87mth673io.fsf@gnus.org> References: <3947f11808243544dcdd4e4d2fde4922@webmail.orcon.net.nz> <875ynuh2rm.fsf@gmx.de> <87mth673io.fsf@gnus.org> Message-ID: <4e51611a497c4fd3e7fab2c357d5cc3a@webmail.orcon.net.nz> X-Sender: psainty@orcon.net.nz User-Agent: Orcon Webmail X-GeoIP: -- X-Spam_score: -2.9 X-Spam_score_int: -28 X-Spam_bar: -- 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 (-) On 2022-04-01 00:41, Lars Ingebrigtsen wrote: > Michael Albinus writes: > >>> Can we put some guards in there to decide whether or not dir >>> and default-directory are actually on the same host before >>> comparing them via file-truename? >> >> If you want to go *this* direction, there would be a simple change: >> >> (equal (file-remote-p dir) >> (file-remote-p default-directory)) >> >> file-remote-p doesn't do anything on wire. > > I think that sounds like a good change here anyway. Agreed -- if I'd checked to see what file-remote-p actually returned, I would done this myself from the outset. I've tested this approach in isolation, and it works well in my test instance. I've not yet tested to see whether the `non-essential' change is similarly efficient in a newer version with a similar session. Lars' suggestion of having these commands NOT checking every dired buffer every time also seems very sensible. -Phil From unknown Tue Aug 19 10:03:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#54606: 27.1; next/previous image command in image-mode triggers tramp connections for all remote dired buffers Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 Apr 2022 07:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54606 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Phil Sainty Cc: Lars Ingebrigtsen , 54606@debbugs.gnu.org Received: via spool by 54606-submit@debbugs.gnu.org id=B54606.164879678727232 (code B ref 54606); Fri, 01 Apr 2022 07:07:02 +0000 Received: (at 54606) by debbugs.gnu.org; 1 Apr 2022 07:06:27 +0000 Received: from localhost ([127.0.0.1]:40718 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1naBMZ-00075A-9D for submit@debbugs.gnu.org; Fri, 01 Apr 2022 03:06:27 -0400 Received: from mout.gmx.net ([212.227.15.19]:60479) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1naBMX-00074v-GL for 54606@debbugs.gnu.org; Fri, 01 Apr 2022 03:06:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1648796775; bh=eAqpHnRGisuQCpNm2BlCuegi+Q2eWYDTIvEt51pKP1U=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=Ae1k16TlV+pg7JZSawwoKgrcd63Uw2qKbeg1aK+PiAhpUyW2UwQrwMCTQbjopTOWK 7UJ9tTxQqsbfcbHgqUhKTVmgxvIF1fpecltBQsDAill8rKJg7jo23YdBQnRZACzFc+ q65OCnqXL8Zp1h7o+EdB5kg5diRHZexgB2SBoddE= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from gandalf.gmx.de ([213.220.151.59]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MkHMZ-1oKUb0082D-00keo9; Fri, 01 Apr 2022 09:06:15 +0200 From: Michael Albinus References: <3947f11808243544dcdd4e4d2fde4922@webmail.orcon.net.nz> <875ynuh2rm.fsf@gmx.de> <87mth673io.fsf@gnus.org> <4e51611a497c4fd3e7fab2c357d5cc3a@webmail.orcon.net.nz> Date: Fri, 01 Apr 2022 09:06:14 +0200 In-Reply-To: <4e51611a497c4fd3e7fab2c357d5cc3a@webmail.orcon.net.nz> (Phil Sainty's message of "Fri, 01 Apr 2022 07:09:38 +1300") Message-ID: <878rspffkp.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:wrgVhydTMrJBQI0XAFeN6QvDUrOHdCO0nRPPgvig3/cKlNZsMbQ THcC62kRIB7i68o68SZIBnDVyDwNUhVAP2mWfr9UyHTn9/4M31dhaLVjuQdcWv3QFT7Mnfq ZoY1i58SHoBiUS6msNDWNiO4zNlRP5Pw4BX144kHLrEO4bInDEkXt2EV/qFlU5RSefULctp 3XqW+d8cNAS9wY12vNHKQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:I57OC8mVSz8=:Jq5/z4nGMBVUAQaCuF8mrb 6PvF9eVKrLMTaJbrpW27e4/rTSEKWJ7r+jlCWvWhq8Snmfs/3o3fneOX9ohjcjOc/toah+9A4 52JloAGEitmxNwB6W2gHFXSQ5s9zrLzbTcjObYQ4Wz2NC4XovBjlxtFdOXTmRzE56iRJDaOgp /u1tQsbb5tUkwdmG0IcYs534J+SuAMPoNqWyjgfTigdoV0nXFO2NzP8LTSAwJcVS6JQ3QeghO Tj03aNwzCIdS52tvJvddMV2u8YOm3F1PNFa4g8xTbGvxirJTklbMe0NpSYxgSqeZCiRhfdD6m f86ENcs6+qrMecbAUqNB+b3c61il2K6ZjN8xmgkAHqWcQyKf8ApBooEbuokNWOprVzG/q/Xef rEdoE0quCSblNpORzw/xwdrU2MDYAayNa1fe6L/UGFNNob9dEUifSz1/K0NEx7Vep0sJwtlT7 XydPBZO62GsnxRLC7NjbSoLNpdHIaEC9lg1A2ZgB4DFia6U6qvfsKImaRd6LNwlL9ITajyxeB SMsma46hMfUxj4zTB+qQxk2YWm/P1Ey2qkQJ4hQuDbo6Oo+y9TXGOjfKFn7HKfX6DkuCGNdux qzLaD4FqHa6DL5zakVfv0TuaQ83+k9L4acMmpOpopc5IFl7+7Z0lZAgyUIKQMIm76PYtrat8N UwE/f3OF32pxHhhVuZ+W7pPsL43YZpVlt8zn4xhecPvhrRlQhlpsvbhtpH1yrq/62g6o5J7ws Vn+fByP5o30qVLhTRaQUbtJ9V0tL8IRZ7mGVDqryoj5yFuthQrvuuJJv7jisQYMCbIplwNp1P eLBtAqaN2usRsXQRLIHUEVlZur01kMrckApv6pyB7Z5WHtiT/GUC+YelGl1LNUh+YozxX/wGj UL2I7MguSFyTo/JNwr7Y7x5DLx0HZ2e7a/Yk6WZ9jIBXomng/pvGQVzyqucaI6aqnzob46lev DGn6rMVZTKGk2IAMuVGy5da8L8IdWluCBo17sonyVIpu2EtV4a+oIbgNjB1O978AE/RMnGX/O J8jZQpCk4sI4lgbd3RE79S5Gj0RoXsVzDEajwROJUcOvPiVR1v2tYersjA92BTICTiyTVA4JE M53cVf5hGY8h9w= 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 (-) Phil Sainty writes: Hi Phil, >>> If you want to go *this* direction, there would be a simple change: >>> (equal (file-remote-p dir) >>> (file-remote-p default-directory)) >>> file-remote-p doesn't do anything on wire. >> I think that sounds like a good change here anyway. > > Agreed -- if I'd checked to see what file-remote-p actually > returned, I would done this myself from the outset. > > I've tested this approach in isolation, and it works well > in my test instance. So I've pushed this to master. > I've not yet tested to see whether the `non-essential' > change is similarly efficient in a newer version with a > similar session. It will help for buffers with a broken remote connection. I've pushed this change as well. > Lars' suggestion of having these commands NOT checking > every dired buffer every time also seems very sensible. >From my pov, this bug could be closed. However, I'll keep it open in case something else shall be changed, too. But that I won't investigate myself. > -Phil Best regards, Michael. From unknown Tue Aug 19 10:03:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#54606: 27.1; next/previous image command in image-mode triggers tramp connections for all remote dired buffers Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Apr 2022 13:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54606 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Michael Albinus Cc: Phil Sainty , 54606@debbugs.gnu.org Received: via spool by 54606-submit@debbugs.gnu.org id=B54606.164890455515241 (code B ref 54606); Sat, 02 Apr 2022 13:03:02 +0000 Received: (at 54606) by debbugs.gnu.org; 2 Apr 2022 13:02:35 +0000 Received: from localhost ([127.0.0.1]:44829 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nadOl-0003xl-59 for submit@debbugs.gnu.org; Sat, 02 Apr 2022 09:02:35 -0400 Received: from quimby.gnus.org ([95.216.78.240]:48714) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nadOj-0003xS-7Y for 54606@debbugs.gnu.org; Sat, 02 Apr 2022 09:02:33 -0400 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=dv6efWYjI0DDS5arl0/DGHdaAMmdJFZyMTZVRRIo/EE=; b=otclWmijIwpdq0kkUSVJpT4yYt arZiSA86Th36Lj/hl2/UoiWzbt8urWVCHzywKFxzY4KUxPEYi7c3+VIgXHLvI0otVgDdvglDiNtzf coIu7o497H/sJLsvRvWQD3771UU1tHNSP4Bj3JX3sXwz3lqED5+6p87UNZaFpXq2K7FY=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nadOa-0005MS-DA; Sat, 02 Apr 2022 15:02:26 +0200 From: Lars Ingebrigtsen References: <3947f11808243544dcdd4e4d2fde4922@webmail.orcon.net.nz> <875ynuh2rm.fsf@gmx.de> <87mth673io.fsf@gnus.org> <4e51611a497c4fd3e7fab2c357d5cc3a@webmail.orcon.net.nz> <878rspffkp.fsf@gmx.de> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEUqDw9LKCJlSj2J ZE////8W/0//AAAAAWJLR0QEj2jZUQAAAAd0SU1FB+YEAg0CAGmuzaUAAAHESURBVDjLdVQBcsMw CIPsA4h+IHY+0Hb//9skcNJ2u/naix1AgIRjBriZIcxcfx08Axba8o2VAXPWAdDZegUNmSbfOvZb rD+PW8x9uVpszLFc/LlnbYdcNzQYH46oDAltC8bsMVVCeCqAhkZx80eloRvTT6/6uY7dZlWJOjd6 dRHmZViOZ2UuTHYbK+LqxB7VD8LHKj2se9XThp8NiaqTFO+UuBLA/lkXuQ3jfxzQ9Z6mKjtUK8J/ QSwv9N6330mrQMZSss88G6W1wJD2q9SGGIEEf5UFkyzgducOmPk9PdW9Wx6MpRdD5jHmMx1jm1Lw gWS8mNBDQuMm0TUFzET0QfghUeESTDrSHz4GITlZPJa0B1TjnpS6GBmLFU6P41lAzd9qreZZYBnZ 49cBsXyGdPZhI5rYNrIv4jRFH2MgvntaL8ObJu1Udrzp7a1UH9DecTrWbZvXbai6Z0QXaB4vbNLj WOqJSj9Hv/JFK+Z2xiorLGIl8zWthcemo+50NfvWg/Soqx+7DC14TaXj6066lCeuGe0BTIk+Fkvn jXcVSNuuLwK3aPL6++Kpi4S9+6+6vOTVNJP9eH051qXDNiwyXoxy/QDYwh+ZLUDeWQAAACV0RVh0 ZGF0ZTpjcmVhdGUAMjAyMi0wNC0wMlQxMzowMjowMCswMDowMGg02nYAAAAldEVYdGRhdGU6bW9k aWZ5ADIwMjItMDQtMDJUMTM6MDI6MDArMDA6MDAZaWLKAAAAAElFTkSuQmCC X-Now-Playing: Breathless's _Three Times And Waving_: "Sold Down The River" Date: Sat, 02 Apr 2022 15:02:22 +0200 In-Reply-To: <878rspffkp.fsf@gmx.de> (Michael Albinus's message of "Fri, 01 Apr 2022 09:06:14 +0200") Message-ID: <87r16fljtt.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.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: Michael Albinus writes: >> Lars' suggestion of having these commands NOT checking >> every dired buffer every time also seems very sensible. > >>From my pov, this bug could be closed. However, I'll keep it open in > case som [...] 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: -2.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: -3.3 (---) Michael Albinus writes: >> Lars' suggestion of having these commands NOT checking >> every dired buffer every time also seems very sensible. > >>>From my pov, this bug could be closed. However, I'll keep it open in > case something else shall be changed, too. But that I won't investigate > myself. I think your fix here is sufficient, so I'm closing this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 02 09:02:42 2022 Received: (at control) by debbugs.gnu.org; 2 Apr 2022 13:02:42 +0000 Received: from localhost ([127.0.0.1]:44832 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nadOs-0003y5-CJ for submit@debbugs.gnu.org; Sat, 02 Apr 2022 09:02:42 -0400 Received: from quimby.gnus.org ([95.216.78.240]:48732) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nadOr-0003xs-0H for control@debbugs.gnu.org; Sat, 02 Apr 2022 09:02:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=7stC3aXmki5zIXxSjaP5B7yvVQZw4ApdFMJcl1CxDdM=; b=Kq3J0ir0HurbeGiXhUpSK7O/G7 q51ovatdDnyMGlp26bYdrmvXu8shqdW2gcysG0w24JwnPt7Hlh3lXz4kAaa6OIEEfNmtenYfWL0JJ s5BzncyIfPwTflQMoLbL9AtkdpOjGc+yvvwugjmVY2aS73hRuZaKoiEHfpKuFyzM/j9s=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nadOj-0005Mf-9S for control@debbugs.gnu.org; Sat, 02 Apr 2022 15:02:35 +0200 Date: Sat, 02 Apr 2022 15:02:32 +0200 Message-Id: <87pmlzljtj.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #54606 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: close 54606 29.1 quit 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: -2.3 (--) X-Debbugs-Envelope-To: control 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: -3.3 (---) close 54606 29.1 quit