From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#15648: 24.2.50; gnutls SSL connection to IMAP server causes emacs to crash completely Date: Sun, 03 Nov 2013 16:37:13 -0500 Message-ID: References: <21089.32240.198931.971000@consult.pretender> <83eh7bj1yq.fsf@gnu.org> <87ppqvke5u.fsf@flea.lifelogs.com> <87fvrun1pw.fsf@flea.lifelogs.com> <21093.32992.278229.646703@consult.pretender> <877gd5mo5x.fsf@flea.lifelogs.com> <21094.39055.449629.706850@consult.pretender> <21094.40085.664080.69561@consult.pretender> <21094.52645.645440.977584@consult.pretender> <21094.64459.131668.849138@consult.pretender> <21095.19949.639350.970770@consult.pretender> <21096.24492.292723.589004@consult.pretender> <87eh7bj5no.fsf_-_@flea.lifelogs.com> <21097.10816.221279.461499@consult.pretender> <21097.27136.910137.181740@consult.pretender> <21098.31018.184128.497305@consult.pretender> <87y555socz.fsf@flea.lifelogs.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1383607999 27905 80.91.229.3 (4 Nov 2013 23:33:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 4 Nov 2013 23:33:19 +0000 (UTC) Cc: 15648@debbugs.gnu.org To: Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 05 00:33:22 2013 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 1VdTe5-0007h3-2f for geb-bug-gnu-emacs@m.gmane.org; Tue, 05 Nov 2013 00:33:21 +0100 Original-Received: from localhost ([::1]:52509 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VdTe4-0004my-MU for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Nov 2013 18:33:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36545) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VdTdu-0004kt-3M for bug-gnu-emacs@gnu.org; Mon, 04 Nov 2013 18:33:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VdTdm-00023B-PT for bug-gnu-emacs@gnu.org; Mon, 04 Nov 2013 18:33:10 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48991) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VdTdm-000235-MU for bug-gnu-emacs@gnu.org; Mon, 04 Nov 2013 18:33:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VdTdm-0004Tc-EO for bug-gnu-emacs@gnu.org; Mon, 04 Nov 2013 18:33:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 04 Nov 2013 23:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15648 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15648-submit@debbugs.gnu.org id=B15648.138360794017145 (code B ref 15648); Mon, 04 Nov 2013 23:33:02 +0000 Original-Received: (at 15648) by debbugs.gnu.org; 4 Nov 2013 23:32:20 +0000 Original-Received: from localhost ([127.0.0.1]:34776 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VdTd6-0004SO-HU for submit@debbugs.gnu.org; Mon, 04 Nov 2013 18:32:20 -0500 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:34903) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VdTd4-0004S8-An for 15648@debbugs.gnu.org; Mon, 04 Nov 2013 18:32:18 -0500 Original-Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id rA4NWFW2011339; Mon, 4 Nov 2013 18:32:15 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 060BB6625E; Sun, 3 Nov 2013 16:37:13 -0500 (EST) In-Reply-To: <87y555socz.fsf@flea.lifelogs.com> (Ted Zlatanov's message of "Sun, 03 Nov 2013 06:42:36 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4752=0 X-NAI-Spam-Version: 2.3.0.9362 : core <4752> : inlines <198> : streams <1068070> : uri <1585753> 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:80002 Archived-At: > Would any C-facing code, then, need to apply this function before > passing a filename to the OS? I guess so. I'm much too soaked in the POSIX world where this new function would default to being a nop, to have a good idea of exactly where/when this would be needed. My first idea, w.r.t cygwin-mount was that it should operate "at the boundary" where we receive filenames from outside, such as in substitute-in-file-name and when processing command line arguments. But if we want cygwin names to work on variables set via Elisp customization, that means it would have to operate at a much lower level, so maybe "any C-facing code" is the right place, indeed. But it should probably be "C-facing code except for the code in file-handlers", since presumably those would already be handled by the magic-file-handler so by the time we get to the default code there's no need for any translation. IOW it should be "any C-facing code which uses files but can't be passed through the magic file handler". Of course, it can also be used by Elisp code when passing file names to external processes. Stefan