Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
off topic but does anyone on OSX 10.7 use Exuberent Ctags successfully?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  22 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
localredhead  
View profile  
 More options Jan 24 2012, 1:47 pm
From: localredhead <levi.str...@gmail.com>
Date: Tue, 24 Jan 2012 10:47:46 -0800 (PST)
Local: Tues, Jan 24 2012 1:47 pm
Subject: off topic but does anyone on OSX 10.7 use Exuberent Ctags successfully?
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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
localredhead  
View profile  
 More options Jan 24 2012, 1:51 pm
From: localredhead <levi.str...@gmail.com>
Date: Tue, 24 Jan 2012 10:51:10 -0800 (PST)
Local: Tues, Jan 24 2012 1:51 pm
Subject: Re: off topic but does anyone on OSX 10.7 use Exuberent Ctags successfully?
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:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jacob Tjørnholm  
View profile  
 More options Jan 24 2012, 2:09 pm
From: Jacob Tjørnholm <cho...@gmail.com>
Date: Tue, 24 Jan 2012 20:09:50 +0100
Local: Tues, Jan 24 2012 2:09 pm
Subject: Re: [rails-on-emacs] Re: off topic but does anyone on OSX 10.7 use Exuberent Ctags successfully?

Hi,

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!

You mean jumping to a method in the current buffer? Sorry for the plug, but
I wrote about exactly that a few years ago:
http://fullofsta.rs/2008/09/quickly-jumping-to-symbols/

I'm not sure if this is what you wanted...if not, how would you go about
referencing the method you want? There are bound to be a lot of ambiguous
names, especially in the controllers :)

As for jumping between files, I usually keep all files loaded and switch
buffers with ido-switch-buffer. I'm pretty sure it takes <1 second per
switch on average. IDO is just awesome.

/Jacob


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Johan Andersson  
View profile  
 More options Jan 24 2012, 2:10 pm
From: Johan Andersson <johan.rej...@gmail.com>
Date: Tue, 24 Jan 2012 20:10:15 +0100
Local: Tues, Jan 24 2012 2:10 pm
Subject: Re: [rails-on-emacs] Re: off topic but does anyone on OSX 10.7 use Exuberent Ctags successfully?

What kind of ctags executable are you using? The one that comes with OSX?
Try installing Ctags via Homebrew. See
https://github.com/mxcl/homebrew/blob/master/Library/Formula/ctags.rb


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
localredhead  
View profile  
 More options Jan 24 2012, 2:18 pm
From: localredhead <levi.str...@gmail.com>
Date: Tue, 24 Jan 2012 11:18:50 -0800 (PST)
Local: Tues, Jan 24 2012 2:18 pm
Subject: Re: off topic but does anyone on OSX 10.7 use Exuberent Ctags successfully?
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:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Johan Andersson  
View profile  
 More options Jan 24 2012, 2:24 pm
From: Johan Andersson <johan.rej...@gmail.com>
Date: Tue, 24 Jan 2012 20:24:02 +0100
Local: Tues, Jan 24 2012 2:24 pm
Subject: Re: [rails-on-emacs] Re: off topic but does anyone on OSX 10.7 use Exuberent Ctags successfully?

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...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
theturingmachine  
View profile  
 More options Jan 26 2012, 7:07 am
From: theturingmachine <theturingmach...@gmail.com>
Date: Thu, 26 Jan 2012 04:07:31 -0800 (PST)
Local: Thurs, Jan 26 2012 7:07 am
Subject: Re: off topic but does anyone on OSX 10.7 use Exuberent Ctags successfully?
I use this one: Exuberant Ctags 5.8, Copyright (C) 1996-2009 Darren
Hiebert, and it works fine...installed with homebrew

When you install emacs with homebrew  (at least from head) it installs
it's own version of ctags which is less powerful (no ruby support for
example) so I had to reinstall them after emacs.

On Jan 24, 8:24 pm, Johan Andersson <johan.rej...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jacob Tjørnholm  
View profile  
 More options Jan 26 2012, 7:15 am
From: Jacob Tjørnholm <cho...@gmail.com>
Date: Thu, 26 Jan 2012 13:15:53 +0100
Local: Thurs, Jan 26 2012 7:15 am
Subject: Re: [rails-on-emacs] Re: off topic but does anyone on OSX 10.7 use Exuberent Ctags successfully?

I have the exact same version of ctags installed (from homebrew), but the
generated tags do NOT work with this Emacs: "GNU Emacs 23.2.1
(x86_64-apple-darwin, NS apple-appkit-1038.29)", downloaded from
http://emacsformacosx.com/

I get the same error as Levi (OP).

/Jacob

On Thu, Jan 26, 2012 at 1:07 PM, theturingmachine <


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
localredhead  
View profile  
 More options Jan 26 2012, 8:29 pm
From: localredhead <levi.str...@gmail.com>
Date: Thu, 26 Jan 2012 17:29:49 -0800 (PST)
Local: Thurs, Jan 26 2012 8:29 pm
Subject: Re: off topic but does anyone on OSX 10.7 use Exuberent Ctags successfully?
I built a new rails development environment in Arch because I need to
do a clean install on my OSX box.

