GNU logs - #68486, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#68486: 29.1; Confusing window layout changes in image-dired
Resent-From: joakim@HIDDEN
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 15 Jan 2024 20:18:01 +0000
Resent-Message-ID: <handler.68486.B.17053498486101 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 68486
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 68486 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.17053498486101
          (code B ref -1); Mon, 15 Jan 2024 20:18:01 +0000
Received: (at submit) by debbugs.gnu.org; 15 Jan 2024 20:17:28 +0000
Received: from localhost ([127.0.0.1]:47082 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rPTOg-0001aK-Pp
	for submit <at> debbugs.gnu.org; Mon, 15 Jan 2024 15:17:27 -0500
Received: from lists.gnu.org ([2001:470:142::17]:37662)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <joakim@HIDDEN>) id 1rPTOd-0001a5-LN
 for submit <at> debbugs.gnu.org; Mon, 15 Jan 2024 15:17:25 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <joakim@HIDDEN>) id 1rPTOX-00087C-JT
 for bug-gnu-emacs@HIDDEN; Mon, 15 Jan 2024 15:17:17 -0500
Received: from smtp.outgoing.loopia.se ([93.188.3.37])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <joakim@HIDDEN>) id 1rPTOU-0007xA-BG
 for bug-gnu-emacs@HIDDEN; Mon, 15 Jan 2024 15:17:17 -0500
Received: from s807.loopia.se (localhost [127.0.0.1])
 by s807.loopia.se (Postfix) with ESMTP id 3B2102FE123E
 for <bug-gnu-emacs@HIDDEN>; Mon, 15 Jan 2024 21:16:10 +0100 (CET)
Received: from s980.loopia.se (unknown [172.22.191.6])
 by s807.loopia.se (Postfix) with ESMTP id 272262E29C6F
 for <bug-gnu-emacs@HIDDEN>; Mon, 15 Jan 2024 21:16:10 +0100 (CET)
Received: from s474.loopia.se (unknown [172.22.191.5])
 by s980.loopia.se (Postfix) with ESMTP id 25773220156A
 for <bug-gnu-emacs@HIDDEN>; Mon, 15 Jan 2024 21:16:10 +0100 (CET)
