From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alexander Shukaev Newsgroups: gmane.emacs.help Subject: Re: Gnus + Gmail + IMAP Date: Tue, 30 Jun 2015 21:10:44 +0200 Message-ID: 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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1435691469 4416 80.91.229.3 (30 Jun 2015 19:11:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 30 Jun 2015 19:11:09 +0000 (UTC) Cc: help-gnu-emacs To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 30 21:11:08 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 1ZA0vw-0003G0-9Q for geh-help-gnu-emacs@m.gmane.org; Tue, 30 Jun 2015 21:11:04 +0200 Original-Received: from localhost ([::1]:48356 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZA0vv-00055p-Id for geh-help-gnu-emacs@m.gmane.org; Tue, 30 Jun 2015 15:11:03 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35515) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZA0vk-00053Z-9S for help-gnu-emacs@gnu.org; Tue, 30 Jun 2015 15:10:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZA0vi-0002LH-EG for help-gnu-emacs@gnu.org; Tue, 30 Jun 2015 15:10:52 -0400 Original-Received: from mail-la0-x229.google.com ([2a00:1450:4010:c03::229]:35579) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZA0vg-0002K5-13; Tue, 30 Jun 2015 15:10:48 -0400 Original-Received: by lagh6 with SMTP id h6so25854165lag.2; Tue, 30 Jun 2015 12:10:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=cMOt1uYKBVCR0geBhTHUU8bnu/Mhc9m+gvT4GUtwutE=; b=eu7uMGWoJtTSJkf4lGST/GkjpxC+JaHMJu67BLKdfbMY+aGVPmM3sgd7B7S+rvXB93 ZJGY/IvUjj5V7xhq1lovAs60tP4biDDPWkg3Op79ZCIS5nNOCCDpXxK6yxHGjZttde2E AXJ2S1lutUcnP4oqiQABxDjRLH6iZanY1E9zZs4deXHJqxjLtlhLcrESj4/qcC0ZaIAm ZCb0rcr2HoFcNful/GKSmKP9aK5ehz9O5Dn1qkc/dt8zQWEwEJu3bMB+qLVA29m1Feaa n3vgpmZY26DNBhV+f+H+bMU6FBzVfJyyjZBMbhJ7ZW4QCcDhCitiBfezxgioq76OBNNP OmJw== X-Received: by 10.152.2.38 with SMTP id 6mr21505290lar.80.1435691444930; Tue, 30 Jun 2015 12:10:44 -0700 (PDT) Original-Received: by 10.112.36.103 with HTTP; Tue, 30 Jun 2015 12:10:44 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::229 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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:105339 Archived-At: God damn it. I don't know if you remember my post from yesterday where I was talking which hooks to attach `minibuffer-line--update' to in order to update minibuffer line on window and buffer switches properly. The conclusion was (add-hook 'buffer-list-update-hook #'minibuffer-line--update) (add-hook 'window-configuration-change-hook #'minibuffer-line--update) By examining the GDB output (which obviously repeats): #1084 0x00000004001f0978 in run_hook_with_args (nargs=1, args=0x7a8d40, funcall=0x4001f0434 ) at C:/Users/Haroogan/Projects/GitHub/MINGW-packages/mingw-w64-emacs-git/src/emacs/src/eval.c:2529 #1085 0x00000004001f04e2 in Frun_hook_with_args (nargs=1, args=0x7a8d40) at C:/Users/Haroogan/Projects/GitHub/MINGW-packages/mingw-w64-emacs-git/src/emacs/src/eval.c:2390 #1086 0x00000004001f0a0a in run_hook (hook=-17119289912) at C:/Users/Haroogan/Projects/GitHub/MINGW-packages/mingw-w64-emacs-git/src/emacs/src/eval.c:2543 #1087 0x00000004001f049c in Frun_hooks (nargs=1, args=0x7a8e88) at C:/Users/Haroogan/Projects/GitHub/MINGW-packages/mingw-w64-emacs-git/src/emacs/src/eval.c:2372 I've somehow recalled those hooks. It turns out that this one (add-hook 'buffer-list-update-hook #'minibuffer-line--update) is seems to be causing the infinite recursion and most importantly only in the case of `M-x gnus RET' as I haven't experienced that before. What could be the problem here, Eli? P.S.: As soon as I commented this hook, my Gmail got synchronized instantly, so that's not a Gmail issue anymore.