all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michal <rabbit50@tenbit.pl>
To: help-gnu-emacs@gnu.org
Subject: tramp-2.1.15/cscope-15.7 and emacs 22 vs emacs 23
Date: Wed, 18 Feb 2009 16:38:43 +0100	[thread overview]
Message-ID: <m2tz6r92m4.fsf@tenbit.pl> (raw)


Hallo group members

=== problem description:

cscope seems not working with emacs 23/tramp-2.1.15.
when I do:
M-x cscope-index-files on some remote machine directory:
/scp:root@remote.machine.org:/cvs/src-10-01-patches

it does not build cscope database (this is what cscope-index-files is intended to do).

when I do the same thing with emacs 22, everything is ok, database is done.

=== some investigation:
on my local machine I changed /usr/local/bin/cscope binary to:
#!/bin/bash
date
echo "cscope at localhost"

I did not touch cscope binary on remote machine.

then I run M-x cscope-index-files again on /scp:root@remote.machine.org:/cvs/src-10-01-patches.

emacs 23 result:

Creating cscope index `cscope.out' in:
	/scp:root@remote.machine.org:/cvs/src-10-01-patches/

-------------------------------------------------------------------------------
Creating list of files to index ...
Creating list of files to index ... done
Indexing files ...
Wed Feb 18 16:28:13 CET 2009
cscope at localhost
Indexing files ... done
-------------------------------------------------------------------------------

Indexing finished


Of course no indexing is done, this is just a standard template of cscope.

emacs 22 result:
Creating cscope index `cscope.out' in:
	/scp:root@remote.machine.org:/cvs/src-10-01-patches/

-------------------------------------------------------------------------------
Creating list of files to index ...
Creating list of files to index ... done
Indexing files ...
Indexing files ... done
exit
-------------------------------------------------------------------------------

Indexing finished

=== my conclusion:
emacs 23 invokes cscope from local machine, while emacs 22 invokes cscope binary from remote machine, thus works correctly.

Do You experience similar behaviour? How to overcome it?

best regards,
Michal



             reply	other threads:[~2009-02-18 15:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-18 15:38 Michal [this message]
2009-02-18 21:42 ` tramp-2.1.15/cscope-15.7 and emacs 22 vs emacs 23 Michael Albinus
     [not found] ` <mailman.1110.1234993371.31690.help-gnu-emacs@gnu.org>
2009-02-19  9:41   ` Michal

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=m2tz6r92m4.fsf@tenbit.pl \
    --to=rabbit50@tenbit.pl \
    --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.