From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Manuel Giraud via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#68486: 29.1; Confusing window layout changes in image-dired Date: Tue, 16 Jan 2024 10:08:41 +0100 Message-ID: <874jfdwspy.fsf@ledu-giraud.fr> References: <86le8qfj3s.fsf@chopper> Reply-To: Manuel Giraud Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13086"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 68486@debbugs.gnu.org To: joakim@verona.se Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jan 16 10:09:17 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rPfRc-0003CU-BB for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Jan 2024 10:09:16 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rPfRQ-00040b-Qi; Tue, 16 Jan 2024 04:09:05 -0500 Original-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 ) id 1rPfRO-00040P-EK for bug-gnu-emacs@gnu.org; Tue, 16 Jan 2024 04:09:02 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rPfRO-0004YZ-5s for bug-gnu-emacs@gnu.org; Tue, 16 Jan 2024 04:09:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rPfRO-00086E-4h for bug-gnu-emacs@gnu.org; Tue, 16 Jan 2024 04:09:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Manuel Giraud Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Jan 2024 09:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68486 X-GNU-PR-Package: emacs Original-Received: via spool by 68486-submit@debbugs.gnu.org id=B68486.170539612731112 (code B ref 68486); Tue, 16 Jan 2024 09:09:02 +0000 Original-Received: (at 68486) by debbugs.gnu.org; 16 Jan 2024 09:08:47 +0000 Original-Received: from localhost ([127.0.0.1]:47651 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rPfR9-00085k-4p for submit@debbugs.gnu.org; Tue, 16 Jan 2024 04:08:47 -0500 Original-Received: from ledu-giraud.fr ([51.159.28.247]:23921) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rPfR6-00085b-EU for 68486@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== Original-Received: from computer ( [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) In-Reply-To: <86le8qfj3s.fsf@chopper> (joakim@verona.se's message of "Mon, 15 Jan 2024 21:16:07 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:278323 Archived-At: joakim@verona.se 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