From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Andrea Vettorello" Newsgroups: gmane.emacs.help Subject: Re: Emacs into focus Date: Thu, 7 Aug 2008 19:33:23 +0200 Message-ID: <7d5440240808071033y2bd4587k441a8030a161be09@mail.gmail.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1218130511 1584 80.91.229.12 (7 Aug 2008 17:35:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 Aug 2008 17:35:11 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 07 19:36:02 2008 Return-path: Envelope-to: geh-help-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 1KR9Ov-0001FT-Ql for geh-help-gnu-emacs@m.gmane.org; Thu, 07 Aug 2008 19:35:50 +0200 Original-Received: from localhost ([127.0.0.1]:53070 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KR9O0-0005jM-4n for geh-help-gnu-emacs@m.gmane.org; Thu, 07 Aug 2008 13:34:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KR9Mf-0005VF-6B for help-gnu-emacs@gnu.org; Thu, 07 Aug 2008 13:33:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KR9Mb-0005Tf-KC for help-gnu-emacs@gnu.org; Thu, 07 Aug 2008 13:33:28 -0400 Original-Received: from [199.232.76.173] (port=46222 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KR9Mb-0005TR-GD for help-gnu-emacs@gnu.org; Thu, 07 Aug 2008 13:33:25 -0400 Original-Received: from fk-out-0910.google.com ([209.85.128.185]:46963) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KR9Mb-0000MT-0l for help-gnu-emacs@gnu.org; Thu, 07 Aug 2008 13:33:25 -0400 Original-Received: by fk-out-0910.google.com with SMTP id 18so460596fkq.10 for ; Thu, 07 Aug 2008 10:33:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=9SOldIy0OpDnJsoWwYCoMsxDN2cRY6/hW2Nk8NlrIvI=; b=Vai/K3Xo4EPwcvfnPy3vZlcqHQNNo//ACUXAZt2ylGZKLTnxn0swoEwi2Tw7ZAJ6My nLW/07R1XmpDlon2o8RjooJzpTi3SDX+iyQUHrd+GrUlPRlQF3y4LJ70d4CGfkQ1Mb3Q FF+hxPaGgidHFOM83wDarRxlU48zwnIIVx2Lk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=k5OPVmuUDGxpWW9iL46xX8B81X7RiKF/TlFOVF957NVDNrWMQki9Cu/lOorbxanw+/ +Mk+kbiJuJ+QNtSm2VR1UAjk9QYJzqwELbcmIIKjSHZ/a9+JNarN8kCiKMgpXKZB/L1G Z5JNDtQUUFgx/mRBbnKm2JTo1tRfhI1rCs8LA= Original-Received: by 10.187.203.4 with SMTP id f4mr145213faq.1.1218130403770; Thu, 07 Aug 2008 10:33:23 -0700 (PDT) Original-Received: by 10.187.179.16 with HTTP; Thu, 7 Aug 2008 10:33:23 -0700 (PDT) In-Reply-To: Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:56250 Archived-At: On Thu, Aug 7, 2008 at 4:33 PM, Richard G Riley wrote: > "Andrea Vettorello" writes: > >> On Thu, Aug 7, 2008 at 7:36 AM, Richard G Riley wrote: [...] . >> >> Metacity, the default Gnome window manager, tries to "avoid focus >> stealing" (I think this blog post explains its behaviour: >> http://blogs.gnome.org/metacity/2007/12/24/stacking/ ), IIRC there >> should be a gconf setting to tweak it but I'm not completely sure as I >> don't use it... > > The thing is that other email clients come to the fg just > fine via the mailto click. I'll dig around some more and maybe ask in > the gtk+ irc channel. > In one of comments of the post I linked it's suggested to set _NET_WM_USER_TIME and use _NET_ACTIVE_WINDOW to raise and give focus to a window from a different application (Client). I think it could be done using x-send-client-message or maybe implemented directly on emacs-client itself. -- Andrea