From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: lorentey@elte.hu (=?iso-8859-2?q?L=F5rentey_K=E1roly?=) Newsgroups: gmane.emacs.devel Subject: Re: Display-local variables (Re: It is time for a feature freeze) Date: Tue, 20 Apr 2004 06:27:55 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <87eks0654s.fsf@sno.mundell.ukfsn.org> <87n06bp4ng.fsf@sno.mundell.ukfsn.org> <8765cwkejr.fsf@mail.jurta.org> <200404071157.UAA25094@etlken.m17n.org> <200404071312.WAA25268@etlken.m17n.org> <87zn9nqras.fsf@emacswiki.org> <87hdvux5uz.fsf@orebokech.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1082435538 26905 80.91.224.253 (20 Apr 2004 04:32:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 20 Apr 2004 04:32:18 +0000 (UTC) Cc: David Kastrup , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Apr 20 06:32:11 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BFmvb-0004Re-00 for ; Tue, 20 Apr 2004 06:32:11 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BFmva-0000cz-00 for ; Tue, 20 Apr 2004 06:32:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BFmum-0005vQ-In for emacs-devel@quimby.gnus.org; Tue, 20 Apr 2004 00:31:20 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BFmub-0005ic-JL for emacs-devel@gnu.org; Tue, 20 Apr 2004 00:31:09 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BFmu2-0004pM-HP for emacs-devel@gnu.org; Tue, 20 Apr 2004 00:31:05 -0400 Original-Received: from [157.181.151.9] (helo=mx2.elte.hu) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BFmtV-0004d1-Eh; Tue, 20 Apr 2004 00:30:01 -0400 Original-Received: from mailbox1.caesar.elte.hu (mailbox1.caesar.elte.hu [157.181.151.157]) by mx2.elte.hu (Postfix) with ESMTP id CFD95AFAB5; Tue, 20 Apr 2004 06:28:26 +0200 (CEST) Original-Received: from eris (eris.elte.hu [157.181.150.146]) by mailbox1.caesar.elte.hu (Postfix) with ESMTP id 20EACA079515; Tue, 20 Apr 2004 06:28:44 +0200 (CEST) Original-Received: by eris (Postfix, from userid 1000) id 4585247B8F; Tue, 20 Apr 2004 06:27:56 +0200 (CEST) Original-To: storm@cua.dk (Kim F. Storm) In-Reply-To: (Kim F. Storm's message of "20 Apr 2004 00:09:51 +0200") User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) X-ELTE-SpamVersion: MailScanner 4.26.8-itk2 (ELTE 1.1) SpamAssassin 2.63 ClamAV 0.65 X-ELTE-VirusStatus: clean X-ELTE-SpamCheck: no X-ELTE-SpamCheck-Details: score=-4.9, required 5.9, autolearn=not spam, BAYES_00 -4.90 X-ELTE-SpamLevel: X-ELTE-SpamScore: -4 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:21924 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:21924 Kim F. Storm writes: >> I am now convinced that display-local variables are not really >> necessary. What about making displays first-level Lisp objects? Are >> there any objections against that? > > Where is this needed ? First, it would make it easy to implement support for having more than one display on the same device. I'd like to be able to have more than one emacsclient tty sessions on the same terminal. The only problem is that Lisp code can not currently distinguish between two displays that are on the same device. I think exposing the display list to Lisp would solve that problem nicely. Plus, having a display type would make it easier in general to manipulate displays from Lisp code. E.g. for checking that two frames are on the same display, I'd like to simply say: (eq (frame-display a) (frame-display b)) Do you know an easy way to provide this functionality without Lisp-level display types? (Well, I guess I could assign an id number for each display, but that does not sound like the Emacs Way. For example, handling deleted displays would be hard to do right.) --=20 K=E1roly