X-Virus-Scanned: amavisd-new at amavis.loopia.se
X-Spam-Flag: NO
X-Spam-Score: -1.01
X-Spam-Level: 
X-Spam-Status: No, score=-1.01 tagged_above=-999 required=6.2
 tests=[ALL_TRUSTED=-1, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=disabled
Received: from s899.loopia.se ([172.22.191.5])
 by s474.loopia.se (s474.loopia.se [172.22.190.14]) (amavisd-new, port 10024)
 with LMTP id zIMwUhVlA_Ej for <bug-gnu-emacs@HIDDEN>;
 Mon, 15 Jan 2024 21:16:08 +0100 (CET)
X-Loopia-Auth: user
X-Loopia-User: joakim@HIDDEN
X-Loopia-Originating-IP: 213.136.40.40
Received: from genos (h-213-136-40-40.A137.corp.bahnhof.se [213.136.40.40])
 (Authenticated sender: joakim@HIDDEN)
 by s899.loopia.se (Postfix) with ESMTPSA id 715DD2C8BA6D
 for <bug-gnu-emacs@HIDDEN>; Mon, 15 Jan 2024 21:16:08 +0100 (CET)
From: joakim@HIDDEN
Date: Mon, 15 Jan 2024 21:16:07 +0100
Message-ID: <86le8qfj3s.fsf@chopper>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=93.188.3.37; envelope-from=joakim@HIDDEN;
 helo=smtp.outgoing.loopia.se
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, RCVD_IN_DNSWL_NONE=-0.0001,
 RCVD_IN_MSPIKE_H2=-0.001, 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.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


I have a question about image dired. I find it very confusing the way
window layout changes in image-dired happen.

Basically I want a window layout like depicted here:
https://www.emacswiki.org/emacs/ImageDired

In words: a 3 window layout, dired to the left, image dired top right, larger
view of current image bottom right.

+----+----+
|    |    |
|    +----+
|    |    |
+----+----+

Whenever I try to set this layout up by hand the main image view jumps between
windows, ruining my layout.

Theres a function image-dired-display-image that displays the image
you select for display in the thumb view window. the call to
kill-buffer and then pop-to-buffer would seem to indicate that this is
the intended behaviour, or is it? Shouldnt the code try to preserve
the users window configuration if possible?

The function, notice kill-buffer then pop-to-buffer.

(defun image-dired-display-image (file &optional _ignored)
  "Display image FILE in the image buffer window.
If FILE is an image, the window will use `image-dired-image-mode'
which is based on `image-mode'."
  (declare (advertised-calling-convention (file) "29.1"))
  (setq file (expand-file-name file))
  (when (not (file-exists-p file))
    (error "No such file: %s" file))
  (let ((buf (get-buffer image-dired-display-image-buffer))
        (cur-win (selected-window)))
    (when buf
      (kill-buffer buf))
    (when-let ((buf (find-file-noselect file nil t)))
      (pop-to-buffer buf)
      (rename-buffer image-dired-display-image-buffer)
      (if (string-match (image-file-name-regexp) file)
          (image-dired-image-mode)
        ;; Support visiting PDF files.
        (normal-mode))
      (select-window cur-win))))



In GNU Emacs 29.1 (build 1, x86_64-redhat-linux-gnu, GTK+ Version
 3.24.38, cairo version 1.17.8) of 2023-09-24 built on
 e1d0f5fdfea948b9bb25e212c9c623e4
Windowing system distributor 'The X.Org Foundation', version 11.0.70000000
System Description: Fedora Linux 39 (Workstation Edition)

Configured using:
 'configure --build=x86_64-redhat-linux-gnu
 --host=x86_64-redhat-linux-gnu --program-prefix=
 --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr
 --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
 --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64
 --libexecdir=/usr/libexec --localstatedir=/var --runstatedir=/run
 --sharedstatedir=/var/lib --mandir=/usr/share/man
 --infodir=/usr/share/info --with-dbus --with-gif --with-jpeg --with-png
 --with-rsvg --with-tiff --with-xpm --with-x-toolkit=gtk3 --with-gpm=no
 --with-xwidgets --with-modules --with-harfbuzz --with-cairo --with-json
 --with-native-compilation=aot --with-tree-sitter --with-sqlite3
 --with-webp --with-xinput2 build_alias=x86_64-redhat-linux-gnu
 host_alias=x86_64-redhat-linux-gnu CC=gcc 'CFLAGS=-DMAIL_USE_LOCKF -O2
 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches
 -pipe -Wall -Werror=format-security
 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS
 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
 LDFLAGS=-Wl,-z,relro
 PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig CXX=g++
 'CXXFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g
 -grecord-gcc-switches -pipe -Wall -Werror=format-security
 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS
 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ''

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON
LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY
INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM XWIDGETS
GTK3 ZLIB

Important settings:
  value of $LANG: sv_SE.UTF-8
  value of $XMODIFIERS: @im=none
  locale-coding-system: utf-8-unix

Major mode: Org

Minor modes in effect:
  async-bytecomp-package-mode: t
  global-git-commit-mode: t
  magit-auto-revert-mode: t
  org-super-agenda-mode: t
  org-ai-mode: t
  which-key-mode: t
  recentf-mode: t
  desktop-save-mode: t
  keyfreq-autosave-mode: t
  keyfreq-mode: t
  winner-mode: t
  projectile-mode: t
  smartparens-global-strict-mode: t
  global-highlight-parentheses-mode: t
  highlight-parentheses-mode: t
  company-quickhelp-mode: t
  company-quickhelp-local-mode: t
  global-company-mode: t
  shx-global-mode: t
  erc-stamp-mode: t
  diredfl-global-mode: t
  zen-reward-mode: t
  server-mode: t
  gcmh-mode: t
  global-treesit-auto-mode: t
  savehist-mode: t
  vertico-mode: t
  marginalia-mode: t
  shell-dirtrack-mode: t
  override-global-mode: t
  yas-global-mode: t
  yas-minor-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  global-prettify-symbols-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  line-number-mode: t
  auto-fill-function: #[128 \304\300\301.#\207 [yas--auto-fill org-auto-fill-function :around nil apply] 5 advice]
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  abbrev-mode: t

Load-path shadows:
/home/joakim/.emacs.d/elpa/cmake-mode-20231214.1547/cmake-mode hides /usr/share/emacs/site-lisp/cmake/cmake-mode
/home/joakim/.emacs.d/elpa/transient-20240101.2225/transient hides /usr/share/emacs/29.1/lisp/transient
/home/joakim/.emacs.d/elpa/seq-2.24.0.20230904.183335/seq hides /usr/share/emacs/29.1/lisp/emacs-lisp/seq

Features:
(shadow emacsbug exiftool-autoloads woman man proced image-dired-dired
image-file image-converter calc-undo generic cider cider-debug
cider-browse-ns cider-mode cider-xref-backend cider-find cider-inspector
cider-completion cider-profile cider-eval cider-jar cider-repl-history
cider-repl cider-resolve cider-test cider-overlays cider-stacktrace
cider-doc cider-browse-spec cider-clojuredocs cider-eldoc
cider-docstring cider-client cider-common cider-completion-context
cider-connection cider-util cider-popup sesman-browser nrepl-client
queue nrepl-dict spinner parseedn parseclj-parser parseclj-lex
parseclj-alist smartparens-clojure sesman clojure-mode solar cal-dst
package-x org-ql-find css-mode cmake-ts-mode epa-file reveal mailalias
bbdb-com completion wisi-run-indent-test cus-start apropos pulse
org-lint org-archive ob-ditaa org-colview org-crypt org-ctags org-mouse
org-plot org-protocol info-look tramp-archive tramp-gvfs zeroconf
helm-org-rifle helm-org-rifle-autoloads helm-for-files helm-imenu
semantic/util-modes semantic/util semantic semantic/tag cedet
helm-bookmark helm-external helm-mode helm-misc helm-elisp helm-files
image-dired image-dired-tags image-dired-external image-dired-util
helm-buffers helm-tags helm-locate helm-eval helm-occur helm-grep
helm-regexp helm-net helm-adaptive helm-info helm-utils helm-types
helm-help helm helm-global-bindings helm-easymenu helm-core
async-bytecomp helm-autoloads helm-source helm-multi-match helm-lib
helm-core-autoloads smtpmail async async-autoloads wfnames-autoloads
flow-fill dictionary dictionary-connection org-attach mouseme
ess-toolbar ess-jags-d essd-els ess-sas-d ess-sp6-d ess-sas-l ess-sas-a
ess-bugs-d ess-bugs-l geiser-mode geiser-xref geiser-compile geiser-repl
geiser-capf geiser-debug geiser-image geiser-doc geiser-menu
geiser-autodoc geiser-edit geiser-completion geiser-eval
geiser-connection tq geiser-syntax geiser-log geiser-popup view
geiser-impl geiser-custom geiser-base smartparens-html sgml-mode
js2-mode smartparens-javascript js c-ts-common smartparens-c cc-mode
cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars
cc-defs ediff ediff-merg ediff-mult ediff-wind ediff-diff ediff-help
ediff-init ediff-util benchmark org-ql-completing-read vertico-flat
tar-mode arc-mode archive-mode display-line-numbers gnus-search
eieio-opt speedbar ezimage dframe gnus-cite smiley shr-color mail-extr
textsec uni-scripts idna-mapping ucs-normalize uni-confusable
textsec-check gnus-async gnus-bcklg qp gnus-ml utf-7 rfc2104 tramp-cmds
tramp-cache time-stamp tramp-sh smartparens-latex tex-mode cl-print
pcmpl-linux time pcmpl-gnu conf-mode goto-addr markdown-mode
toml-ts-mode make-mode combobulate yaml-ts-mode detached-dired calc-alg
calc-ext calc-menu calc calc-loaddefs calc-macs term/xterm xterm tabify
help-fns org-datetree org-capture gnus-topic nndraft nnmh gnus-agent
gnus-srvr gnus-score score-mode nnvirtual gnus-msg nnfolder gnus-cache
nntp ivy-yasnippet ivy delsel ivy-faces ivy-overlay colir cal-move vc-hg
vc-bzr vc-src vc-sccs vc-cvs vc-rcs log-view bug-reference wdired
magit-extras magit-bookmark magit-submodule magit-blame magit-stash
magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone
magit-remote magit-commit magit-sequence magit-notes magit-worktree
magit-tag magit-merge magit-branch magit-reset magit-files magit-refs
magit-status magit magit-repos magit-apply magit-wip magit-log
magit-diff smerge-mode diff git-commit log-edit pcvs-util add-log
magit-core magit-autorevert magit-margin magit-transient magit-process
with-editor magit-mode magit-git magit-base magit-section pcmpl-git
dired-aux gnus-dired detached-compile pcmpl-rpm pcmpl-unix
detached-shell detached notifications autorevert latexenc ox-hugo
ox-hugo-deprecated ffap ox-blackfriday ox-md tomelr ox-odt rng-loc
rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns
nxml-enc xmltok nxml-util ox-latex ox-icalendar ox-html table ox-ascii
ox-publish ox misearch multi-isearch org-clock org-ql-search org-ql-view
ov crm diary-lib diary-loaddefs cal-iso org-super-agenda ht org-ai
org-ai-oobabooga websocket bindat org-ai-sd org-ai-talk
org-ai-on-project org-ai-useful org-ai-openai-image org-ai-openai
org-ai-block quail oc-basic ol-eww eww url-queue mm-url ol-rmail ol-mhe
ol-irc ol-info ol-gnus nnselect gnus-art mm-uu mml2015 mm-view mml-smime
smime dig ol-docview doc-view filenotify jka-compr image-mode exif
ol-bibtex bibtex ol-bbdb ol-w3m ol-doi org-link-doi origami
origami-parsers hl-line mule-util company-oddmuse company-keywords
company-etags etags fileloop company-gtags company-dabbrev-code
company-dabbrev company-files company-clang company-capf company-cmake
company-semantic company-template company-bbdb init which-key spray
face-remap wgrep memory-usage recentf tree-widget desktop frameset
keyfreq zygospore winner ace-window avy restclient nginx-mode yaml-mode
dockerfile-mode sh-script smie executable geiser hy-mode hy-jedhy
hy-shell hy-font-lock hy-base autodisass-java-bytecode ad-javap-mode
meghanada which-func imenu projectile grep ibuf-ext ibuffer
ibuffer-loaddefs hydra lv smartparens-config smartparens-rst
smartparens-markdown smartparens-org smartparens-text smartparens-python
smartparens-ess smartparens loadhist highlight-parentheses
company-quickhelp pos-tip company shx bash-completion ob-cypher n4js
cypher-mode cmake-mode rst use-package-ensure-system-package use-package
use-package-delight use-package-diminish system-packages printing
ps-print ps-print-loaddefs lpr gnus-alias nnmairix nnml gnus-sum shr
pixel-fill kinsoku url-file svg dom gnus-group gnus-undo gnus-start
gnus-dbus gnus-cloud nnimap nnmail mail-source utf7 gnus-spec gnus-int
gnus-range gnus-win gnus nnoo nnheader range sort bbdb bbdb-site
timezone erc-match erc-ezbounce erc-hl-nicks erc-button erc-fill
erc-stamp erc-goodies erc erc-backend erc-networks erc-common erc-compat
erc-loaddefs pastebin secrets dbus diredfl dired-x popup sauron cl
boxquote rect generic-x disp-table server gcmh ag vc-svn find-dired f
f-shortdoc shortdoc csound-mode csound-manual-lookup csound-skeleton
csound-indentation csound-repl highlight facemenu
csound-repl-interaction shut-up multi csound-score csound-font-lock
csound-eldoc csound-util csound-opcodes ert ewoc combobulate-json
combobulate-yaml combobulate-css combobulate-js-ts combobulate-python
combobulate-query combobulate-ui combobulate-display combobulate-contrib
combobulate-envelope transient scheme combobulate-html combobulate-ztree
edebug debug backtrace combobulate-manipulation tempo combobulate-rules
combobulate-navigation combobulate-misc combobulate-interface
combobulate-settings loaddefs-gen radix-tree cus-edit cus-load wid-edit
vc-git diff-mode cursor-sensor mm-archive message sendmail yank-media
dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068
epg-config gnus-util mailabbrev gmm-utils mailheader mm-decode mm-bodies
mm-encode mail-utils gnutls network-stream url-cache url-http url-auth
mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr url-gw
nsm puny package-vc vc vc-dispatcher treesit-auto orderless savehist
vertico marginalia consult bookmark pp detached-init
modus-operandi-theme modus-themes highlight-indent-guides advice
ada-mode wisi-process-parse align ada-skel wisi-skel skeleton
ada-indent-user-options ada-core uniquify-files gnat-compiler wisi-prj
wisi wisi-fringe wisi-parse-common semantic/lex semantic/fw mode-local
find-file ob-shell ob-python python compat treesit ob-julia ob-ess-julia
ess-julia julia-mode julia-mode-latexsubs ess-r-mode ess-r-flymake
ess-r-xref xref ess-trns ess-r-package ess-r-completion ess-roxy
ess-r-syntax ess-rd hideshow ess-s-lang ess-help ess-mode ess-inf
ess-tracebug comp comp-cstr tramp tramp-loaddefs trampver
tramp-integration files-x tramp-compat shell parse-time iso8601 ess
lisp-mnt ess-utils ess-custom flymake-proc flymake project compile
text-property-search warnings thingatpt ob-gnuplot ob-plantuml ob-dot
general org-ql ts org-duration peg org-habit org-agenda org-element
org-persist xdg org-id avl-tree generator org-refile kurecolor dash s
color edmacro kmacro use-package-bind-key bind-key easy-mmode
yasnippet-snippets yasnippet outshine outshine-org-cmds outorg org ob
ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src ob-comint
org-pcomplete pcomplete comint ansi-osc ansi-color ring org-list
org-footnote org-faces org-entities time-date ob-emacs-lisp ob-core
ob-eval org-cycle org-table ol org-fold org-fold-core org-keys oc
org-loaddefs find-func cal-menu calendar cal-loaddefs org-version
org-compat org-macs format-spec noutline outline icons cl-extra
help-mode use-package-ensure use-package-core flyspell ispell finder-inf
clang-rename clang-include-fixer let-alist clang-format xml
ace-window-autoloads ada-mode-autoloads ag-autoloads
autodisass-java-bytecode-autoloads avy-autoloads
bash-completion-autoloads bbdb-autoloads boxquote-autoloads
calfw-autoloads calfw-org-autoloads cider-autoloads
clojure-mode-autoloads cmake-mode-autoloads combobulate-autoloads
company-quickhelp-autoloads csound-mode-autoloads detached-autoloads
diredfl-autoloads dockerfile-mode-autoloads embark-consult-autoloads
consult-autoloads embark-autoloads erc-hl-nicks-autoloads
expand-region-autoloads gcmh-autoloads geiser-autoloads
general-autoloads gnat-compiler-autoloads gnus-alias-autoloads
go-mode-autoloads groovy-mode-autoloads haskell-mode-autoloads
helpful-autoloads elisp-refs-autoloads highlight-autoloads
highlight-indent-guides-autoloads highlight-parentheses-autoloads
hy-mode-autoloads hydra-autoloads ivy-yasnippet-autoloads ivy-autoloads
js2-mode-autoloads keyfreq-autoloads kotlin-mode-autoloads
kurecolor-autoloads lua-mode-autoloads lv-autoloads magit-autoloads
pcase git-commit-autoloads magit-section-autoloads marginalia-autoloads
markdown-mode-autoloads meghanada-autoloads flycheck-autoloads
company-autoloads memory-usage-autoloads multi-autoloads
multitran-autoloads n4js-autoloads nginx-mode-autoloads
ob-cypher-autoloads dash-functional-autoloads cypher-mode-autoloads
ob-ess-julia-autoloads julia-mode-autoloads ess-autoloads
orderless-autoloads org-ai-autoloads org-ql-autoloads f-autoloads
org-super-agenda-autoloads ht-autoloads origami-autoloads
outshine-autoloads outorg-autoloads ov-autoloads ox-hugo-autoloads
ox-reveal-autoloads parseedn-autoloads parseclj-autoloads
pastebin-autoloads peg-autoloads pkg-info-autoloads epl-autoloads
popup-autoloads pos-tip-autoloads projectile-autoloads
protobuf-mode-autoloads queue-autoloads restclient-autoloads
rust-mode-autoloads sauron-autoloads sesman-autoloads shut-up-autoloads
shx-autoloads smartparens-autoloads spinner-autoloads spray-autoloads
system-packages-autoloads tomelr-autoloads transient-autoloads
treesit-auto-autoloads ts-autoloads s-autoloads dash-autoloads
tuareg-autoloads rx caml-autoloads uniquify-files-autoloads
vertico-autoloads webpaste-autoloads request-autoloads
websocket-autoloads wgrep-autoloads which-key-autoloads
wiki-summary-autoloads wisi-autoloads with-editor-autoloads info
compat-autoloads seq-autoloads yaml-mode-autoloads
yasnippet-snippets-autoloads yasnippet-autoloads zygospore-autoloads
package browse-url url url-proxy url-privacy url-expand url-methods
url-history url-cookie generate-lisp-file url-domsuf url-util mailcap
url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs
password-cache json subr-x map byte-opt gv bytecomp byte-compile
url-vars cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren
electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode 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 lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu
timer select scroll-bar mouse jit-lock font-lock syntax font-core
term/tty-colors frame minibuffer nadvice seq simple cl-generic
indonesian philippine 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 emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
theme-loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads xwidget-internal dbusbind
inotify dynamic-setting system-font-setting font-render-setting cairo
move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process
native-compile emacs)

Memory information:
((conses 16 15532749 6431434)
 (symbols 48 209577 8825)
 (strings 32 1052743 884354)
 (string-bytes 1 36386995)
 (vectors 16 405317)
 (vector-slots 8 8518378 8366455)
 (floats 8 4011 16155)
 (intervals 56 1151426 134332)
 (buffers 984 899))
--
Joakim Verona
joakim@HIDDEN




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: joakim@HIDDEN
Subject: bug#68486: Acknowledgement (29.1; Confusing window layout changes
 in image-dired)
