From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Engster Newsgroups: gmane.emacs.bugs Subject: bug#11981: 24.1.50; url-http-parse-headers should not disable file name handlers since it breaks auth-source Date: Thu, 19 Jul 2012 14:51:07 +0200 Message-ID: References: <87eho8didj.fsf@engster.org> <87394otg13.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1342702331 18345 80.91.229.3 (19 Jul 2012 12:52:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 19 Jul 2012 12:52:11 +0000 (UTC) Cc: 11981@debbugs.gnu.org, Michael Albinus To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 19 14:52:06 2012 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 1SrqD7-0001zI-9D for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 Jul 2012 14:52:05 +0200 Original-Received: from localhost ([::1]:57878 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrqD6-00046W-HX for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 Jul 2012 08:52:04 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:46976) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrqCz-00046Q-TK for bug-gnu-emacs@gnu.org; Thu, 19 Jul 2012 08:52:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SrqCu-00019U-1G for bug-gnu-emacs@gnu.org; Thu, 19 Jul 2012 08:51:57 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40216) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrqCt-00019O-Ji for bug-gnu-emacs@gnu.org; Thu, 19 Jul 2012 08:51:51 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SrqIs-0002l2-Ir for bug-gnu-emacs@gnu.org; Thu, 19 Jul 2012 08:58:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: David Engster Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 19 Jul 2012 12:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11981 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11981-submit@debbugs.gnu.org id=B11981.134270265110563 (code B ref 11981); Thu, 19 Jul 2012 12:58:02 +0000 Original-Received: (at 11981) by debbugs.gnu.org; 19 Jul 2012 12:57:31 +0000 Original-Received: from localhost ([127.0.0.1]:49762 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SrqIN-0002kK-9M for submit@debbugs.gnu.org; Thu, 19 Jul 2012 08:57:31 -0400 Original-Received: from randomsample.de ([83.169.19.17]:59715) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SrqIK-0002kB-Gx for 11981@debbugs.gnu.org; Thu, 19 Jul 2012 08:57:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=randomsample.de; s=a; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To:Subject:Cc:To:From; bh=RBiEOSeAd+O0arp4zQRcNn5seOwNVhdlpeMINxqFArg=; b=Cl5mBShCZjQXX6d18ulwuCx0d68w591EveZy3Ngcm9jXXOqkMgrfKH6dtNBU/yNSddQzaSxINlQmP6z/8Kpmvq4d44RnGvOJhh4SOOBHXLC6i+4Se4hPJZmMStQ0q+R/; Original-Received: from ibookg4-c2.pc.gwdg.de ([134.76.4.219]) by randomsample.de with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1SrqCH-0005do-LL; Thu, 19 Jul 2012 14:51:13 +0200 In-Reply-To: (Stefan Monnier's message of "Thu, 19 Jul 2012 04:55:54 -0400") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1 (darwin) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.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:62159 Archived-At: Stefan Monnier writes: >>> However, this workaraound assumes that everything that gets afterwards >>> in the `let'-section does not depend on file name handlers. However, >>> this is not the case: `url-http-handle-authentication' is called which >>> in turn calls the auth-source package. This package however supports >>> encrypted authinfo files which have to be automatically decrypted >>> through `auto-encryption-mode'. This, of course, works through file name >>> handlers. >> Does it work, if Tramp is disabled instead? > > I think I'd first like to better understand bug#6717: why do we take > a local part of a URL, let it start with / and then pass it to > file-name-directory? That sounds like a problem in itself. I agree. I wonder which call to `file-name-directory' threw the error in the original report - the most likely candidate is `url-file-directory', which should simply be rewritten to not use `file-name-directory'. -David