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#15866: Gnutls elisp code doesn't properly check for file existence Date: Sun, 07 Dec 2014 22:15:23 +0100 Message-ID: References: <21121.29752.814965.329395@consult.pretender> <83ob5p1pgd.fsf@gnu.org> <87bo1po0s1.fsf@gmx.de> <837fy3yxpp.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1417987013 5039 80.91.229.3 (7 Dec 2014 21:16:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Dec 2014 21:16:53 +0000 (UTC) Cc: 15866@debbugs.gnu.org, michael.albinus@gmx.de, emacs@kosowsky.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Dec 07 22:16:47 2014 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 1XxjCB-0003dM-0w for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Dec 2014 22:16:47 +0100 Original-Received: from localhost ([::1]:59188 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XxjCA-0003nL-JM for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Dec 2014 16:16:46 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36456) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XxjBX-00038b-IO for bug-gnu-emacs@gnu.org; Sun, 07 Dec 2014 16:16:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XxjBS-0003Iw-8N for bug-gnu-emacs@gnu.org; Sun, 07 Dec 2014 16:16:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59401) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XxjBS-0003Is-5y for bug-gnu-emacs@gnu.org; Sun, 07 Dec 2014 16:16:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XxjBR-0007nh-Pk for bug-gnu-emacs@gnu.org; Sun, 07 Dec 2014 16:16:01 -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: Sun, 07 Dec 2014 21:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15866 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15866-submit@debbugs.gnu.org id=B15866.141798694729948 (code B ref 15866); Sun, 07 Dec 2014 21:16:01 +0000 Original-Received: (at 15866) by debbugs.gnu.org; 7 Dec 2014 21:15:47 +0000 Original-Received: from localhost ([127.0.0.1]:56614 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XxjBD-0007mx-8H for submit@debbugs.gnu.org; Sun, 07 Dec 2014 16:15:47 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:45710) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XxjBA-0007mi-8z for 15866@debbugs.gnu.org; Sun, 07 Dec 2014 16:15:45 -0500 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1XxjAq-00089L-3I; Sun, 07 Dec 2014 22:15:24 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAALVBMVEWcmo/g39jw8Or+//f+ //rn5+AlJB7V1c7+/vllY1X39/H////Jx8D8/PX+/v294C4IAAABRElEQVQ4jWNY2+Li927f7t27 X+9GBhsYbu/GCnBK7GHoxiXhjUvCmmQdr3FJQOh9RBu1HWYUuokbGbBrAErgsHwjA4a1JBj1tubQ a2wSW8/oLj8Od+BWhFGC4eVzrp6D8TbBJTaqLr4wc0INpsTSVtsFM2emVWNICCvdrUxLS+NGl9gX HGzLNm3mtCwofxdEYt/uvcrBt9LSZmamQyX2wnTsWnr5zrSEaWlzYCbAJPYuFQ9ly5yWlggLaLjl uqF3FSakpc2C8eES67aEnkybMO00kgQkfG+93qR6ICkmGkPHpnVbZILCxXdjSOzWer31jFA1Fold oe/aD+7GIrH7laDQa6wSqJkEV9SCJbCmB5DELlwS2I3CkeDw6MCR2qkkAXYP9lwL9DJ6AQAOhXsg HavRxGH+wlVkQCXABrx+BwLQEN0HAJY2LWL8GdVoAAAAAElFTkSuQmCC X-Now-Playing: Jan Jelinek's _Music for Fragments_: "Forest Weaver" X-Hashcash: 1:23:141207:monnier@iro.umontreal.ca::8xBTb3Oem1/Egzmu:00000000000000000000000000000000000001EiF X-Hashcash: 1:23:141207:eliz@gnu.org::2+3gnQLD5qNhN5fL:000006PQu X-Hashcash: 1:23:141207:15866@debbugs.gnu.org::9xqpovEswaXOJdJ5:0000000000000000000000000000000000000000CSG7 X-Hashcash: 1:23:141207:michael.albinus@gmx.de::3QtxxV+A/T/Dasnd:000000000000000000000000000000000000000ZG0O X-Hashcash: 1:23:141207:emacs@kosowsky.org::O3sdT/Y/yOqM0f+B:0000000000000000000000000000000000000000001AB0c In-Reply-To: <837fy3yxpp.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 07 Dec 2014 23:08:34 +0200") User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) X-MailScanner-ID: 1XxjAq-00089L-3I MailScanner-NULL-Check: 1418591725.17309@0SVsUP0hTnMYrky+qm6psA X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:96966 Archived-At: Eli Zaretskii writes: >> Wouldn't a solution here be to introduce a variable like >> `inhibit-file-handlers' that would really inhibit all Lisp-level file >> handlers? > > How is that different from binding file-name-handler-alist to nil? I guess it isn't. Wouldn't that solve this problem? The patch presented did some stuff with (if (find-file-name-handler f 'expand-file-name) ... but perhaps just binding that variable to nil unconditionally would be the right thing here? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no