[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Kill buffer questions when starting Gnus
From: |
Lars Magne Ingebrigtsen |
Subject: |
Re: Kill buffer questions when starting Gnus |
Date: |
Wed, 08 Dec 2010 15:28:16 -0000 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) |
Michael Heerdegen <michael_heerdegen@web.de> writes:
> Buffer has a running process; kill it? (yes or no)
[...]
> yes-or-no-p("Buffer has a running process; kill it? ")
> process-kill-buffer-query-function()
> kill-buffer(#<buffer *temp*>)
> imap-open("imap.web.de" nil nil nil " *nnimap* ...")
> nnimap-open-connection("...")
> nnimap-open-server("..." ((nnimap-address "imap.web.de")))
>
> At that time, the (hidden) buffer " *temp*" is empty, and M-x
> process-list shows:
>
> imap<1> run *temp*
> gnutls-cli -s imap.web.de -p 143
>From the backtrace, and this:
> imap open *nnimap* .................... (network
> stream connection to imap.web.de)
it looks like this code in imap.el is the culprit:
(if (null (let ((imap-stream stream))
(imap-open-1 (current-buffer))))
(progn
(kill-buffer (current-buffer))
(message
"imap: Reconnecting with stream `%s'...failed"
stream))
;; We're done, kill the first connection
(imap-close buffer)
(let ((name (if (stringp buffer)
buffer
(buffer-name buffer))))
(kill-buffer buffer)
(rename-buffer name)
So the function that you're using to create the tls connection doesn't
set `process-kill-without-query' on the process it creates. Do you have
a private version of tls.el or something installed?
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
- Re: Kill buffer questions when starting Gnus,
Lars Magne Ingebrigtsen <=