From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Gnus + Gmail + IMAP Date: Tue, 30 Jun 2015 23:09:07 +0300 Message-ID: <838ub12c2k.fsf@gnu.org> References: <87lhf272in.fsf@yale.edu> <83zj3h2p89.fsf@gnu.org> <83oajx2mim.fsf@gnu.org> <83lhf12lin.fsf@gnu.org> <83k2ul2krn.fsf@gnu.org> <83d20d2igt.fsf@gnu.org> <83a8vh2cau.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1435694975 28211 80.91.229.3 (30 Jun 2015 20:09:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 30 Jun 2015 20:09:35 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 30 22:09:26 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 1ZA1qQ-0006PC-7o for geh-help-gnu-emacs@m.gmane.org; Tue, 30 Jun 2015 22:09:26 +0200 Original-Received: from localhost ([::1]:48558 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZA1qP-0001vd-Fb for geh-help-gnu-emacs@m.gmane.org; Tue, 30 Jun 2015 16:09:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56476) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZA1qA-0001vU-Hy for help-gnu-emacs@gnu.org; Tue, 30 Jun 2015 16:09:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZA1q6-0005mA-6g for help-gnu-emacs@gnu.org; Tue, 30 Jun 2015 16:09:10 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:35658) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZA1q5-0005kC-VH for help-gnu-emacs@gnu.org; Tue, 30 Jun 2015 16:09:06 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NQR00K00WXJME00@a-mtaout20.012.net.il> for help-gnu-emacs@gnu.org; Tue, 30 Jun 2015 23:09:03 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NQR00K4QXB1MC20@a-mtaout20.012.net.il> for help-gnu-emacs@gnu.org; Tue, 30 Jun 2015 23:09:03 +0300 (IDT) In-reply-to: <83a8vh2cau.fsf@gnu.org> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.166 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:105341 Archived-At: > Date: Tue, 30 Jun 2015 23:04:09 +0300 > From: Eli Zaretskii > > 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.