Message-ID: <handler.68486.B.17053498486101.ack <at> debbugs.gnu.org>
References: <86le8qfj3s.fsf@chopper>
X-Gnu-PR-Message: ack 68486
X-Gnu-PR-Package: emacs
Reply-To: 68486 <at> debbugs.gnu.org
Date: Mon, 15 Jan 2024 20:18:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 68486 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
68486: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D68486
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#68486: 29.1; Confusing window layout changes in image-dired
Resent-From: Manuel Giraud <manuel@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 16 Jan 2024 09:09:02 +0000
Resent-Message-ID: <handler.68486.B68486.170539612731112 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 68486
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: joakim@HIDDEN
Cc: 68486 <at> debbugs.gnu.org
Received: via spool by 68486-submit <at> debbugs.gnu.org id=B68486.170539612731112
          (code B ref 68486); Tue, 16 Jan 2024 09:09:02 +0000
Received: (at 68486) by debbugs.gnu.org; 16 Jan 2024 09:08:47 +0000
Received: from localhost ([127.0.0.1]:47651 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rPfR9-00085k-4p
	for submit <at> debbugs.gnu.org; Tue, 16 Jan 2024 04:08:47 -0500
Received: from ledu-giraud.fr ([51.159.28.247]:23921)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <manuel@HIDDEN>) id 1rPfR6-00085b-EU
 for 68486 <at> debbugs.gnu.org; Tue, 16 Jan 2024 04:08:46 -0500
DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=N3qnPqs+
 ulrqv0A/0nybXneNdpb0hNjwqd/vnkxRSL0=;
 h=date:references:in-reply-to:
 subject:cc:to:from; d=ledu-giraud.fr; b=A1xVAnjUpjzfH3qDluWm7PyIpFLWjO
 GqulTxtl6mZn8MbbZH3h4MbkWzVBLJ+f/2UAFXkJBvhti8uZXwVVKBCQ==
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=N3qnPqs+ulrqv0A/
 0nybXneNdpb0hNjwqd/vnkxRSL0=;
 h=date:references:in-reply-to:subject:
 cc:to:from; d=ledu-giraud.fr; b=b9DK4ZxUfzwGz9tObqjtGsPgHO7c5NLULIxQec
 BEn3Y810Z3bjFG9hzXTuYuhdcz5S7B6g6OANw2ePc4H8ZsUX5kXM0VcwOO/8O5LCh6WSgC
 PhahGNwG0VKBEsZuVKPeFOWX7p1nkQOZpQ482KB3/OcHodJ6UViHNGbo4D3TWoFY2c1fMe
 N8Ss3jL0iLXTiza8cjsXrLgxrXlpdm2IpGVyDgUFg9k4qVfpVFcysXr1XHNGQ5KYr4Ab7V
 WN0Aej9akDCRs538SoCGmxXavJLYpF21v9QErqGW9PeaV74bv24BtV9M062hKWL87zPkjT
 P8Pu15QAwswfIFQ2rvECXzPw==
Received: from computer (<unknown> [10.1.1.1])
 by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id cf8e4716
 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); 
 Tue, 16 Jan 2024 10:08:42 +0100 (CET)
