From: Joost Kremers <joostkremers@yahoo.com>
To: help-gnu-emacs@gnu.org
Subject: Re: `auto-dim-other-windows` -- scrutiny invited
Date: 4 Apr 2013 07:27:20 GMT [thread overview]
Message-ID: <slrnklqaqo.5fq.joostkremers@j.kremers4.news.arnhem.chello.nl> (raw)
In-Reply-To: mailman.23406.1365005023.855.help-gnu-emacs@gnu.org
Steven Degutis wrote:
> --bcaec52e5b73a191b104d976fe3f
> Content-Type: text/plain; charset=ISO-8859-1
> Content-Transfer-Encoding: quoted-printable
>
> Hmm, it seems that using overlays could allow the dimming to be per-window
> instead of per-buffer.
>
> But overlays have a few quirks.
>
> First, they're still per-buffer. You can copy them around different
> buffers, but each buffer has to have its own. So if we were going to use
> them to dim other windows, every buffer would have to always have an extra
> overlay in it.
i only skimmed the rest of this thread so perhaps i'm suggesting
something that's already been mentioned, but couldn't you do it the
other way around? instead of dimming all other windows, why not
highlight the selected one? apply some magic to the default font perhaps
and then undo that effect is the selected window. i have no idea if
something like that might work, but it may be worth a look.
another hint might be to look at ace-jump-mode: it dims everything in
the current frame except for a number of jump targets. there might be
some useful ideas in there.
finally, you might want to consider that there are windows whose
contents are meant to be seen even if they're not selected. i don't know
of any good heuristic to find those windows, so you may want to consider
adding a customise option that the user can use to set his or her
favourite "do not dim" buffers, which are not dimmed when displayed in
some non-selected window (preferably a list of regexps, i'd say).
--
Joost Kremers joostkremers@fastmail.fm
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)
next prev parent reply other threads:[~2013-04-04 7:27 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-02 21:06 `auto-dim-other-windows` -- scrutiny invited Steven Degutis
2013-04-02 22:19 ` Óscar Fuentes
2013-04-02 22:48 ` Steven Degutis
2013-04-02 23:14 ` Óscar Fuentes
2013-04-02 23:19 ` Steven Degutis
[not found] ` <mailman.23338.1364944796.855.help-gnu-emacs@gnu.org>
2013-04-03 13:03 ` Michael Heerdegen
2013-04-03 13:27 ` Steven Degutis
[not found] ` <mailman.23335.1364941179.855.help-gnu-emacs@gnu.org>
2013-04-03 13:11 ` Michael Heerdegen
2013-04-03 13:19 ` Steven Degutis
2013-04-03 14:44 ` Steven Degutis
2013-04-03 14:47 ` Mark Skilbeck
2013-04-03 14:52 ` Steven Degutis
2013-04-03 14:55 ` Mark Skilbeck
2013-04-03 15:09 ` Steven Degutis
2013-04-03 15:17 ` Óscar Fuentes
2013-04-03 15:15 ` Óscar Fuentes
2013-04-03 15:32 ` Steven Degutis
2013-04-03 16:03 ` Steven Degutis
2013-04-03 17:03 ` Óscar Fuentes
2013-04-03 17:13 ` Steven Degutis
2013-04-03 17:17 ` Óscar Fuentes
2013-04-03 17:42 ` Steven Degutis
2013-04-03 18:10 ` Óscar Fuentes
2013-04-03 18:54 ` Steven Degutis
2013-04-03 19:19 ` Steven Degutis
2013-04-03 20:13 ` Stefan Monnier
2013-04-03 20:22 ` Steven Degutis
2013-04-03 22:23 ` Stefan Monnier
2013-04-04 21:55 ` Drew Adams
2013-04-04 22:01 ` Steven Degutis
2013-04-05 12:49 ` Stefan Monnier
2013-04-06 19:23 ` Drew Adams
[not found] ` <mailman.23406.1365005023.855.help-gnu-emacs@gnu.org>
2013-04-03 17:20 ` Michael Heerdegen
2013-04-03 17:44 ` Steven Degutis
2013-04-03 20:55 ` Steven Degutis
2013-04-04 16:02 ` Steven Degutis
2013-04-04 7:27 ` Joost Kremers [this message]
2013-04-04 20:52 ` Ludwig, Mark
2013-04-04 20:53 ` Steven Degutis
2013-04-04 21:31 ` Steven Degutis
2013-04-03 15:57 ` Ludwig, Mark
2013-04-03 16:06 ` Steven Degutis
2013-04-03 16:37 ` Drew Adams
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=slrnklqaqo.5fq.joostkremers@j.kremers4.news.arnhem.chello.nl \
--to=joostkremers@yahoo.com \
--cc=help-gnu-emacs@gnu.org \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).