From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Gnus + Gmail + IMAP
Date: Wed, 01 Jul 2015 18:20:48 +0300 [thread overview]
Message-ID: <8338173nvz.fsf@gnu.org> (raw)
In-Reply-To: <CAKu-7WyY0eoJHn1BLZAXaOmKMkCaxoyyZhdCsKhOo2Rubuas-w@mail.gmail.com>
> Date: Tue, 30 Jun 2015 22:45:39 +0200
> From: Alexander Shukaev <haroogan@gmail.com>
> Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
>
> 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?
Are you sure format-time-string is run in that case?
And calling select-window runs a different hook, doesn't it?
Anyway, do I really have to explain everything? isn't it enough to
suggest a solution (assuming it is a solution)?
> I've also tried to run `format-time-string' manually just now and it didn't
> entail recursion on its own.
That's expected, since format-time-string needs to run as part of your
hook, not interactively, otherwise the recursion won't happen.
next prev parent reply other threads:[~2015-07-01 15:20 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
2015-07-01 15:20 ` Eli Zaretskii [this message]
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=8338173nvz.fsf@gnu.org \
--to=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.