From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lynbech Christian Newsgroups: gmane.emacs.devel Subject: Re: request: make-frame-visible hook Date: Wed, 18 Feb 2009 15:59:59 +0100 Message-ID: References: <87fxidj8gt.fsf@earthlink.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1234969229 16218 80.91.229.12 (18 Feb 2009 15:00:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Feb 2009 15:00:29 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 18 16:01:44 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LZnvj-0000Js-6F for ged-emacs-devel@m.gmane.org; Wed, 18 Feb 2009 16:01:43 +0100 Original-Received: from localhost ([127.0.0.1]:33765 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LZnuP-0002zA-2m for ged-emacs-devel@m.gmane.org; Wed, 18 Feb 2009 10:00:21 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LZnuI-0002yh-40 for emacs-devel@gnu.org; Wed, 18 Feb 2009 10:00:14 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LZnuG-0002yR-Qu for emacs-devel@gnu.org; Wed, 18 Feb 2009 10:00:13 -0500 Original-Received: from [199.232.76.173] (port=33239 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LZnuG-0002yO-Lh for emacs-devel@gnu.org; Wed, 18 Feb 2009 10:00:12 -0500 Original-Received: from ebb05.tieto.com ([131.207.168.36]:49448) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LZnuG-000606-32 for emacs-devel@gnu.org; Wed, 18 Feb 2009 10:00:12 -0500 X-AuditID: 83cfa824-9f0b3bb00000080c-8b-499c2273ac72 Original-Received: from camaro.eu.tieto.com (unknown [192.176.143.43]) by ebb05.tieto.com (SMTP Mailer) with ESMTP id 7EAEB36A4A6 for ; Wed, 18 Feb 2009 17:00:03 +0200 (EET) Original-Received: from ul000240.eu.tieto.com ([10.48.99.30]) by camaro.eu.tieto.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 18 Feb 2009 16:00:05 +0100 In-Reply-To: (Richard M. Stallman's message of "Wed, 18 Feb 2009 07:09:22 -0500") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.90 (gnu/linux) X-OriginalArrivalTime: 18 Feb 2009 15:00:05.0976 (UTC) FILETIME=[958D3580:01C991D9] X-Brightmail-Tracker: AAAAAQ2TcO8= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:109186 Archived-At: >>>>> "RMS" == Richard M Stallman writes: RMS> The window manager I use (a common one) offers 4 desktops in RMS> parallel, but I don't think switching between them has any effect RMS> on Emacs frame visibility, because the frames on other desktops are RMS> nonetheless visible. That depends, I guess, a bit on how the window manager has implemented the parallel desktops. One trick under X11 is to actually unmap and map windows as you change from desktop to desktop. At least that is how the Eclipse window manager does it (although that admittedly is not a common WM, even if written in Common Lisp :-) This way of doing things will generate a slew of (Un)MapNotify X11 events which could be noticed by emacs. Whether or not visibility tracking could be construed as useful, the problem still stands that there are multiple applications that wants to install stuff into special-event-map so perhaps a more generic solution should be sought such that multiple handlers can be present or registered for any event in that map? ------------------------+----------------------------------------------------- Christian Lynbech | christian #\@ defun #\. dk ------------------------+----------------------------------------------------- Hit the philistines three times over the head with the Elisp reference manual. - petonic@hal.com (Michael A. Petonic)