From: Manuel Giraud <manuel@HIDDEN>
In-Reply-To: <86le8qfj3s.fsf@chopper> (joakim@HIDDEN's message of "Mon, 15
 Jan 2024 21:16:07 +0100")
References: <86le8qfj3s.fsf@chopper>
Date: Tue, 16 Jan 2024 10:08:41 +0100
Message-ID: <874jfdwspy.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

joakim@HIDDEN writes:

> I have a question about image dired. I find it very confusing the way
> window layout changes in image-dired happen.
>
> Basically I want a window layout like depicted here:
> https://www.emacswiki.org/emacs/ImageDired
>
> In words: a 3 window layout, dired to the left, image dired top right, larger
> view of current image bottom right.
>
> +----+----+
> |    |    |
> |    +----+
> |    |    |
> +----+----+
>
> Whenever I try to set this layout up by hand the main image view jumps between
> windows, ruining my layout.

Hi Joakim,

I have tried your layout and you're right that this is annoying: for me
the dired buffer and image view buffer are switching windows each time I
go to the next image.

Maybe we should try to fix this but, as usual, with Emacs display layout
it could not be to everybody's taste.

> Theres a function image-dired-display-image that displays the image
> you select for display in the thumb view window. the call to
> kill-buffer and then pop-to-buffer would seem to indicate that this is
> the intended behaviour, or is it? Shouldnt the code try to preserve
> the users window configuration if possible?
>
> The function, notice kill-buffer then pop-to-buffer.

Thanks for this hint.  You're right that the kill/pop-to/rename dance
may be the cause of this issue.
-- 
Manuel Giraud




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#68486: 29.1; Confusing window layout changes in image-dired
Resent-From: Manuel Giraud <manuel@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 16 Jan 2024 09:53:02 +0000
Resent-Message-ID: <handler.68486.B68486.17053987771334 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 68486
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 68486 <at> debbugs.gnu.org
Cc: joakim@HIDDEN
X-Debbugs-Original-To: Manuel Giraud via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN>
X-Debbugs-Original-Cc: 68486 <at> debbugs.gnu.org, joakim@HIDDEN
Received: via spool by 68486-submit <at> debbugs.gnu.org id=B68486.17053987771334
          (code B ref 68486); Tue, 16 Jan 2024 09:53:02 +0000
Received: (at 68486) by debbugs.gnu.org; 16 Jan 2024 09:52:57 +0000
Received: from localhost ([127.0.0.1]:47778 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rPg7t-0000LS-G2
	for submit <at> debbugs.gnu.org; Tue, 16 Jan 2024 04:52:57 -0500
Received: from ledu-giraud.fr ([51.159.28.247]:17490)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <manuel@HIDDEN>) id 1rPg7o-0000LF-VY
 for 68486 <at> debbugs.gnu.org; Tue, 16 Jan 2024 04:52:56 -0500
DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=IOWPGb5/
 UxcmrTc3+TumWEbmwP1zBcYskJmC3Wli2Rc=;
 h=date:references:in-reply-to:
 subject:cc:to:from; d=ledu-giraud.fr; b=pNNv0PBvl9xUyJNEWic9cPxE0Mkm+l
 gOqqVZo4iPML4NVUgMex6S4MItEvnDQxyFeDYJ++8VLRiTaPrUjDGfBg==
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=IOWPGb5/UxcmrTc3
 +TumWEbmwP1zBcYskJmC3Wli2Rc=;
 h=date:references:in-reply-to:subject:
 cc:to:from; d=ledu-giraud.fr; b=09dKl99YGWKiDY9O3QxB+3RFbydLHWrVrSdiYF
 ed7D8JttYYCS/TzqkPNlC9c/FmYOUBNJD87WcIBJB8OF8rdNhYwkZhLYrxpXPsPjhO1zZr
 kXutm2XLtzcxKYQ7B8k9joUh2s4kW7stGLU9MXnMhnw4SS/W6ih4FWIEKPKlXZ8eZ4zw3a
 TO8z+3Uos7RAUUGwdfdQ09RIwcPofUNH9x7i8hRN+wGOgOW9R7cr0k9rvmt4W7tEcCfu84
 vyjeiy55LhyZLBk5t9VtIG1zr3rOJYJ/WpJLT34d0AvQCj8+KHVj58xZ6cQcykUZVsBp7d
 cSC/rx9/4Hd1nY9SmfTvkdQw==
Received: from computer (<unknown> [10.1.1.1])
 by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 3d2c905c
 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); 
 Tue, 16 Jan 2024 10:52:51 +0100 (CET)
From: Manuel Giraud <manuel@HIDDEN>
In-Reply-To: <874jfdwspy.fsf@HIDDEN> (Manuel Giraud via's message of
 "Tue, 16 Jan 2024 10:08:41 +0100")
References: <86le8qfj3s.fsf@chopper> <874jfdwspy.fsf@HIDDEN>
Date: Tue, 16 Jan 2024 10:52:50 +0100
Message-ID: <87zfx5vc3x.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain

Hi,

Could you try this patch?
-- 
Manuel Giraud

--=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment;
 filename=0001-Refill-image-dired-display-image-buffer.patch

From b979865cf8cf2fa8ec73ac8bc6cfee32f6de68fc Mon Sep 17 00:00:00 2001
From: Manuel Giraud <manuel@HIDDEN>
Date: Tue, 16 Jan 2024 10:47:45 +0100
Subject: [PATCH] Refill 'image-dired-display-image-buffer'

Bug#68486

* lisp/image/image-dired.el (image-dired-display-image): Refill
'image-dired-display-image-buffer' instead of killing it, open a new
file and then renaming it.
---
 lisp/image/image-dired.el | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/lisp/image/image-dired.el b/lisp/image/image-dired.el
index 9eb68e240fe..b08aa129b98 100644
--- a/lisp/image/image-dired.el
+++ b/lisp/image/image-dired.el
@@ -1260,18 +1260,18 @@ image-dired-display-image
   (setq file (expand-file-name file))
   (when (not (file-exists-p file))
     (error "No such file: %s" file))
-  (let ((buf (get-buffer image-dired-display-image-buffer))
+  (let ((buf (get-buffer-create image-dired-display-image-buffer))
         (cur-win (selected-window)))
-    (when buf
-      (kill-buffer buf))
-    (when-let ((buf (find-file-noselect file nil t)))
-      (pop-to-buffer buf)
-      (rename-buffer image-dired-display-image-buffer)
-      (if (string-match (image-file-name-regexp) file)
-          (image-dired-image-mode)
-        ;; Support visiting PDF files.
-        (normal-mode))
-      (select-window cur-win))))
+    (with-current-buffer buf
+      (let ((inhibit-read-only t))
+        (erase-buffer)
+        (insert-file-contents file)
+        (if (string-match (image-file-name-regexp) file)
+            (image-dired-image-mode)
+          ;; Support visiting PDF files.
+          (normal-mode))))
+    (when buf (pop-to-buffer buf))
+    (select-window cur-win)))
 
 (defun image-dired-display-this (&optional arg)
   "Display current thumbnail's original image in display buffer.
-- 
2.43.0


--=-=-=--




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#68486: 29.1; Confusing window layout changes in image-dired
Resent-From: Manuel Giraud <manuel@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 16 Jan 2024 09:54:01 +0000
Resent-Message-ID: <handler.68486.B.17053987841379 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 68486
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 68486 <at> debbugs.gnu.org
Cc: joakim@HIDDEN
X-Debbugs-Original-To: Manuel Giraud via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN>
X-Debbugs-Original-Cc: 68486 <at> debbugs.gnu.org, joakim@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.17053987841379
          (code B ref -1); Tue, 16 Jan 2024 09:54:01 +0000
Received: (at submit) by debbugs.gnu.org; 16 Jan 2024 09:53:04 +0000
Received: from localhost ([127.0.0.1]:47782 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rPg7z-0000MA-T4
	for submit <at> debbugs.gnu.org; Tue, 16 Jan 2024 04:53:04 -0500
Received: from lists.gnu.org ([2001:470:142::17]:52174)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <manuel@HIDDEN>) id 1rPg7x-0000LP-Me
 for submit <at> debbugs.gnu.org; Tue, 16 Jan 2024 04:53:02 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <manuel@HIDDEN>)
 id 1rPg7s-0005Eb-2I
 for bug-gnu-emacs@HIDDEN; Tue, 16 Jan 2024 04:52:56 -0500
Received: from ledu-giraud.fr ([51.159.28.247])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <manuel@HIDDEN>)
 id 1rPg7p-0005q7-N5
 for bug-gnu-emacs@HIDDEN; Tue, 16 Jan 2024 04:52:55 -0500
DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=IOWPGb5/
 UxcmrTc3+TumWEbmwP1zBcYskJmC3Wli2Rc=;
 h=date:references:in-reply-to:
 subject:cc:to:from; d=ledu-giraud.fr; b=pNNv0PBvl9xUyJNEWic9cPxE0Mkm+l
 gOqqVZo4iPML4NVUgMex6S4MItEvnDQxyFeDYJ++8VLRiTaPrUjDGfBg==
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=IOWPGb5/UxcmrTc3
 +TumWEbmwP1zBcYskJmC3Wli2Rc=;
 h=date:references:in-reply-to:subject:
 cc:to:from; d=ledu-giraud.fr; b=09dKl99YGWKiDY9O3QxB+3RFbydLHWrVrSdiYF
 ed7D8JttYYCS/TzqkPNlC9c/FmYOUBNJD87WcIBJB8OF8rdNhYwkZhLYrxpXPsPjhO1zZr
 kXutm2XLtzcxKYQ7B8k9joUh2s4kW7stGLU9MXnMhnw4SS/W6ih4FWIEKPKlXZ8eZ4zw3a
 TO8z+3Uos7RAUUGwdfdQ09RIwcPofUNH9x7i8hRN+wGOgOW9R7cr0k9rvmt4W7tEcCfu84
 vyjeiy55LhyZLBk5t9VtIG1zr3rOJYJ/WpJLT34d0AvQCj8+KHVj58xZ6cQcykUZVsBp7d
 cSC/rx9/4Hd1nY9SmfTvkdQw==
