From unknown Wed Jul 09 09:13:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8050: Gnus does not connect to my IMAP server any more Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 16 Feb 2011 01:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 8050 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 8050@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.129782074314154 (code B ref -1); Wed, 16 Feb 2011 01:46:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 Feb 2011 01:45:43 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PpWSc-0003gE-NZ for submit@debbugs.gnu.org; Tue, 15 Feb 2011 20:45:43 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PpWSY-0003g1-RB for submit@debbugs.gnu.org; Tue, 15 Feb 2011 20:45:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PpWbH-0000Jb-95 for submit@debbugs.gnu.org; Tue, 15 Feb 2011 20:54:40 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:58706) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PpWbH-0000JX-1E for submit@debbugs.gnu.org; Tue, 15 Feb 2011 20:54:39 -0500 Received: from [140.186.70.92] (port=55773 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PpWbE-0006gZ-SB for bug-gnu-emacs@gnu.org; Tue, 15 Feb 2011 20:54:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PpWbD-0000JH-5V for bug-gnu-emacs@gnu.org; Tue, 15 Feb 2011 20:54:36 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:47886 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PpWbC-0000JD-U6 for bug-gnu-emacs@gnu.org; Tue, 15 Feb 2011 20:54:35 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkIFABC9Wk1MCqmX/2dsb2JhbACXQwGOHHS9IIMdgkEEhQaPQw X-IronPort-AV: E=Sophos;i="4.60,477,1291611600"; d="scan'208";a="91840734" Received: from 76-10-169-151.dsl.teksavvy.com (HELO pastel.home) ([76.10.169.151]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 15 Feb 2011 20:54:33 -0500 Received: by pastel.home (Postfix, from userid 20848) id BEC475900E; Tue, 15 Feb 2011 20:54:32 -0500 (EST) From: Stefan Monnier Message-ID: Date: Tue, 15 Feb 2011 20:54:32 -0500 MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-Spam-Score: -4.1 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.1 (----) Package: Emacs Version: 24.0.50 When I start Gnus, it seems to try and connect to my IMAP server but never asks for my password (which I don't save in authinfo.gpg). In just ends up saying "done", but the *Server* buffer says "offline". If I try to use O in the *Server* buffer, it switches instantly to "opened" but if I try to do anything that involves the IMAP server, I get (wrong-type-argument arrayp nil) errors because nnimap-object is nil. The *Message* buffer says: auth-source-search: found 2 backends matching (:max 1 :host "news2.teksavvy.com" :port ("119" "nntp")) auth-source-search: found 0 results (max 1/1) in [object auth-source-backend "~/.authinfo.gpg" netrc "~/.authinfo.gpg" t t t auth-source-netrc-create auth-source-netrc-search] matching (:max 1 :host "news2.teksavvy.com" :port ("119" "nntp")) auth-source-search: found 0 results (max 1/1) in [object auth-source-backend "~/.authinfo" netrc "~/.authinfo" t t t auth-source-netrc-create auth-source-netrc-search] matching (:max 1 :host "news2.teksavvy.com" :port ("119" "nntp")) Reading /home/monnier/var/newsrc.eld... Checking new news... Opening connection to imap.iro.umontreal.ca via tls... Opening TLS connection to `imap.iro.umontreal.ca'... Opening TLS connection with `gnutls-cli --insecure -p imaps imap.iro.umontreal.ca'...done Opening TLS connection to `imap.iro.umontreal.ca'...done auth-source-search: found 2 backends matching (:max 1 :host ("diro" "imap.iro.umontreal.ca") :port ("143" "993" "imap" "imaps") :create nil) auth-source-search: found 0 results (max 1/1) in [object auth-source-backend "~/.authinfo.gpg" netrc "~/.authinfo.gpg" t t t auth-source-netrc-create auth-source-netrc-search] matching (:max 1 :host ("diro" "imap.iro.umontreal.ca") :port ("143" "993" "imap" "imaps") :create nil) auth-source-search: found 0 results (max 1/1) in [object auth-source-backend "~/.authinfo" netrc "~/.authinfo" t t t auth-source-netrc-create auth-source-netrc-search] matching (:max 1 :host ("diro" "imap.iro.umontreal.ca") :port ("143" "993" "imap" "imaps") :create nil) auth-source-search: found 2 backends matching (:max 1 :host "news.gmane.org" :port ("119" "nntp")) auth-source-search: found 0 results (max 1/1) in [object auth-source-backend "~/.authinfo.gpg" netrc "~/.authinfo.gpg" t t t auth-source-netrc-create auth-source-netrc-search] matching (:max 1 :host "news.gmane.org" :port ("119" "nntp")) auth-source-search: found 0 results (max 1/1) in [object auth-source-backend "~/.authinfo" netrc "~/.authinfo" t t t auth-source-netrc-create auth-source-netrc-search] matching (:max 1 :host "news.gmane.org" :port ("119" "nntp")) Reading active file from eso via nntp... Opening nntp server on eso... auth-source-search: found 2 backends matching (:max 1 :host "news.eternal-september.org" :port ("119" "nntp")) auth-source-search: found 0 results (max 1/1) in [object auth-source-backend "~/.authinfo.gpg" netrc "~/.authinfo.gpg" t t t auth-source-netrc-create auth-source-netrc-search] matching (:max 1 :host "news.eternal-september.org" :port ("119" "nntp")) auth-source-search: found 0 results (max 1/1) in [object auth-source-backend "~/.authinfo" netrc "~/.authinfo" t t t auth-source-netrc-create auth-source-netrc-search] matching (:max 1 :host "news.eternal-september.org" :port ("119" "nntp")) Opening nntp server on eso...done Reading active file from diro via nnimap...done Reading active file via nndraft...done Checking new news...done In GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2011-02-15 on pastel Windowing system distributor `The X.Org Foundation', version 11.0.10707000 configured using `configure '--enable-maintainer-mode' 'CFLAGS=-Wall -Wno-pointer-sign -DUSE_LISP_UNION_TYPE -DSYNC_INPUT -DENABLE_CHECKING -DXASSERTS -DFONTSET_DEBUG -g -O1 -I/usr/include/GNUstep' '--with-x-toolkit=lucid'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: fr_CH.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Group Minor modes in effect: gnus-undo-mode: t electric-pair-mode: t electric-indent-mode: t url-handler-mode: t global-reveal-mode: t reveal-mode: t auto-insert-mode: t savehist-mode: t minibuffer-electric-default-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: ^ O C O C-x 5 b * M e q M-x r e p - e m - b u Recent messages: Reading active file from diro via nnimap...done Reading active file via nndraft...done Checking new news...done Opening connection to imap.iro.umontreal.ca via tls... Opening TLS connection to `imap.iro.umontreal.ca'... Opening TLS connection with `gnutls-cli --insecure -p imaps imap.iro.umontreal.ca'...done Opening TLS connection to `imap.iro.umontreal.ca'...done auth-source-search: found 2 backends matching (:max 1 :host ("diro" "imap.iro.umontreal.ca") :port ("143" "993" "imap" "imaps") :create nil) auth-source-search: found 0 results (max 1/1) in [object auth-source-backend "~/.authinfo.gpg" netrc "~/.authinfo.gpg" t t t auth-source-netrc-create auth-source-netrc-search] matching (:max 1 :host ("diro" "imap.iro.umontreal.ca") :port ("143" "993" "imap" "imaps") :create nil) auth-source-search: found 0 results (max 1/1) in [object auth-source-backend "~/.authinfo" netrc "~/.authinfo" t t t auth-source-netrc-create auth-source-netrc-search] matching (:max 1 :host ("diro" "imap.iro.umontreal.ca") :port ("143" "993" "imap" "imaps") :create nil) Load-path shadows: /usr/share/emacs23/site-lisp/bbdb/bbdb hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb /usr/share/emacs23/site-lisp/bbdb/bbdb-mhe hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-mhe /usr/share/emacs23/site-lisp/bbdb/bbdb-gnus hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-gnus /usr/share/emacs23/site-lisp/bbdb/bbdb-migrate hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-migrate /usr/share/emacs23/site-lisp/bbdb/bbdb-sc hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-sc /usr/share/emacs23/site-lisp/bbdb/bbdb-snarf hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-snarf /usr/share/emacs23/site-lisp/bbdb/bbdb-w3 hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-w3 /usr/share/emacs23/site-lisp/bbdb/bbdb-gui hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-gui /usr/share/emacs23/site-lisp/bbdb/bbdb-print hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-print /usr/share/emacs23/site-lisp/bbdb/bbdb-rmail hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-rmail /usr/share/emacs23/site-lisp/bbdb/bbdb-vm hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-vm /usr/share/emacs23/site-lisp/bbdb/bbdb-ftp hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-ftp /usr/share/emacs23/site-lisp/bbdb/bbdb-merge hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-merge /usr/share/emacs23/site-lisp/bbdb/bbdb-whois hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-whois /usr/share/emacs23/site-lisp/bbdb/bbdb-com hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-com /usr/share/emacs23/site-lisp/bbdb/bbdb-hooks hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-hooks Features: (shadow sort mail-extr emacsbug url-util nnfolder nndraft nnmh nnagent nnml nnimap parse-time utf7 gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 epg-config mm-view mml-smime smime dig mailcap nntp proto-stream starttls tls gnus-cache nnir gnus-sum macroexp nnoo gnus-group gnus-undo nnmail mail-source format-spec server gnus-start gnus-spec gnus-int gnus-range message sendmail rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus-win gnus gnus-ems nnheader mail-utils wid-edit noutline outline easy-mmode flyspell ispell eldoc checkdoc regexp-opt thingatpt help-mode easymenu view prog-mode electric url-handlers url-parse auth-source warnings eieio byte-opt bytecomp byte-compile assoc netrc gnus-util time-date password-cache url-vars mm-util mail-prsvr reveal autoinsert uniquify advice help-fns advice-preload savehist minibuf-eldef cl cl-loaddefs proof-site proof-autoloads pg-vars bbdb-autoloads agda2 tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page newcomment menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting x-toolkit x multi-tty emacs) From unknown Wed Jul 09 09:13:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8050: Gnus does not connect to my IMAP server any more Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Wed, 16 Feb 2011 21:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8050 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: To: Ted Zlatanov Cc: bug-gnu-emacs@gnu.org, Ding Mailing List Received: via spool by submit@debbugs.gnu.org id=B.129789086321715 (code B ref -1); Wed, 16 Feb 2011 21:15:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 Feb 2011 21:14:23 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ppoha-0005eC-LL for submit@debbugs.gnu.org; Wed, 16 Feb 2011 16:14:23 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PpohY-0005e0-So for submit@debbugs.gnu.org; Wed, 16 Feb 2011 16:14:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PpoqJ-0002kN-Ga for submit@debbugs.gnu.org; Wed, 16 Feb 2011 16:23:24 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:58015) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PpoqJ-0002kI-DP for submit@debbugs.gnu.org; Wed, 16 Feb 2011 16:23:23 -0500 Received: from [140.186.70.92] (port=50323 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PpoqI-0002lA-AO for bug-gnu-emacs@gnu.org; Wed, 16 Feb 2011 16:23:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PpoqD-0002j6-6j for bug-gnu-emacs@gnu.org; Wed, 16 Feb 2011 16:23:22 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.183]:24864 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PpoqC-0002iq-VR for bug-gnu-emacs@gnu.org; Wed, 16 Feb 2011 16:23:17 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAHvPW01MCqmX/2dsb2JhbACmB3S9KoMdgkEEhQiPRw X-IronPort-AV: E=Sophos;i="4.60,482,1291611600"; d="scan'208";a="91926528" Received: from 76-10-169-151.dsl.teksavvy.com (HELO ceviche.home) ([76.10.169.151]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 16 Feb 2011 16:22:49 -0500 Received: by ceviche.home (Postfix, from userid 20848) id 25E5A66188; Wed, 16 Feb 2011 16:22:49 -0500 (EST) From: Stefan Monnier Message-ID: References: <874o836dfv.fsf@lifelogs.com> Date: Wed, 16 Feb 2011 16:22:49 -0500 In-Reply-To: <874o836dfv.fsf@lifelogs.com> (Ted Zlatanov's message of "Wed, 16 Feb 2011 12:29:08 -0600") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-Spam-Score: -4.1 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.1 (----) > I think this is fixed in the Gnus trunk as far as the auth-source > credentials go (Lars will have to fix the nnimap code failure on empty > credentials). I'll try again and let you know of remaining problems. > I have two usability questions (cross-posting to the Gnus mailing list): > 1) should we have a global override to say "never add netrc entries", or > should the prompt be Y/N/y/n instead of just y-or-n-p, or should the > save question be asked only once per file, or something else? I used to always hit "y" to the question "remember the password", and now I simply always hit "n" to the question "save the password in .authinfo.gpg", so it's no worse than in Emacs-23. If hitting "n" once will remember not to prompt ever again, the only downside I can see is if someone later decides to change her mind, so we should have a simple way to say revert the decision in the future. Maybe the password prompt itself could somehow provide the ability to say "RET + save", tho it's more important for this feature to be easy to find than to be quick. > 2) should auth-source let-bind the password-cache timeout to something > larger? The default is pretty short and for auth-source I think at > least 30 minutes are reasonable. It could be a customizable integer. I'm not sure what this entails, but until now, Emacs has been caching my password for the whole session (typically several days) and I like that. I would not want to have to re-enter my password every half hour. Stefan From unknown Wed Jul 09 09:13:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8050: Gnus does not connect to my IMAP server any more Resent-From: Lars Magne Ingebrigtsen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Wed, 16 Feb 2011 21:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8050 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: To: Ted Zlatanov Cc: 8050@debbugs.gnu.org, Ding Mailing List Received: via spool by 8050-submit@debbugs.gnu.org id=B8050.129789103121966 (code B ref 8050); Wed, 16 Feb 2011 21:18:02 +0000 Received: (at 8050) by debbugs.gnu.org; 16 Feb 2011 21:17:11 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PpokI-0005iF-PE for submit@debbugs.gnu.org; Wed, 16 Feb 2011 16:17:10 -0500 Received: from baybryj.net ([198.144.208.130] helo=lenovo) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PpokF-0005hn-KE for 8050@debbugs.gnu.org; Wed, 16 Feb 2011 16:17:08 -0500 Received: from larsi by lenovo with local (Exim 4.72) (envelope-from ) id 1Ppot0-0006oK-TX; Wed, 16 Feb 2011 13:26:10 -0800 From: Lars Magne Ingebrigtsen In-Reply-To: <874o836dfv.fsf@lifelogs.com> (Ted Zlatanov's message of "Wed, 16 Feb 2011 12:29:08 -0600") Date: Wed, 16 Feb 2011 13:26:07 -0800 Message-ID: <87lj1fr7rk.fsf@gnus.org> References: <874o836dfv.fsf@lifelogs.com> User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.6 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Ted Zlatanov writes: > I think this is fixed in the Gnus trunk as far as the auth-source > credentials go (Lars will have to fix the nnimap code failure on empty > credentials). What's a good test case to tickle the bug? > I have two usability questions (cross-posting to the Gnus mailing list): > > 1) should we have a global override to say "never add netrc entries", or > should the prompt be Y/N/y/n instead of just y-or-n-p, or should the > save question be asked only once per file, or something else? Hm... if you look at how Firefox deals with this, it asks something like "save password, don't save now, never save for this host", and I think that's pretty nice, UX wise. But there isn't a "never ask me about saving passwords for any hosts ever again", I think? > 2) should auth-source let-bind the password-cache timeout to something > larger? The default is pretty short and for auth-source I think at > least 30 minutes are reasonable. It could be a customizable integer. I'd prefer a longer timeout than 30 minutes as the default. Perhaps two hours? -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen From unknown Wed Jul 09 09:13:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8050: Gnus does not connect to my IMAP server any more Resent-From: Michael Albinus Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Wed, 16 Feb 2011 21:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8050 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: To: Stefan Monnier Cc: Ted Zlatanov , bug-gnu-emacs@gnu.org, Ding Mailing List Received: via spool by submit@debbugs.gnu.org id=B.129789152722675 (code B ref -1); Wed, 16 Feb 2011 21:26:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 Feb 2011 21:25:27 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PposJ-0005tg-Ce for submit@debbugs.gnu.org; Wed, 16 Feb 2011 16:25:27 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PposG-0005tS-Ne for submit@debbugs.gnu.org; Wed, 16 Feb 2011 16:25:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ppp11-0005U8-54 for submit@debbugs.gnu.org; Wed, 16 Feb 2011 16:34:28 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:58904) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ppp11-0005Ty-1S for submit@debbugs.gnu.org; Wed, 16 Feb 2011 16:34:27 -0500 Received: from [140.186.70.92] (port=37690 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ppp0z-0001cG-Nd for bug-gnu-emacs@gnu.org; Wed, 16 Feb 2011 16:34:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ppp0y-0005Ta-It for bug-gnu-emacs@gnu.org; Wed, 16 Feb 2011 16:34:25 -0500 Received: from mailout-de.gmx.net ([213.165.64.22]:34528) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Ppp0y-0005TM-65 for bug-gnu-emacs@gnu.org; Wed, 16 Feb 2011 16:34:24 -0500 Received: (qmail invoked by alias); 16 Feb 2011 21:34:21 -0000 Received: from p57BB95BF.dip0.t-ipconnect.de (EHLO detlef.gmx.de) [87.187.149.191] by mail.gmx.net (mp010) with SMTP; 16 Feb 2011 22:34:21 +0100 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX19CGFMJILpCQJMSU3C/Vh1Cf2KV7CUoVHeNHsOvzK yX/kAAw/vxVwkN From: Michael Albinus References: <874o836dfv.fsf@lifelogs.com> Date: Wed, 16 Feb 2011 22:34:19 +0100 In-Reply-To: (Stefan Monnier's message of "Wed, 16 Feb 2011 16:22:49 -0500") Message-ID: <87wrkzbr50.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-Spam-Score: -4.3 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.3 (----) Stefan Monnier writes: >> 2) should auth-source let-bind the password-cache timeout to something >> larger? The default is pretty short and for auth-source I think at >> least 30 minutes are reasonable. It could be a customizable integer. > > I'm not sure what this entails, but until now, Emacs has been caching my > password for the whole session (typically several days) and > I like that. I would not want to have to re-enter my password every > half hour. If auth-source documents its usage of `password-cache-expiry' properly, it shall be sufficient. I do not like packages, which overwrite my own settings :-) > Stefan Best regards, Michael. From unknown Wed Jul 09 09:13:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8050: Gnus does not connect to my IMAP server any more Resent-From: Lars Ingebrigtsen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Fri, 18 Feb 2011 00:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8050 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: To: Ted Zlatanov Cc: bug-gnu-emacs@gnu.org, ding@gnus.org Received: via spool by submit@debbugs.gnu.org id=B.129798872710675 (code B ref -1); Fri, 18 Feb 2011 00:26:02 +0000 Received: (at submit) by debbugs.gnu.org; 18 Feb 2011 00:25:27 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PqEA2-0002m8-4n for submit@debbugs.gnu.org; Thu, 17 Feb 2011 19:25:26 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PqEA0-0002lv-8K for submit@debbugs.gnu.org; Thu, 17 Feb 2011 19:25:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PqE9u-0007dw-5A for submit@debbugs.gnu.org; Thu, 17 Feb 2011 19:25:19 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, FSL_HELO_NON_FQDN_1, HELO_NO_DOMAIN autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:46531) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PqE9u-0007ds-3P for submit@debbugs.gnu.org; Thu, 17 Feb 2011 19:25:18 -0500 Received: from [140.186.70.92] (port=57348 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PqE9t-0006M8-5N for bug-gnu-emacs@gnu.org; Thu, 17 Feb 2011 19:25:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PqE9p-0007dI-R5 for bug-gnu-emacs@gnu.org; Thu, 17 Feb 2011 19:25:17 -0500 Received: from baybryj.net ([198.144.208.130]:57347 helo=lenovo) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PqE9p-0007ck-D7 for bug-gnu-emacs@gnu.org; Thu, 17 Feb 2011 19:25:13 -0500 Received: from larsi by lenovo with local (Exim 4.72) (envelope-from ) id 1PqE9l-0007Hg-0E; Thu, 17 Feb 2011 16:25:09 -0800 From: Lars Ingebrigtsen In-Reply-To: <87sjvn3a4u.fsf@lifelogs.com> (Ted Zlatanov's message of "Wed, 16 Feb 2011 16:08:49 -0600") Date: Thu, 17 Feb 2011 16:24:57 -0800 Message-ID: <87aahu8a06.fsf@gnus.org> References: <874o836dfv.fsf@lifelogs.com> <87sjvn3a4u.fsf@lifelogs.com> User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-Spam-Score: -5.2 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.2 (-----) Ted Zlatanov writes: >>> I think this is fixed in the Gnus trunk as far as the auth-source >>> credentials go (Lars will have to fix the nnimap code failure on empty >>> credentials). > > LMI> What's a good test case to tickle the bug? > > Make `nnimap-credentials' return (nil nil). I've now fixed this part, I think. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen From unknown Wed Jul 09 09:13:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8050: Gnus does not connect to my IMAP server any more Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Fri, 18 Feb 2011 02:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8050 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: Ted Zlatanov , bug-gnu-emacs@gnu.org, ding@gnus.org Received: via spool by submit@debbugs.gnu.org id=B.129799666821708 (code B ref -1); Fri, 18 Feb 2011 02:38:02 +0000 Received: (at submit) by debbugs.gnu.org; 18 Feb 2011 02:37:48 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PqGE7-0005e5-53 for submit@debbugs.gnu.org; Thu, 17 Feb 2011 21:37:47 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PqGE4-0005du-Tx for submit@debbugs.gnu.org; Thu, 17 Feb 2011 21:37:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PqGDy-00034w-Sq for submit@debbugs.gnu.org; Thu, 17 Feb 2011 21:37:39 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:44480) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PqGDy-00034s-OT for submit@debbugs.gnu.org; Thu, 17 Feb 2011 21:37:38 -0500 Received: from [140.186.70.92] (port=35242 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PqGDx-0001PV-I9 for bug-gnu-emacs@gnu.org; Thu, 17 Feb 2011 21:37:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PqGDw-00034a-Le for bug-gnu-emacs@gnu.org; Thu, 17 Feb 2011 21:37:37 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.183]:54146 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PqGDw-00034W-Gh for bug-gnu-emacs@gnu.org; Thu, 17 Feb 2011 21:37:36 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAGdpXU1FxKd1/2dsb2JhbACmHnS8IIMYBQeCOgSFCo9P X-IronPort-AV: E=Sophos;i="4.62,184,1297054800"; d="scan'208";a="92055166" Received: from 69-196-167-117.dsl.teksavvy.com (HELO ceviche.home) ([69.196.167.117]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 17 Feb 2011 21:37:35 -0500 Received: by ceviche.home (Postfix, from userid 20848) id 2737966188; Thu, 17 Feb 2011 21:37:35 -0500 (EST) From: Stefan Monnier Message-ID: References: <874o836dfv.fsf@lifelogs.com> <87sjvn3a4u.fsf@lifelogs.com> <87aahu8a06.fsf@gnus.org> Date: Thu, 17 Feb 2011 21:37:35 -0500 In-Reply-To: <87aahu8a06.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 17 Feb 2011 16:24:57 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-Spam-Score: -4.1 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.1 (----) >>>> I think this is fixed in the Gnus trunk as far as the auth-source >>>> credentials go (Lars will have to fix the nnimap code failure on empty >>>> credentials). With today's code, I could connect again, thank you. But the prompts are poor: - for the user name, the prompt says something like "[USER?]diro:143", which is very cryptic. While I know why there's a "143" there, there's no reason to expect users to know that (my .gnus doesn't mention any port number). Worse: I really have no clue what the "USER?" is about. - for the password, the prompt again mentioned 143, which I also thing is not warranted. - then I get prompted to save the password, which is the worst of the three: - the prompt is *very* long (more than 80 chars). - it includes the password in cleartext (WTF?). - none of the extra data is really something I care about when deciding whether I want to save my password in .authinfo.gpg. It's just distracting from the main issue. -- Stefan From unknown Wed Jul 09 09:13:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8050: Gnus does not connect to my IMAP server any more Resent-From: Lars Ingebrigtsen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Fri, 18 Feb 2011 08:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8050 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: To: Stefan Monnier Cc: Ted Zlatanov , bug-gnu-emacs@gnu.org, ding@gnus.org Received: via spool by submit@debbugs.gnu.org id=B.129801722917999 (code B ref -1); Fri, 18 Feb 2011 08:21:02 +0000 Received: (at submit) by debbugs.gnu.org; 18 Feb 2011 08:20:29 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PqLZl-0004gF-AL for submit@debbugs.gnu.org; Fri, 18 Feb 2011 03:20:29 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PqLZj-0004g4-9a for submit@debbugs.gnu.org; Fri, 18 Feb 2011 03:20:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PqLZd-0006go-2W for submit@debbugs.gnu.org; Fri, 18 Feb 2011 03:20:22 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, FSL_HELO_NON_FQDN_1, HELO_NO_DOMAIN autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:41851) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PqLZc-0006fn-71 for submit@debbugs.gnu.org; Fri, 18 Feb 2011 03:20:20 -0500 Received: from [140.186.70.92] (port=52918 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PqLZV-0004Cw-51 for bug-gnu-emacs@gnu.org; Fri, 18 Feb 2011 03:20:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PqLZJ-0006Y4-9p for bug-gnu-emacs@gnu.org; Fri, 18 Feb 2011 03:20:07 -0500 Received: from baybryj.net ([198.144.208.130]:36446 helo=lenovo) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PqLZJ-0006XR-1E for bug-gnu-emacs@gnu.org; Fri, 18 Feb 2011 03:20:01 -0500 Received: from larsi by lenovo with local (Exim 4.72) (envelope-from ) id 1PqLZN-0007TQ-HD; Fri, 18 Feb 2011 00:20:05 -0800 From: Lars Ingebrigtsen In-Reply-To: (Stefan Monnier's message of "Thu, 17 Feb 2011 21:37:35 -0500") Date: Fri, 18 Feb 2011 00:19:58 -0800 Message-ID: <878vxd69g1.fsf@gnus.org> References: <874o836dfv.fsf@lifelogs.com> <87sjvn3a4u.fsf@lifelogs.com> <87aahu8a06.fsf@gnus.org> User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-Spam-Score: -5.2 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.3 (-----) Stefan Monnier writes: > But the prompts are poor: > - for the user name, the prompt says something like "[USER?]diro:143", > which is very cryptic. While I know why there's a "143" there, > there's no reason to expect users to know that (my .gnus doesn't > mention any port number). Worse: I really have no clue what the "USER?" > is about. Yes, it's quite cryptic. The prompts should simply be "User name for diro:imap: " and "Password for diro:imap: " Or something like that. Well, really, the host name should be the (real) fully qualified host name, if possible, but that may not be feasible. > - then I get prompted to save the password, which is the worst of the > three: Yes, it should just say "Save the password for future sessions? " and not much more. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen From unknown Wed Jul 09 09:13:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8050: Gnus does not connect to my IMAP server any more In-Reply-To: Resent-From: Ted Zlatanov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Fri, 18 Feb 2011 20:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8050 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: To: bug-gnu-emacs@gnu.org Cc: ding@gnus.org Received: via spool by submit@debbugs.gnu.org id=B.129806192720640 (code B ref -1); Fri, 18 Feb 2011 20:46:02 +0000 Received: (at submit) by debbugs.gnu.org; 18 Feb 2011 20:45:27 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PqXCg-0005Mr-Od for submit@debbugs.gnu.org; Fri, 18 Feb 2011 15:45:26 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PqXCd-0005Md-V7 for submit@debbugs.gnu.org; Fri, 18 Feb 2011 15:45:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PqXCX-0003CL-Rb for submit@debbugs.gnu.org; Fri, 18 Feb 2011 15:45:18 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00,RCVD_NUMERIC_HELO, T_RP_MATCHES_RCVD autolearn=no version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:51733) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PqXCX-0003CG-PG for submit@debbugs.gnu.org; Fri, 18 Feb 2011 15:45:17 -0500 Received: from [140.186.70.92] (port=38405 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PqXCU-0007BJ-Jj for bug-gnu-emacs@gnu.org; Fri, 18 Feb 2011 15:45:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PqXCP-000390-Ps for bug-gnu-emacs@gnu.org; Fri, 18 Feb 2011 15:45:14 -0500 Received: from lo.gmane.org ([80.91.229.12]:35076) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PqXCP-00037f-EG for bug-gnu-emacs@gnu.org; Fri, 18 Feb 2011 15:45:09 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PqXCM-0005Mb-58 for bug-gnu-emacs@gnu.org; Fri, 18 Feb 2011 21:45:06 +0100 Received: from 38.98.147.130 ([38.98.147.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 18 Feb 2011 21:45:06 +0100 Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 18 Feb 2011 21:45:06 +0100 X-Injected-Via-Gmane: http://gmane.org/ From: Ted Zlatanov Date: Fri, 18 Feb 2011 14:16:03 -0600 Organization: =?UTF-8?Q?=D0=A2=D0=B5=D0=BE=D0=B4=D0=BE=D1=80_?= =?UTF-8?Q?=D0=97=D0=BB=D0=B0=D1=82=D0=B0=D0=BD=D0=BE=D0=B2?= @ Cienfuegos Lines: 53 Message-ID: <874o81xfng.fsf@lifelogs.com> References: <874o836dfv.fsf@lifelogs.com> <87sjvn3a4u.fsf@lifelogs.com> <87aahu8a06.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 38.98.147.130 X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:dBFLUhDRTX1ehjgt4WFqfgOVWOw= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-Spam-Score: -3.7 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.7 (---) On Thu, 17 Feb 2011 21:37:35 -0500 Stefan Monnier wrote: SM> - for the user name, the prompt says something like "[USER?]diro:143", SM> which is very cryptic. While I know why there's a "143" there, SM> there's no reason to expect users to know that (my .gnus doesn't SM> mention any port number). Worse: I really have no clue what the "USER?" SM> is about. SM> - for the password, the prompt again mentioned 143, which I also thing SM> is not warranted. SM> - then I get prompted to save the password, which is the worst of the SM> three: SM> - the prompt is *very* long (more than 80 chars). SM> - it includes the password in cleartext (WTF?). Yeah, I see now it was a mistake the way I did it. SM> - none of the extra data is really something I care about when SM> deciding whether I want to save my password in .authinfo.gpg. SM> It's just distracting from the main issue. I *very much* care what goes into that file and want to see the exact text. So find my proposal to accomodate normal and obsessive users alike below :) On Fri, 18 Feb 2011 00:19:58 -0800 Lars Ingebrigtsen wrote: LI> The prompts should simply be LI> "User name for diro:imap: " LI> and LI> "Password for diro:imap: " LI> Or something like that. Well, really, the host name should be the LI> (real) fully qualified host name, if possible, but that may not be LI> feasible. OK, I'll work on improving those prompts. >> - then I get prompted to save the password, which is the worst of the >> three: LI> Yes, it should just say "Save the password for future sessions? " and LI> not much more. How about: "Save the $HOSTNAME password for future sessions? y/n/s/?" where `s' shows the line we will add with the password replaced by ****? Ted From unknown Wed Jul 09 09:13:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8050: Gnus does not connect to my IMAP server any more Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Fri, 18 Feb 2011 22:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8050 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: To: Ted Zlatanov Cc: bug-gnu-emacs@gnu.org, ding@gnus.org Received: via spool by submit@debbugs.gnu.org id=B.129806900730714 (code B ref -1); Fri, 18 Feb 2011 22:44:02 +0000 Received: (at submit) by debbugs.gnu.org; 18 Feb 2011 22:43:27 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PqZ2s-0007zL-Gi for submit@debbugs.gnu.org; Fri, 18 Feb 2011 17:43:26 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PqZ2q-0007z9-6L for submit@debbugs.gnu.org; Fri, 18 Feb 2011 17:43:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PqZ2k-0008Gp-9j for submit@debbugs.gnu.org; Fri, 18 Feb 2011 17:43:19 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:52845) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PqZ2k-0008Gl-5C for submit@debbugs.gnu.org; Fri, 18 Feb 2011 17:43:18 -0500 Received: from [140.186.70.92] (port=57519 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PqZ2i-0006V1-R4 for bug-gnu-emacs@gnu.org; Fri, 18 Feb 2011 17:43:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PqZ2h-0008GM-RU for bug-gnu-emacs@gnu.org; Fri, 18 Feb 2011 17:43:16 -0500 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:32920) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PqZ2h-0008G7-Np for bug-gnu-emacs@gnu.org; Fri, 18 Feb 2011 17:43:15 -0500 Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id p1IMhDkq016317; Fri, 18 Feb 2011 17:43:13 -0500 Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 7B8DDB411A; Fri, 18 Feb 2011 17:43:13 -0500 (EST) From: Stefan Monnier Message-ID: References: <874o836dfv.fsf@lifelogs.com> <87sjvn3a4u.fsf@lifelogs.com> <87aahu8a06.fsf@gnus.org> <874o81xfng.fsf@lifelogs.com> Date: Fri, 18 Feb 2011 17:43:13 -0500 In-Reply-To: <874o81xfng.fsf@lifelogs.com> (Ted Zlatanov's message of "Fri, 18 Feb 2011 14:16:03 -0600") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3735=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.0 (----) >>> - then I get prompted to save the password, which is the worst of the >>> three: LI> Yes, it should just say "Save the password for future sessions? " and LI> not much more. > How about: > "Save the $HOSTNAME password for future sessions? y/n/s/?" The previous prompt included the ~/.authinfo.gpg file name which I thought was good. On the contrary, the hostname info seems redundant since it's already been displayed by the previous 2 prompts. > where `s' shows the line we will add with the password replaced by ****? Here are some ways to handle the "showing the line": 1- show it in the prompt: loud, noisy, and worst of all, shows the password in the clear, right after you entered it via `read-passwd' which was careful to keep it hidden. 2- Add an `s' option to the prompt. 3- Add a second prompt (when if the user selected `y') to confirm the actual text that will be saved. Can be kind of a pain for the user, but presumably, password aren't saved all the time. 4- not show it at all, let the user visit the file afterwards to see what happened if he wants to. 1 is out. 2 seems like a lot of trouble compared to using y-or-n-p (tho, if you add an `N' option anyway to remember not to prompt next time, the extra work is already done). 3 might be a bit annoying to some of the users (especially those who want to save the password but don't want to have it displayed). 4 seemed sufficient to me, but apparently YMMV. So yes, I'd vote for 2 or 4 (as the coder, I'd choose 4 ;-) Stefan From unknown Wed Jul 09 09:13:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8050: Gnus does not connect to my IMAP server any more Resent-From: Lars Ingebrigtsen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Fri, 18 Feb 2011 23:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8050 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: To: Ted Zlatanov Cc: bug-gnu-emacs@gnu.org, ding@gnus.org Received: via spool by submit@debbugs.gnu.org id=B.12980703676324 (code B ref -1); Fri, 18 Feb 2011 23:07:02 +0000 Received: (at submit) by debbugs.gnu.org; 18 Feb 2011 23:06:07 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PqZOo-0001dw-4z for submit@debbugs.gnu.org; Fri, 18 Feb 2011 18:06:06 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PqZOm-0001dU-Rw for submit@debbugs.gnu.org; Fri, 18 Feb 2011 18:06:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PqZOg-0003bH-S7 for submit@debbugs.gnu.org; Fri, 18 Feb 2011 18:05:59 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, FSL_HELO_NON_FQDN_1, HELO_NO_DOMAIN autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:32847) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PqZOg-0003bD-QF for submit@debbugs.gnu.org; Fri, 18 Feb 2011 18:05:58 -0500 Received: from [140.186.70.92] (port=43474 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PqZOd-0005IT-RT for bug-gnu-emacs@gnu.org; Fri, 18 Feb 2011 18:05:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PqZOZ-0003a1-CO for bug-gnu-emacs@gnu.org; Fri, 18 Feb 2011 18:05:55 -0500 Received: from baybryj.net ([198.144.208.130]:59517 helo=lenovo) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PqZOZ-0003ZU-4M for bug-gnu-emacs@gnu.org; Fri, 18 Feb 2011 18:05:51 -0500 Received: from larsi by lenovo with local (Exim 4.72) (envelope-from ) id 1PqZOl-0007pI-6d; Fri, 18 Feb 2011 15:06:03 -0800 From: Lars Ingebrigtsen In-Reply-To: <874o81xfng.fsf@lifelogs.com> (Ted Zlatanov's message of "Fri, 18 Feb 2011 14:16:03 -0600") Date: Fri, 18 Feb 2011 15:04:32 -0800 Message-ID: <87wrkx0wsf.fsf@gnus.org> References: <874o836dfv.fsf@lifelogs.com> <87sjvn3a4u.fsf@lifelogs.com> <87aahu8a06.fsf@gnus.org> <874o81xfng.fsf@lifelogs.com> User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-Spam-Score: -5.3 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.3 (-----) Ted Zlatanov writes: > I *very much* care what goes into that file and want to see the exact > text. So find my proposal to accomodate normal and obsessive users > alike below :) I think this is like a debugging thing. Emacs shouldn't be a platform to debug the applications running in it. It should just run the applications. :-) As a user, I don't care, and I shouldn't care about what format the application stores the information in. So even putting that option in the prompt gives a bad User eXperience, in my opinion. It's just confusing. Displaying irrelevant info is almost as bad as not displaying info the user needs. (Note "user", not "implementer". :-) -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen From unknown Wed Jul 09 09:13:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8050: Gnus does not connect to my IMAP server any more Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Tue, 22 Feb 2011 22:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8050 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: Ted Zlatanov , bug-gnu-emacs@gnu.org, ding@gnus.org Received: via spool by submit@debbugs.gnu.org id=B.12984148331613 (code B ref -1); Tue, 22 Feb 2011 22:48:02 +0000 Received: (at submit) by debbugs.gnu.org; 22 Feb 2011 22:47:13 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ps10i-0000Py-Ac for submit@debbugs.gnu.org; Tue, 22 Feb 2011 17:47:12 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ps10g-0000Pm-0N for submit@debbugs.gnu.org; Tue, 22 Feb 2011 17:47:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ps10Z-0001bS-Nu for submit@debbugs.gnu.org; Tue, 22 Feb 2011 17:47:04 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:42047) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ps10Z-0001bL-Ku for submit@debbugs.gnu.org; Tue, 22 Feb 2011 17:47:03 -0500 Received: from [140.186.70.92] (port=44802 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ps10Y-0001pA-77 for bug-gnu-emacs@gnu.org; Tue, 22 Feb 2011 17:47:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ps10V-0001aX-Jo for bug-gnu-emacs@gnu.org; Tue, 22 Feb 2011 17:47:01 -0500 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:34434) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ps10V-0001aI-HU for bug-gnu-emacs@gnu.org; Tue, 22 Feb 2011 17:46:59 -0500 Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id p1MMkuxS003799; Tue, 22 Feb 2011 17:46:57 -0500 Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 637421300B0; Tue, 22 Feb 2011 17:46:56 -0500 (EST) From: Stefan Monnier Message-ID: References: <874o836dfv.fsf@lifelogs.com> <87sjvn3a4u.fsf@lifelogs.com> <87aahu8a06.fsf@gnus.org> <874o81xfng.fsf@lifelogs.com> <87wrkx0wsf.fsf@gnus.org> Date: Tue, 22 Feb 2011 17:46:56 -0500 In-Reply-To: <87wrkx0wsf.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 18 Feb 2011 15:04:32 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3735=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.0 (----) >> I *very much* care what goes into that file and want to see the exact >> text. So find my proposal to accomodate normal and obsessive users >> alike below :) > I think this is like a debugging thing. Emacs shouldn't be a platform > to debug the applications running in it. It should just run the > applications. :-) Indeed. It's a great feature of Emacs that it is good at development an debugging of its own code, but that shouldn't be imposed on the user. The latest update brought in even worse behavior, BTW. Now I get the following prompts, in a kind of "battle for the worst prompt": - first prompt asks me to choose the host, something like "host for [USER]@(diro imap.iro.umontreal.ca):(143 997 imap imap): " WTF? For reference the relevant part of my gnus-secondary-select-methods says: (nnimap "diro" (nnimap-address "imap.iro.umontreal.ca") (nnimap-stream tls)) This is a brand new prompt, which earlier Gnus could answer on its own. - then comes the prompt for the user (which looks ugly, but at least makes some amount of sense, tho I guess I should change my .gnus to provide this info directly in gnus-secondary-select-methods). - third prompt asks for the port to use (143 997 imap imaps). Again, that's a new prompt which earlier Gnus could answer on its own. It's slightly less hideous than the first prompt, and comes with the same comical completion feature (I love completion, as you may guess, but when it's for something which the user should not have to indicate at all, and for some users it's even something they don't know...). - finally the real prompt for the password comes up (still looking pretty ugly). Will I ever get back a simple "Password for monnier@diro: "? - then comes one more prompt to ask me if I want to save the password, and this prompt is as long and ugly as last time, tho it at least keeps the password hidden (but taking up space nonetheless). The prompt I'd like here is just what we had ealier: "Save password in .authinfo.gpg?". All those prompts are *long* which is *bad*. I know that nowadays Emacs can usually resize the minibuffer on the fly, but that's no reason to use long prompts which do nothing more than slow the user down trying to figure out what the hell he's supposed to do. Stefan From unknown Wed Jul 09 09:13:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8050: Gnus does not connect to my IMAP server any more References: Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Thu, 24 Feb 2011 01:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8050 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: To: 8050@debbugs.gnu.org Received: via spool by 8050-submit@debbugs.gnu.org id=B8050.129850939931087 (code B ref 8050); Thu, 24 Feb 2011 01:04:02 +0000 Received: (at 8050) by debbugs.gnu.org; 24 Feb 2011 01:03:19 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PsPbz-00085L-3N for submit@debbugs.gnu.org; Wed, 23 Feb 2011 20:03:19 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.181] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PsPbw-00085A-Jv for 8050@debbugs.gnu.org; Wed, 23 Feb 2011 20:03:17 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AocGAKU8ZU1FxIPF/2dsb2JhbACYEY4NdLwrgx2CQQSFDY9U X-IronPort-AV: E=Sophos;i="4.62,214,1297054800"; d="scan'208";a="93343095" Received: from 69-196-131-197.dsl.teksavvy.com (HELO ceviche.home) ([69.196.131.197]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 23 Feb 2011 20:03:11 -0500 Received: by ceviche.home (Postfix, from userid 20848) id C08AE660D6; Wed, 23 Feb 2011 20:03:10 -0500 (EST) From: Stefan Monnier Message-ID: Date: Wed, 23 Feb 2011 20:03:10 -0500 In-Reply-To: nobody's message of "\(unknown date\)" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.1 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.1 (-) The new code shows much fewer prompts, but now I can't connect any more. The problem is that among the prompts it doesn't show me any more, the "username" prompt is now missing, so Gnus then asks me "Password for [any user]@(imap.iro.umontreal.ca diro):(143 997 imap imaps): " And when asking me whether to save the password (which it asks even tough the authentication fails :-() the prompt is again too verbose asking me "Add to .authinfo.gpg? (y)es/(n)o but use it/(e)dit line/(s)kip file" First, it's hard to parse, second I don't know what "no but use it" might mean, I don't know what "line" I might want to "edit" (nor why it's related to saving a password), and neither do I know what means "skip file". Please make it just "Save password to .authinfo.gpg? [y/n/N/?]" or something short and simple like that. Stefan From unknown Wed Jul 09 09:13:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8050: Gnus does not connect to my IMAP server any more Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Thu, 24 Feb 2011 15:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8050 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: To: Ted Zlatanov Cc: bug-gnu-emacs@gnu.org, Ding Mailing List Received: via spool by submit@debbugs.gnu.org id=B.129856099031309 (code B ref -1); Thu, 24 Feb 2011 15:24:02 +0000 Received: (at submit) by debbugs.gnu.org; 24 Feb 2011 15:23:10 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Psd26-00088w-B0 for submit@debbugs.gnu.org; Thu, 24 Feb 2011 10:23:10 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Psd23-00088k-SO for submit@debbugs.gnu.org; Thu, 24 Feb 2011 10:23:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Psd1x-0005WS-GE for submit@debbugs.gnu.org; Thu, 24 Feb 2011 10:23:02 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:52603) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Psd1x-0005W0-7Y for submit@debbugs.gnu.org; Thu, 24 Feb 2011 10:23:01 -0500 Received: from [140.186.70.92] (port=46059 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Psd1v-0006Qu-Dn for bug-gnu-emacs@gnu.org; Thu, 24 Feb 2011 10:23:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Psd1t-0005Uh-98 for bug-gnu-emacs@gnu.org; Thu, 24 Feb 2011 10:22:58 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.183]:25247 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Psd1t-0005UW-6z for bug-gnu-emacs@gnu.org; Thu, 24 Feb 2011 10:22:57 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEACsGZk1FxIPF/2dsb2JhbACmJ3S9cYMegkIEhRCPWw X-IronPort-AV: E=Sophos;i="4.62,218,1297054800"; d="scan'208";a="93401739" Received: from 69-196-131-197.dsl.teksavvy.com (HELO pastel.home) ([69.196.131.197]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 24 Feb 2011 10:22:55 -0500 Received: by pastel.home (Postfix, from userid 20848) id 34A654E050; Thu, 24 Feb 2011 10:22:55 -0500 (EST) From: Stefan Monnier Message-ID: References: <87y655bnr4.fsf@lifelogs.com> Date: Thu, 24 Feb 2011 10:22:55 -0500 In-Reply-To: <87y655bnr4.fsf@lifelogs.com> (Ted Zlatanov's message of "Thu, 24 Feb 2011 06:50:07 -0600") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-Spam-Score: -4.1 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.1 (----) SM> And when asking me whether to save the password (which it asks even SM> tough the authentication fails :-() the prompt is again too verbose SM> asking me SM> "Add to .authinfo.gpg? (y)es/(n)o but use it/(e)dit line/(s)kip file" SM> First, it's hard to parse, second I don't know what "no but use it" SM> might mean, > It means "don't write it to the file but remember the password." Just call it "(n)o", then (after all, the question is "Add to .authinfo.gpg?"); especially since you don't offer the option to not remember the password. SM> I don't know what "line" I might want to "edit" (nor why it's SM> related to saving a password), > authinfo/netrc files are line-based. That's an irrelevant detail. Obviously those files store several passwords, so they contain a "list/set" of "entries". Whether those entries are represented by a single line doesn't matter (you'd still want to be able to see/edit the whole record even if it was represented by a multi-line chunk of text or some fixed-length binary representation, or whathaveyou). > You may want to edit the line in case you want to change it before it's > written. Lars also thought this was not good but I feel strongly this > is useful functionality and it's not too intrusive. What's the advantage of editing it before (which requires this funky prompt, or an additional prompt) rather than after (which requires no special support)? Why is Gnus the only application that finds this functionality useful enough to pester every user every time it asks for a password? SM> and neither do I know what means "skip file". > It means "go to the next source in the auth-sources list, I don't want > to change this one." Then it's not "skip file" but "other file". SM> Please make it just "Save password to .authinfo.gpg? [y/n/N/?]" or SM> something short and simple like that. > I was trying to avoid the help popup but you're right the prompt is too > verbose. > "Save password" does not describe what's going on fully. Why not? Maybe the problem is that it does more. > Maybe just "save to $file" would be better than "add to $file." Fine by me, tho in either case it would be good to hint at *what* is saved, so "save password" would be welcome. > The prompting could be, compared to the old > "(y)es/(n)o but use it/(e)dit line/(s)kip file": > y/n/N/e/s/? => (y)es, save; (n)o but use the info; (N)o and don't use > the info and don't ask again; (e)dit the line; (s)kip this file. > I see two cases for (N): one, you want to use the password just entered > and don't want to be asked to *save* again; Yes, that would be the one I want to type. > two, you don't want to use the password I don't know what that could mean. The user has just gone through the trouble of typing the password, so surely she wants to use it somehow. The other N I can think of is "don't remember this password even in this session", which corresponds to one of the 2 options in Emacs-23 (where you had no option to save the password, but you had to choose between "save for the session" or "not save for the session"). > Do you think that skipping to the next file in auth-sources is not > useful? Definitely. Stefan From unknown Wed Jul 09 09:13:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8050: Gnus does not connect to my IMAP server any more Resent-From: Lars Magne Ingebrigtsen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Fri, 25 Feb 2011 04:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8050 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: To: 8050@debbugs.gnu.org Cc: Ding Mailing List Received: via spool by 8050-submit@debbugs.gnu.org id=B8050.129860962624409 (code B ref 8050); Fri, 25 Feb 2011 04:54:01 +0000 Received: (at 8050) by debbugs.gnu.org; 25 Feb 2011 04:53:46 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PspgX-0006Le-91 for submit@debbugs.gnu.org; Thu, 24 Feb 2011 23:53:45 -0500 Received: from [109.144.247.156] (helo=vaio) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PspgV-0006LT-SU for 8050@debbugs.gnu.org; Thu, 24 Feb 2011 23:53:44 -0500 Received: from larsi by vaio with local (Exim 4.69) (envelope-from ) id 1PspgN-0005g2-W3; Thu, 24 Feb 2011 20:53:36 -0800 From: Lars Magne Ingebrigtsen In-Reply-To: <87y655bnr4.fsf@lifelogs.com> (Ted Zlatanov's message of "Thu, 24 Feb 2011 06:50:07 -0600") Date: Thu, 24 Feb 2011 20:29:36 -0800 Message-ID: <87wrkobutr.fsf@gnus.org> References: <87y655bnr4.fsf@lifelogs.com> User-Agent: Gnus/5.110014 (No Gnus v0.14) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.6 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.6 (-) Ted Zlatanov writes: > You may want to edit the line in case you want to change it before it's > written. Lars also thought this was not good but I feel strongly this > is useful functionality and it's not too intrusive. I think it's definitely too intrusive. The question that's relevant is "do you want to save the password?" That's the only thing a normal user could possibly be interested in, and it's a yes or no question. Asking the user to "e"-dit the netrc line would be for Gnus to prompt the user on `C-c C-c' "do you want to (s)end the message or (e)dit the MIME representation of the message before sending?" The latter is only interesting for people who are implementing the MIME encoding, and not any user. The same goes for the .netrc stuff. If you want to add a debugging mode to auth-source that allows you to edit the .netrc lines, that's fine, but it's not fine to confuse users on something as basic as password management. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen From unknown Wed Jul 09 09:13:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8050: Gnus does not connect to my IMAP server any more References: In-Reply-To: Resent-From: Ted Zlatanov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Fri, 25 Feb 2011 17:28:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8050 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: To: <8050@debbugs.gnu.org> Received: via spool by 8050-submit@debbugs.gnu.org id=B8050.129865488227052 (code B ref 8050); Fri, 25 Feb 2011 17:28:03 +0000 Received: (at 8050) by debbugs.gnu.org; 25 Feb 2011 17:28:02 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pt1ST-00072D-GD for submit@debbugs.gnu.org; Fri, 25 Feb 2011 12:28:01 -0500 Received: from chirelay1o.jumptrading.com ([38.98.147.153] helo=chirelay1.jumptrading.com) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pt1SS-000722-5o for 8050@debbugs.gnu.org; Fri, 25 Feb 2011 12:28:00 -0500 Received: from chirelay1.jumptrading.com (unknown [127.0.0.1]) by chirelay1.jumptrading.com (Symantec Mail Security) with ESMTP id 8CE83320016 for <8050@debbugs.gnu.org>; Fri, 25 Feb 2011 11:27:54 -0600 (CST) X-AuditID: 26629395-a26cabb00000455d-58-4d67e69ae385 Received: from chiexchange02.w2k.jumptrading.com (unknown [38.98.147.140]) by chirelay1.jumptrading.com (Symantec Mail Security) with ESMTP id 3F71E2DC003 for <8050@debbugs.gnu.org>; Fri, 25 Feb 2011 11:27:54 -0600 (CST) Received: from internalsmtp.w2k.jumptrading.com (10.2.4.29) by chiexchange02.w2k.jumptrading.com (10.2.4.71) with Microsoft SMTP Server id 8.1.291.1; Fri, 25 Feb 2011 11:27:53 -0600 Received: from tzlatanov-ubuntu-desktop.jumptrading.com ([10.2.14.81]) by internalsmtp.w2k.jumptrading.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 25 Feb 2011 11:27:53 -0600 From: Ted Zlatanov Organization: =?UTF-8?Q?=D0=A2=D0=B5=D0=BE=D0=B4=D0=BE=D1=80_?= =?UTF-8?Q?=D0=97=D0=BB=D0=B0=D1=82=D0=B0=D0=BD=D0=BE=D0=B2?= @ Cienfuegos X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Date: Fri, 25 Feb 2011 11:27:52 -0600 Message-ID: <87r5aw9g87.fsf@lifelogs.com> User-Agent: Gnus/5.110014 (No Gnus v0.14) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-OriginalArrivalTime: 25 Feb 2011 17:27:53.0592 (UTC) FILETIME=[5581C780:01CBD511] X-Brightmail-Tracker: AAAAAA== X-Spam-Score: -2.1 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) --=-=-= Content-Type: text/plain Sending my replies as a digest. They didn't show up after a few hours; sorry if you see duplicates. Ted --=-=-= Content-Type: multipart/digest; boundary="==-=-=" --==-=-= Content-Type: message/rfc822 Subject: Topics MIME-Version: 1.0 Content-Type: text/plain Topics: Re: bug#8050: Gnus does not connect to my IMAP server any more Re: bug#8050: Gnus does not connect to my IMAP server any more --==-=-= Content-Type: message/rfc822 Date: Fri, 25 Feb 2011 05:21:45 -0600 From: Ted Zlatanov To: ding@gnus.org Cc: bug-gnu-emacs@gnu.org Subject: Re: bug#8050: Gnus does not connect to my IMAP server any more Message-ID: <87hbbs4awm.fsf@lifelogs.com> References: <87y655bnr4.fsf@lifelogs.com> <87wrkobutr.fsf@gnus.org> MIME-Version: 1.0 Content-Type: text/plain On Thu, 24 Feb 2011 20:29:36 -0800 Lars Magne Ingebrigtsen wrote: LMI> Ted Zlatanov writes: >> You may want to edit the line in case you want to change it before it's >> written. Lars also thought this was not good but I feel strongly this >> is useful functionality and it's not too intrusive. LMI> I think it's definitely too intrusive. LMI> The question that's relevant is "do you want to save the password?" LMI> That's the only thing a normal user could possibly be interested in, and LMI> it's a yes or no question. I disagree. It's a single extra letter in a y/n prompt. I don't see how it's intrusive. You can set auth-source-never-save to t right now and never even see the y/n prompt. I've accomodated all the prompting suggestions but I'm not removing that functionality. LMI> Asking the user to "e"-dit the netrc line would be for Gnus to prompt LMI> the user on `C-c C-c' "do you want to (s)end the message or (e)dit the LMI> MIME representation of the message before sending?" The latter is only LMI> interesting for people who are implementing the MIME encoding, and not LMI> any user. The same goes for the .netrc stuff. No, because the netrc file is not raw data but structured information. (Although that kind of editing the raw MIME sounds very useful for debugging and testing MIME support.) It's like adding a command to edit the score file or having two ways to edit the topic parameters (`G c' and `G p'). Emacs thrives on power users; let's not oversimplify the interface. LMI> If you want to add a debugging mode to auth-source that allows you to LMI> edit the .netrc lines, that's fine, but it's not fine to confuse users LMI> on something as basic as password management. It's not confusing. But maybe `e' should be "add the auth info and then edit the netrc file, allowing `C-c C-c' to save it" which would be more in line with what `G p' and score file editing do. And then we can add that command to Gnus and Emacs in general so you can edit your auth-sources authinfo/netrc files quickly (in the global scope you would have to choose the file with some extra UI). Yeah, that sounds like useful functionality. Ted --==-=-= Content-Type: message/rfc822 Date: Fri, 25 Feb 2011 05:50:24 -0600 From: Ted Zlatanov To: ding@gnus.org Cc: bug-gnu-emacs@gnu.org Subject: Re: bug#8050: Gnus does not connect to my IMAP server any more Message-ID: <87zkpk2v0f.fsf@lifelogs.com> References: <87y655bnr4.fsf@lifelogs.com> <87wrkobutr.fsf@gnus.org> <87hbbs4awm.fsf@lifelogs.com> MIME-Version: 1.0 Content-Type: text/plain On Fri, 25 Feb 2011 05:21:45 -0600 Ted Zlatanov wrote: TZ> I disagree. It's a single extra letter in a y/n prompt. I don't see TZ> how it's intrusive. You can set auth-source-never-save to t right now TZ> and never even see the y/n prompt. I've accomodated all the prompting TZ> suggestions but I'm not removing that functionality. I changed `auth-source-never-save' to `auth-source-save-behavior' which defaults to 'ask and allows t and nil to always and never save, respectively. I think it DTRT but let me know if not. Ted --==-=-=-- --=-=-= Content-Type: text/plain -- --=-=-=-- From unknown Wed Jul 09 09:13:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8050: Gnus does not connect to my IMAP server any more In-Reply-To: Resent-From: Lars Magne Ingebrigtsen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Sat, 05 Mar 2011 12:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8050 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: To: bug-gnu-emacs@gnu.org Cc: ding@gnus.org Received: via spool by submit@debbugs.gnu.org id=B.129932849012159 (code B ref -1); Sat, 05 Mar 2011 12:35:01 +0000 Received: (at submit) by debbugs.gnu.org; 5 Mar 2011 12:34:50 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pvqh8-0003A4-Il for submit@debbugs.gnu.org; Sat, 05 Mar 2011 07:34:50 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pvqh6-00039r-4i for submit@debbugs.gnu.org; Sat, 05 Mar 2011 07:34:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pvqgv-0000Cq-Dw for submit@debbugs.gnu.org; Sat, 05 Mar 2011 07:34:42 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:47038) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pvqgv-0000Ca-Bb for submit@debbugs.gnu.org; Sat, 05 Mar 2011 07:34:37 -0500 Received: from [140.186.70.92] (port=39556 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PvqXn-0001Qk-BI for bug-gnu-emacs@gnu.org; Sat, 05 Mar 2011 07:25:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PvqXj-00077s-Os for bug-gnu-emacs@gnu.org; Sat, 05 Mar 2011 07:25:11 -0500 Received: from lo.gmane.org ([80.91.229.12]:46006) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PvqXj-00077Y-FH for bug-gnu-emacs@gnu.org; Sat, 05 Mar 2011 07:25:07 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PvqXh-0006BZ-2v for bug-gnu-emacs@gnu.org; Sat, 05 Mar 2011 13:25:05 +0100 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 05 Mar 2011 13:25:05 +0100 Received: from larsi by cm-84.215.51.58.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 05 Mar 2011 13:25:05 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: bug-gnu-emacs@gnu.org From: Lars Magne Ingebrigtsen Date: Sat, 05 Mar 2011 13:17:51 +0100 Organization: Programmerer Ingebrigtsen Lines: 21 Message-ID: References: <87y655bnr4.fsf@lifelogs.com> <87wrkobutr.fsf@gnus.org> <87hbbs4awm.fsf@lifelogs.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.51.58.getinternet.no Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEUQDA5COSPt4rr998z+ /tqRiHKbs12uAAACT0lEQVQ4jW2UwZKbMAyGZXa4W+z6HoR93xK4N0bcscHv/yqVwKHttJ7JBPMh 6ZdkCxAx038WCNif/65RQLgBL8+FZU3yoODg3yvWfwVFQCyDbhd+XhZcLZbkyvW9l3fR32B1JcmO x5Geg6eRxuqqd+g00iA6V3lPpAAPzsmYneedxDtTrDEU9ABdtJBTQko7J1dBnwDcy0KzWejbcf3Y 9gpmAQ8Hrfy2L/7ZpgpWsuC2Yt2r4Nbwd/uOsWYL7ebweJV2A3w0N+hQ3EA6VmhfYGbzlrsaA2ZF nCI00XacugpeAGA4lci2IclyGIcL/LACIvHM9qPkIquqkhSgldp9E3xKP0MJVGOAAlaXXgolxRr+ BBNHaLX4013EEzAxazfnHFxXLeIJFjq7KNuENThL8EZ8aLNWOkLCXMEG8CEvg7aj5D8sBHzJx3ou KLlYSg3OD4BD1WbmUjK/VXlN4FALkjg08Lu1Z7F8LJlGHkVDvkDKX5rI1Ivi82D1ZqqgEQspbmt9 9J6XIt29gJke0C6I1vPu5bhuVwfTAUbyE43oefUrJngDyQKOGEKINBybQVNdHaLJTFFMdh69lePg K1g26ETQEtOnVj7dgEetqwRIToQbK8leIOrloMxhRbkRdjuBS3Ka3L5EvxBFp1cFT1cKZsxzOHua JYuQbiCbos2Wqmp1EfkEUnYK6PJ5CT2Hgu4Eqopn1N0prU/lAklBsbhf93wpZSz+BjG57gJUZF5U uTIyZulyHSJloPAps0Ri6CzJeahAZoHtrunz91jSUjuiX2nP1j8YK85vAAAAAElFTkSuQmCC Mail-Copies-To: never X-Now-Playing: Joyce's _Vision Of Dawn_: "Tudo Bonito" User-Agent: Gnus/5.110014 (No Gnus v0.14) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:VJUb40ElGwV5xgqByeIBemPahcc= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-Spam-Score: -4.9 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.9 (----) Ted Zlatanov writes: > LMI> The question that's relevant is "do you want to save the password?" > LMI> That's the only thing a normal user could possibly be interested in, and > LMI> it's a yes or no question. > > I disagree. It's a single extra letter in a y/n prompt. I don't see > how it's intrusive. You can set auth-source-never-save to t right now > and never even see the y/n prompt. I've accomodated all the prompting > suggestions but I'm not removing that functionality. It's an extra letter, but it's a completely incomprehensible extra choice for the users. I know that when I'm using something, I don't want to be faced with options that I have no possible interest in. The normal reaction to such a prompt is "oh, should I edit this? How should I edit this? Do I need to edit this?" -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen From unknown Wed Jul 09 09:13:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8050: Gnus does not connect to my IMAP server any more References: Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Sat, 05 Mar 2011 20:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8050 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: To: 8050@debbugs.gnu.org Received: via spool by 8050-submit@debbugs.gnu.org id=B8050.129935604418806 (code B ref 8050); Sat, 05 Mar 2011 20:15:02 +0000 Received: (at 8050) by debbugs.gnu.org; 5 Mar 2011 20:14:04 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PvxrY-0004tH-Ee for submit@debbugs.gnu.org; Sat, 05 Mar 2011 15:14:04 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.181] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PvxrW-0004sj-TQ for 8050@debbugs.gnu.org; Sat, 05 Mar 2011 15:14:03 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnYHAN8nck3O+LeP/2dsb2JhbACYbY17db1GgxkFB4I9BIUcj3E X-IronPort-AV: E=Sophos;i="4.62,269,1297054800"; d="scan'208";a="94593564" Received: from 206-248-183-143.dsl.teksavvy.com (HELO pastel.home) ([206.248.183.143]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 05 Mar 2011 15:13:56 -0500 Received: by pastel.home (Postfix, from userid 20848) id 5C1E258DD4; Sat, 5 Mar 2011 15:13:53 -0500 (EST) From: Stefan Monnier Message-ID: Date: Sat, 05 Mar 2011 15:13:53 -0500 In-Reply-To: nobody's message of "\(unknown date\)" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.1 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.1 (-) The saga continues: Now I'm not asked for a host name and a port any more (just realized in the mean time that those questions were not only unexpected but even subtler than I thought since they're not about how/where to connect (the connection is already established at that point) but about which password to use). Good. - But when I'm asked for a user name there is no default, whereas earlier my local user name was used as default (which happens to work for me on most of the machines to which I can connect). Please use the local user name as default in that prompt. - Also when I'm then asked for a password, the prompt says "Password for user foo, host bar" which is more verbose but not more clear than "Password for foo@bar" used in earlier Gnus. - I'm asked whether to save the password regardless of whether the password and user names are correct or not. That's really bad. - When I was asked whether to save my password, the cursor was not shown in the prompt, which looked weird. Maybe it was a temporary redisplay problem (I hit `n' mechanically pretty quickly, so maybe Emacs didn't have time to display the cursor). - If the connection fails (e.g. bad password or bad user name), I don't get asked again, instead Gnus continues in offline mode. - After refusing to save the password in authinfo.gpg, I get a message along the lines of "auth-source-search: CREATED 1 results ...". I don't care whether "results" is replaced by "result" when there's only 1, but this looks like a debug message which should disappear. Usually, I'd assume it is just a forgotten debug message, but given the atrocious prompts I've seen in this thread, I'm a bit more cautious. -- Stefan From unknown Wed Jul 09 09:13:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8050: Gnus does not connect to my IMAP server any more Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Tue, 08 Mar 2011 01:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8050 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: To: Ted Zlatanov Cc: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.129954757813479 (code B ref -1); Tue, 08 Mar 2011 01:27:01 +0000 Received: (at submit) by debbugs.gnu.org; 8 Mar 2011 01:26:18 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pwlgo-0003VL-8m for submit@debbugs.gnu.org; Mon, 07 Mar 2011 20:26:18 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pwlgl-0003VA-W2 for submit@debbugs.gnu.org; Mon, 07 Mar 2011 20:26:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pwlgf-0001bT-PP for submit@debbugs.gnu.org; Mon, 07 Mar 2011 20:26:10 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:42354) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pwlgf-0001bP-MR for submit@debbugs.gnu.org; Mon, 07 Mar 2011 20:26:09 -0500 Received: from [140.186.70.92] (port=59449 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pwlge-00060B-FM for bug-gnu-emacs@gnu.org; Mon, 07 Mar 2011 20:26:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pwlgd-0001ar-8y for bug-gnu-emacs@gnu.org; Mon, 07 Mar 2011 20:26:08 -0500 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:44637) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pwlgd-0001ag-2d for bug-gnu-emacs@gnu.org; Mon, 07 Mar 2011 20:26:07 -0500 Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id p281Q3Pn030251; Mon, 7 Mar 2011 20:26:04 -0500 Received: by ceviche.home (Postfix, from userid 20848) id 6289D660D6; Mon, 7 Mar 2011 18:10:38 -0500 (EST) From: Stefan Monnier Message-ID: References: <874o7e23i8.fsf@lifelogs.com> Date: Mon, 07 Mar 2011 18:10:38 -0500 In-Reply-To: <874o7e23i8.fsf@lifelogs.com> (Ted Zlatanov's message of "Mon, 07 Mar 2011 12:23:59 -0600") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3735=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.0 (----) SM> - Also when I'm then asked for a password, the prompt says "Password for SM> user foo, host bar" which is more verbose but not more clear than SM> "Password for foo@bar" used in earlier Gnus. > That's the default prompt. Every package can supply their own which > makes sense in context. So nnimap.el could supply the password prompt > "IMAP password for user %u, host %h:%p" for instance. Does that seem OK > to you? If so I can add it to nnimap.el. I mostly care about nnimap for now because it's the only case I bumped into, but I can't imagine why it would be better to use "user foo, host bar" for the default, since all uses I can think of will want to override it with the "foo@bar" syntax instead. SM> - I'm asked whether to save the password regardless of whether the SM> password and user names are correct or not. That's really bad. > auth-source.el doesn't know at that time whether the authentication will > be successful. I think you're saying we need an `auth-source-save' > function to be called after the fact instead of a ":create t" parameter. Yes. > But what about the case where the server is down and yet you know the > password is good? Do we throw it away? Yes. I *never* know that the password is good (maybe I'm a pathologically poor typist, but I can't be the only one who's been surprised a few times to see his password rejected even tho he thought it was typed properly). SM> - When I was asked whether to save my password, the cursor was not shown in SM> the prompt, which looked weird. Maybe it was a temporary redisplay SM> problem (I hit `n' mechanically pretty quickly, so maybe Emacs didn't SM> have time to display the cursor). > I'm not sure about that one, I'm just using `read-passwd'. No, you misread: I'm talking about the prompt to save the password (i.e. the one with y/n/N/e/?), not the prompt to read the password. SM> - If the connection fails (e.g. bad password or bad user name), I don't SM> get asked again, instead Gnus continues in offline mode. > nnimap.el could use `auth-source-forget+' and then retry that query. > But as above, I think you're saying we need to save/cache AFTER > authentication success. Yes, fixing the previous one might fix this one, I just know this also needs to work right. SM> - After refusing to save the password in authinfo.gpg, I get a message SM> along the lines of "auth-source-search: CREATED 1 results ...". SM> I don't care whether "results" is replaced by "result" when there's SM> only 1, but this looks like a debug message which should disappear. > I think it makes sense to show confirmation that we just added to your > passwords. It's a rare event and deserves notice. Two things: 1- then make it look nice, like "Saved password for foo@bar into ". The current text really looks like debug output. 2- I just replied "n" before, so I did *not* want it saved (tho I do want it saved for the session), so it is not a rare event at all. Stefan From unknown Wed Jul 09 09:13:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8050: Gnus does not connect to my IMAP server any more Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Tue, 08 Mar 2011 21:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8050 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: To: Ted Zlatanov Cc: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.129962014328673 (code B ref -1); Tue, 08 Mar 2011 21:36:01 +0000 Received: (at submit) by debbugs.gnu.org; 8 Mar 2011 21:35:43 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Px4ZC-0007SQ-A7 for submit@debbugs.gnu.org; Tue, 08 Mar 2011 16:35:42 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Px4ZA-0007SF-3N for submit@debbugs.gnu.org; Tue, 08 Mar 2011 16:35:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Px4Z3-0007gi-MY for submit@debbugs.gnu.org; Tue, 08 Mar 2011 16:35:34 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:52748) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Px4Z3-0007ge-KA for submit@debbugs.gnu.org; Tue, 08 Mar 2011 16:35:33 -0500 Received: from [140.186.70.92] (port=38468 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Px4Z2-0000H7-Gq for bug-gnu-emacs@gnu.org; Tue, 08 Mar 2011 16:35:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Px4Z1-0007gI-8x for bug-gnu-emacs@gnu.org; Tue, 08 Mar 2011 16:35:32 -0500 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:56863) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Px4Z1-0007cg-07 for bug-gnu-emacs@gnu.org; Tue, 08 Mar 2011 16:35:31 -0500 Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id p28LYrwa018161; Tue, 8 Mar 2011 16:34:54 -0500 Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 7D5BF1300D7; Tue, 8 Mar 2011 16:34:53 -0500 (EST) From: Stefan Monnier Message-ID: References: <874o7e23i8.fsf@lifelogs.com> <87lj0ptv9y.fsf@lifelogs.com> Date: Tue, 08 Mar 2011 16:34:53 -0500 In-Reply-To: <87lj0ptv9y.fsf@lifelogs.com> (Ted Zlatanov's message of "Tue, 08 Mar 2011 10:46:33 -0600") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3735=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.0 (----) > (case r > ('secret "%p password for user %u, host %h: ") > ('user "%p user name: ") > ('host "%p host name for user %u: ") > ('port "%p port for user %u and host %h: ")) > (format "Enter %s (%%u@%%h:%%p): " r))) > Can you please propose specific replacements? (case r (secret "%p password for %u@%h: ") (user "%p user name for %h: ") (host "%p host name for user %u: ") (port "%p port for %u@%h: ")) (format "Enter %s (%%u@%%h:%%p): " r))) Notes: - I added the host name to the user prompt (usually the user name may be different in different hosts for the same user, so most such prompts do include a hostname/realm). - I left the user name in the host prompt, even though that sounds backward to me (kind of like choosing the street number before the street name). - I removed the quotes which just made each of the branches be acceptable when `r' has value `quote'. > I'll put something in. This makes sense but is extra work for the > auth-source API users, unfortunately. I know, but the difference in user experience is enormous. >>> I'm not sure about that one, I'm just using `read-passwd'. SM> No, you misread: I'm talking about the prompt to save the password SM> (i.e. the one with y/n/N/e/?), not the prompt to read the password. > It uses: > (while (not done) > (message "%s" prompt) > (setq k (read-char)) > ...) And that leads to an absence of cursor in the minibuffer, even though it's fundamentally a prompt. Why not copy y-or-n-p from subr.el as a starting point? If you can factor out the commonality, I'd be happy to provide a "prompt-maker" function and then define y-or-n-p in terms of that prompt-maker. SM> Two things: SM> 1- then make it look nice, like "Saved password for foo@bar into ". SM> The current text really looks like debug output. > All the output from auth-source starts with the function name. I call that debug output and is not OK for normal messages. > The line you mention can be put in the background in favor of the > output you specified. But, again, auth-source does NOT just save > passwords, and there's no guarantee that a host or a port were > specified. So the message will look different. The case where a user and host were specified is likely to be the main one for most users, so it's worth handling it specially. SM> 2- I just replied "n" before, so I did *not* want it saved (tho I do SM> want it saved for the session), so it is not a rare event at all. > OK, I'll show it only when the data is saved. Good, thank you. Stefan From unknown Wed Jul 09 09:13:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8050: Gnus does not connect to my IMAP server any more Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Wed, 09 Mar 2011 03:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8050 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: To: Ted Zlatanov Cc: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.129963987424135 (code B ref -1); Wed, 09 Mar 2011 03:05:02 +0000 Received: (at submit) by debbugs.gnu.org; 9 Mar 2011 03:04:34 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Px9hR-0006HE-Q4 for submit@debbugs.gnu.org; Tue, 08 Mar 2011 22:04:34 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Px9hQ-0006H2-Sk for submit@debbugs.gnu.org; Tue, 08 Mar 2011 22:04:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Px9hK-0000kJ-QZ for submit@debbugs.gnu.org; Tue, 08 Mar 2011 22:04:27 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:40834) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Px9hJ-0000ju-LV for submit@debbugs.gnu.org; Tue, 08 Mar 2011 22:04:26 -0500 Received: from [140.186.70.92] (port=53636 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Px9hG-0004UT-5s for bug-gnu-emacs@gnu.org; Tue, 08 Mar 2011 22:04:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Px9hC-0000jK-6L for bug-gnu-emacs@gnu.org; Tue, 08 Mar 2011 22:04:19 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.183]:35150 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Px9hC-0000jB-2Y for bug-gnu-emacs@gnu.org; Tue, 08 Mar 2011 22:04:18 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAHZ8dk3O+LEt/2dsb2JhbACmanXCY4VjBIUdj3g X-IronPort-AV: E=Sophos;i="4.62,287,1297054800"; d="scan'208";a="95184667" Received: from 206-248-177-45.dsl.teksavvy.com (HELO ceviche.home) ([206.248.177.45]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 08 Mar 2011 22:04:17 -0500 Received: by ceviche.home (Postfix, from userid 20848) id 07600660D6; Tue, 8 Mar 2011 22:04:17 -0500 (EST) From: Stefan Monnier Message-ID: References: <874o7e23i8.fsf@lifelogs.com> <87lj0ptv9y.fsf@lifelogs.com> <87zkp5qnrd.fsf@lifelogs.com> Date: Tue, 08 Mar 2011 22:04:17 -0500 In-Reply-To: <87zkp5qnrd.fsf@lifelogs.com> (Ted Zlatanov's message of "Tue, 08 Mar 2011 15:57:10 -0600") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-Spam-Score: -4.1 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.1 (----) SM> And that leads to an absence of cursor in the minibuffer, even though SM> it's fundamentally a prompt. Why not copy y-or-n-p from subr.el as SM> a starting point? SM> If you can factor out the commonality, I'd be happy to provide SM> a "prompt-maker" function and then define y-or-n-p in terms of that SM> prompt-maker. > Can I really be the only one to need this? Weird. I actually used > `read-char-choice' first but XEmacs doesn't support it. Perhaps Gnus > should provide a compatibility wrapper that uses it opportunistically. > Would you rather go the "prompt-maker" route? Oh, I didn't even remember read-char-choice, but yes, that's probably a better starting point. We should actually make y-or-n-p use read-char-choice. > I really like the way dropdown-list.el does selection (see > http://www.emacswiki.org/cgi-bin/wiki/dropdown-list.el, "overlays stolen > from company-mode.el"). It shows the list of choices inside the buffer > as a true popup. To me that looks much better than y-or-n-p if the > terminal supports it. If Emacs doesn't have anything similar, I think > it's a nice addition to the core UI functionality. Let me know and I'll > propose it on emacs-devel if necessary. I don't know what that would look like in your y/n/N/e/? case. Stefan From unknown Wed Jul 09 09:13:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8050: Gnus does not connect to my IMAP server any more Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Wed, 09 Mar 2011 20:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8050 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: To: Ted Zlatanov Cc: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.129970208024099 (code B ref -1); Wed, 09 Mar 2011 20:22:01 +0000 Received: (at submit) by debbugs.gnu.org; 9 Mar 2011 20:21:20 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PxPsl-0006Gd-Ij for submit@debbugs.gnu.org; Wed, 09 Mar 2011 15:21:20 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PxPsj-0006GQ-5s for submit@debbugs.gnu.org; Wed, 09 Mar 2011 15:21:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PxPsd-0006hm-4A for submit@debbugs.gnu.org; Wed, 09 Mar 2011 15:21:11 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:60857) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PxPsd-0006hf-1s for submit@debbugs.gnu.org; Wed, 09 Mar 2011 15:21:11 -0500 Received: from [140.186.70.92] (port=37988 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PxPsb-0005rI-Tn for bug-gnu-emacs@gnu.org; Wed, 09 Mar 2011 15:21:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PxPsZ-0006g6-5V for bug-gnu-emacs@gnu.org; Wed, 09 Mar 2011 15:21:09 -0500 Received: from chene.dit.umontreal.ca ([132.204.246.20]:33316) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PxPsY-0006fJ-VI for bug-gnu-emacs@gnu.org; Wed, 09 Mar 2011 15:21:07 -0500 Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id p29KLgCm005099; Wed, 9 Mar 2011 15:21:43 -0500 Received: by ceviche.home (Postfix, from userid 20848) id A7A63664DD; Wed, 9 Mar 2011 13:34:06 -0500 (EST) From: Stefan Monnier Message-ID: References: <874o7e23i8.fsf@lifelogs.com> <87lj0ptv9y.fsf@lifelogs.com> <87zkp5qnrd.fsf@lifelogs.com> <87vczsv8u3.fsf@lifelogs.com> Date: Wed, 09 Mar 2011 13:34:06 -0500 In-Reply-To: <87vczsv8u3.fsf@lifelogs.com> (Ted Zlatanov's message of "Wed, 09 Mar 2011 05:20:36 -0600") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3735=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.0 (----) > I added `auth-source-read-char-choice' to do the prompting. It will use > `read-char-choice' opportunistically and construct the a/b/c prompt > supplement automatically. Good. > If you want me to modify `y-or-n-p' to use `read-char-choice' let me > know and I'll submit a patch. That would be a good change, yes, please. >>> I really like the way dropdown-list.el does selection (see >>> http://www.emacswiki.org/cgi-bin/wiki/dropdown-list.el, "overlays stolen >>> from company-mode.el"). It shows the list of choices inside the buffer >>> as a true popup. To me that looks much better than y-or-n-p if the >>> terminal supports it. If Emacs doesn't have anything similar, I think >>> it's a nice addition to the core UI functionality. Let me know and I'll >>> propose it on emacs-devel if necessary. SM> I don't know what that would look like in your y/n/N/e/? case. > Try (dropdown-list '("choose one: y" "............n" "............N")) > since that's how it will look with the new > `auth-source-char-read-choice' function. Hmm... I'm not sure it's an improvement over the simple "y/n/N/e/?" prompt. For completions and other cases where the total text is too long to fit on a single line, such a dropdown-list can make sense, but for this particular case it just reminds of me people using tons of different typefaces in Word document. Stefan From unknown Wed Jul 09 09:13:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8050: Gnus does not connect to my IMAP server any more Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Thu, 10 Mar 2011 02:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8050 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: To: Ted Zlatanov Cc: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.129972341331300 (code B ref -1); Thu, 10 Mar 2011 02:17:01 +0000 Received: (at submit) by debbugs.gnu.org; 10 Mar 2011 02:16:53 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PxVQq-00088n-NY for submit@debbugs.gnu.org; Wed, 09 Mar 2011 21:16:52 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PxVQp-00088b-6X for submit@debbugs.gnu.org; Wed, 09 Mar 2011 21:16:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PxVQj-0002iJ-78 for submit@debbugs.gnu.org; Wed, 09 Mar 2011 21:16:45 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:46060) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PxVQj-0002iF-54 for submit@debbugs.gnu.org; Wed, 09 Mar 2011 21:16:45 -0500 Received: from [140.186.70.92] (port=38032 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PxVQi-0001GY-5N for bug-gnu-emacs@gnu.org; Wed, 09 Mar 2011 21:16:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PxVQg-0002i5-W0 for bug-gnu-emacs@gnu.org; Wed, 09 Mar 2011 21:16:44 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.183]:64888 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PxVQg-0002i1-S1 for bug-gnu-emacs@gnu.org; Wed, 09 Mar 2011 21:16:42 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAHTDd03O+LEt/2dsb2JhbACnAHiIQbpvhWUEhSKQBg X-IronPort-AV: E=Sophos;i="4.62,293,1297054800"; d="scan'208";a="95418254" Received: from 206-248-177-45.dsl.teksavvy.com (HELO ceviche.home) ([206.248.177.45]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 09 Mar 2011 21:16:42 -0500 Received: by ceviche.home (Postfix, from userid 20848) id DDECF66135; Wed, 9 Mar 2011 21:16:41 -0500 (EST) From: Stefan Monnier Message-ID: References: <874o7e23i8.fsf@lifelogs.com> <87lj0ptv9y.fsf@lifelogs.com> <87zkp5qnrd.fsf@lifelogs.com> <87vczsv8u3.fsf@lifelogs.com> <878vwom10b.fsf@lifelogs.com> Date: Wed, 09 Mar 2011 21:16:41 -0500 In-Reply-To: <878vwom10b.fsf@lifelogs.com> (Ted Zlatanov's message of "Wed, 09 Mar 2011 15:34:28 -0600") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-Spam-Score: -4.1 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.1 (----) > Can you close this bug or let me know what else is needed? I'll close it as soon as I confirm the new behavior fixes the problems. Stefan From unknown Wed Jul 09 09:13:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8050: Gnus does not connect to my IMAP server any more Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Sat, 12 Mar 2011 03:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8050 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: To: Ted Zlatanov Cc: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.129990139223286 (code B ref -1); Sat, 12 Mar 2011 03:44:02 +0000 Received: (at submit) by debbugs.gnu.org; 12 Mar 2011 03:43:12 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PyFjT-00063W-RM for submit@debbugs.gnu.org; Fri, 11 Mar 2011 22:43:12 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PyFjR-00063L-Oo for submit@debbugs.gnu.org; Fri, 11 Mar 2011 22:43:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PyFjL-00076r-GW for submit@debbugs.gnu.org; Fri, 11 Mar 2011 22:43:04 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:46859) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PyFjL-00076k-EP for submit@debbugs.gnu.org; Fri, 11 Mar 2011 22:43:03 -0500 Received: from [140.186.70.92] (port=48825 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PyFjK-0006iA-Ed for bug-gnu-emacs@gnu.org; Fri, 11 Mar 2011 22:43:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PyFjJ-00076D-Au for bug-gnu-emacs@gnu.org; Fri, 11 Mar 2011 22:43:02 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.183]:55477 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PyFjJ-000769-6x for bug-gnu-emacs@gnu.org; Fri, 11 Mar 2011 22:43:01 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAJN6ek3O+IG+/2dsb2JhbACmPnjBZYMWBQeCQASFKZAY X-IronPort-AV: E=Sophos;i="4.62,306,1297054800"; d="scan'208";a="95817976" Received: from 206-248-129-190.dsl.teksavvy.com (HELO ceviche.home) ([206.248.129.190]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 11 Mar 2011 22:43:00 -0500 Received: by ceviche.home (Postfix, from userid 20848) id 41401660C9; Fri, 11 Mar 2011 22:43:00 -0500 (EST) From: Stefan Monnier Message-ID: References: <874o7e23i8.fsf@lifelogs.com> <87lj0ptv9y.fsf@lifelogs.com> <87zkp5qnrd.fsf@lifelogs.com> <87vczsv8u3.fsf@lifelogs.com> <878vwom10b.fsf@lifelogs.com> Date: Fri, 11 Mar 2011 22:43:00 -0500 In-Reply-To: (Stefan Monnier's message of "Wed, 09 Mar 2011 21:16:41 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-Spam-Score: -4.1 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.1 (----) >> Can you close this bug or let me know what else is needed? > I'll close it as soon as I confirm the new behavior fixes the problems. Here's the update: - It's much better, almost right. - The user prompt says "user blabla: monnier", rather than "user blabla (default monnier): ". I.e. the `initial-content' should be empty, and the user name should be passed as `default' instead. - The "save password" prompt shows up not only after I entered the password, but also when re-connecting (and using the password kept in memory). Stefan From unknown Wed Jul 09 09:13:43 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Stefan Monnier Subject: bug#8050: closed (Re: bug#8050: Gnus does not connect to my IMAP server any more) Message-ID: References: X-Gnu-PR-Message: they-closed 8050 X-Gnu-PR-Package: emacs,gnus Reply-To: 8050@debbugs.gnu.org Date: Mon, 14 Mar 2011 13:59:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1300111142-18906-1" This is a multi-part message in MIME format... ------------=_1300111142-18906-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #8050: Gnus does not connect to my IMAP server any more which was filed against the emacs,gnus package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 8050@debbugs.gnu.org. --=20 8050: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D8050 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1300111142-18906-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 8050-done) by debbugs.gnu.org; 14 Mar 2011 13:58:49 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pz8IL-0004uI-39 for submit@debbugs.gnu.org; Mon, 14 Mar 2011 09:58:49 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.183] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pz8IJ-0004tx-GK for 8050-done@debbugs.gnu.org; Mon, 14 Mar 2011 09:58:47 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAMe7fU3O+IG+/2dsb2JhbACmBHi/ToMWBQeCQASVTA X-IronPort-AV: E=Sophos;i="4.62,316,1297054800"; d="scan'208";a="96369834" Received: from 206-248-129-190.dsl.teksavvy.com (HELO ceviche.home) ([206.248.129.190]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 14 Mar 2011 09:58:41 -0400 Received: by ceviche.home (Postfix, from userid 20848) id 72F2A660D3; Mon, 14 Mar 2011 09:58:41 -0400 (EDT) From: Stefan Monnier To: Ted Zlatanov Subject: Re: bug#8050: Gnus does not connect to my IMAP server any more Message-ID: References: <874o7e23i8.fsf@lifelogs.com> <87lj0ptv9y.fsf@lifelogs.com> <87zkp5qnrd.fsf@lifelogs.com> <87vczsv8u3.fsf@lifelogs.com> <878vwom10b.fsf@lifelogs.com> <87wrk49ppj.fsf@lifelogs.com> Date: Mon, 14 Mar 2011 09:58:41 -0400 In-Reply-To: <87wrk49ppj.fsf@lifelogs.com> (Ted Zlatanov's message of "Sat, 12 Mar 2011 12:08:24 -0600") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 8050-done Cc: 8050-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.1 (--) >>>> Can you close this bug or let me know what else is needed? >>> I'll close it as soon as I confirm the new behavior fixes the problems. SM> Here's the update: SM> - It's much better, almost right. SM> - The user prompt says "user blabla: monnier", rather than "user blabla SM> (default monnier): ". I.e. the `initial-content' should be empty, and SM> the user name should be passed as `default' instead. > Fixed. SM> - The "save password" prompt shows up not only after I entered the SM> password, but also when re-connecting (and using the password kept in SM> memory). > This is fixed too. Thanks, looks fine now, Stefan ------------=_1300111142-18906-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 16 Feb 2011 01:45:43 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PpWSc-0003gE-NZ for submit@debbugs.gnu.org; Tue, 15 Feb 2011 20:45:43 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PpWSY-0003g1-RB for submit@debbugs.gnu.org; Tue, 15 Feb 2011 20:45:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PpWbH-0000Jb-95 for submit@debbugs.gnu.org; Tue, 15 Feb 2011 20:54:40 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:58706) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PpWbH-0000JX-1E for submit@debbugs.gnu.org; Tue, 15 Feb 2011 20:54:39 -0500 Received: from [140.186.70.92] (port=55773 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PpWbE-0006gZ-SB for bug-gnu-emacs@gnu.org; Tue, 15 Feb 2011 20:54:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PpWbD-0000JH-5V for bug-gnu-emacs@gnu.org; Tue, 15 Feb 2011 20:54:36 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:47886 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PpWbC-0000JD-U6 for bug-gnu-emacs@gnu.org; Tue, 15 Feb 2011 20:54:35 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkIFABC9Wk1MCqmX/2dsb2JhbACXQwGOHHS9IIMdgkEEhQaPQw X-IronPort-AV: E=Sophos;i="4.60,477,1291611600"; d="scan'208";a="91840734" Received: from 76-10-169-151.dsl.teksavvy.com (HELO pastel.home) ([76.10.169.151]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 15 Feb 2011 20:54:33 -0500 Received: by pastel.home (Postfix, from userid 20848) id BEC475900E; Tue, 15 Feb 2011 20:54:32 -0500 (EST) From: Stefan Monnier To: bug-gnu-emacs@gnu.org Subject: Gnus does not connect to my IMAP server any more Message-ID: Date: Tue, 15 Feb 2011 20:54:32 -0500 MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.1 (----) Package: Emacs Version: 24.0.50 When I start Gnus, it seems to try and connect to my IMAP server but never asks for my password (which I don't save in authinfo.gpg). In just ends up saying "done", but the *Server* buffer says "offline". If I try to use O in the *Server* buffer, it switches instantly to "opened" but if I try to do anything that involves the IMAP server, I get (wrong-type-argument arrayp nil) errors because nnimap-object is nil. The *Message* buffer says: auth-source-search: found 2 backends matching (:max 1 :host "news2.teksavvy.com" :port ("119" "nntp")) auth-source-search: found 0 results (max 1/1) in [object auth-source-backend "~/.authinfo.gpg" netrc "~/.authinfo.gpg" t t t auth-source-netrc-create auth-source-netrc-search] matching (:max 1 :host "news2.teksavvy.com" :port ("119" "nntp")) auth-source-search: found 0 results (max 1/1) in [object auth-source-backend "~/.authinfo" netrc "~/.authinfo" t t t auth-source-netrc-create auth-source-netrc-search] matching (:max 1 :host "news2.teksavvy.com" :port ("119" "nntp")) Reading /home/monnier/var/newsrc.eld... Checking new news... Opening connection to imap.iro.umontreal.ca via tls... Opening TLS connection to `imap.iro.umontreal.ca'... Opening TLS connection with `gnutls-cli --insecure -p imaps imap.iro.umontreal.ca'...done Opening TLS connection to `imap.iro.umontreal.ca'...done auth-source-search: found 2 backends matching (:max 1 :host ("diro" "imap.iro.umontreal.ca") :port ("143" "993" "imap" "imaps") :create nil) auth-source-search: found 0 results (max 1/1) in [object auth-source-backend "~/.authinfo.gpg" netrc "~/.authinfo.gpg" t t t auth-source-netrc-create auth-source-netrc-search] matching (:max 1 :host ("diro" "imap.iro.umontreal.ca") :port ("143" "993" "imap" "imaps") :create nil) auth-source-search: found 0 results (max 1/1) in [object auth-source-backend "~/.authinfo" netrc "~/.authinfo" t t t auth-source-netrc-create auth-source-netrc-search] matching (:max 1 :host ("diro" "imap.iro.umontreal.ca") :port ("143" "993" "imap" "imaps") :create nil) auth-source-search: found 2 backends matching (:max 1 :host "news.gmane.org" :port ("119" "nntp")) auth-source-search: found 0 results (max 1/1) in [object auth-source-backend "~/.authinfo.gpg" netrc "~/.authinfo.gpg" t t t auth-source-netrc-create auth-source-netrc-search] matching (:max 1 :host "news.gmane.org" :port ("119" "nntp")) auth-source-search: found 0 results (max 1/1) in [object auth-source-backend "~/.authinfo" netrc "~/.authinfo" t t t auth-source-netrc-create auth-source-netrc-search] matching (:max 1 :host "news.gmane.org" :port ("119" "nntp")) Reading active file from eso via nntp... Opening nntp server on eso... auth-source-search: found 2 backends matching (:max 1 :host "news.eternal-september.org" :port ("119" "nntp")) auth-source-search: found 0 results (max 1/1) in [object auth-source-backend "~/.authinfo.gpg" netrc "~/.authinfo.gpg" t t t auth-source-netrc-create auth-source-netrc-search] matching (:max 1 :host "news.eternal-september.org" :port ("119" "nntp")) auth-source-search: found 0 results (max 1/1) in [object auth-source-backend "~/.authinfo" netrc "~/.authinfo" t t t auth-source-netrc-create auth-source-netrc-search] matching (:max 1 :host "news.eternal-september.org" :port ("119" "nntp")) Opening nntp server on eso...done Reading active file from diro via nnimap...done Reading active file via nndraft...done Checking new news...done In GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2011-02-15 on pastel Windowing system distributor `The X.Org Foundation', version 11.0.10707000 configured using `configure '--enable-maintainer-mode' 'CFLAGS=-Wall -Wno-pointer-sign -DUSE_LISP_UNION_TYPE -DSYNC_INPUT -DENABLE_CHECKING -DXASSERTS -DFONTSET_DEBUG -g -O1 -I/usr/include/GNUstep' '--with-x-toolkit=lucid'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: fr_CH.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Group Minor modes in effect: gnus-undo-mode: t electric-pair-mode: t electric-indent-mode: t url-handler-mode: t global-reveal-mode: t reveal-mode: t auto-insert-mode: t savehist-mode: t minibuffer-electric-default-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: ^ O C O C-x 5 b * M e q M-x r e p - e m - b u Recent messages: Reading active file from diro via nnimap...done Reading active file via nndraft...done Checking new news...done Opening connection to imap.iro.umontreal.ca via tls... Opening TLS connection to `imap.iro.umontreal.ca'... Opening TLS connection with `gnutls-cli --insecure -p imaps imap.iro.umontreal.ca'...done Opening TLS connection to `imap.iro.umontreal.ca'...done auth-source-search: found 2 backends matching (:max 1 :host ("diro" "imap.iro.umontreal.ca") :port ("143" "993" "imap" "imaps") :create nil) auth-source-search: found 0 results (max 1/1) in [object auth-source-backend "~/.authinfo.gpg" netrc "~/.authinfo.gpg" t t t auth-source-netrc-create auth-source-netrc-search] matching (:max 1 :host ("diro" "imap.iro.umontreal.ca") :port ("143" "993" "imap" "imaps") :create nil) auth-source-search: found 0 results (max 1/1) in [object auth-source-backend "~/.authinfo" netrc "~/.authinfo" t t t auth-source-netrc-create auth-source-netrc-search] matching (:max 1 :host ("diro" "imap.iro.umontreal.ca") :port ("143" "993" "imap" "imaps") :create nil) Load-path shadows: /usr/share/emacs23/site-lisp/bbdb/bbdb hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb /usr/share/emacs23/site-lisp/bbdb/bbdb-mhe hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-mhe /usr/share/emacs23/site-lisp/bbdb/bbdb-gnus hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-gnus /usr/share/emacs23/site-lisp/bbdb/bbdb-migrate hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-migrate /usr/share/emacs23/site-lisp/bbdb/bbdb-sc hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-sc /usr/share/emacs23/site-lisp/bbdb/bbdb-snarf hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-snarf /usr/share/emacs23/site-lisp/bbdb/bbdb-w3 hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-w3 /usr/share/emacs23/site-lisp/bbdb/bbdb-gui hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-gui /usr/share/emacs23/site-lisp/bbdb/bbdb-print hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-print /usr/share/emacs23/site-lisp/bbdb/bbdb-rmail hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-rmail /usr/share/emacs23/site-lisp/bbdb/bbdb-vm hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-vm /usr/share/emacs23/site-lisp/bbdb/bbdb-ftp hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-ftp /usr/share/emacs23/site-lisp/bbdb/bbdb-merge hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-merge /usr/share/emacs23/site-lisp/bbdb/bbdb-whois hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-whois /usr/share/emacs23/site-lisp/bbdb/bbdb-com hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-com /usr/share/emacs23/site-lisp/bbdb/bbdb-hooks hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-hooks Features: (shadow sort mail-extr emacsbug url-util nnfolder nndraft nnmh nnagent nnml nnimap parse-time utf7 gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 epg-config mm-view mml-smime smime dig mailcap nntp proto-stream starttls tls gnus-cache nnir gnus-sum macroexp nnoo gnus-group gnus-undo nnmail mail-source format-spec server gnus-start gnus-spec gnus-int gnus-range message sendmail rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus-win gnus gnus-ems nnheader mail-utils wid-edit noutline outline easy-mmode flyspell ispell eldoc checkdoc regexp-opt thingatpt help-mode easymenu view prog-mode electric url-handlers url-parse auth-source warnings eieio byte-opt bytecomp byte-compile assoc netrc gnus-util time-date password-cache url-vars mm-util mail-prsvr reveal autoinsert uniquify advice help-fns advice-preload savehist minibuf-eldef cl cl-loaddefs proof-site proof-autoloads pg-vars bbdb-autoloads agda2 tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page newcomment menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting x-toolkit x multi-tty emacs) ------------=_1300111142-18906-1--