From debbugs-submit-bounces@debbugs.gnu.org Wed May 16 16:46:20 2018 Received: (at submit) by debbugs.gnu.org; 16 May 2018 20:46:20 +0000 Received: from localhost ([127.0.0.1]:37636 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fJ3JT-0007AQ-El for submit@debbugs.gnu.org; Wed, 16 May 2018 16:46:20 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60323) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fIzjM-0001sC-ML for submit@debbugs.gnu.org; Wed, 16 May 2018 12:56:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fIzjG-0005ae-0P for submit@debbugs.gnu.org; Wed, 16 May 2018 12:56:43 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:35540) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fIzjF-0005aa-Tg for submit@debbugs.gnu.org; Wed, 16 May 2018 12:56:41 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51288) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fIzjE-0000O0-60 for bug-gnu-emacs@gnu.org; Wed, 16 May 2018 12:56:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fIzjA-0005ZM-7j for bug-gnu-emacs@gnu.org; Wed, 16 May 2018 12:56:40 -0400 Received: from homie-sub4.mail.dreamhost.com ([69.163.253.135]:37530 helo=homiemail-a71.g.dreamhost.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fIzj9-0005Y8-U8 for bug-gnu-emacs@gnu.org; Wed, 16 May 2018 12:56:36 -0400 Received: from homiemail-a71.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a71.g.dreamhost.com (Postfix) with ESMTP id B7E4C5000061E for ; Wed, 16 May 2018 09:56:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=lapin-bl.eu; h=from:to :subject:date:message-id:mime-version:content-type; s= lapin-bl.eu; bh=/0iMCVZ9BS2hxzOJhGXbfEzTVV0=; b=IemtEbBxPJ9QYvRv nNhgVCzWql7SkICF1xzEz0Nggrh5jYBc3OsHuSICkdGl0IlafqKwGpbaaNaW57F+ QSoNjzVF5efWmq4rRiNBxlrNYYhzcha1bRJ0IxPxWBIO7lAabZDHszGoz0eYWSk7 +cdsM0sCJW6bt8tK8OX5cfmNnVE= Received: from gds6112.local (unknown [213.86.153.212]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: max@lapin-bl.eu) by homiemail-a71.g.dreamhost.com (Postfix) with ESMTPSA id 46D9A5000061D for ; Wed, 16 May 2018 09:56:33 -0700 (PDT) From: Max Froumentin To: bug-gnu-emacs@gnu.org Subject: 25.3; authinfo password backslash problem Date: Wed, 16 May 2018 17:56:01 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 16 May 2018 16:46:18 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) Assumption: User's IMAP password has a backslash character ('\') in it. Steps: 1. Setup gnus so it connects to an imap backend 2. Start gnus 3. Enter the username and password of the IMAP account 4. Say yes to saving the credentials in .authinfo 5. Quit emacs 6. Restart emacs 7. M-x gnus 8. Authentication fails The password saved in the .authinfo file has its backlash escaped ('\\'). If the file is edited directly and the extra backslash is removed, authentication works again. In GNU Emacs 25.3.1 (x86_64-apple-darwin16.7.0, NS appkit-1504.83 Version 10.12.6 (Build 16G1036)) of 2018-01-02 built on gds6112.local Windowing system distributor 'Apple', version 10.3.1504 Configured using: 'configure --disable-dependency-tracking --disable-silent-rules --enable-locallisppath=/usr/local/share/emacs/site-lisp --infodir=/usr/local/Cellar/emacs/25.3/share/info/emacs --prefix=/usr/local/Cellar/emacs/25.3 --without-x --with-xml2 --without-dbus --without-gnutls --without-imagemagick --with-ns --disable-ns-self-contained' Configured features: JPEG NOTIFY ACL LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS Important settings: value of $LANG: en_GB.UTF-8 locale-coding-system: utf-8-unix Major mode: Emacs-Lisp Minor modes in effect: ivy-mode: t global-auto-complete-mode: t auto-complete-mode: t global-magit-file-mode: t magit-file-mode: t diff-auto-refine-mode: t magit-auto-revert-mode: t auto-revert-mode: t global-git-commit-mode: t async-bytecomp-package-mode: t shell-dirtrack-mode: t projectile-mode: t save-place-mode: t global-whitespace-mode: t global-hl-line-mode: t global-linum-mode: t linum-mode: t show-paren-mode: t tooltip-mode: t global-eldoc-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent messages: nnimap read 0k from mail.lapin-bl.eu [16 times] nnimap read 2k from mail.lapin-bl.eu Reading active file via nndraft...done Checking new news...done Ag finished Auto-saving...done Mark saved where search started [2 times] Mark set [3 times] Mark deactivated Mark saved where search started Quit [3 times] Load-path shadows: /Users/maxfroumentin/.emacs.d/elpa/let-alist-1.0.5/let-alist hides /usr/local/Cellar/emacs/25.3/share/emacs/25.3/lisp/emacs-lisp/let-alist Features: (shadow sort mail-extr emacsbug sendmail misearch multi-isearch vc-git ag vc-svn find-dired gnus-topic nndraft nnmh utf-7 rfc2104 network-stream nsm starttls nnfolder nnnil gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig nntp gnus-cache ecomplete nnir gnus-sum gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo parse-time gnus-spec gnus-int gnus-range gnus-win gnus gnus-ems nnheader wid-edit colir color counsel esh-util etags xref project swiper flycheck flymake two-column ivy delsel ivy-overlay ffap auto-complete-config auto-complete popup elm-mode elm-interactive subr-x elm-font-lock rx elm-indent elm-imenu imenu elm-format elm-tags elm-util f s magit-obsolete magit-blame magit-stash magit-bisect magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-collab ghub url-http tls gnutls url-gw url-auth url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse url-vars mailcap let-alist json map auth-source magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log magit-diff smerge-mode diff-mode magit-core magit-autorevert autorevert filenotify magit-process magit-margin magit-mode git-commit magit-git magit-section eieio eieio-core magit-utils crm magit-popup log-edit message dired rfc822 mml mml-sec password-cache epg gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log with-editor async-bytecomp async shell dash projectile cl-seq grep compile ibuf-ext ibuffer thingatpt edmacro kmacro multi-term cl-macs cl term disp-table ehelp org org-macro org-footnote org-pcomplete pcomplete org-list org-faces org-entities noutline outline easy-mmode org-version ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint comint ansi-color ring ob-core ob-eval org-compat org-macs org-loaddefs format-spec find-func cal-menu calendar cal-loaddefs saveplace finder-inf advice info package epg-config seq byte-opt gv bytecomp byte-compile cl-extra help-mode easymenu cconv cl-loaddefs pcase cl-lib whitespace hl-line linum paren server time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win ucs-normalize term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote kqueue cocoa ns multi-tty make-network-process emacs) Memory information: ((conses 16 518120 45268) (symbols 48 49494 0) (miscs 40 543 862) (strings 32 120842 17573) (string-bytes 1 3826793) (vectors 16 71186) (vector-slots 8 1088203 8172) (floats 8 775 830) (intervals 56 3572 1023) (buffers 976 29)) From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 03 11:27:19 2018 Received: (at 31475) by debbugs.gnu.org; 3 Jun 2018 15:27:19 +0000 Received: from localhost ([127.0.0.1]:60441 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fPUuc-0000J0-SS for submit@debbugs.gnu.org; Sun, 03 Jun 2018 11:27:19 -0400 Received: from mout.gmx.net ([212.227.17.22]:38901) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fPUub-0000Im-E8 for 31475@debbugs.gnu.org; Sun, 03 Jun 2018 11:27:18 -0400 Received: from detlef.gmx.de ([212.86.50.1]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MNuwp-1fO8Ot3bEx-007TEL; Sun, 03 Jun 2018 17:27:09 +0200 From: Michael Albinus To: Max Froumentin Subject: Re: bug#31475: 25.3; authinfo password backslash problem References: Date: Sun, 03 Jun 2018 17:27:07 +0200 In-Reply-To: (Max Froumentin's message of "Wed, 16 May 2018 17:56:01 +0100") Message-ID: <87muwb6gc4.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:zE/wliu/LoipliDRFkA9TVeKwCFK2P7VfAARsz1lX9xHnZckK+S 6ewX28OJ7V42yfzWOX+4vLbTuIE53jcr/7ujQ0s6JAYka177qRkaTfBaZQ/s71DP2jVDoqe Ac15AdHdojD2SOhDhZAtg/9CZ49yh861jRP/IZHGNkhSvfrE1y+Vm701x0FKF9+qtmiylCw 26dm0MZn5tKw11M8XZ66A== X-UI-Out-Filterresults: notjunk:1;V01:K0:bwJrGdTcKbM=:Vq+3aCBWlScddE6dl/ITvD eLoPm0X17v2pLCp7uTOt7OBwdFdxw5ysGRUlbgEBOWEKPeRxYi6IDUJITwm6OHKi+MhZHek9i BNXBLR9vkK+9Riry6BfmzvHfvcrvLviUXxuTCzdTO1LOZT8SKWk2+0KrwNfS4Em5BbURvgrc4 9PufU8uizUg/PPhIww1hbHDSTF3y3AazItu6yXnIgiKFuYnefvf/10Ii/awcebt2BHvjxqfTM jDuxdw4pNvjEiR+rRFRaW2QZOrtk8cp4clehlGyP1R8oi/suBLqV7Q3WE2HTcIg6HyMuwrn+U n6XmOJCC+pknvywVRbGv5WLQBZNW5nhyAferMNkM+z/p3ltZQegncoGx176rEVeX3rHFtkv7q UcOtiPF56A84oPvuecuO11TsK2tb1RZoGck/OUHJ1/1Kyx8RYh4jfH7ZtlIkMINEODhEAuTdq qP5XO+z6yFLKkIFmOnhr8zkfUBt0FBgtFqBklfQKI1tRSS+1bmvTyjQLCGMPI6N4w8DkkXa1J 09h707VpyWLefaYUJOVCoGl1bF/rMGiuTWLJRf9BS9Y/mpBYmhqorLmhIgP7NIH9wacTeP+Xa gu5Llxcy/N/jtyhP8tec8k/8zZK+yl7B+P2xbrvcM1hL0dOn5qFIreK3x563Xo9e3chtb/9Cw jbPAvSPfZg203zxwjpZPU8RLZsLHuoXdSNzFmgEd83LgHqFxtmys+uIYl2MC6g1JZA87xcLRy zfAJAjW9ji8vsAJR1QIkcvl1JmQSf13HrYy1kNoEXjoZqEAuEIP5Sdt3RrgVNdV6InFu2nXxO +ZfPWj9 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 31475 Cc: 31475@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Max Froumentin writes: Hi Max, > Assumption: > User's IMAP password has a backslash character ('\') in it. > > Steps: > 1. Setup gnus so it connects to an imap backend > 2. Start gnus > 3. Enter the username and password of the IMAP account > 4. Say yes to saving the credentials in .authinfo > 5. Quit emacs > 6. Restart emacs > 7. M-x gnus > 8. Authentication fails > > The password saved in the .authinfo file has its backlash escaped > ('\\'). If the file is edited directly and the extra backslash is removed, > authentication works again. > > In GNU Emacs 25.3.1 (x86_64-apple-darwin16.7.0, NS appkit-1504.83 Version 10.12.6 (Build 16G1036)) I cannot reproduce it here, using In GNU Emacs 25.2.2 (x86_64-pc-linux-gnu, GTK+ Version 3.22.21) The following is an extract of nnimap.el, which I have used for testing: --8<---------------cut here---------------start------------->8--- (progn (require 'nnimap) (let ((credentials (nnimap-credentials "address" "imap" "user"))) (funcall (nth 2 credentials)))) --8<---------------cut here---------------end--------------->8--- When I run this code snippet from a fresh Emacs started with "emacs -Q", I am asked for --8<---------------cut here---------------start------------->8--- IMAP password for user@address: --8<---------------cut here---------------end--------------->8--- I enter "test\user" (without the apostrophs). Then I'm asked --8<---------------cut here---------------start------------->8--- Save auth info to file ~/.authinfo [y/n/Ne/?] --8<---------------cut here---------------end--------------->8--- Now I type "y" (without the apostrophs), and see the result of the evaluation in the minibuffer. And in ~/.authinfo, there is a new line --8<---------------cut here---------------start------------->8--- machine address login user port imap password test\user --8<---------------cut here---------------end--------------->8--- Looks like expected. Could you pls run the same scenario on your machine? Maybe there's a difference because you use macOS, and I use GNU Linux. Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 13 20:06:57 2018 Received: (at control) by debbugs.gnu.org; 14 Jun 2018 00:06:57 +0000 Received: from localhost ([127.0.0.1]:47059 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fTFmx-0002pe-0i for submit@debbugs.gnu.org; Wed, 13 Jun 2018 20:06:55 -0400 Received: from mail-io0-f173.google.com ([209.85.223.173]:42994) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fTFmv-0002pM-Nc for control@debbugs.gnu.org; Wed, 13 Jun 2018 20:06:53 -0400 Received: by mail-io0-f173.google.com with SMTP id r24-v6so5334733ioh.9 for ; Wed, 13 Jun 2018 17:06:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=e1Fycg8HxFFDgGLgGE+1g6SneFJlZKSzLzuR+fbReds=; b=u6s5SRMQIXU3oIGq+nwnFwVT8xtjfDVnGJMqgfKrHB6QGzxDuWZqWH36uQKRAJvEZ9 hAdQ/ohoTUCqbleuOz0hULtqG9JJy3Dz7U7aVni5xw7U5bbU5DPcRgYpEFO7FYLG7+Bz LIhhGXQxq2sbu5/xj/YeBaWo0ltoPRmv6FH/1gaQexSTyhwrFTyyOf+mzfFYKJzgBXG2 GdXpsIeXVj6UTrEvteX49ujhCxxzY3gFV2qkwfWV5s0nKEZapHcfDtxPmY1DR3h0xbHr NxiDRwqxe717lxTIQs02ITc+mWifqj6qf0EMTQMX/Te37/U5BRAb8GrJbvJKbOiT1GXa 8S7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=e1Fycg8HxFFDgGLgGE+1g6SneFJlZKSzLzuR+fbReds=; b=nIsXtQT3mS0tKOlX+2LenA6wwpLYTiRVWcp7l4p+Ey+UY2lr8DNONbI8J8b6nl+pSz gMMbL72xs2jh3QbICjN64akP7SSQ4DLMHDIrxnHpkoTYc7AXNL6iLm3xo3jyicsR/RZp K6ueXM3wmvoSRIG8Qnb6T8AF2UbGfId7hOwx+6AsRoAVqNFQ3BXnkOETckKqMjnvClxJ ErM9SvpJ394H6Eu2QclEa+su6LrD2mj8NX7zhT9ZmGRHMadb1bGPvuJXipzfnzQBEL6M DHXbLKSUy9lXfi39Dt4S9Vmww4Q5O36FiXN/j3euo0QLBrE+8QduJnU/zswrW7G/WVd0 sQAQ== X-Gm-Message-State: APt69E0ozpcH0CSTcHk8Mc+hjLwdFBSIE2dkulz/DiaTRDtoPhOHXXHf Ukvdl9bnCGBgO6eHccSHn+yOzw== X-Google-Smtp-Source: ADUXVKJe6fGKIjpS6r8hPcCF9RYaPQNUY83TSsi5ETM+ifvMtNpn0cx4jwohZB9TbyIj1S+kro/Ilw== X-Received: by 2002:a6b:28c6:: with SMTP id o189-v6mr287788ioo.149.1528934807612; Wed, 13 Jun 2018 17:06:47 -0700 (PDT) Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id x16-v6sm1361028iob.75.2018.06.13.17.06.46 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 13 Jun 2018 17:06:47 -0700 (PDT) From: Noam Postavsky To: control@debbugs.gnu.org Subject: control message for bug #31475 Date: Wed, 13 Jun 2018 20:06:46 -0400 Message-ID: <87y3fiw7s9.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 31475 + unreproducible quit From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 07 07:22:34 2018 Received: (at 31475-done) by debbugs.gnu.org; 7 Sep 2018 11:22:34 +0000 Received: from localhost ([127.0.0.1]:48872 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fyEqP-0007KW-UJ for submit@debbugs.gnu.org; Fri, 07 Sep 2018 07:22:34 -0400 Received: from mout.gmx.net ([212.227.17.21]:36287) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fyEqO-0007KI-49 for 31475-done@debbugs.gnu.org; Fri, 07 Sep 2018 07:22:32 -0400 Received: from detlef.gmx.de ([212.86.51.196]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LuwiT-1fpoex3VZ3-0103MM; Fri, 07 Sep 2018 13:22:19 +0200 From: Michael Albinus To: Max Froumentin Subject: Re: bug#31475: 25.3; authinfo password backslash problem References: <87muwb6gc4.fsf@gmx.de> Date: Fri, 07 Sep 2018 13:22:18 +0200 In-Reply-To: <87muwb6gc4.fsf@gmx.de> (Michael Albinus's message of "Sun, 03 Jun 2018 17:27:07 +0200") Message-ID: <87a7ot3639.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:l5vIgSpxUobyolS/baokB6Qrh1f8npSppBgcWSoFC+ewKNx7Z3v EiS/rIBLtLIKF9MJPk0hr9Y+IMOXSD+iKelg0U2tKU2dhnf7rDVqmz+2Yffb+Iw5DclgPF0 sfZngrXJkaiHQAcM0GmplNPJNWtVhiiSCxbMCSodqArCs6crWg48n6vFjusPNFopSLuH8WF iTQKdEVbH1jnHWuZQq/oA== X-UI-Out-Filterresults: notjunk:1;V01:K0:17PW0SDdflg=:+2EZsJ+JrITmL3cAsZNZQi mJdX6XgDFVFeRwvKr1TZDNtTb645SXRihv9N7vWVvhinKboGj/vTpCz4Fp19dWRSSfO40BVRA MZOfJtc2s68c/76mXFe+DyWUglbjT5Ju8ecqeV5QIezzxnU5qiwNLK/w175+2uW0iHFPGwpff 2a2pWrCgGmqU7ahtgYJmEzYk3sEwFCZu53KK1xctbBY3TM4NAC2aTDPS39Sxiaj4WRWhiavsm U4SA9N2xM/ygGAIa+jZJ60YCug1v/WqT73IiEp5as2AdIyY5zGiKNQ0ULBHFHPV1fXD2qy7Fo ma/Lw7RlwJ4geu2WQ28r0Ea84ncokXN0g+Lf8+DbY0CZCqZ6hufW5/hVX4ELnRZHReydI9MVB eDBcC7r/3AZ1l69Lu3/y7O3qpI2ux8LIMDnaZoW1IFS8/ML28dHKTbs6Qf6eO3oHf/5J4W7dE 9z6re2YYgprii0WHh+GT9NjaSVDc2EHBlNKToxLiyzp8CVYZKkIKbFVeDFt8B6ENElchAkDP3 i1pBJaibk+lfkwW952CiTqQa5ieULkDa7Aloe/edAGTIBryaV+7g0q8kZsganhj0EKloK+xxh mLNY/gz8r5yeSj1njJxxBRCBWTrwcSqhwuASkEX0kAab8i6GFZUy0BeEZJDUDcJ+C5Oqec46t mzdsMch5PQHznj0PHm4VGv6lEY2loHU0XgqtrGLvyl3nkfdoDGSDjgRL7r7CCGLQ+gDEb0hPa pPNtL7i1XJUOeQiHWB5k/7k4ikC6EVPZOUZgS7P0hLBHp7eqYZIl96LLJu+jEvlnTnf3NVZJN dfBNQ90 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 31475-done Cc: 31475-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Michael Albinus writes: Hi Max, >> Assumption: >> User's IMAP password has a backslash character ('\') in it. >> >> Steps: >> 1. Setup gnus so it connects to an imap backend >> 2. Start gnus >> 3. Enter the username and password of the IMAP account >> 4. Say yes to saving the credentials in .authinfo >> 5. Quit emacs >> 6. Restart emacs >> 7. M-x gnus >> 8. Authentication fails >> >> The password saved in the .authinfo file has its backlash escaped >> ('\\'). If the file is edited directly and the extra backslash is removed, >> authentication works again. >> >> In GNU Emacs 25.3.1 (x86_64-apple-darwin16.7.0, NS appkit-1504.83 Version 10.12.6 (Build 16G1036)) > > I cannot reproduce it here, using > > In GNU Emacs 25.2.2 (x86_64-pc-linux-gnu, GTK+ Version 3.22.21) > > The following is an extract of nnimap.el, which I have used for testing: > > (progn > (require 'nnimap) > (let ((credentials (nnimap-credentials "address" "imap" "user"))) > (funcall (nth 2 credentials)))) > > > When I run this code snippet from a fresh Emacs started with "emacs -Q", > I am asked for > > IMAP password for user@address: > > > I enter "test\user" (without the apostrophs). Then I'm asked > > Save auth info to file ~/.authinfo [y/n/Ne/?] > > > Now I type "y" (without the apostrophs), and see the result of the > evaluation in the minibuffer. And in ~/.authinfo, there is a new line > > machine address login user port imap password test\user > > Looks like expected. Could you pls run the same scenario on your > machine? Maybe there's a difference because you use macOS, and I use GNU > Linux. No reply, so I'm closing this bug. Best regards, Michael. From unknown Thu Sep 11 18:22:16 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 05 Oct 2018 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator