From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Seiji Zenitani Newsgroups: gmane.emacs.devel Subject: Re: new frame-parameter "alpha" Date: Wed, 19 Mar 2008 01:55:30 -0400 Message-ID: <93245CCC-F844-4A96-9E56-E3387EC63518@mac.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1205906181 24518 80.91.229.12 (19 Mar 2008 05:56:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 19 Mar 2008 05:56:21 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: Brian Cully Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 19 06:56:50 2008 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 1JbrI6-0003Wr-UT for ged-emacs-devel@m.gmane.org; Wed, 19 Mar 2008 06:56:47 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JbrHW-0004cs-PL for ged-emacs-devel@m.gmane.org; Wed, 19 Mar 2008 01:56:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JbrHT-0004cg-Ay for emacs-devel@gnu.org; Wed, 19 Mar 2008 01:56:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JbrHR-0004cJ-M0 for emacs-devel@gnu.org; Wed, 19 Mar 2008 01:56:06 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JbrHR-0004c9-F9 for emacs-devel@gnu.org; Wed, 19 Mar 2008 01:56:05 -0400 Original-Received: from smtpoutm.mac.com ([17.148.16.77]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JbrHR-0002Ub-2M for emacs-devel@gnu.org; Wed, 19 Mar 2008 01:56:05 -0400 Original-Received: from mac.com (asmtp010-s [10.150.69.73]) by smtpoutm.mac.com (Xserve/smtpout014/MantshX 4.0) with ESMTP id m2J5u2GS013081; Tue, 18 Mar 2008 22:56:02 -0700 (PDT) Original-Received: from [10.0.1.200] (c-98-204-109-185.hsd1.md.comcast.net [98.204.109.185]) (authenticated bits=0) by mac.com (Xserve/asmtp010/MantshX 4.0) with ESMTP id m2J5u0AD004877; Tue, 18 Mar 2008 22:56:01 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.753) X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (1) 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:92963 Archived-At: On 2008/03/18, at 16:11, Brian Cully wrote: > On 15-Mar-2008, at 17:19, Stefan Monnier wrote: >> Looks good. Tho maybe I'd put the call to x_set_frame_alpha directly >> inside x_update_cursor (and rename it to >> x_update_cursor_and_opacity). >> >> I don't mind the use of "alpha" rather than "opacity", as long as the >> docstrings are clear. The patch needs to also update the manual. >> And could you describe the copyright status? > > Is this for background-color alpha or the god-forsaken total- > window alpha? It's for the total frame including the tool bar, the fringes, the window title bar, and the proxy icon. > At least on Mac OS X, you can set the background alpha by itself > which I find far more pleasing than when the entire frame goes semi- > opaque. You are talking about Emacs.app, a coming Cocoa port. I confirmed that Emacs.app comes with the background color alpha [e.g. (set- background-color "ARGBccffffff") ]. My concern is that the background alpha only works on Emacs.app on Mac OS X, a proprietary platform. It would be nice if we can set the background alpha on X11, too, but I have no idea to implement it. Seiji