all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Neil Baylis <neil.baylis@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Tramp always wants password when using cscope
Date: Tue, 25 Aug 2009 08:26:37 +0200	[thread overview]
Message-ID: <nqeir05rz6.fsf@alcatel-lucent.de> (raw)
In-Reply-To: <1e6b7d810908241627i10fc39dfu51642eac6ad1f587@mail.gmail.com> (Neil Baylis's message of "Tue, 25 Aug 2009 01:27:11 +0200")

Neil Baylis <neil.baylis@gmail.com> 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.




  parent reply	other threads:[~2009-08-25  6:26 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 [this message]
     [not found] ` <mailman.5230.1251097197.2239.help-gnu-emacs@gnu.org>
2009-08-24 15:07   ` Neil Baylis

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=nqeir05rz6.fsf@alcatel-lucent.de \
    --to=michael.albinus@gmx.de \
    --cc=help-gnu-emacs@gnu.org \
    --cc=neil.baylis@gmail.com \
    /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.