From: Alexander Shukaev <haroogan@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: Gnus + Gmail + IMAP
Date: Tue, 30 Jun 2015 22:45:39 +0200 [thread overview]
Message-ID: <CAKu-7WyY0eoJHn1BLZAXaOmKMkCaxoyyZhdCsKhOo2Rubuas-w@mail.gmail.com> (raw)
In-Reply-To: <838ub12c2k.fsf@gnu.org>
On Tue, Jun 30, 2015 at 10:09 PM, Eli Zaretskii <eliz@gnu.org> wrote:
> > Date: Tue, 30 Jun 2015 23:04:09 +0300
> > From: Eli Zaretskii <eliz@gnu.org>
> >
> > Somehow, minibuffer-line--update calls format-mode-line, which calls
> > format-time-string, which again calls run-hooks, which again calls
> > minibuffer-line--update. Look into your hook and see how this can
> > happen.
>
> I think I know the answer:
>
> format-time-string uses a temporary buffer,
> which is then killed when no longer needed. That call to kill-buffer
> invokes your buffer-list-update-hook again, thus the infinite
> recursion.
>
> I think you need to modify your
>
> buffer-list-update-hook to ignore
> temporary buffers, those whose names begin with a space.
>
>
If that is the case, then why when I simply select some other window via
`select-window', which also runs the `buffer-list-update-hook', which (1)
runs the `format-time-string' for `minibuffer-line', (2) runs
`format-mode-line' for `minibuffer-line', the recursion does not happen?
I've also tried to run `format-time-string' manually just now and it
didn't entail recursion on its own.
next prev parent reply other threads:[~2015-06-30 20:45 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-29 18:51 Gnus + Gmail + IMAP Alexander Shukaev
2015-06-29 19:12 ` Jorge A. Alfaro-Murillo
2015-06-29 19:25 ` Alexander Shukaev
2015-06-29 20:26 ` Alexander Shukaev
2015-06-29 20:29 ` Alexander Shukaev
2015-06-30 7:28 ` Rainer M Krug
2015-06-30 9:35 ` Alexander Shukaev
2015-06-30 11:14 ` Alexander Shukaev
2015-06-30 15:24 ` Eli Zaretskii
2015-06-30 15:57 ` Alexander Shukaev
2015-06-30 16:23 ` Eli Zaretskii
2015-06-30 16:28 ` Alexander Shukaev
2015-06-30 16:45 ` Eli Zaretskii
2015-06-30 16:49 ` Alexander Shukaev
2015-06-30 17:01 ` Eli Zaretskii
2015-06-30 17:45 ` Alexander Shukaev
2015-06-30 17:50 ` Eli Zaretskii
[not found] ` <CAKu-7WzduwfWZpuwjbRRH3rxkAttcf2kX8NWByGxRFQpxk5iEw@mail.gmail.com>
2015-06-30 19:10 ` Alexander Shukaev
2015-06-30 20:04 ` Eli Zaretskii
2015-06-30 20:09 ` Eli Zaretskii
2015-06-30 20:45 ` Alexander Shukaev [this message]
2015-07-01 15:20 ` Eli Zaretskii
2015-07-01 3:37 ` Jude DaShiell
2015-07-01 14:37 ` Jorge A. Alfaro-Murillo
2015-06-29 20:59 ` Ian Zimmerman
2015-06-29 21:24 ` Jorge A. Alfaro-Murillo
2015-06-30 9:29 ` Alexander Shukaev
2015-06-30 11:20 ` Alberto Luaces
2015-06-30 11:23 ` Alexander Shukaev
2015-06-30 12:23 ` Alexander Shukaev
2015-06-30 14:08 ` Jorge A. Alfaro-Murillo
2015-06-30 4:48 ` Vaidheeswaran C
2015-07-07 16:26 ` J. David Boyd
2015-07-07 20:17 ` Ruben Maher
2015-07-07 20:58 ` Ian Zimmerman
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-7WyY0eoJHn1BLZAXaOmKMkCaxoyyZhdCsKhOo2Rubuas-w@mail.gmail.com \
--to=haroogan@gmail.com \
--cc=eliz@gnu.org \
--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.