From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: pranshu sharma Newsgroups: gmane.emacs.devel Subject: Re: Add function to rotate/transpose all windows Date: Sat, 28 Sep 2024 23:22:47 +1000 Message-ID: <87jzevc3q0.fsf@gmail.com> References: <87setpdv21.fsf@gmail.com> <86zfnxcg57.fsf@gnu.org> <877cb09ln4.fsf@gmail.com> <9005cccc-7545-4257-b2c0-885a13d3bde2@gmx.at> <86o74aa41b.fsf@gnu.org> <3d4546ac-70d9-4865-b42d-0dc50cb0f3a7@gmx.at> <86zfns6vjw.fsf@gnu.org> <1bcc1236-0a12-4988-bb77-4cd38fc95b42@gmx.at> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7115"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Sep 28 16:18:50 2024 Return-path: Envelope-to: ged-emacs-devel@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 1suYHZ-0001ga-DX for ged-emacs-devel@m.gmane-mx.org; Sat, 28 Sep 2024 16:18:49 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1suYGi-0005X7-Sg; Sat, 28 Sep 2024 10:17:57 -0400 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 1suXPS-0004T7-Vk for emacs-devel@gnu.org; Sat, 28 Sep 2024 09:22:54 -0400 Original-Received: from mail-pl1-x62a.google.com ([2607:f8b0:4864:20::62a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1suXPR-0001yX-Ge; Sat, 28 Sep 2024 09:22:54 -0400 Original-Received: by mail-pl1-x62a.google.com with SMTP id d9443c01a7336-2059204f448so27544635ad.0; Sat, 28 Sep 2024 06:22:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727529771; x=1728134571; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=Ls8vzc1aHHDUjnoHmOC6/b/zsigYpuCivnHjGMkTSis=; b=cydEIbODKS+frvXWVIAsnZIXOGAc8mSWtJoE/xQqbcQ5myekQmbes4S4DJNbEEy0rd 65YWeOsd7eVYyqtUtFIeLHf9R3SaSoS5t+RN9Hpn/TlGZ/E+U7dFeDTpmm4bzG8GWClW NOhpSNrxsm6LRQYhclOvltqgPNAotrcvjQlr2k8OtZ4Rqz4/Z/m6s0k5TftDVq7bVt2E O0ei7kr5LTfflb/5WRTXGMzAaBHxPkZtoh77ESd+5iCD76PkLkGaHnEAGGjrGsv0n62o +dLIGidmhFcSzEb6JGfkJE2LpML5pW4PhLKM9AUuC1uPFV2CPyRgC6Evr2ATup2gzfQr LoOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727529771; x=1728134571; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Ls8vzc1aHHDUjnoHmOC6/b/zsigYpuCivnHjGMkTSis=; b=Tj1UAPXbopIGBFU0FxTcmRPXvgLs3fjTFCg/eag41y35J1zMHiBZwtEyx+LzNuqdct 8kTNP5pD7H72faoIyexnJ3oy17pdtzqZwwecUc7CKnPrg4tAir16Ftujtl40RutdWPgg nAnMNcdTO75t8hPjn5m6wQ5razPocIgYC6ORaqKpA0czCOjjICBubBNJBhggn+dIQOAX dXZhTea60RbxlSKc/UN/NwS3dGSiT0LSGNexsFplPheWbeG4wuuq/BtKhcqmJMCsgJZZ 9MwJN9V+5uqSlvOnXi2VSSBVPMonOdbJsvoE/HgqvKyhRNWllG38t3PDd6tncJhkdsEY C6ow== X-Forwarded-Encrypted: i=1; AJvYcCWiSrZplpu/EcK3WcG3LZBbsbTbwVVzsjUKRnwyQUV8tB2QsQOJj6wv6bjuEmxV28VeiY5hWabdPvtQNw==@gnu.org X-Gm-Message-State: AOJu0YxEDBvTMqfKiI7QnPNep4YhNycdIV7N1v7G1xJGbaU5n043Gt0Y o5/27nVumq2B9k2idqmnbdlCSYKN9s21tkYoO7wujpiaiHsRo7S959zbGg== X-Google-Smtp-Source: AGHT+IGtt/A4uWyTIJD6GLwY8aJBvG/f2fa2TLjgs4LAbiFF/1U9kVhPih3aa9fVMlJzfcB3h1p8xw== X-Received: by 2002:a17:903:181:b0:205:4a1d:ba37 with SMTP id d9443c01a7336-20b37b66a4bmr110905075ad.38.1727529771325; Sat, 28 Sep 2024 06:22:51 -0700 (PDT) Original-Received: from pebl ([2001:8003:7816:8300:be62:5525:b7f7:4de4]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20b37d8ccfcsm27105515ad.72.2024.09.28.06.22.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 Sep 2024 06:22:51 -0700 (PDT) In-Reply-To: <1bcc1236-0a12-4988-bb77-4cd38fc95b42@gmx.at> (martin rudalics's message of "Sat, 28 Sep 2024 11:40:27 +0200") Received-SPF: pass client-ip=2607:f8b0:4864:20::62a; envelope-from=pranshusharma366@gmail.com; helo=mail-pl1-x62a.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 28 Sep 2024 10:17:51 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:324170 Archived-At: martin rudalics writes: > > It makes sense because (1) we do not have to make a new window that gets > deleted right away and (2) the geometry of the new window will be > handled by 'split-window' directly and not by some obscure copying > routine (I only later noted that 'resurrect-window' got me warnings > about memcpy combined with offsetof writing beyond the bounds of window > structures). Is there a technical reason for the `refer' argument to neccasarily be _dead_ window, it would be very helpful if you could pass a living window.