From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [ELPA] Brief v5.90: neighboring window merge on deletion Date: Tue, 26 Mar 2024 14:51:03 +0200 Message-ID: <864jctjgw8.fsf@gnu.org> References: <86il1cvp7o.fsf@mail.linkov.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33718"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luke.yx.lee@gmail.com, juri@linkov.net, emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Mar 26 13:51:55 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 1rp6HR-0008Vt-8X for ged-emacs-devel@m.gmane-mx.org; Tue, 26 Mar 2024 13:51:53 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rp6Go-0002Wm-LG; Tue, 26 Mar 2024 08:51:14 -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 1rp6Gn-0002WZ-Bp for emacs-devel@gnu.org; Tue, 26 Mar 2024 08:51:13 -0400 Original-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 ) id 1rp6Gm-0003my-RF; Tue, 26 Mar 2024 08:51:12 -0400 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=T+kBptlNPMZn8agDyYelh6dkZspnNjh41fo7+iVDlHs=; b=hfjc1hKg2UNB tAjTwzi152bkX0VXTHNpD+oFAmu4Zr+r0OaZxll+6VlHzeENAkTO8wfL6HlumS/kYxPhFLBXafM14 Z41cQxpnTHYuSCyOTJ794FWlqhRbebgWoSMU7UubmABxYUncm1E5j54O8bUqNWWrqbYtkbrcGONF+ dNDWMq4QSeUpzVtxeif/UfQYoOyQYUaV1eTIC8jxTjrDUQmqJ8ghuHomvkMyfHdZD3JwicowUEDb0 QC6ri4GE5LVXTroBANjQy3M/Vx9WtS5EojF6N+Nrd2+Hy/Ammp9APT+TZVTrUjdks0qRVp8TnPQb4 9nNiHRBs1F4lq5doTZmjXA==; In-Reply-To: (message from martin rudalics on Tue, 26 Mar 2024 10:57:23 +0100) 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:317299 Archived-At: > Date: Tue, 26 Mar 2024 10:57:23 +0100 > Cc: Juri Linkov , Emacs developers > From: martin rudalics > > > However, as an `emulation' mode, we usually can only expect it to be `as > > close as possible' to the emulated target application. After added the > > `overlay' and full window state save/restoration it's quite close, but > > of course it's best if I have a way to do it better -- a way to > > `recycle', `reuse' or even `restore' the deleted window ID like > > `winner-mode' does. > > IIUC handling overlays with a 'window' property with current means is > much too cumbersome. One would have to investigate all overlays in the > window's buffer and duplicate them if they have a 'window' property that > references the cloned window. In practice, most overlays don't have > such a property. But crucially, the overlay that implements region highlighting does.