Received: from computer (<unknown> [10.1.1.1])
 by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 3d2c905c
 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); 
 Tue, 16 Jan 2024 10:52:51 +0100 (CET)
From: Manuel Giraud <manuel@HIDDEN>
In-Reply-To: <874jfdwspy.fsf@HIDDEN> (Manuel Giraud via's message of
 "Tue, 16 Jan 2024 10:08:41 +0100")
References: <86le8qfj3s.fsf@chopper> <874jfdwspy.fsf@HIDDEN>
Date: Tue, 16 Jan 2024 10:52:50 +0100
Message-ID: <87zfx5vc3x.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
Received-SPF: pass client-ip=51.159.28.247; envelope-from=manuel@HIDDEN;
 helo=ledu-giraud.fr
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, SPF_HELO_PASS=-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.9 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.1 (/)

--=-=-=
Content-Type: text/plain

Hi,

Could you try this patch?
-- 
Manuel Giraud

--=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment;
 filename=0001-Refill-image-dired-display-image-buffer.patch

From b979865cf8cf2fa8ec73ac8bc6cfee32f6de68fc Mon Sep 17 00:00:00 2001
From: Manuel Giraud <manuel@HIDDEN>
Date: Tue, 16 Jan 2024 10:47:45 +0100
Subject: [PATCH] Refill 'image-dired-display-image-buffer'

Bug#68486

* lisp/image/image-dired.el (image-dired-display-image): Refill
'image-dired-display-image-buffer' instead of killing it, open a new
file and then renaming it.
---
 lisp/image/image-dired.el | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/lisp/image/image-dired.el b/lisp/image/image-dired.el
index 9eb68e240fe..b08aa129b98 100644
--- a/lisp/image/image-dired.el
+++ b/lisp/image/image-dired.el
@@ -1260,18 +1260,18 @@ image-dired-display-image
   (setq file (expand-file-name file))
   (when (not (file-exists-p file))
     (error "No such file: %s" file))
