From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Riley Newsgroups: gmane.emacs.help Subject: Re: Using Cedet with Tramp and projects on NFS mounts Date: Sat, 27 Jun 2009 00:08:26 +0200 Organization: aich tea tea pea dicky riley dot net Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1246077933 26770 80.91.229.12 (27 Jun 2009 04:45:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 27 Jun 2009 04:45:33 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jun 27 06:45:27 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 1MKPn4-0004MC-KN for geh-help-gnu-emacs@m.gmane.org; Sat, 27 Jun 2009 06:45:26 +0200 Original-Received: from localhost ([127.0.0.1]:37396 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MKPn3-0000go-Ot for geh-help-gnu-emacs@m.gmane.org; Sat, 27 Jun 2009 00:45:25 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!news2.glorb.com!feeder.eternal-september.org!eternal-september.org!news.motzarella.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 35 Original-X-Trace: news.eternal-september.org U2FsdGVkX18U/7dxmlKedJ80KfLDNhl8q6WziR29Ny9Z9/j3XiFIUS3ME9oWySy4KPsj3YOLNvyhNbPVkfu25gaQqfwl+b2PLK4kNwdFDPVIosjfhLruNzLkOP5lIYthqthsAz0njfc= Original-X-Complaints-To: abuse@motzarella.org Original-NNTP-Posting-Date: Fri, 26 Jun 2009 22:08:24 +0000 (UTC) X-Auth-Sender: U2FsdGVkX1946a6Ql3cQLmMHho9kLFFpphAesY0RElNQABK3eEi7TA== Cancel-Lock: sha1:/WLSJ3Ozq18oW34WpKiMLHM69jM= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) Original-Xref: news.stanford.edu gnu.emacs.help:170355 X-Mailman-Approved-At: Sat, 27 Jun 2009 00:41:26 -0400 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:65578 Archived-At: Suvayu Ali writes: > Hi all, > > I am a relatively new Emacs user on GNU/Linux and loving it. I learned > about CEDET from this list and tried it out. I need to work within a few > frameworks developed in C++ and for code on my local machine it works > perfectly. I have this in my .emacs to make that work. > >> ;; cedet customisations for ROOT Data Analysis Framework >> (setq rootsys "~/root/include") >> (semantic-add-system-include rootsys 'c++-mode) >> (add-to-list 'auto-mode-alist (cons rootsys 'c++-mode)) >> (add-to-list 'semantic-lex-c-preprocessor-symbol-file (concat rootsys "/include")) >> (add-to-list 'semantic-lex-c-preprocessor-symbol-file (concat rootsys "/ExRootAnalysis")) >> (add-to-list 'semantic-lex-c-preprocessor-symbol-file (concat rootsys "/ExRootAnalysis/ExRootAnalysis")) > > But most of my work requires me to work on remote machines. So my > question is, how do I setup semantic to search the directories in my > project for tags when I am connected to the remote machine using Tramp > like this, > > /ssh:user@remote.host:~/path/to/my/project/ > > Thanks for any help on this. > > PS: the remote machine is usually across the atlantic :P You might consider using sshfs if possible? http://fuse.sourceforge.net/sshfs.html That way the "remoteness" of the remote file system would be totally transparent to cedet.