From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.help Subject: Re: Update `minibuffer-line' on buffer switches Date: Mon, 29 Jun 2015 19:15:54 +0200 Message-ID: <55917D4A.8090104@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1435598183 14500 80.91.229.3 (29 Jun 2015 17:16:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Jun 2015 17:16:23 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: haroogan@gmail.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 29 19:16:14 2015 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 1Z9cfG-0005DO-Ip for geh-help-gnu-emacs@m.gmane.org; Mon, 29 Jun 2015 19:16:14 +0200 Original-Received: from localhost ([::1]:43345 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9cfF-0003rM-PD for geh-help-gnu-emacs@m.gmane.org; Mon, 29 Jun 2015 13:16:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51499) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9cf3-0003qx-Rj for help-gnu-emacs@gnu.org; Mon, 29 Jun 2015 13:16:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z9cf0-0001yN-AY for help-gnu-emacs@gnu.org; Mon, 29 Jun 2015 13:16:01 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:58292) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9cez-0001yA-PD for help-gnu-emacs@gnu.org; Mon, 29 Jun 2015 13:15:58 -0400 Original-Received: from [178.190.167.193] ([178.190.167.193]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0MTkNU-1ZZuxA3SXA-00QSoS; Mon, 29 Jun 2015 19:15:56 +0200 Original-References: CAKu-7WxkrA1xioRH9cbX1FvJ0a6-w_8xQNXwurCxnx4eP9ReOQ@mail.gmail.com X-Provags-ID: V03:K0:cLdHC8hwbm5kQd37/ok+oB3jEgwleXhHUyAbWGCLKWlgcmicRV7 w/+XBfAXcEZYHofK+3NbfLmCbVoVuFfBeBEPSMmBOGLWqiw8xZPBb2Frtd6Z9De5tV05qY+ RtfmLxYY3i34sDp2+BdJ/uPAiq0RuAKc1D9tf4KIXlb59vbDiV5H8auxdURSusOoMYJRaoT PUJNH2PX+DOQgwr8kKOCA== X-UI-Out-Filterresults: notjunk:1;V01:K0:4e/QIkozt3k=:JVdbAix/uBnx/huqszwl9B GDgVnPh1Rku8a+YXw+6TOpkTxCV2ZG7zN0jKx9BA300V52sdcQ3xW2AoLxCWmJaUyddhRbLF2 DSlcWu0+OW18CaQONhzo4d/Cm8UM0/20M5SruBTgrmmPgD18DlATxuZGgA9cG35SEfC1K5ZXg 0WuTy0BSB94+H2ulOAym5Zh/wGPYWTxxQ4yC/ZppN2V2CD28U1fJCuBKHEr9xzCfARuv5jakg vb5tjxOxq8krMQ+MuIUscBBkOvoPYaj8PQAWTA8Nq5XnmPtwBr+qV8SxDa0mROm3nB5zh9Q/s ikWrOs3QdczX6SA4ZsKASU5MpCHvAHMa43bTbQmCBXs3Kwdc6VEDaRo68MiUm24N0b2QS+UEz EiYJe30/E5/AU6P0piFwhQ3eweOrg+ySLcOAiOymz8UJBXUhXosY7QaGlT9Q/m0SqLTOtxpUr pbG753esxksYAIa/GwY7UXv53mRwJKD0lxWH2pKum/QQa5su7bzB+xKQAYdQetFv/pfFbhceE FPnPfkJmfCMYNk2XBlhqtReWOEmutbojgp8R8JAE7iNKCI8+4LsF/P6Vi87VwMA5H3AwhObi6 Xup3s0l8NZ3scgKUwTiKl/4Yf857TZm5ZaNSlHN+bi3ym1yMD7Obn4rNuArmiIREg+pabT5wd jHOwJqQqKcPbsHNssAGzkzpGBCLPJB7lDZXu8wnlXfVta3tVZYd5Pl58Ws8+u5ft7+g4= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 212.227.15.18 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:105286 Archived-At: > Would `window-configuration-change-hook' work in case when a buffer is= > switched in-place (i.e. all windows stay intact and the selected windo= w is > not changed but only the displayed buffer inside this window is switch= ed)? -- Variable: window-configuration-change-hook A normal hook that is run every time you change the window configuration of an existing frame. This includes splitting or deleting windows, changing the sizes of windows, or displaying a ^^^^^^^^^^^^ different buffer in a window. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > =E2=80=8BTo be honest it's not the first time that I find myself in a = situation > when I simply need to hook the event of buffer (focus) switching and/o= r > window (focus) switching=E2=80=8B, etc. -- Variable: buffer-list-update-hook This is a normal hook run whenever the buffer list changes. Functions (implicitly) running this hook are `get-buffer-create' (*note Creating Buffers::), `rename-buffer' (*note Buffer Names::),= `kill-buffer' (*note Killing Buffers::), `bury-buffer' (see above) and `select-window' (*note Selecting Windows::). ^^^^^^^^^^^^^ martin