From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marius Hofert Newsgroups: gmane.emacs.help Subject: Re: Gnus: Error on setting up IMAP accounts Date: Sun, 30 Oct 2011 01:01:00 +0200 Message-ID: References: <0086A532-E15A-4BDF-B4E4-9F5F9EB7682F@math.ethz.ch> <87r51wp6cb.fsf@thinkpad.tsdh.de> <102BEDB3-40CC-4D9D-8D74-B8859E5852B3@math.ethz.ch> <87k47nfy0g.fsf@thinkpad.tsdh.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1319929278 7572 80.91.229.12 (29 Oct 2011 23:01:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 29 Oct 2011 23:01:18 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Tassilo Horn Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Oct 30 01:01:13 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RKHtp-0003am-5O for geh-help-gnu-emacs@m.gmane.org; Sun, 30 Oct 2011 01:01:13 +0200 Original-Received: from localhost ([::1]:56475 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKHto-0000If-EZ for geh-help-gnu-emacs@m.gmane.org; Sat, 29 Oct 2011 19:01:12 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:52337) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKHtj-0000IL-2W for help-gnu-emacs@gnu.org; Sat, 29 Oct 2011 19:01:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RKHth-0000V1-Bb for help-gnu-emacs@gnu.org; Sat, 29 Oct 2011 19:01:07 -0400 Original-Received: from edge20.ethz.ch ([82.130.99.26]:10949) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKHth-0000Uj-2r for help-gnu-emacs@gnu.org; Sat, 29 Oct 2011 19:01:05 -0400 Original-Received: from CAS21.d.ethz.ch (172.31.51.111) by edge20.ethz.ch (82.130.99.26) with Microsoft SMTP Server (TLS) id 14.1.339.1; Sun, 30 Oct 2011 01:01:01 +0200 Original-Received: from 80-218-247-21.dclient.hispeed.ch (80.218.247.21) by CAS21.d.ethz.ch (172.31.51.111) with Microsoft SMTP Server (TLS) id 14.1.339.1; Sun, 30 Oct 2011 01:01:01 +0200 In-Reply-To: <87k47nfy0g.fsf@thinkpad.tsdh.de> X-Mailer: Apple Mail (2.1251.1) X-Originating-IP: [80.218.247.21] X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.130.99.26 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:82716 Archived-At: On 2011-10-29, at 20:33 , Tassilo Horn wrote: > Marius Hofert writes: >=20 > Hi Marius, >=20 >> The connection to mail.uni.edu at startup works quite fast (about = 1s), >> but the I get asked "Buffer has a running process; kill it?" If I >> choose yes, then "imap: Connecting to imap.googlemail.com..." appears >> (again, for as long as I don't abort it with C-g). >=20 > This "Buffer has running process" thingy rings some bell. I think = there > was a discussion lately on emacs-devel or ding. You might want to = have > a look. I tried, but couldn't find anything useful :-( The non-Gmail server is a Microsoft Exchange server (in case that = information is useful). I commented out the gmail account, hoping that it will make the other = mailbox run perfectly, but it does not (still getting the kill buffer = message). I then commmented out the buggy mailbox and just left the = Gmail mailbox in the secondary-select-methods. I obtain: Gnus auto-save file exists. Do you want to read it? (y or n)=20 I chose n. Then, the minibuffer showed: imap: Connecting to imap.googlemail.com...=20 It takes about 3 minutes until I see the Group buffer (why so long?) When starting a new message, I get: Toggling flyspell-mode off; better pass an explicit argument. When hitting ^, I obtain: {nnfolder:archive} (closed) {nndoc:gnus-help} (opened) {nnimap:marius.hofert@googlemail.com} (denied) Any ideas? >=20 >> Also, the (org-contacts-gnus-insinuate) statement did not change >> anything concerning the completion (I am in the "To" line and type >> "Us" + TAB. I expect to get "User", but nothing happens), but that's >> certainly not the major problem at the moment. >=20 > When you are in a message buffer, what's the value of > `completion-at-point-functions'? It should include > `org-contacts-message-complete-function'. It does: completion-at-point-functions is a variable defined in `minibuffer.el'. Its value is (org-contacts-message-complete-function) This variable is potentially risky when used as a file local variable. Documentation: Special hook to find the completion table for the thing at point. It is called without any argument and should return either nil, or a function of no argument to perform completion (discouraged), or a list of the form (START END COLLECTION &rest PROPS) where START and END delimit the entity to complete and should include point, COLLECTION is the completion table to use to complete it, and PROPS is a property list for additional information. Currently supported properties are: `:predicate' a predicate that completion candidates need to = satisfy. `:annotation-function' the value to use for = `completion-annotate-function'. Still, I can't complete addesses. My ~/org/contact.org is specified in = .emacs by=20 (custom-set-variables '(org-contacts-files '("~/org/contacts.org"))) (org-contacts-gnus-insinuate) and it looks like: #+STARTUP: showeverything # entry: # :PROPERTIES: # :EMAIL: # :URL: # :WORK: # :HOME: # :MOBILE: # :LOCATION: # :BIRTHDAY: # :NOTE: # :END: * Friends ** John :PROPERTIES: :EMAIL: john.doe@doe.com :URL: :WORK: :HOME: :MOBILE: :LOCATION: :BIRTHDAY: :NOTE: :END: ** Jimmy ... Cheers, Marius >=20 > Bye, > Tassilo > --=20 > (What the world needs (I think) is not > (a Lisp (with fewer parentheses)) > but (an English (with more.))) > Brian Hayes, http://tinyurl.com/3y9l2kf >=20 >=20