From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Abrahams Newsgroups: gmane.emacs.bugs Subject: bug#3071: 23.0.92; accept-process-output broken on MacOS Date: Tue, 21 Apr 2009 12:40:23 -0400 Message-ID: <74F3AF42-B43A-492B-8F37-E4E01A6C93C7__24139.2314354473$1240333678$gmane$org@boostpro.com> References: Reply-To: David Abrahams , 3071@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v930.4) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1240333592 10923 80.91.229.12 (21 Apr 2009 17:06:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 Apr 2009 17:06:32 +0000 (UTC) Cc: John Wiegley , tramp-devel@mail.freesoftware.fsf.org, 3071@emacsbugs.donarmstrong.com To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 21 19:07:51 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LwJPn-0004xr-Hr for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Apr 2009 19:05:55 +0200 Original-Received: from localhost ([127.0.0.1]:40347 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LwJOO-0007GS-9O for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Apr 2009 13:04:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LwJOD-0007BY-49 for bug-gnu-emacs@gnu.org; Tue, 21 Apr 2009 13:04:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LwJO3-000733-Gc for bug-gnu-emacs@gnu.org; Tue, 21 Apr 2009 13:04:05 -0400 Original-Received: from [199.232.76.173] (port=37188 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LwJO0-00072s-Ku for bug-gnu-emacs@gnu.org; Tue, 21 Apr 2009 13:03:56 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:55656) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LwJNz-0003MA-HL for bug-gnu-emacs@gnu.org; Tue, 21 Apr 2009 13:03:55 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3LH3qjl003618; Tue, 21 Apr 2009 10:03:52 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n3LGj34H030796; Tue, 21 Apr 2009 09:45:03 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: David Abrahams Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 21 Apr 2009 16:45:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3071 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 3071-submit@emacsbugs.donarmstrong.com id=B3071.124033203030555 (code B ref 3071); Tue, 21 Apr 2009 16:45:03 +0000 Original-Received: (at 3071) by emacsbugs.donarmstrong.com; 21 Apr 2009 16:40:30 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3LGeQqN030549 for <3071@emacsbugs.donarmstrong.com>; Tue, 21 Apr 2009 09:40:27 -0700 Original-Received: from mr02.lnh.mail.rcn.net ([207.172.157.22]) by smtp02.lnh.mail.rcn.net with ESMTP; 21 Apr 2009 12:40:25 -0400 Original-Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr02.lnh.mail.rcn.net (MOS 3.10.4-GA) with ESMTP id PTD81962; Tue, 21 Apr 2009 12:40:25 -0400 (EDT) Original-Received: from 207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com (HELO [192.168.188.134]) ([207.172.223.249]) by smtp01.lnh.mail.rcn.net with ESMTP; 21 Apr 2009 12:40:24 -0400 In-Reply-To: X-Mailer: Apple Mail (2.930.4) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Tue, 21 Apr 2009 13:04:04 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:27383 Archived-At: On Apr 21, 2009, at 11:20 AM, Michael Albinus wrote: > David Abrahams writes: > >> Opening remote files/directories via TRAMP is wicked slow on MacOS; >> the >> same operation on a linux emacs running on the same hardware is >> practically instantaneous. Turns out that applying the enclosed >> patch >> makes the symptom go away. I'm not an expert on emacs process >> handling, >> but that tells me emacs probably isn't detecting output from the >> process >> until the timeout (usually 1 second for TRAMP) is reached. > > Thanks a lot for your investigation! However, I believe your patch > towards tramp.el shall be only the last resort (and NOT the final > solution). Of course. > One shall investigate, what's happening on mac. Until they figure it out, my plan is to use some advice to force that timeout parameter to zero in accept-process-output. -- David Abrahams BoostPro Computing http://boostpro.com