From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Rename "window" to "pane" (after Emacs 27) Date: Wed, 01 Apr 2020 11:13:39 -0400 Message-ID: References: <878sjgbbot.fsf@oitofelix.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="59352"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Bruno =?windows-1252?B?RsOpbGl4?= Rezende Ribeiro , Stefan Kangas , Richard Stallman , Emacs developers To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Apr 01 17:14:43 2020 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 1jJf4k-000FKW-F0 for ged-emacs-devel@m.gmane-mx.org; Wed, 01 Apr 2020 17:14:42 +0200 Original-Received: from localhost ([::1]:33504 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJf4j-0003hg-Ha for ged-emacs-devel@m.gmane-mx.org; Wed, 01 Apr 2020 11:14:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41367) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJf3r-0003BM-K8 for emacs-devel@gnu.org; Wed, 01 Apr 2020 11:13:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jJf3o-0003wx-7m for emacs-devel@gnu.org; Wed, 01 Apr 2020 11:13:45 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:43955) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jJf3n-0003wA-Pi; Wed, 01 Apr 2020 11:13:44 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 529FD101362; Wed, 1 Apr 2020 11:13:42 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 991C11011C3; Wed, 1 Apr 2020 11:13:40 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1585754020; bh=sEC4yMNTh8IV4M1Jx44/6cNSVM5sruFdGLWZfWxEtuI=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=lFCV2LgRE9iyyL+SnqiypX7rutMX+wA4nmeOMeOPDZa5rF1dpM/nBWZOpUhj77EUY r/TRG/CP/jkM7OyjmqPrLuL5J5yuWj4wT09uLU7C0I4jKWACGlkx26ZypI8xFXtvhE X7i2Z0KBXaWkb29EmQqKbjpMhidjvskniQ3vT9OqEnBCiVoKAZAh+AE5bhiyKCmV6C HjmTzipaXvxMEtZnPiw0o/TyTSuUIfAbEcxkXXQXaTglMecvHwDyja6GjQ1TJuMY7t lNRsS/Gziw4kbntt6s+dK26UsjpjwrgG7BowsGXKOrGpjpULTvTXyPESH24Fk+afdj P0PXzlIaSEI0Q== Original-Received: from alfajor (unknown [104.247.241.114]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 119C7120590; Wed, 1 Apr 2020 11:13:40 -0400 (EDT) In-Reply-To: (Drew Adams's message of "Wed, 1 Apr 2020 07:56:31 -0700 (PDT)") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 132.204.25.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.io gmane.emacs.devel:246199 Archived-At: > And would we then rename "frame" to "window", which We won't be able to do that before (almost) all legacy uses of "window" are gone (and not just from Emacs's own code), which will take many many years (to get an idea: lexical-scoping and cl-lib are 7 years old now and adapting code to them is much less intrusive than renaming all `window`s to `pane`s), so it's important to realize that if it ever happens we'll probably be significantly older than we are now. W.r.t using "panes", we could start by making a *forward compatibility* library `pane.el` distributed via GNU ELPA containing aliases to the current `window` functions and variables. Over time it can be refined/improved to also rewrite docstrings and maybe try to tackle more delicate issues (e.g. "alias" the `pane` property of overlays to the `window` property). This can be done without convincing anyone that we should rename "window" to "pane", but can help prepare for it. Stefan