Once I got everything installed and configured I hit the same problem
with the ctags file.  It is not related to OSX at all - I don't know
what I am doing wrong but following the common instructions that is
sprinkled around the internet does not generate a valid CTAGS file
from Ruby source.  I've tried different methods of generation and
every time I try to use the tags table I get the stack overflow error
processing the tags file.

::sigh:: If I didn't know that functionality existed I could probably
live without it... but this really bugs me.  Thanks for the input
everyone - I suppose I'll try again once emacs 24 actually drops.

-Levi

On Jan 26, 4:15 am, Jacob Tjørnholm <cho...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
theturingmachine  
View profile  
 More options Jan 27 2012, 6:34 am
From: theturingmachine <theturingmach...@gmail.com>
Date: Fri, 27 Jan 2012 03:34:58 -0800 (PST)
Local: Fri, Jan 27 2012 6:34 am
Subject: Re: off topic but does anyone on OSX 10.7 use Exuberent Ctags successfully?
I don't know for sure your problem, but you may check:

1) The ctags use the -e flag for emacs compatibility...ctags -e ....
2) Inside emacs make sure you use the function visit-tags-table to
tell emacs which tag file to use

Here: https://gist.github.com/1688384 you can see a function I use to
generate the ctags for my ruby projects...hope it gives you some
clues.

Greetings

On Jan 27, 2:29 am, localredhead <levi.str...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
taranaki  
View profile  
 More options Feb 1 2012, 2:02 pm
From: taranaki <escapesaltl...@gmail.com>
Date: Wed, 1 Feb 2012 11:02:51 -0800 (PST)
Local: Wed, Feb 1 2012 2:02 pm
Subject: Re: off topic but does anyone on OSX 10.7 use Exuberent Ctags successfully?
I recently discovered Exuberant Ctags as a solution to poor parsing of
some C++ code by the default etags shipped with emacs. On a linux
server this worked great where the default emacs ctags failed (e.g. to
find class LINKAGE_NAME Foo ...).

Having suffered from reduced functionality (due to more modern code)
of Emacs' ctags for awhile, I was eager to install this on my Mac.
Unfortunately, I'm having the same problems all of your are
describing: it seems that this version of ctags (5.8 in my case) does
not generate a valid emacs TAGS file (emacs version 23.3.1).

I'm about to try building an older version of ctags because this tags
file does indeed look like it has errors. It contains lines such as:
  (null),1250
  ^^ ,738
  /var/folders/m7/6b_4vfzx06b9mg52lc9d31r0001jmd/T//tags.VQr715,1130
,etc.

-Cameron

On Jan 26, 6:29 pm, localredhead <levi.str...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
taranaki  
View profile  
 More options Feb 1 2012, 3:10 pm
From: taranaki <escapesaltl...@gmail.com>
Date: Wed, 1 Feb 2012 12:10:17 -0800 (PST)
Local: Wed, Feb 1 2012 3:10 pm
Subject: Re: off topic but does anyone on OSX 10.7 use Exuberent Ctags successfully?
I was only able to compile versions 5.6 and greater, but all of them
exhibited the same problems. I have reported a bug on the sourceforge
project. It's possibly a different issue than you're all having with
Ruby parsing, but something is clearly wrong with the generation of
emacs TAGS files on OSX.

Best,
Cameron

On Feb 1, 12:02 pm, taranaki <escapesaltl...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
localredhead  
View profile  
 More options Feb 1 2012, 3:58 pm
From: localredhead <levi.str...@gmail.com>
Date: Wed, 1 Feb 2012 12:58:58 -0800 (PST)
Local: Wed, Feb 1 2012 3:58 pm
Subject: Re: off topic but does anyone on OSX 10.7 use Exuberent Ctags successfully?
I also tried to go back to an older version without success.

I do not believe this is an issue related to OSX even though that is
what got us here.  The issue is generating a proper emacs CTAGS file
using the latest built binaries from the Exuburent CTAGS source.  In
my case I am unable to generate it valid tags of ruby source.

-Levi

On Feb 1, 12:10 pm, taranaki <escapesaltl...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
theturingmachine  
View profile  
 More options Feb 2 2012, 4:11 am
From: theturingmachine <theturingmach...@gmail.com>
Date: Thu, 2 Feb 2012 01:11:38 -0800 (PST)
Local: Thurs, Feb 2 2012 4:11 am
Subject: Re: off topic but does anyone on OSX 10.7 use Exuberent Ctags successfully?
From the excuberant ctags man:

Options:

-e   Enable etags mode, which will create a tag file for use with the
Emacs  editor.   Alternatively,  if  ctags  is
            invoked  by  a  name  containing the string
"etags" (either by renaming, or creating a link to, the executable),
            etags mode will be enabled. This option must appear before
the first file name.

