help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gnus + Gmail + IMAP


From: Alexander Shukaev
Subject: Re: Gnus + Gmail + IMAP
Date: Tue, 30 Jun 2015 21:10:44 +0200

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 <funcall_nil>) 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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]