From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#22081: 24.5; netrc.el fails parsing authinfo items spread over multiple lines Date: Mon, 14 Dec 2015 18:57:08 +0100 Message-ID: References: <87fuzjvdp5.fsf@lifelogs.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1450115914 6578 80.91.229.3 (14 Dec 2015 17:58:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Dec 2015 17:58:34 +0000 (UTC) Cc: 22081@debbugs.gnu.org To: Vasilij Schneidermann Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 14 18:58:19 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a8XO1-0001Yc-70 for geb-bug-gnu-emacs@m.gmane.org; Mon, 14 Dec 2015 18:58:13 +0100 Original-Received: from localhost ([::1]:33111 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8XO0-0008V1-9R for geb-bug-gnu-emacs@m.gmane.org; Mon, 14 Dec 2015 12:58:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37611) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8XNw-0008Uq-7u for bug-gnu-emacs@gnu.org; Mon, 14 Dec 2015 12:58:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a8XNq-00034y-Ry for bug-gnu-emacs@gnu.org; Mon, 14 Dec 2015 12:58:08 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44230) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8XNq-00034u-Oi for bug-gnu-emacs@gnu.org; Mon, 14 Dec 2015 12:58:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1a8XNq-0006LQ-Gl for bug-gnu-emacs@gnu.org; Mon, 14 Dec 2015 12:58:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Magne Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 14 Dec 2015 17:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22081 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22081-submit@debbugs.gnu.org id=B22081.145011583724319 (code B ref 22081); Mon, 14 Dec 2015 17:58:02 +0000 Original-Received: (at 22081) by debbugs.gnu.org; 14 Dec 2015 17:57:17 +0000 Original-Received: from localhost ([127.0.0.1]:51829 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1a8XN7-0006KB-FR for submit@debbugs.gnu.org; Mon, 14 Dec 2015 12:57:17 -0500 Original-Received: from bouvier.getmail.no ([84.210.184.8]:37898) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1a8XN5-0006Jw-KB for 22081@debbugs.gnu.org; Mon, 14 Dec 2015 12:57:16 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by bouvier.getmail.no (Postfix) with ESMTP id 2C3474C687; Mon, 14 Dec 2015 18:57:09 +0100 (CET) Original-Received: from bouvier.getmail.no ([127.0.0.1]) by localhost (bouvier.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id K5h2bwHolT75; Mon, 14 Dec 2015 18:57:08 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by bouvier.getmail.no (Postfix) with ESMTP id B8F204CBA8; Mon, 14 Dec 2015 18:57:08 +0100 (CET) X-Virus-Scanned: amavisd-new at bouvier.get.c.bitbit.net Original-Received: from bouvier.getmail.no ([127.0.0.1]) by localhost (bouvier.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Mq6Qhpac0kuW; Mon, 14 Dec 2015 18:57:08 +0100 (CET) Original-Received: from stories (cm-84.215.1.64.getinternet.no [84.215.1.64]) by bouvier.getmail.no (Postfix) with ESMTPS id 8E9884C687; Mon, 14 Dec 2015 18:57:08 +0100 (CET) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEUKAQlvZXI1MjwjGicS CRUcEh4pJC5sydyQAAACZklEQVQ4jV2Uy3baMBCGdYrbNRIJ61oG7ckgrSlI7Ikk1rUd5v0fof+I pAkRYDj+PJd/LqhaqeZaSwozT/bzqFizp+pLwlcQMtnGVYmZKJO/g743QEaAL1XADdfAnngOLjQL 7zPNtXoiL9GI2bE4VBXRCZed/nocQKxJwOUBSFZIC67o8qT1pcc9o/VCwN0VNdBr0+u1fv6lmRvw CCzAGCM2Tws9t+DXOcy0W6r/Z6FZQA5zYLqYB4AYGbLDXP88APsJLstvYEaFoLbF+PGuwgiwrlWZ R4DuLd/ylcKpgfczPrrqlZvEhr+BXqtWTea56UjoUa9tRhxx5RwRjctuYbXerGI3rt6BtSTK/6jO 6s3pcLTrBqTDzACjUhdtBnuyRsCECBPaOi63Sv3U8MamAX4xxhLx+PQb0UXeB5jC6DAH4/qvAOPN 7QPQ9JzZ9itkG7W5DeW5gWFy0wpz0a9hcEbwV9poUb6laedEl5T9qFf7c9q0Ydheh7EBLcVI0lq0 vVU3G26AURj5JWWfZEp2bpbg3+fq1fZ2iOFhBayBxVC2iffJ14gtwcmEqWEMg4+beDxFnIR3I9eZ JtmPWznHvZAT1wnjFwIM7uB4WLzFeB7SBlUj7JwTgHm/Qhr6Va7VfdnBQ8r7g1ISoEQLDUgcOQKo DpJjF1OJxWXPHPCyqsPTCp8uxlILeulkkjHUcl81V+LM+vriHCy+gkMHGQSdMv3TfcIOUVyJvgx/ ie4WYiN3EVuUp5pykHSbdzm4VQsKhr0Iku49apWn8ScgytEX6QecSoEwQVJ6jBnWhds6Y5nDQzda Xf4BmGPamLpY2H0AAAAASUVORK5CYII= In-Reply-To: <87fuzjvdp5.fsf@lifelogs.com> (Ted Zlatanov's message of "Thu, 03 Dec 2015 08:55:50 -0500") User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux) 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:109981 Archived-At: Ted Zlatanov writes: > (The netrc.el `netrc-parse' code is not actively used nowadays in Emacs, > as far as I know, but hasn't been removed due to my laziness. I see a > single reference to it in gnus/nntp.el. It has some deficiencies that > were improved in `auth-source-netrc-parse', for instance supporting > single-quoted strings. Any objections to removing it? CC to Lars since > he wrote it originally.) Let's see... Geez, that's some convoluted code. I think what it's meant to do is to allow the user to define `nntp-authinfo-file' and allow that to override the other Emacs authinfo choices. I think it would be nice to not break people's setups, but I think it would be clearer just to do something like (let ((auth-sources (cons nntp-authinfo-file auth-sources))) ...) before calling auth-source, and delete the explicit calls to netrc completely. And then you could move netrc.el to obsolete/. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no