On Feb 1, 9:58 pm, localredhead <levi.str...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Simão Mata  
View profile  
 More options Apr 8 2012, 2:12 pm
From: Simão Mata <sima...@gmail.com>
Date: Sun, 8 Apr 2012 11:12:22 -0700 (PDT)
Local: Sun, Apr 8 2012 2:12 pm
Subject: Re: off topic but does anyone on OSX 10.7 use Exuberent Ctags successfully?

So anyone got this working?
Still having the same problems with the latest ctags version from brew :|


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Le Wang  
View profile  
 More options Apr 15 2012, 7:50 pm
From: Le Wang <l26w...@gmail.com>
Date: Sun, 15 Apr 2012 16:50:46 -0700 (PDT)
Local: Sun, Apr 15 2012 7:50 pm
Subject: Re: off topic but does anyone on OSX 10.7 use Exuberent Ctags successfully?
Nope.  Having same problems with homebrew compiled exuberant ctags.  I
see taranaki has filed this bug:
http://sourceforge.net/tracker/index.php?func=detail&aid=3482809&grou...

On Apr 9, 2:12 am, Simão Mata <sima...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Simao Mata  
View profile  
 More options Apr 16 2012, 3:16 am
From: Simao Mata <sima...@gmail.com>
Date: Mon, 16 Apr 2012 09:16:43 +0200
Local: Mon, Apr 16 2012 3:16 am
Subject: Re: [rails-on-emacs] Re: off topic but does anyone on OSX 10.7 use Exuberent Ctags successfully?

I also filed a bug report, no response yet.

Anyone had success compiling ctags without homebrew?

http://sourceforge.net/tracker/?func=detail&aid=3516464&group_id=6556...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris TenHarmsel  
View profile   Translate to Translated (View Original)
 More options Jun 28 2012, 11:35 am
From: Chris TenHarmsel <ch...@tenharmsel.com>
Date: Thu, 28 Jun 2012 08:35:45 -0700 (PDT)
Local: Thurs, Jun 28 2012 11:35 am
Subject: Re: [rails-on-emacs] Re: off topic but does anyone on OSX 10.7 use Exuberent Ctags successfully?

Have you tried RTags: http://rubygems.org/gems/rtags

I don't use tags to jump around too much, but I know I use rtags to
generate my tags file.

...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
localredhead  
View profile  
 More options Oct 9 2012, 2:14 pm
From: localredhead <levi.str...@gmail.com>
Date: Tue, 9 Oct 2012 11:14:24 -0700 (PDT)
Local: Tues, Oct 9 2012 2:14 pm
Subject: Re: off topic but does anyone on OSX 10.7 use Exuberent Ctags successfully?

This works now with emacs 24 on ubuntu 12.04.  I'm using the ctags
installed with apt-get and nothing else special.

Anyone have any luck recently on osx lion ?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
theturingmachine  
View profile  
 More options Oct 10 2012, 5:44 am
From: theturingmachine <theturingmach...@gmail.com>
Date: Wed, 10 Oct 2012 02:44:54 -0700 (PDT)
Local: Wed, Oct 10 2012 5:44 am
Subject: Re: off topic but does anyone on OSX 10.7 use Exuberent Ctags successfully?

I had some problems compiling it as it would generate invalid files.

You should see this bug report.

https://trac.macports.org/ticket/31256

I did: export CFLAGS=-O0

before compiling and then it worked for me. Also make sure you are not
compiling with llvm


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
localredhead  
View profile  
 More options Mar 23, 12:02 am
From: localredhead <levi.str...@gmail.com>
Date: Fri, 22 Mar 2013 21:02:27 -0700 (PDT)
Local: Sat, Mar 23 2013 12:02 am
Subject: Re: off topic but does anyone on OSX 10.7 use Exuberent Ctags successfully?

Thank you for this.

I can confirm that ctags works if you 'export CFLAGS=-O0' and then install
ctags using brew.

I put together this bit to build the tags file correctly:

(defun build-ctags ()
  (interactive)
  (message "building project tags")
  (let ((root (eproject-root)))
    (shell-command (concat "bundle show --paths | xargs  ctags -a -e -f
TAGS --tag-relative -R app lib spec config bin vendor")))
  (visit-project-tags)
  (message "tags built successfully"))
(setq tags-case-fold-search t)
(setq tags-revert-without-query 1) ;to avoid being asked to load the file.
(defun visit-project-tags ()
  (interactive)
  (let ((tags-file (concat (eproject-root) "TAGS")))
    (visit-tags-table tags-file)
    (message (concat "Loaded " tags-file))))


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sean Gilbertson  
View profile  
 More options Apr 9, 10:26 am
From: Sean Gilbertson <sean.gilbert...@gmail.com>
Date: Tue, 9 Apr 2013 07:26:49 -0700 (PDT)
Local: Tues, Apr 9 2013 10:26 am
Subject: Re: off topic but does anyone on OSX 10.7 use Exuberent Ctags successfully?

The `export CFLAGS=-O0` tip was brilliant and worked great. Thanks!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »