* Tramp always wants password when using cscope
@ 2009-08-22 3:50 Neil Baylis
2009-08-24 6:59 ` Michael Albinus
[not found] ` <mailman.5230.1251097197.2239.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 5+ messages in thread
From: Neil Baylis @ 2009-08-22 3:50 UTC (permalink / raw)
To: help-gnu-emacs
I'm using emacs 23.1 to access a large remote source tree that has a
cscope index at the top. Initially it wouldn't work at all because it
was running the local cscope instead of the remote one, but I found a
solution for that by searchingthe web. It was necessary to change some
functions within xcscope.el. So, now it correctly runs the remote
cscope instead of the local one, but it doesn't make use of the
password cache. Every time I do any cscope related task, it starts a
new remote shell and asks for the password again. The password cache
works correctly for opening named files and directories, it's just the
cscope related functions that don't work.
Is there a newer version of xcscope.el that I should be using that
corrects these problems?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Tramp always wants password when using cscope
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>
[not found] ` <mailman.5230.1251097197.2239.help-gnu-emacs@gnu.org>
1 sibling, 1 reply; 5+ messages in thread
From: Michael Albinus @ 2009-08-24 6:59 UTC (permalink / raw)
To: Neil Baylis; +Cc: help-gnu-emacs
Neil Baylis <neil.baylis@gmail.com> writes:
> I'm using emacs 23.1 to access a large remote source tree that has a
> cscope index at the top. Initially it wouldn't work at all because it
> was running the local cscope instead of the remote one, but I found a
> solution for that by searchingthe web. It was necessary to change some
> functions within xcscope.el. So, now it correctly runs the remote
> cscope instead of the local one, but it doesn't make use of the
> password cache. Every time I do any cscope related task, it starts a
> new remote shell and asks for the password again. The password cache
> works correctly for opening named files and directories, it's just the
> cscope related functions that don't work.
>
> Is there a newer version of xcscope.el that I should be using that
> corrects these problems?
What have you changed in xcscope.el?
Best regards, Michael.
^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <mailman.5230.1251097197.2239.help-gnu-emacs@gnu.org>]
* Re: Tramp always wants password when using cscope
[not found] ` <mailman.5230.1251097197.2239.help-gnu-emacs@gnu.org>
@ 2009-08-24 15:07 ` Neil Baylis
0 siblings, 0 replies; 5+ messages in thread
From: Neil Baylis @ 2009-08-24 15:07 UTC (permalink / raw)
To: help-gnu-emacs
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.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-08-25 6:26 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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.