Message from discussion
off topic but does anyone on OSX 10.7 use Exuberent Ctags successfully?
Received: by 10.236.195.104 with SMTP id o68mr23997908yhn.9.1327433064406;
Tue, 24 Jan 2012 11:24:24 -0800 (PST)
X-BeenThere: emacs-on-rails@googlegroups.com
Received: by 10.101.181.36 with SMTP id i36ls476748anp.3.gmail; Tue, 24 Jan
2012 11:24:23 -0800 (PST)
Received: by 10.100.244.14 with SMTP id r14mr7331146anh.14.1327433063332;
Tue, 24 Jan 2012 11:24:23 -0800 (PST)
Received: by 10.100.244.14 with SMTP id r14mr7331144anh.14.1327433063309;
Tue, 24 Jan 2012 11:24:23 -0800 (PST)
Return-Path: <johan.rej...@gmail.com>
Received: from mail-gy0-f177.google.com (mail-gy0-f177.google.com [209.85.160.177])
by gmr-mx.google.com with ESMTPS id g10si7714178yhn.7.2012.01.24.11.24.23
(version=TLSv1/SSLv3 cipher=OTHER);
Tue, 24 Jan 2012 11:24:23 -0800 (PST)
Received-SPF: pass (google.com: domain of johan.rej...@gmail.com designates 209.85.160.177 as permitted sender) client-ip=209.85.160.177;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of johan.rej...@gmail.com designates 209.85.160.177 as permitted sender) smtp.mail=johan.rej...@gmail.com; dkim=pass header...@gmail.com
Received: by ghbz22 with SMTP id z22so564720ghb.22
for <emacs-on-rails@googlegroups.com>; Tue, 24 Jan 2012 11:24:23 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=gamma;
h=mime-version:in-reply-to:references:from:date:message-id:subject:to
:content-type;
bh=SGS3EIn5rZgMrPgSZvx3upBSKH64bVHlI2vUEGzGCSs=;
b=OqT5JNrRU+LlAo6tvZYtvhfS+n+f/funWwxxkNGcQ8xxeIT/IL7+XDsQXRV1RSy0zl
m0orj6vlv81d2LeLkc1/yPIndpHB6eU2JNVxhgbazF3DbNDzxCIpdLBjtRjaZ5XgnZZQ
D2tFX2kN+PSsX7QbZPfFGyQmxk2+VDnVs6pOw=
Received: by 10.100.237.19 with SMTP id k19mr6169011anh.73.1327433063188; Tue,
24 Jan 2012 11:24:23 -0800 (PST)
MIME-Version: 1.0
Received: by 10.147.9.8 with HTTP; Tue, 24 Jan 2012 11:24:02 -0800 (PST)
In-Reply-To: <2bee7d87-b64c-40a8-9e62-3ec8fa08c5e6@nf9g2000pbc.googlegroups.com>
References: <58b00a52-a943-40d5-b6c1-7e55abac8...@kn4g2000pbc.googlegroups.com>
<382e594b-44d2-42cb-bf93-fa85be459...@kn4g2000pbc.googlegroups.com>
<CAB6RKMvHbuScg7B1PcwnTKpWU5QnJR_EHxAjmbPGnKzRw6K...@mail.gmail.com> <2bee7d87-b64c-40a8-9e62-3ec8fa08c...@nf9g2000pbc.googlegroups.com>
From: Johan Andersson <johan.rej...@gmail.com>
Date: Tue, 24 Jan 2012 20:24:02 +0100
Message-ID: <CAB6RKMt-yaLWKhJnpoKkOxHEifKHv0TLjfv5eWhjTvzOh5m...@mail.gmail.com>
Subject: Re: [rails-on-emacs] Re: off topic but does anyone on OSX 10.7 use
Exuberent Ctags successfully?
To: emacs-on-rails@googlegroups.com
Content-Type: multipart/alternative; boundary=0016e6d2616c31c8b704b74b1819
--0016e6d2616c31c8b704b74b1819
Content-Type: text/plain; charset=ISO-8859-1
I use Ctags from Homebrew with Mactag (https://github.com/rejeep/mactag)
and that works just fine! The ctags executable that comes with OSX has
never worked for me though...
On Tue, Jan 24, 2012 at 8:18 PM, localredhead <levi.str...@gmail.com> wrote:
> I was using the one in Homebrew but it has the same issue - I then
> uninstalled it and built the executable from source, only to run into
> the same issue. Short story - I think I've tried them all. I even
> went back to an older version at one point.
>
> It just seems that the etags mode of ctags does not generate a valid
> tags file for emacs consumption. Many of the classes referenced in
> the tags file have no data and look like this:
>
> app/models/deal_influence.rb,59
> class DealInfluence < ActiveRecord::Base DealInfluence 1,0
>
>
> On Jan 24, 11:10 am, Johan Andersson <johan.rej...@gmail.com> wrote:
> > What kind of ctags executable are you using? The one that comes with OSX?
> > Try installing Ctags via Homebrew. Seehttps://
> github.com/mxcl/homebrew/blob/master/Library/Formula/ctags.rb
> >
> >
> >
> >
> >
> >
> >
> > On Tue, Jan 24, 2012 at 7:51 PM, localredhead <levi.str...@gmail.com>
> wrote:
> > > In retrospect I could care less about the CTAGS file as long as I can
> > > jump to a function in a source file with 1 command without opening a
> > > split-pane buffer. If there is a way to do this (even using grep)
> > > that would suffice!
> >
> > > -Levi
> >
> > > On Jan 24, 10:47 am, localredhead <levi.str...@gmail.com> wrote:
> > > > I have lurked a bit in the emacs IRC trying to find an answer to this
> > > > but I am not having much luck. The general consensus is to use grep.
> > > > I can do this but I would rather use the tags table to jump to
> > > > functions and files.
> >
> > > > One thing I use more than anything is `jump to function`. I can live
> > > > without it but not having it makes me miss my Intellij because that
> > > > feature alone really enhances project navigation. I tend to jump to
> > > > other files very quickly for reference points and without the ability
> > > > to do this my work flow is affected.
> >
> > > > That being said - to get this working I need to generate a valid
> ctags
> > > > file, however on OSX 10.7 when I build the ctags file with `-e` and
> > > > then try to use it with `M - .` I get a stack overflow error matching
> > > > the regexp. When I search for an answer to this issue is I quickly
> > > > get annoyed thanks to our favorite troubleshooting website - Stack
> > > > Overflow.
> >
> > > > Any help would be most appreciated!
> > > > -Levi
>
--0016e6d2616c31c8b704b74b1819
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
I use Ctags from Homebrew with Mactag (<a href=3D"https://github.com/rejeep=
/mactag">https://github.com/rejeep/mactag</a>) and that works just fine! Th=
e ctags executable that comes with OSX has never worked for me though...<br=
>
<br><div class=3D"gmail_quote">On Tue, Jan 24, 2012 at 8:18 PM, localredhea=
d <span dir=3D"ltr"><<a href=3D"mailto:levi.str...@gmail.com">levi.strop=
e...@gmail.com</a>></span> wrote:<br><blockquote class=3D"gmail_quote" styl=
e=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I was using the one in Homebrew but it has the same issue - I then<br>
uninstalled it and built the executable from source, only to run into<br>
the same issue. =A0Short story - I think I've tried them all. =A0I even=
<br>
went back to an older version at one point.<br>
<br>
It just seems that the etags mode of ctags does not generate a valid<br>
tags file for emacs consumption. =A0Many of the classes referenced in<br>
the tags file have no data and look like this:<br>
<br>
app/models/deal_influence.rb,59<br>
class DealInfluence < ActiveRecord::Base DealInfluence 1,0<br>
<div class=3D"im"><br>
<br>
On Jan 24, 11:10=A0am, Johan Andersson <<a href=3D"mailto:johan.rej...@g=
mail.com">johan.rej...@gmail.com</a>> wrote:<br>
> What kind of ctags executable are you using? The one that comes with O=
SX?<br>
</div>> Try installing Ctags via Homebrew. Seehttps://<a href=3D"http://=
github.com/mxcl/homebrew/blob/master/Library/Formula/ctags.rb" target=3D"_b=
lank">github.com/mxcl/homebrew/blob/master/Library/Formula/ctags.rb</a><br>
<div class=3D"HOEnZb"><div class=3D"h5">><br>
><br>
><br>
><br>
><br>
><br>
><br>
> On Tue, Jan 24, 2012 at 7:51 PM, localredhead <<a href=3D"mailto:le=
vi.str...@gmail.com">levi.str...@gmail.com</a>> wrote:<br>
> > In retrospect I could care less about the CTAGS file as long as I=
can<br>
> > jump to a function in a source file with 1 command without openin=
g a<br>
> > split-pane buffer. =A0If there is a way to do this (even using gr=
ep)<br>
> > that would suffice!<br>
><br>
> > -Levi<br>
><br>
> > On Jan 24, 10:47 am, localredhead <<a href=3D"mailto:levi.str.=
....@gmail.com">levi.str...@gmail.com</a>> wrote:<br>
> > > I have lurked a bit in the emacs IRC trying to find an answe=
r to this<br>
> > > but I am not having much luck. =A0The general consensus is t=
o use grep.<br>
> > > I can do this but I would rather use the tags table to jump =
to<br>
> > > functions and files.<br>
><br>
> > > One thing I use more than anything is `jump to function`. =
=A0I can live<br>
> > > without it but not having it makes me miss my Intellij becau=
se that<br>
> > > feature alone really enhances project navigation. =A0I tend =
to jump to<br>
> > > other files very quickly for reference points and without th=
e ability<br>
> > > to do this my work flow is affected.<br>
><br>
> > > That being said - to get this working I need to generate a v=
alid ctags<br>
> > > file, however on OSX 10.7 when I build the ctags file with `=
-e` and<br>
> > > then try to use it with `M - .` I get a stack overflow error=
matching<br>
> > > the regexp. =A0When I search for an answer to this issue is =
I quickly<br>
> > > get annoyed thanks to our favorite troubleshooting website -=
=A0Stack<br>
> > > Overflow.<br>
><br>
> > > Any help would be most appreciated!<br>
> > > -Levi</div></div></blockquote></div><br>
--0016e6d2616c31c8b704b74b1819--