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: Tramp always wants password when using cscope Date: Tue, 25 Aug 2009 08:26:37 +0200 Message-ID: References: <96418907-3e06-42d0-92f1-d34e0705b792@18g2000yqa.googlegroups.com> <87iqgduhq6.fsf@gmx.de> <1e6b7d810908241627i10fc39dfu51642eac6ad1f587@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1251181647 6145 80.91.229.12 (25 Aug 2009 06:27:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 25 Aug 2009 06:27:27 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Neil Baylis Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Aug 25 08:27:20 2009 Return-path: Envelope-to: geh-help-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 1MfpV1-00018k-MG for geh-help-gnu-emacs@m.gmane.org; Tue, 25 Aug 2009 08:27:20 +0200 Original-Received: from localhost ([127.0.0.1]:43382 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MfpV1-0005sI-3g for geh-help-gnu-emacs@m.gmane.org; Tue, 25 Aug 2009 02:27:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MfpUZ-0005s3-LD for help-gnu-emacs@gnu.org; Tue, 25 Aug 2009 02:26:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MfpUU-0005rd-RY for help-gnu-emacs@gnu.org; Tue, 25 Aug 2009 02:26:51 -0400 Original-Received: from [199.232.76.173] (port=49452 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MfpUU-0005ra-M4 for help-gnu-emacs@gnu.org; Tue, 25 Aug 2009 02:26:46 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:56196) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MfpUU-0003oA-1E for help-gnu-emacs@gnu.org; Tue, 25 Aug 2009 02:26:46 -0400 Original-Received: from mailrelay2.alcatel.de ([194.113.59.96]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MfpUS-0007Yp-Hk for help-gnu-emacs@gnu.org; Tue, 25 Aug 2009 02:26:44 -0400 Original-Received: from destgsu0048.stgl.sel.alcatel.de (destgsu0048.de.alcatel-lucent.com [149.204.242.4]) by mailrelay2.alcatel.de (8.13.8/8.13.8/ICT) with ESMTP id n7P6QefH012635; Tue, 25 Aug 2009 08:26:40 +0200 Original-Received: from slbhn1.alcatel.de (slbhn1.de.alcatel-lucent.com [149.204.90.35]) by destgsu0048.stgl.sel.alcatel.de (8.12.3/8.12.3) with ESMTP id n7P6QdY4007574; Tue, 25 Aug 2009 08:26:39 +0200 (MEST) In-Reply-To: <1e6b7d810908241627i10fc39dfu51642eac6ad1f587@mail.gmail.com> (Neil Baylis's message of "Tue, 25 Aug 2009 01:27:11 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-Alcanet-virus-scanned: n7P6QdY4007574 at destgsu0048.stgl.sel.alcatel.de X-Scanned-By: MIMEDefang 2.57 on 149.204.45.73 X-Detected-Operating-System: by mx20.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:67492 Archived-At: Neil Baylis writes: > Michael, Hi Neil, > I think the problem is with xcscope. Every time I ask it to look > something up in the tags database, xcscope opens a new shell session. > This takes some seconds to set up before it can even begin to access > the database. If xcscope would re-use the connection, it would not > incur this delay. Yes. It would require to rewrite xcsope that it opens just a shell on the remote host (as asynchronous process), and then sends the commends to the corresponding process, and reads the results from the associated buffer. > Here's an example, where I asked xcscope to find the global definition > of a symbol. You can see that the entire process took about 15 > seconds. About half the time was spent before the "exec cscope" > command was sent. The rest was actually looking up the symbol and > returning the results. What I don't see in the traces is where Tramp requires to enter the password, again. Do I miss something? > Thanks, > > Neil Best regards, Michael.