From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: Add function to make frame topmost? Date: Mon, 3 May 2010 11:59:46 +0200 Message-ID: References: <4BDB8886.4050202@harpegolden.net> <4BDC6CE7.8060400@harpegolden.net> <4BDD2979.50001@swipnet.se> <87bpcx7irb.fsf@uwakimon.sk.tsukuba.ac.jp> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1272880886 32528 80.91.229.12 (3 May 2010 10:01:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 3 May 2010 10:01:26 +0000 (UTC) Cc: =?UTF-8?Q?Jan_Dj=C3=A4rv?= , Emacs-Devel devel , Stefan Monnier , Drew Adams , David De La Harpe Golden To: "Stephen J. Turnbull" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 03 12:01:23 2010 connect(): No such file or directory 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.69) (envelope-from ) id 1O8sSo-0005kd-7N for ged-emacs-devel@m.gmane.org; Mon, 03 May 2010 12:01:22 +0200 Original-Received: from localhost ([127.0.0.1]:58514 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O8sSn-0001Gm-LI for ged-emacs-devel@m.gmane.org; Mon, 03 May 2010 06:01:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O8sRm-0000ff-Su for emacs-devel@gnu.org; Mon, 03 May 2010 06:00:18 -0400 Original-Received: from [140.186.70.92] (port=33133 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O8sRd-0000cO-OW for emacs-devel@gnu.org; Mon, 03 May 2010 06:00:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O8sRb-00023F-CW for emacs-devel@gnu.org; Mon, 03 May 2010 06:00:09 -0400 Original-Received: from mail-fx0-f41.google.com ([209.85.161.41]:39955) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O8sRb-00023A-7N for emacs-devel@gnu.org; Mon, 03 May 2010 06:00:07 -0400 Original-Received: by fxm1 with SMTP id 1so1972838fxm.0 for ; Mon, 03 May 2010 03:00:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=WoGA6h+q2wfkSfRMXrqnKs7a6aIl48QLCA+VDt1+Mu0=; b=Jegk8fAvAgdBBawNStHLdohhFeFER4D5xRBbPQ5+wGJ0pVI1FYU2Jv0l4F4BkbjJQ3 GeqAYWKRJTbXUkCyypldKZT8Imxxm9QAzV/+zdT57n0G5Qp2LGGASd05p16i+telgqI+ ovZlgLCnG/rnHXeCbI7wqgD5iMwQ7pC6FwF2E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=oggVkCLjMdIcFCh/VDIiKJETaLaBeMW546kRXVL4mEb+x+YluCZakTdXpMxFahY4hs zpzLiT/nppJVwuNuBIMToVmZte6A7nQi8ESZpI8wsDiJ6Wx+6VJsVpOaLxmYD+CHMzRh ZghRnkeLhJod7BjdfYzYWBBmydlbxrTZ5jGd4= Original-Received: by 10.239.132.132 with SMTP id 4mr566798hbr.57.1272880806171; Mon, 03 May 2010 03:00:06 -0700 (PDT) Original-Received: by 10.239.164.81 with HTTP; Mon, 3 May 2010 02:59:46 -0700 (PDT) In-Reply-To: <87bpcx7irb.fsf@uwakimon.sk.tsukuba.ac.jp> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:124469 Archived-At: On Mon, May 3, 2010 at 5:43 AM, Stephen J. Turnbull wr= ote: > Lennart Borgman writes: > > =C2=A0> For reminders I expect the elisp code normally would set topmost, > > What you expect is up to you, but I rather suspect that's not what I > would want in most cases. =C2=A0Remember, IIUC, topmost means it sticks t= o > the glass and gets in the way of other things, and must be dismissed > (or worse, actively given a response) to get it out of the way. > > By contrast, normally popup windows are put on top, but simply > selecting another window allows you to work in that window without > specifically dismissing the reminder. =C2=A0That is the behavior I want f= or > something called "reminder". =C2=A0On the one hand, I probably asked for > it, so it should start on top. =C2=A0OTOH, now I've seen it, and even if = I > focus attention elsewhere for now, I might want to keep it around for > later. =C2=A0In that case it needs to be easy to get it out of the way > without dismissing it. Yes, but does not that mean that it should start as a topmost window? A possibility for reminders using only Emacs then are: 1) they start topmost as Emacs frames 2) when selecting the frame the topmost property is removed Implementing 2 above requires of course that Emacs is learned about application activation (something I have suggested long ago since it might be useful for other things too). On the other hand if using Growl (as David De La Harpe Golden suggested) then you have this capabilities there already I believe.