From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#745: pop-to-buffer, frames, and input focus Date: Sat, 30 Aug 2008 10:15:44 +0200 Message-ID: <48B901B0.90701@gmx.at> References: <48AC851A.3020906@gmx.at> <48AD2FB5.3000204@gmx.at> <48ADD085.50505@gmx.at> <48AEEBB8.50201@gmx.at> <48AFFD26.3040204@gmx.at> <48B2B78C.9090407@gmx.at> <48B50C63.8010402@gmx.at> <48B69007.20604@gmx.at> <48B7181B.7080706@gmx.at> <48B7C0DA.8040104@gmx.at> Reply-To: martin rudalics , 745@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1220085383 2302 80.91.229.12 (30 Aug 2008 08:36:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 30 Aug 2008 08:36:23 +0000 (UTC) Cc: 745@emacsbugs.donarmstrong.com To: Helmut Eller Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 30 10:37:17 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KZLxM-0003it-0R for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 Aug 2008 10:37:16 +0200 Original-Received: from localhost ([127.0.0.1]:57586 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KZLwN-0008Pc-6g for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 Aug 2008 04:36:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KZLuD-0007gs-DZ for bug-gnu-emacs@gnu.org; Sat, 30 Aug 2008 04:34:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KZLu7-0007eN-AM for bug-gnu-emacs@gnu.org; Sat, 30 Aug 2008 04:33:59 -0400 Original-Received: from [199.232.76.173] (port=37189 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KZLu6-0007e2-Bu for bug-gnu-emacs@gnu.org; Sat, 30 Aug 2008 04:33:54 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:42684) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KZLu5-0000N4-LC for bug-gnu-emacs@gnu.org; Sat, 30 Aug 2008 04:33:54 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7U8RTHY012310; Sat, 30 Aug 2008 01:27:30 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m7U8P4QA011103; Sat, 30 Aug 2008 01:25:04 -0700 X-Loop: don@donarmstrong.com Resent-From: martin rudalics Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 30 Aug 2008 08:25:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 745 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 745-submit@emacsbugs.donarmstrong.com id=B745.12200843099203 (code B ref 745); Sat, 30 Aug 2008 08:25:04 +0000 Original-Received: (at 745) by emacsbugs.donarmstrong.com; 30 Aug 2008 08:18:29 +0000 Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id m7U8IOxB009102 for <745@emacsbugs.donarmstrong.com>; Sat, 30 Aug 2008 01:18:26 -0700 Original-Received: (qmail invoked by alias); 30 Aug 2008 08:18:18 -0000 Original-Received: from 62-47-58-227.adsl.highway.telekom.at (EHLO [62.47.58.227]) [62.47.58.227] by mail.gmx.net (mp025) with SMTP; 30 Aug 2008 10:18:18 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+jyUdLMR6jDXpv6bj2mGdPqvs37OtDOMyb++mQUL /3iPfrRY696ujM User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) In-Reply-To: X-Y-GMX-Trusted: 0 X-FuHaFi: 0.68 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Sat, 30 Aug 2008 04:33:59 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:19903 Archived-At: >>> I also found the gtk_window_set_focus_on_map function. This seems to >>> rely on the _NET_WM_USER_TIME EWMH. Sawfish ignores _NET_WM_USER_TIME, >>> but it could be useful for other window managers. How do you find out that Sawfish ignores that? > For a window manager which supports it, _NET_SUPPORTED will contain > _NET_WM_USER_TIME. But it wouldn't hurt to set _NET_WM_USER_TIME to 0, > because that should be interpreted as "disable focus-on-map". At least > gtk_window_set_focus_on_map sets the property unconditionally. Do you have one window-manager setting where you can get Emacs (1) do a `display-buffer' making a new frame without that frame getting raised and/or input focus, and (2) give input focus to/raise a frame that hasn't input focus/is not raised. entirely using _NET_WM_USER_TIME? I faintly recall a discussion about a misinterpretation of timestamps sent to the window-manager (Metacity?) by Emacs. martin