From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neil Baylis Newsgroups: gmane.emacs.help Subject: Re: Tramp always wants password when using cscope Date: Mon, 24 Aug 2009 08:07:41 -0700 (PDT) Organization: http://groups.google.com Message-ID: <775b52ea-1770-4505-8ace-dde2169becc1@i18g2000pro.googlegroups.com> References: <96418907-3e06-42d0-92f1-d34e0705b792@18g2000yqa.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1251129272 30242 80.91.229.12 (24 Aug 2009 15:54:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 24 Aug 2009 15:54:32 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Aug 24 17:54:25 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 1MfbsG-0004Bh-4m for geh-help-gnu-emacs@m.gmane.org; Mon, 24 Aug 2009 17:54:24 +0200 Original-Received: from localhost ([127.0.0.1]:35520 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MfbsF-0003om-DB for geh-help-gnu-emacs@m.gmane.org; Mon, 24 Aug 2009 11:54:23 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!news2.glorb.com!postnews.google.com!i18g2000pro.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 27 Original-NNTP-Posting-Host: 76.208.149.201 Original-X-Trace: posting.google.com 1251126462 20441 127.0.0.1 (24 Aug 2009 15:07:42 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Mon, 24 Aug 2009 15:07:42 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: i18g2000pro.googlegroups.com; posting-host=76.208.149.201; posting-account=dNm1mAoAAADEStfarqbdhwZIMTNBGDT8 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en-us) AppleWebKit/530.19.2 (KHTML, like Gecko) Version/4.0.2 Safari/530.19, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:172328 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:67470 Archived-At: On Aug 23, 11:59=A0pm, Michael Albinus wrote: > > What have you changed in xcscope.el? > Hi Michael. Here are the diffs from the xcscope.el from the cscope-15.6 source: 1991c1991 < (apply 'start-process "cscope" outbuf --- > (apply 'start-file-process "cscope" outbuf 2001c2001 < (apply 'call-process cscope-program nil outbuf t options) --- > (apply 'process-file cscope-program nil outbuf t options) 2124c2124 < (apply 'start-process "cscope-indexer" --- > (apply 'start-file-sprocess "cscope-indexer" It seems as though xcscope is starting a new remote cscope process for every query. This adds 10 to 20 seconds to each query, on top of the time it takes the remote cscope to do the lookup, which is already about 15 to 20 seconds. I changed my ssh setup to no longer require passwords, but it still incurs these delays.