-  (let ((buf (get-buffer image-dired-display-image-buffer))
+  (let ((buf (get-buffer-create image-dired-display-image-buffer))
         (cur-win (selected-window)))
-    (when buf
-      (kill-buffer buf))
-    (when-let ((buf (find-file-noselect file nil t)))
-      (pop-to-buffer buf)
-      (rename-buffer image-dired-display-image-buffer)
-      (if (string-match (image-file-name-regexp) file)
-          (image-dired-image-mode)
-        ;; Support visiting PDF files.
-        (normal-mode))
-      (select-window cur-win))))
+    (with-current-buffer buf
+      (let ((inhibit-read-only t))
+        (erase-buffer)
+        (insert-file-contents file)
+        (if (string-match (image-file-name-regexp) file)
+            (image-dired-image-mode)
+          ;; Support visiting PDF files.
+          (normal-mode))))
+    (when buf (pop-to-buffer buf))
+    (select-window cur-win)))
 
 (defun image-dired-display-this (&optional arg)
   "Display current thumbnail's original image in display buffer.
-- 
2.43.0


--=-=-=--




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#68486: 29.1; Confusing window layout changes in image-dired
Resent-From: joakim@HIDDEN
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 16 Jan 2024 09:54:02 +0000
Resent-Message-ID: <handler.68486.B68486.17053988271449 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 68486
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Manuel Giraud <manuel@HIDDEN>
Cc: 68486 <at> debbugs.gnu.org
Received: via spool by 68486-submit <at> debbugs.gnu.org id=B68486.17053988271449
          (code B ref 68486); Tue, 16 Jan 2024 09:54:02 +0000
Received: (at 68486) by debbugs.gnu.org; 16 Jan 2024 09:53:47 +0000
Received: from localhost ([127.0.0.1]:47791 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rPg8h-0000NI-B0
	for submit <at> debbugs.gnu.org; Tue, 16 Jan 2024 04:53:47 -0500
Received: from smtp.outgoing.loopia.se ([93.188.3.37]:24561)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <joakim@HIDDEN>) id 1rPg8e-0000Mx-IT
 for 68486 <at> debbugs.gnu.org; Tue, 16 Jan 2024 04:53:45 -0500
Received: from s807.loopia.se (localhost [127.0.0.1])
 by s807.loopia.se (Postfix) with ESMTP id B37DA2FD82E8
 for <68486 <at> debbugs.gnu.org>; Tue, 16 Jan 2024 10:53:37 +0100 (CET)
Received: from s899.loopia.se (unknown [172.22.191.5])
 by s807.loopia.se (Postfix) with ESMTP id A4E052E2842F;
 Tue, 16 Jan 2024 10:53:37 +0100 (CET)
Received: from s473.loopia.se (unknown [172.22.191.5])
 by s899.loopia.se (Postfix) with ESMTP id A33052C8BAA3;
 Tue, 16 Jan 2024 10:53:37 +0100 (CET)
X-Virus-Scanned: amavisd-new at amavis.loopia.se
X-Spam-Flag: NO
X-Spam-Score: -1.01
X-Spam-Level: 
X-Spam-Status: No, score=-1.01 tagged_above=-999 required=6.2
 tests=[ALL_TRUSTED=-1, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=disabled
Received: from s899.loopia.se ([172.22.191.6])
 by s473.loopia.se (s473.loopia.se [172.22.190.13]) (amavisd-new, port 10024)
 with LMTP id eBE9nrubVJVQ; Tue, 16 Jan 2024 10:53:36 +0100 (CET)
X-Loopia-Auth: user
X-Loopia-User: joakim@HIDDEN
X-Loopia-Originating-IP: 193.234.148.196
Received: from tanaka.verona.se (unknown [193.234.148.196])
 (Authenticated sender: joakim@HIDDEN)
 by s899.loopia.se (Postfix) with ESMTPSA id BAFA42C8BA6D;
 Tue, 16 Jan 2024 10:53:36 +0100 (CET)
From: joakim@HIDDEN
In-Reply-To: <874jfdwspy.fsf@HIDDEN> (Manuel Giraud's message of "Tue, 
 16 Jan 2024 10:08:41 +0100")
References: <86le8qfj3s.fsf@chopper> <874jfdwspy.fsf@HIDDEN>
Date: Tue, 16 Jan 2024 10:53:36 +0100
Message-ID: <87cyu1hae7.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Manuel Giraud <manuel@HIDDEN> writes:

> joakim@HIDDEN writes:
>
>> I have a question about image dired. I find it very confusing the way
>> window layout changes in image-dired happen.
>>
>> Basically I want a window layout like depicted here:
>> https://www.emacswiki.org/emacs/ImageDired
>>
>> In words: a 3 window layout, dired to the left, image dired top right, larger
>> view of current image bottom right.
>>
>> +----+----+
>> |    |    |
>> |    +----+
>> |    |    |
>> +----+----+
>>
>> Whenever I try to set this layout up by hand the main image view jumps between
>> windows, ruining my layout.
>
> Hi Joakim,
>
> I have tried your layout and you're right that this is annoying: for me
> the dired buffer and image view buffer are switching windows each time I
> go to the next image.
>
> Maybe we should try to fix this but, as usual, with Emacs display layout
> it could not be to everybody's taste.

Agreed, but I think it wouldnt be controversial to keep an existing
user created layout, and you seem to agree with this sentiment.

>
>> Theres a function image-dired-display-image that displays the image
>> you select for display in the thumb view window. the call to
>> kill-buffer and then pop-to-buffer would seem to indicate that this is
>> the intended behaviour, or is it? Shouldnt the code try to preserve
>> the users window configuration if possible?
>>
>> The function, notice kill-buffer then pop-to-buffer.
>
> Thanks for this hint.  You're right that the kill/pop-to/rename dance
> may be the cause of this issue.

I tried just removing the kill-buffer, but that didnt work, I guess the
call is there for a reason. I thought that if the buffer isnt killed,
and the content just replaced everything should work, but aparently not.

If you come up with a patch I will try it!

-- 
Joakim Verona
joakim@HIDDEN




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#68486: 29.1; Confusing window layout changes in image-dired
Resent-From: joakim@HIDDEN
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 16 Jan 2024 11:52:01 +0000
Resent-Message-ID: <handler.68486.B.17054059181343 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 68486
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 68486 <at> debbugs.gnu.org
Cc: manuel@HIDDEN
X-Debbugs-Original-To: Manuel Giraud via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN>
X-Debbugs-Original-Cc: 68486 <at> debbugs.gnu.org, Manuel Giraud <manuel@HIDDEN>
Received: via spool by submit <at> debbugs.gnu.org id=B.17054059181343
          (code B ref -1); Tue, 16 Jan 2024 11:52:01 +0000
Received: (at submit) by debbugs.gnu.org; 16 Jan 2024 11:51:58 +0000
Received: from localhost ([127.0.0.1]:47959 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rPhz4-0000La-Al
	for submit <at> debbugs.gnu.org; Tue, 16 Jan 2024 06:51:58 -0500
Received: from lists.gnu.org ([2001:470:142::17]:33106)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <joakim@HIDDEN>) id 1rPhz2-0000L3-Db
 for submit <at> debbugs.gnu.org; Tue, 16 Jan 2024 06:51:57 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <joakim@HIDDEN>) id 1rPhyw-0004Vr-1U
 for bug-gnu-emacs@HIDDEN; Tue, 16 Jan 2024 06:51:50 -0500
Received: from smtp.outgoing.loopia.se ([93.188.3.37])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <joakim@HIDDEN>) id 1rPhyt-0001LE-Nz
 for bug-gnu-emacs@HIDDEN; Tue, 16 Jan 2024 06:51:49 -0500
Received: from s807.loopia.se (localhost [127.0.0.1])
 by s807.loopia.se (Postfix) with ESMTP id 08C6F2FCD65D
 for <bug-gnu-emacs@HIDDEN>; Tue, 16 Jan 2024 12:51:44 +0100 (CET)
Received: from s899.loopia.se (unknown [172.22.191.5])
 by s807.loopia.se (Postfix) with ESMTP id EDA162E28AAF;
 Tue, 16 Jan 2024 12:51:43 +0100 (CET)
Received: from s898.loopia.se (unknown [172.22.191.6])
 by s899.loopia.se (Postfix) with ESMTP id EBCAE2C8BA9C;
 Tue, 16 Jan 2024 12:51:43 +0100 (CET)
X-Virus-Scanned: amavisd-new at amavis.loopia.se
X-Spam-Flag: NO
X-Spam-Score: -1.01
X-Spam-Level: 
X-Spam-Status: No, score=-1.01 tagged_above=-999 required=6.2
 tests=[ALL_TRUSTED=-1, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=disabled
Received: from s934.loopia.se ([172.22.191.5])
 by s898.loopia.se (s898.loopia.se [172.22.190.17]) (amavisd-new, port 10024)
 with UTF8LMTP id z9-QIoIyqCCb; Tue, 16 Jan 2024 12:51:43 +0100 (CET)
X-Loopia-Auth: user
X-Loopia-User: joakim@HIDDEN
X-Loopia-Originating-IP: 193.234.148.196
Received: from tanaka.verona.se (unknown [193.234.148.196])
 (Authenticated sender: joakim@HIDDEN)
 by s934.loopia.se (Postfix) with ESMTPSA id 1CB177CEA4E;
 Tue, 16 Jan 2024 12:51:43 +0100 (CET)
From: joakim@HIDDEN
In-Reply-To: <87zfx5vc3x.fsf@HIDDEN> (Manuel Giraud via's message of
 "Tue, 16 Jan 2024 10:52:50 +0100")
References: <86le8qfj3s.fsf@chopper> <874jfdwspy.fsf@HIDDEN>
 <87zfx5vc3x.fsf@HIDDEN>
Date: Tue, 16 Jan 2024 12:51:42 +0100
Message-ID: <874jfdh4xd.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=93.188.3.37; envelope-from=joakim@HIDDEN;
 helo=smtp.outgoing.loopia.se
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, RCVD_IN_DNSWL_NONE=-0.0001,
 RCVD_IN_MSPIKE_H2=-0.001, 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.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Manuel Giraud via "Bug reports for GNU Emacs, the Swiss army knife of
text editors" <bug-gnu-emacs@HIDDEN> writes:

> Hi,
>
> Could you try this patch?

After some failures trying the patch in my running emacs session, I
tried with emacs -q, and now it worked, big improvement!



> -- 
> Manuel Giraud
>
> From b979865cf8cf2fa8ec73ac8bc6cfee32f6de68fc Mon Sep 17 00:00:00 2001
> From: Manuel Giraud <manuel@HIDDEN>
> Date: Tue, 16 Jan 2024 10:47:45 +0100
> Subject: [PATCH] Refill 'image-dired-display-image-buffer'
>
> Bug#68486
>
> * lisp/image/image-dired.el (image-dired-display-image): Refill
> 'image-dired-display-image-buffer' instead of killing it, open a new
> file and then renaming it.
> ---
>  lisp/image/image-dired.el | 22 +++++++++++-----------
>  1 file changed, 11 insertions(+), 11 deletions(-)
>
> diff --git a/lisp/image/image-dired.el b/lisp/image/image-dired.el
> index 9eb68e240fe..b08aa129b98 100644
> --- a/lisp/image/image-dired.el
> +++ b/lisp/image/image-dired.el
> @@ -1260,18 +1260,18 @@ image-dired-display-image
>    (setq file (expand-file-name file))
>    (when (not (file-exists-p file))
>      (error "No such file: %s" file))
> -  (let ((buf (get-buffer image-dired-display-image-buffer))
> +  (let ((buf (get-buffer-create image-dired-display-image-buffer))
>          (cur-win (selected-window)))
> -    (when buf
> -      (kill-buffer buf))
> -    (when-let ((buf (find-file-noselect file nil t)))
> -      (pop-to-buffer buf)
> -      (rename-buffer image-dired-display-image-buffer)
> -      (if (string-match (image-file-name-regexp) file)
> -          (image-dired-image-mode)
> -        ;; Support visiting PDF files.
> -        (normal-mode))
> -      (select-window cur-win))))
> +    (with-current-buffer buf
> +      (let ((inhibit-read-only t))
> +        (erase-buffer)
> +        (insert-file-contents file)
> +        (if (string-match (image-file-name-regexp) file)
> +            (image-dired-image-mode)
> +          ;; Support visiting PDF files.
> +          (normal-mode))))
> +    (when buf (pop-to-buffer buf))
> +    (select-window cur-win)))
>  
>  (defun image-dired-display-this (&optional arg)
>    "Display current thumbnail's original image in display buffer.
-- 
Joakim Verona
joakim@HIDDEN




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#68486: 29.1; Confusing window layout changes in image-dired
Resent-From: joakim@HIDDEN
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 16 Jan 2024 11:52:02 +0000
Resent-Message-ID: <handler.68486.B68486.17054059131323 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 68486
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 68486 <at> debbugs.gnu.org
Cc: manuel@HIDDEN
X-Debbugs-Original-To: Manuel Giraud via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN>
X-Debbugs-Original-Cc: 68486 <at> debbugs.gnu.org, Manuel Giraud <manuel@HIDDEN>
Received: via spool by 68486-submit <at> debbugs.gnu.org id=B68486.17054059131323
          (code B ref 68486); Tue, 16 Jan 2024 11:52:02 +0000
Received: (at 68486) by debbugs.gnu.org; 16 Jan 2024 11:51:53 +0000
Received: from localhost ([127.0.0.1]:47956 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rPhyy-0000LE-Ol
	for submit <at> debbugs.gnu.org; Tue, 16 Jan 2024 06:51:53 -0500
Received: from smtp.outgoing.loopia.se ([93.188.3.37]:33552)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <joakim@HIDDEN>) id 1rPhyw-0000Kv-Od
 for 68486 <at> debbugs.gnu.org; Tue, 16 Jan 2024 06:51:51 -0500
Received: from s807.loopia.se (localhost [127.0.0.1])
 by s807.loopia.se (Postfix) with ESMTP id 083E52FC8F30
 for <68486 <at> debbugs.gnu.org>; Tue, 16 Jan 2024 12:51:44 +0100 (CET)
Received: from s899.loopia.se (unknown [172.22.191.5])
 by s807.loopia.se (Postfix) with ESMTP id EDA162E28AAF;
 Tue, 16 Jan 2024 12:51:43 +0100 (CET)
Received: from s898.loopia.se (unknown [172.22.191.6])
 by s899.loopia.se (Postfix) with ESMTP id EBCAE2C8BA9C;
 Tue, 16 Jan 2024 12:51:43 +0100 (CET)
X-Virus-Scanned: amavisd-new at amavis.loopia.se
X-Spam-Flag: NO
X-Spam-Score: -1.01
X-Spam-Level: 
X-Spam-Status: No, score=-1.01 tagged_above=-999 required=6.2
 tests=[ALL_TRUSTED=-1, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=disabled
Received: from s934.loopia.se ([172.22.191.5])
 by s898.loopia.se (s898.loopia.se [172.22.190.17]) (amavisd-new, port 10024)
 with UTF8LMTP id z9-QIoIyqCCb; Tue, 16 Jan 2024 12:51:43 +0100 (CET)
X-Loopia-Auth: user
X-Loopia-User: joakim@HIDDEN
X-Loopia-Originating-IP: 193.234.148.196
Received: from tanaka.verona.se (unknown [193.234.148.196])
 (Authenticated sender: joakim@HIDDEN)
 by s934.loopia.se (Postfix) with ESMTPSA id 1CB177CEA4E;
 Tue, 16 Jan 2024 12:51:43 +0100 (CET)
From: joakim@HIDDEN
In-Reply-To: <87zfx5vc3x.fsf@HIDDEN> (Manuel Giraud via's message of
 "Tue, 16 Jan 2024 10:52:50 +0100")
References: <86le8qfj3s.fsf@chopper> <874jfdwspy.fsf@HIDDEN>
 <87zfx5vc3x.fsf@HIDDEN>
Date: Tue, 16 Jan 2024 12:51:42 +0100
Message-ID: <874jfdh4xd.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Manuel Giraud via "Bug reports for GNU Emacs, the Swiss army knife of
text editors" <bug-gnu-emacs@HIDDEN> writes:

> Hi,
>
> Could you try this patch?

After some failures trying the patch in my running emacs session, I
tried with emacs -q, and now it worked, big improvement!



> -- 
> Manuel Giraud
>
> From b979865cf8cf2fa8ec73ac8bc6cfee32f6de68fc Mon Sep 17 00:00:00 2001
> From: Manuel Giraud <manuel@HIDDEN>
> Date: Tue, 16 Jan 2024 10:47:45 +0100
> Subject: [PATCH] Refill 'image-dired-display-image-buffer'
>
> Bug#68486
>
> * lisp/image/image-dired.el (image-dired-display-image): Refill
> 'image-dired-display-image-buffer' instead of killing it, open a new
> file and then renaming it.
> ---
>  lisp/image/image-dired.el | 22 +++++++++++-----------
>  1 file changed, 11 insertions(+), 11 deletions(-)
>
> diff --git a/lisp/image/image-dired.el b/lisp/image/image-dired.el
> index 9eb68e240fe..b08aa129b98 100644
> --- a/lisp/image/image-dired.el
> +++ b/lisp/image/image-dired.el
> @@ -1260,18 +1260,18 @@ image-dired-display-image
>    (setq file (expand-file-name file))
>    (when (not (file-exists-p file))
>      (error "No such file: %s" file))
> -  (let ((buf (get-buffer image-dired-display-image-buffer))
> +  (let ((buf (get-buffer-create image-dired-display-image-buffer))
>          (cur-win (selected-window)))
> -    (when buf
> -      (kill-buffer buf))
> -    (when-let ((buf (find-file-noselect file nil t)))
> -      (pop-to-buffer buf)
> -      (rename-buffer image-dired-display-image-buffer)
> -      (if (string-match (image-file-name-regexp) file)
> -          (image-dired-image-mode)
> -        ;; Support visiting PDF files.
> -        (normal-mode))
> -      (select-window cur-win))))
> +    (with-current-buffer buf
> +      (let ((inhibit-read-only t))
> +        (erase-buffer)
> +        (insert-file-contents file)
> +        (if (string-match (image-file-name-regexp) file)
> +            (image-dired-image-mode)
> +          ;; Support visiting PDF files.
> +          (normal-mode))))
> +    (when buf (pop-to-buffer buf))
> +    (select-window cur-win)))
>  
>  (defun image-dired-display-this (&optional arg)
>    "Display current thumbnail's original image in display buffer.
-- 
Joakim Verona
joakim@HIDDEN




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#68486: 29.1; Confusing window layout changes in image-dired
Resent-From: Manuel Giraud <manuel@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 16 Jan 2024 14:38:01 +0000
Resent-Message-ID: <handler.68486.B.17054158342871 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 68486
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: joakim@HIDDEN
Cc: 68486 <at> debbugs.gnu.org
X-Debbugs-Original-Cc: "Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN>, 68486 <at> debbugs.gnu.org
Received: via spool by submit <at> debbugs.gnu.org id=B.17054158342871
          (code B ref -1); Tue, 16 Jan 2024 14:38:01 +0000
Received: (at submit) by debbugs.gnu.org; 16 Jan 2024 14:37:14 +0000
Received: from localhost ([127.0.0.1]:48211 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rPkZ0-0000kF-7O
	for submit <at> debbugs.gnu.org; Tue, 16 Jan 2024 09:37:14 -0500
Received: from lists.gnu.org ([2001:470:142::17]:37340)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <manuel@HIDDEN>) id 1rPkYy-0000k0-5w
 for submit <at> debbugs.gnu.org; Tue, 16 Jan 2024 09:37:12 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <manuel@HIDDEN>)
 id 1rPkYs-0000wZ-1k
 for bug-gnu-emacs@HIDDEN; Tue, 16 Jan 2024 09:37:06 -0500
Received: from ledu-giraud.fr ([51.159.28.247])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <manuel@HIDDEN>)
 id 1rPkYq-0003mX-8X
 for bug-gnu-emacs@HIDDEN; Tue, 16 Jan 2024 09:37:05 -0500
DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=kns1SbwC
 WK3f88MCcaYxdtlflCfONO+2CK6jJ2dKFFE=;
 h=date:references:in-reply-to:
 subject:cc:to:from; d=ledu-giraud.fr; b=tluqSDg6GIlyES/v0KFU7AzZ10YrR9
 k9XGMbKKr68CuKVgUeg3xehjB30NnjdVNlJt0bR4fpWMVmD8BK+p7QAQ==
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=kns1SbwCWK3f88MC
 caYxdtlflCfONO+2CK6jJ2dKFFE=;
 h=date:references:in-reply-to:subject:
 cc:to:from; d=ledu-giraud.fr; b=DudMoQ4GUFnv1oBPMZ1ZrP4cNlS0J3pSgQ2odq
 UyXN2FzLLfeABf/NXue7OdDzDwEuJrvf+kGwO5WHnSEnOFThcQkMyO+cxsoFY5aOWLilgZ
 epUb7PnV6kMY1knUOderL6YPQxgRmb3WC7NNu7YhbRfJLCU15I9iWm0Uyqvt/l8202na4i
 ZZlpA6KBSWmLkicnTlI9hyLxjIQWu3Bz5HVjwDDcVvet7+hruyyETUVY/bQJmetMmnnInd
 klUnLc0sD80XsO6UNIjHNQ11yP2OUuAaGt3VXKT3n/SQZN6c9frVsZAnpR3C/pMcCdrm7R
 utFszzAXVvm9K9eniAIWEo8g==
Received: from computer (<unknown> [10.1.1.1])
 by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id dae4c548
 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); 
 Tue, 16 Jan 2024 15:37:00 +0100 (CET)
