From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michal Newsgroups: gmane.emacs.help Subject: tramp-2.1.15/cscope-15.7 and emacs 22 vs emacs 23 Date: Wed, 18 Feb 2009 16:38:43 +0100 Organization: education Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1234975297 8722 80.91.229.12 (18 Feb 2009 16:41:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Feb 2009 16:41:37 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Feb 18 17:42:53 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 1LZpVI-0002gS-60 for geh-help-gnu-emacs@m.gmane.org; Wed, 18 Feb 2009 17:42:32 +0100 Original-Received: from localhost ([127.0.0.1]:48119 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LZpTy-0000IL-3R for geh-help-gnu-emacs@m.gmane.org; Wed, 18 Feb 2009 11:41:10 -0500 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!newsfeed00.sul.t-online.de!t-online.de!news.task.gda.pl!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 65 Original-NNTP-Posting-Host: jupiter.adlex.com Original-X-Trace: news.task.gda.pl 1234971673 808 157.25.157.162 (18 Feb 2009 15:41:13 GMT) Original-X-Complaints-To: abuse@news.task.gda.pl Original-NNTP-Posting-Date: Wed, 18 Feb 2009 15:41:13 +0000 (UTC) X-Mailer: KMail/1.7.1 User-Agent: mozilla news reader Cancel-Lock: sha1:DPHTDMT5RU2+HU6kMbst3WLS/rc= Original-Xref: news.stanford.edu gnu.emacs.help:166871 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:62179 Archived-At: 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