all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Neil Baylis <neil.baylis@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Tramp always wants password when using cscope
Date: Mon, 24 Aug 2009 08:07:41 -0700 (PDT)	[thread overview]
Message-ID: <775b52ea-1770-4505-8ace-dde2169becc1@i18g2000pro.googlegroups.com> (raw)
In-Reply-To: mailman.5230.1251097197.2239.help-gnu-emacs@gnu.org

On Aug 23, 11:59 pm, Michael Albinus <michael.albi...@gmx.de> 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.



      parent reply	other threads:[~2009-08-24 15:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-22  3:50 Tramp always wants password when using cscope Neil Baylis
2009-08-24  6:59 ` Michael Albinus
     [not found]   ` <AB6A1388-20FE-4913-B68F-4BB6A1BCA4E3@gmail.com>
2009-08-24 19:36     ` Michael Albinus
     [not found]       ` <1e6b7d810908241627i10fc39dfu51642eac6ad1f587@mail.gmail.com>
2009-08-25  6:26         ` Michael Albinus
     [not found] ` <mailman.5230.1251097197.2239.help-gnu-emacs@gnu.org>
2009-08-24 15:07   ` Neil Baylis [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=775b52ea-1770-4505-8ace-dde2169becc1@i18g2000pro.googlegroups.com \
    --to=neil.baylis@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.