From: Manuel Giraud <manuel@HIDDEN>
In-Reply-To: <874jfdh4xd.fsf@HIDDEN> (joakim@HIDDEN's message of
 "Tue, 16 Jan 2024 12:51:42 +0100")
References: <86le8qfj3s.fsf@chopper> <874jfdwspy.fsf@HIDDEN>
 <87zfx5vc3x.fsf@HIDDEN> <874jfdh4xd.fsf@HIDDEN>
Date: Tue, 16 Jan 2024 15:36:59 +0100
Message-ID: <874jfduyyc.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=51.159.28.247; envelope-from=manuel@HIDDEN;
 helo=ledu-giraud.fr
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, SPF_HELO_PASS=-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.9 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.1 (/)

joakim@HIDDEN writes:

> Manuel Giraud via "Bug reports for GNU Emacs, the Swiss army knife of
> text editors" <bug-gnu-emacs@HIDDEN> writes:
>
>> Hi,
>>
>> Could you try this patch?
>
> After some failures trying the patch in my running emacs session, I
> tried with emacs -q, and now it worked, big improvement!

Ah yes sorry this patch is on current master.  Maybe I'd have rebase it
on 29 but let's wait for input from Eli and Stefan K.
-- 
Manuel Giraud




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#68486: 29.1; Confusing window layout changes in image-dired
Resent-From: Manuel Giraud <manuel@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 16 Jan 2024 14:38:02 +0000
Resent-Message-ID: <handler.68486.B68486.17054158262849 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 68486
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: joakim@HIDDEN
Cc: 68486 <at> debbugs.gnu.org
X-Debbugs-Original-Cc: "Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN>, 68486 <at> debbugs.gnu.org
Received: via spool by 68486-submit <at> debbugs.gnu.org id=B68486.17054158262849
          (code B ref 68486); Tue, 16 Jan 2024 14:38:02 +0000
Received: (at 68486) by debbugs.gnu.org; 16 Jan 2024 14:37:06 +0000
Received: from localhost ([127.0.0.1]:48208 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rPkYr-0000jt-Vh
	for submit <at> debbugs.gnu.org; Tue, 16 Jan 2024 09:37:06 -0500
Received: from ledu-giraud.fr ([51.159.28.247]:29238)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <manuel@HIDDEN>) id 1rPkYo-0000jY-HJ
 for 68486 <at> debbugs.gnu.org; Tue, 16 Jan 2024 09:37:04 -0500
DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=kns1SbwC
 WK3f88MCcaYxdtlflCfONO+2CK6jJ2dKFFE=;
 h=date:references:in-reply-to:
 subject:cc:to:from; d=ledu-giraud.fr; b=tluqSDg6GIlyES/v0KFU7AzZ10YrR9
 k9XGMbKKr68CuKVgUeg3xehjB30NnjdVNlJt0bR4fpWMVmD8BK+p7QAQ==
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=kns1SbwCWK3f88MC
 caYxdtlflCfONO+2CK6jJ2dKFFE=;
 h=date:references:in-reply-to:subject:
 cc:to:from; d=ledu-giraud.fr; b=DudMoQ4GUFnv1oBPMZ1ZrP4cNlS0J3pSgQ2odq
 UyXN2FzLLfeABf/NXue7OdDzDwEuJrvf+kGwO5WHnSEnOFThcQkMyO+cxsoFY5aOWLilgZ
 epUb7PnV6kMY1knUOderL6YPQxgRmb3WC7NNu7YhbRfJLCU15I9iWm0Uyqvt/l8202na4i
 ZZlpA6KBSWmLkicnTlI9hyLxjIQWu3Bz5HVjwDDcVvet7+hruyyETUVY/bQJmetMmnnInd
 klUnLc0sD80XsO6UNIjHNQ11yP2OUuAaGt3VXKT3n/SQZN6c9frVsZAnpR3C/pMcCdrm7R
 utFszzAXVvm9K9eniAIWEo8g==
Received: from computer (<unknown> [10.1.1.1])
 by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id dae4c548
 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); 
 Tue, 16 Jan 2024 15:37:00 +0100 (CET)
From: Manuel Giraud <manuel@HIDDEN>
In-Reply-To: <874jfdh4xd.fsf@HIDDEN> (joakim@HIDDEN's message of
 "Tue, 16 Jan 2024 12:51:42 +0100")
References: <86le8qfj3s.fsf@chopper> <874jfdwspy.fsf@HIDDEN>
 <87zfx5vc3x.fsf@HIDDEN> <874jfdh4xd.fsf@HIDDEN>
Date: Tue, 16 Jan 2024 15:36:59 +0100
Message-ID: <874jfduyyc.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

joakim@HIDDEN writes:

> Manuel Giraud via "Bug reports for GNU Emacs, the Swiss army knife of
> text editors" <bug-gnu-emacs@HIDDEN> writes:
>
>> Hi,
>>
>> Could you try this patch?
>
> After some failures trying the patch in my running emacs session, I
> tried with emacs -q, and now it worked, big improvement!

Ah yes sorry this patch is on current master.  Maybe I'd have rebase it
on 29 but let's wait for input from Eli and Stefan K.
-- 
Manuel Giraud




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#68486: 29.1; Confusing window layout changes in image-dired
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 16 Jan 2024 14:47:02 +0000
Resent-Message-ID: <handler.68486.B68486.170541640013658 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 68486
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Manuel Giraud <manuel@HIDDEN>
Cc: 68486 <at> debbugs.gnu.org, joakim@HIDDEN
Received: via spool by 68486-submit <at> debbugs.gnu.org id=B68486.170541640013658
          (code B ref 68486); Tue, 16 Jan 2024 14:47:02 +0000
Received: (at 68486) by debbugs.gnu.org; 16 Jan 2024 14:46:40 +0000
Received: from localhost ([127.0.0.1]:48218 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rPki8-0003Xv-7t
	for submit <at> debbugs.gnu.org; Tue, 16 Jan 2024 09:46:40 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:40904)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1rPki5-0003Su-Uv
 for 68486 <at> debbugs.gnu.org; Tue, 16 Jan 2024 09:46:38 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1rPkhy-0007uM-8I; Tue, 16 Jan 2024 09:46:30 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=TvrGFh/fW1CGCJ5TMR8IVBT/8YrQLIMv0KLVhnGsYxU=; b=A1GqRFt6DSaF
 02/d7wqdE1QE5T3zj8K7f/j73o6yfYgx3MegVjQTM6CsX7ApYyvQVZhdtjoa6JLD8DNWXWLoFYv3i
 lIrkOeIFQHmdgVR3LSU4oQihqMf4a6zZa01qdVpNA/wVvyq5T4LoQIgu0Hhy6FapTU3NWikhY+Lte
 4AZR/GWcp8uFzdHFWWT7GltRhfcQFYy9vR1t9eI+jUXbembUVFmeqkiPuxp6piVAO1XVGgAzM9EW/
 rXozan2V5l9ZruGhy3Ccoy49NEMSDe71jw0h0LwxeFp/5EQvo/kivFsHPSwQbp0xahOlnlhhdDsCm
 jyfjds/8ccPcgESNOLce0Q==;
Date: Tue, 16 Jan 2024 16:46:17 +0200
Message-Id: <834jfdcp52.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <874jfduyyc.fsf@HIDDEN> (bug-gnu-emacs@HIDDEN)
References: <86le8qfj3s.fsf@chopper> <874jfdwspy.fsf@HIDDEN>
 <87zfx5vc3x.fsf@HIDDEN> <874jfdh4xd.fsf@HIDDEN>
 <874jfduyyc.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Cc: 68486 <at> debbugs.gnu.org
> Date: Tue, 16 Jan 2024 15:36:59 +0100
> From:  Manuel Giraud via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN>
> 
> joakim@HIDDEN writes:
> 
> > Manuel Giraud via "Bug reports for GNU Emacs, the Swiss army knife of
> > text editors" <bug-gnu-emacs@HIDDEN> writes:
> >
> >> Hi,
> >>
> >> Could you try this patch?
> >
> > After some failures trying the patch in my running emacs session, I
> > tried with emacs -q, and now it worked, big improvement!
> 
> Ah yes sorry this patch is on current master.  Maybe I'd have rebase it
> on 29 but let's wait for input from Eli and Stefan K.

I think the problem is not serious enough to warrant such a change on
the release branch.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#68486: 29.1; Confusing window layout changes in image-dired
Resent-From: Manuel Giraud <manuel@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 16 Jan 2024 15:33:02 +0000
Resent-Message-ID: <handler.68486.B68486.170541914318655 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 68486
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 68486 <at> debbugs.gnu.org, joakim@HIDDEN
Received: via spool by 68486-submit <at> debbugs.gnu.org id=B68486.170541914318655
          (code B ref 68486); Tue, 16 Jan 2024 15:33:02 +0000
Received: (at 68486) by debbugs.gnu.org; 16 Jan 2024 15:32:23 +0000
Received: from localhost ([127.0.0.1]:49483 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rPlQN-0004qp-IR
	for submit <at> debbugs.gnu.org; Tue, 16 Jan 2024 10:32:23 -0500
Received: from ledu-giraud.fr ([51.159.28.247]:5294)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <manuel@HIDDEN>) id 1rPlQK-0004qg-If
 for 68486 <at> debbugs.gnu.org; Tue, 16 Jan 2024 10:32:22 -0500
DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=nSxzod+F
 38pGSqncL+IzDTcRctSp502vFEYkPhKDDF4=;
 h=date:references:in-reply-to:
 subject:cc:to:from; d=ledu-giraud.fr; b=/345tfT7Tz8FvdBLblo+LBZzxmCct9
 pRENDCMsx+FBsCEOAO3N3xkgBaXMeXADWet3njPvewM90Lvni3fNhoDQ==
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=nSxzod+F38pGSqnc
 L+IzDTcRctSp502vFEYkPhKDDF4=;
 h=date:references:in-reply-to:subject:
 cc:to:from; d=ledu-giraud.fr; b=AztvMEvSs8lfKkeZIXppAkeKxkXO45ZTXcD3Zc
 Gdtaxc4L9G7a5DRdJQQJr6ftHG2P3Au/uxrvHD3ZMSptSUAhBV2sRLKBGjTHSLcn/Ckg3F
 O2AFnRq2Tl30MTY6iubgHGYrE/+F3feSAWqx/eck6u8CLPH4hP9H+J4djLSUvRjqXDOzjH
 wHqATl2ZFiZ0LeujwM7b4qWL6dup7WoGw7ILB/WMpCgFK+Ay1+bxtd81PvCizqlgbNH25C
 yCU8nnZIh+MbmICq5vAzGsNxmxjDkdqFAf15UzSGzaK51X25EJ2HIpOSKrmJenwZKxpqid
 7q+sqPORZ12ip8+M7svdhqug==
Received: from computer (<unknown> [10.1.1.1])
 by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id a76d92de
 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); 
 Tue, 16 Jan 2024 16:32:18 +0100 (CET)
From: Manuel Giraud <manuel@HIDDEN>
In-Reply-To: <834jfdcp52.fsf@HIDDEN> (Eli Zaretskii's message of "Tue, 16 Jan
 2024 16:46:17 +0200")
References: <86le8qfj3s.fsf@chopper> <874jfdwspy.fsf@HIDDEN>
 <87zfx5vc3x.fsf@HIDDEN> <874jfdh4xd.fsf@HIDDEN>
 <874jfduyyc.fsf@HIDDEN> <834jfdcp52.fsf@HIDDEN>
Date: Tue, 16 Jan 2024 16:32:18 +0100
Message-ID: <871qahthtp.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

[...]

> I think the problem is not serious enough to warrant such a change on
> the release branch.

Ok so we can try to solve this on master then.
-- 
Manuel Giraud





Last modified: Sat, 20 Jan 2024 12:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.