From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: `auto-dim-other-windows` -- scrutiny invited Date: Wed, 03 Apr 2013 18:23:43 -0400 Message-ID: References: <87ehersl1c.fsf@wanadoo.es> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1365027843 11934 80.91.229.3 (3 Apr 2013 22:24:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Apr 2013 22:24:03 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org" To: Steven Degutis Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 04 00:24:31 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UNW6V-0005b0-D4 for geh-help-gnu-emacs@m.gmane.org; Thu, 04 Apr 2013 00:24:27 +0200 Original-Received: from localhost ([::1]:47395 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNW66-0004YF-Jg for geh-help-gnu-emacs@m.gmane.org; Wed, 03 Apr 2013 18:24:02 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38318) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNW5p-0004OJ-V2 for help-gnu-emacs@gnu.org; Wed, 03 Apr 2013 18:23:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UNW5o-0000cP-Vu for help-gnu-emacs@gnu.org; Wed, 03 Apr 2013 18:23:45 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:45639) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNW5o-0000bp-Iu for help-gnu-emacs@gnu.org; Wed, 03 Apr 2013 18:23:44 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFFxLSu/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLDiYSFBgNJIgeBsEtkQoDpHqBXoMT X-IPAS-Result: Av4EABK/CFFFxLSu/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLDiYSFBgNJIgeBsEtkQoDpHqBXoMT X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="6427956" Original-Received: from 69-196-180-174.dsl.teksavvy.com (HELO fmsmemgm.homelinux.net) ([69.196.180.174]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 03 Apr 2013 18:23:40 -0400 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 87074AE3CB; Wed, 3 Apr 2013 18:23:43 -0400 (EDT) In-Reply-To: (Steven Degutis's message of "Wed, 3 Apr 2013 15:22:31 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.182 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:89965 Archived-At: > The problem with `window-configuration-change-hook` is that it isn't called > all the times we would need it. For example, it's not called when you do > `other-window` via `C-x o`. It's not sufficient, indeed: it's the hook needed to know when an overlay needs to be added. But you additionally need a post-command-hook to disable the overlay of the selected window (and enable the overlay of the previously selected window). Stefan