all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Francesco Mazzoli <f@mazzo.li>
To: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Highlighting current window
Date: Sat, 30 Jun 2012 11:30:29 +0100	[thread overview]
Message-ID: <87hattxfay.wl%f@mazzo.li> (raw)

Hi list,

I was looking for ways to make the focused window clearer. The best
way would probably a slightly lighter background.

However, I couldn't find any hooks to easily do that. I was expecting
something along the lines of `window-leave-hook' and
`window-focus-hook' but I couldn't find anything similar.

The best suggestion that the IRC people came up with is to use
`post-command-hook' and match `switch-buffer', but that sounds a bit
ugly. Is there a better way?

--
Francesco * Often in error, never in doubt



             reply	other threads:[~2012-06-30 10:30 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-30 10:30 Francesco Mazzoli [this message]
2012-06-30 18:23 ` Highlighting current window Drew Adams
2012-06-30 19:30   ` Francesco Mazzoli
2012-06-30 20:16     ` Christopher Grubert
2012-07-01  1:22       ` Drew Adams
2012-07-01  1:48         ` Christopher Grubert
     [not found]       ` <mailman.3792.1341105740.855.help-gnu-emacs@gnu.org>
2012-07-01  1:56         ` Michael Heerdegen
2012-07-01 11:49       ` Francesco Mazzoli
  -- strict thread matches above, loose matches on Subject: below --
2012-07-01  9:06 martin rudalics
2012-07-04  1:20 ` Le Wang
2012-07-04  9:18   ` martin rudalics

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=87hattxfay.wl%f@mazzo.li \
    --to=f@mazzo.li \
    --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.
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.