From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.bugs Subject: bug#24274: 24.5; Use auth-source library for remote passwords in Rmail Date: Mon, 22 Aug 2016 09:00:31 -0400 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 Message-ID: <871t1h9cwg.fsf_-_@lifelogs.com> References: <87vayvqphr.fsf@gmail.com> <87a8g6nqp4.fsf@gmail.com> <87vayvqphr.fsf@gmail.com> <87inutsyvw.fsf@violet.siamics.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1471870881 25685 195.159.176.226 (22 Aug 2016 13:01:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 22 Aug 2016 13:01:21 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cc: 24274@debbugs.gnu.org, zhtvk@gmx.com, Viktor Slavkovik To: Ivan Shmakov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 22 15:01:17 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bboqq-0006Qc-OS for geb-bug-gnu-emacs@m.gmane.org; Mon, 22 Aug 2016 15:01:16 +0200 Original-Received: from localhost ([::1]:41389 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bboqo-0004z8-3n for geb-bug-gnu-emacs@m.gmane.org; Mon, 22 Aug 2016 09:01:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51214) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bboqh-0004yp-Pe for bug-gnu-emacs@gnu.org; Mon, 22 Aug 2016 09:01:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bboqc-0000ss-SA for bug-gnu-emacs@gnu.org; Mon, 22 Aug 2016 09:01:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38838) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bboqc-0000sh-H6 for bug-gnu-emacs@gnu.org; Mon, 22 Aug 2016 09:01:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bboqc-0007vI-6E for bug-gnu-emacs@gnu.org; Mon, 22 Aug 2016 09:01:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ted Zlatanov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 Aug 2016 13:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24274 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 24274-submit@debbugs.gnu.org id=B24274.147187084930431 (code B ref 24274); Mon, 22 Aug 2016 13:01:02 +0000 Original-Received: (at 24274) by debbugs.gnu.org; 22 Aug 2016 13:00:49 +0000 Original-Received: from localhost ([127.0.0.1]:36550 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bboqP-0007uk-0V for submit@debbugs.gnu.org; Mon, 22 Aug 2016 09:00:49 -0400 Original-Received: from mail-pa0-f53.google.com ([209.85.220.53]:34900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bboqM-0007uY-Rf for 24274@debbugs.gnu.org; Mon, 22 Aug 2016 09:00:47 -0400 Original-Received: by mail-pa0-f53.google.com with SMTP id hb8so19075648pac.2 for <24274@debbugs.gnu.org>; Mon, 22 Aug 2016 06:00:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lifelogs.com; s=google; h=from:to:cc:subject:organization:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:user-agent :mime-version:content-transfer-encoding; bh=RhjWodbh6xbthppg8lU+4VJQN461tD+NVVt5dqCfaF8=; b=Ofqi3Jr8q0KHtj3u/Vz1ClIUYdPWwKDKcCgtM4A11jRD2nxAxWQliz+eTBQYeu9LnL DiGzt94L34dQzWAl6G14hg9OZDp8LIb4m4GxzBI4cYS+m5nSzQ9D7FANX/ljTwoM5ZsW 8PMLclWEx8c80ORZ+l9MhrO2Z9ZuNO5C5ZmuE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:organization:references :mail-copies-to:gmane-reply-to-list:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=RhjWodbh6xbthppg8lU+4VJQN461tD+NVVt5dqCfaF8=; b=VZxKLNOayNQvVRaKUXpSP4fi4wINoVDtI9ANbemaMj6VVlvCDDAWClQrDqt3OMlE/f vaoLF2DZvwTAcvb3tf4O4OpwX5f9zTmZvl6ufeI889bs57ushRveD2o7srBYUNpQSpU1 zs8uealn5PROVZv/yjBVQJHgRhAbwQemGo94l/z3zvINX3llG2IqlDdJDEGUsA2lfjaa dYVAbi0o7uLoWKRwogLY5sRcUe2VNaIOFkfg6mKLAaRpD/s0U1ynjGPN6930z6OtQScK Dt9AVoPsTtByVP4+p0X0wynBWMbWA61KIhAU26+5Vm6R7fhpH0IYylBzYkGARn497+dO fACA== X-Gm-Message-State: AEkoouvuvsvkbRrDS82pCNjAcI8ZgzPRmAadJvb4WMvLb4te1tQozqDCaWRzDGx+prmXig== X-Received: by 10.66.86.1 with SMTP id l1mr19336011paz.106.1471870838299; Mon, 22 Aug 2016 06:00:38 -0700 (PDT) Original-Received: from flea (c-98-229-60-157.hsd1.ma.comcast.net. [98.229.60.157]) by smtp.gmail.com with ESMTPSA id u7sm32255810paz.45.2016.08.22.06.00.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 Aug 2016 06:00:37 -0700 (PDT) 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" Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: <87inutsyvw.fsf@violet.siamics.net> (Ivan Shmakov's message of "Sun, 21 Aug 2016 19:30:43 +0000, Sat, 20 Aug 2016 19:45:50 +0000") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:122492 Archived-At: On Sun, 21 Aug 2016 19:30:43 +0000 Ivan Shmakov wrote:=20 >> I've made an update (attached) to the previous patch. I removed the >> code indentation spaces and changed the docstring to be more >> descriptive. Also, I included a function check for the auth-source >> password which was missing before. Thank you! IS> We can call auth-source-forget+ if necessary once we figure it IS> out; just like it=E2=80=99s done in gnus/nnimap.el and mail/smtpmail.e= l. Right, those are the typical uses of auth-source. IS> The auth-source library allows access to other backends beside IS> plain ~/.authinfo, which is why I think it makes sense to IS> mention the library by name here. See the docstring for the IS> erc-autojoin-channels-alist variable for an example. Agreed! The authinfo file *format* is a default, but there are actually three of them: '("~/.authinfo" "~/.authinfo.gpg" "~/.netrc") Thanks Ted