From: Alexander Shukaev <haroogan@gmail.com>
To: help-gnu-emacs <help-gnu-emacs@gnu.org>
Cc: michael_heerdegen@web.de, rudalics@gmx.at,
Stefan Monnier <monnier@iro.umontreal.ca>
Subject: Re: Update `minibuffer-line' on buffer switches
Date: Mon, 29 Jun 2015 21:50:12 +0200 [thread overview]
Message-ID: <CAKu-7WwAc6=N=+qyxDPgYvv7mo9mwmwAnzacjpFZP5uxFaq7zg@mail.gmail.com> (raw)
In-Reply-To: <CAKu-7WwAeCNrvVhAgzpv0udZ85y-mYV565VaykOeCwp2d0op5Q@mail.gmail.com>
After some trial I've found out that the comprehensive solution which takes
into account both window and buffer switching is a combination of two hooks:
(add-hook 'buffer-list-update-hook #'minibuffer-line--update)
(add-hook 'window-configuration-change-hook #'minibuffer-line--update)
Hope this helps somebody in future. Thanks a lot to everybody who
participated.
Kind regards,
Alexander
next prev parent reply other threads:[~2015-06-29 19:50 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-27 14:22 Update `minibuffer-line' on buffer switches Alexander Shukaev
2015-06-27 15:43 ` Michael Heerdegen
2015-06-27 21:59 ` Stefan Monnier
2015-06-28 17:19 ` Alexander Shukaev
2015-06-28 17:38 ` Alexander Shukaev
[not found] ` <mailman.5854.1435513096.904.help-gnu-emacs@gnu.org>
2015-06-29 3:36 ` Stefan Monnier
2015-06-29 16:31 ` Alexander Shukaev
2015-06-29 17:00 ` Eli Zaretskii
2015-06-29 19:02 ` Alexander Shukaev
2015-06-29 19:50 ` Alexander Shukaev [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-06-29 17:15 martin rudalics
2015-06-29 19:00 ` Alexander Shukaev
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='CAKu-7WwAc6=N=+qyxDPgYvv7mo9mwmwAnzacjpFZP5uxFaq7zg@mail.gmail.com' \
--to=haroogan@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=michael_heerdegen@web.de \
--cc=monnier@iro.umontreal.ca \
--cc=rudalics@gmx.at \
/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.