From: Seiji Zenitani <zenitani@mac.com>
To: emacs-devel@gnu.org
Cc: Stefan Monnier <monnier@iro.umontreal.ca>
Subject: Re: Adding parameters to windows
Date: Tue, 03 Jun 2008 05:04:14 -0400 [thread overview]
Message-ID: <FD0A528D-9527-453B-98F3-1529F470AB65@mac.com> (raw)
In-Reply-To: <jwviqx9ixlk.fsf-monnier+emacs@gnu.org>
Hi,
I noticed that the transparency code was already installed.
Here is a NEWS entry for it.
Thanks,
Seiji
** Frame operations:
*** Controlling the frame opacity.
The opacity of a frame can now be controlled by setting
the `alpha' frame parameter, on X Window system with composite
extension.
The alpha parameter should be an integer between 0 (transparent) and
100 (opaque) or a float number between 0.0 and 1.0.
Optionally, the opacity can be set by a cons cell;
the first item controlls the opacity of an active frame,
and the second item controlls that of non-active frames.
(set-frame-parameter nil 'alpha 80)
(set-frame-parameter nil 'alpha 0.8)
(set-frame-parameter nil 'alpha '(100 70)) ;; (<active> [<inactive>])
(set-frame-parameter nil 'alpha nil)
Note that the threshold opacity of a frame is defined
by the variable `frame-alpha-lower-limit',
so that the user may not lose control of the frame.
The default value is 20. Similarly, an integer (0-100) or
a float number (0.0-1.0) can be set.
On 2008/05/19, at 21:17, Stefan Monnier wrote:
>>> Now that your copyright papers are on file, could you send us
>>> a patch together with a corresponding ChangeLog entry?
>
>> Here's a patch & ChangeLog lines for a new frame parameter.
>
> It looks OK. Whoever decides to instll it just needs to make the
> following adjustments:
> 1 - follow coding conventions (a space after ";" and ",", a space
> around binary operators).
> 2 - add a NEWS entry and a ChangeLog entry.
>
>
> Stefan
next prev parent reply other threads:[~2008-06-03 9:04 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-16 23:37 Adding parameters to windows Seiji Zenitani
2008-05-20 1:17 ` Stefan Monnier
2008-06-03 9:04 ` Seiji Zenitani [this message]
2008-06-03 17:38 ` Glenn Morris
2008-06-04 6:46 ` Jan Djärv
2008-06-04 7:08 ` Glenn Morris
2008-06-04 9:10 ` Miles Bader
2008-06-05 1:45 ` Seiji Zenitani
-- strict thread matches above, loose matches on Subject: below --
2008-05-15 17:51 Stefan Monnier
2008-05-23 14:10 ` joakim
2008-05-23 19:47 ` Stefan Monnier
2008-05-23 20:28 ` joakim
2008-06-04 11:01 ` joakim
2008-06-04 11:18 ` David Kastrup
2008-06-04 11:24 ` joakim
2008-06-04 11:46 ` David Kastrup
2008-06-04 15:10 ` Stefan Monnier
2008-06-04 15:58 ` joakim
2008-06-04 17:24 ` Stefan Monnier
2008-06-04 21:13 ` Juanma Barranquero
2008-06-04 21:25 ` joakim
2008-06-04 21:56 ` Juanma Barranquero
2008-06-04 22:05 ` joakim
2008-06-04 21:27 ` Juanma Barranquero
2008-06-05 2:07 ` Stefan Monnier
2008-06-05 3:25 ` Juanma Barranquero
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=FD0A528D-9527-453B-98F3-1529F470AB65@mac.com \
--to=zenitani@mac.com \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.