From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.help Subject: Re: Emacs Remote Python Interpreters Date: Sat, 09 Jun 2012 15:49:43 +0200 Message-ID: <87txykppc8.fsf@gmx.de> References: <87k3zmnqwd.fsf@gmx.de> <87ehpt91b9.fsf@gmx.de> <87vcj4lfts.fsf@gmx.de> <87y5nyxepa.fsf@gmx.de> <87pq9ax72t.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1339249803 10061 80.91.229.3 (9 Jun 2012 13:50:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 9 Jun 2012 13:50:03 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Matt McClure Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jun 09 15:50:01 2012 Return-path: Envelope-to: geh-help-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 1SdM39-000289-Pe for geh-help-gnu-emacs@m.gmane.org; Sat, 09 Jun 2012 15:49:55 +0200 Original-Received: from localhost ([::1]:42108 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SdM39-0006jL-DR for geh-help-gnu-emacs@m.gmane.org; Sat, 09 Jun 2012 09:49:55 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50424) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SdM34-0006jF-Dj for help-gnu-emacs@gnu.org; Sat, 09 Jun 2012 09:49:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SdM32-0007yh-Be for help-gnu-emacs@gnu.org; Sat, 09 Jun 2012 09:49:49 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.22]:35538) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1SdM32-0007yb-1F for help-gnu-emacs@gnu.org; Sat, 09 Jun 2012 09:49:48 -0400 Original-Received: (qmail invoked by alias); 09 Jun 2012 13:49:44 -0000 Original-Received: from p57BB8EBD.dip0.t-ipconnect.de (EHLO detlef.gmx.de) [87.187.142.189] by mail.gmx.net (mp036) with SMTP; 09 Jun 2012 15:49:44 +0200 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX18PJHlYtwAPiLCKJUjeXRvSTTJdVUwAQDA0USQR6o wsBP3UxukpMH1J In-Reply-To: (Matt McClure's message of "Sat, 9 Jun 2012 09:12:16 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 213.165.64.22 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:85176 Archived-At: Matt McClure writes: Hi Matt, > I applied the patch from > http://bzr.savannah.gnu.org/lh/emacs/trunk/revision/108526 to > http://emacsformacosx.com/emacs-builds/Emacs-2012-06-08-108519-universal-10.6.8.dmg > and I still get: > > Debugger entered--Lisp error: (error "Variable binding depth exceeds > max-specpdl-size") Doesn't happen any longer to me, with that patch. > tramp-file-name-handler(expand-file-name "py" > "/scpc:vagrant@192.168.33.10:/tmp") > expand-file-name("py" "/scpc:vagrant@192.168.33.10:/tmp") > byte-code("\305\306G!\203 > \"! \203 > [prefix temporary-file-directory file suffix dir-flag make-temp-name > zerop file-name-as-directory expand-file-name make-directory > write-region "" nil silent excl] 8) > make-temp-file("py" nil ".py") > python-send-region(1 708) > python-send-buffer() > call-interactively(python-send-buffer nil nil) > > I don't see tramp-compat-temporary-file-directory in the call stack. Yes. Tramp prints some additional traces in tramp-file-name-handler in case of an error, which shortens the backtrace, unfortunately. I have fixed this in Tramp 2.2.5, which I will sync with the trunk when Emacs 24.1 is out. > I wonder, does Tramp need a tramp-handle-make-temp-file? Nope. It was sufficient, to patch tramp-compat-temporary-file-directory. > I'll try again tomorrow with the forthcoming 6/9 build in case I > missed something important when I applied your patch ad hoc. Yes, please do. I have tested today with | detlef:~/src/emacs> bzr log | head -8 | ------------------------------------------------------------ | revno: 108542 | committer: Eli Zaretskii | branch nick: trunk | timestamp: Sat 2012-06-09 14:53:31 +0300 | message: | Fix parallel bootstrap build in lisp/ on MS-Windows. Best regards, Michael.