TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Dumb-jump: an Emacs “jump to definition” package

131 pointsby jacktasiaalmost 9 years ago

13 comments

kozikowalmost 9 years ago
I was planning to write this as a comment here, but it ended up growing so I published it on my blog post: <a href="https:&#x2F;&#x2F;kozikow.wordpress.com&#x2F;2016&#x2F;05&#x2F;21&#x2F;nice-new-emacs-package-dumb-jump-el&#x2F;" rel="nofollow">https:&#x2F;&#x2F;kozikow.wordpress.com&#x2F;2016&#x2F;05&#x2F;21&#x2F;nice-new-emacs-pack...</a> .<p>BTW, did you know that you can just do README.org and github parses it? I noticed that you have org file checked in, but README is in md. For example see <a href="https:&#x2F;&#x2F;github.com&#x2F;kozikow&#x2F;keyremaplinux" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;kozikow&#x2F;keyremaplinux</a> .
评论 #11781869 未加载
qwertyuiop924almost 9 years ago
Ah yes, yet another proof that the Wrong Thing™ isn&#x27;t necessarily the wrong thing. Sure it&#x27;s objectively worse than [ce]tags, but haven&#x27;t you heard? Worse is Better. :-D
评论 #11782882 未加载
jekdocealmost 9 years ago
For C&#x2F;C++ RTags (<a href="https:&#x2F;&#x2F;github.com&#x2F;Andersbakken&#x2F;rtags" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Andersbakken&#x2F;rtags</a>) together with company-mode and fly-check can do jump-to-definition, auto-completion and on-the-fly-syntax-checking. Super easy to use if using cmake as build system.<p>Respond to this comment if you need pointers on how to set things up.
评论 #11783370 未加载
t1amatalmost 9 years ago
This is neat, and useful as a general purpose jump-to feature. It&#x27;s probably worth mentioning that some languages have packages with better functionality for that language, such as tern-mode for JavaScript.
drewg123almost 9 years ago
I must be missing something, but what is the advantage of this over something like Emacs Tags (<a href="https:&#x2F;&#x2F;www.emacswiki.org&#x2F;emacs&#x2F;EmacsTags" rel="nofollow">https:&#x2F;&#x2F;www.emacswiki.org&#x2F;emacs&#x2F;EmacsTags</a>) ?
评论 #11782586 未加载
评论 #11781338 未加载
评论 #11781302 未加载
sdegutisalmost 9 years ago
I really love how well this works with Cider though, for Clojure projects. It even lets you jump to the definition of Java or Clojure files that live outside your current project, e.g. in third party libraries or even the Java standard library. Why, just today I jumped to the definition of java.time.Month because I had never actually seen a real live Java enum before. (Sure enough, it&#x27;s defined with the keyword `enum`. Neat!) Cider has become essential to my Clojure workflow at work.
Myrmornisalmost 9 years ago
This is cool, I&#x27;ve also been writing a similar emacs package: it uses `git grep` and `git ls-files` to quickly find patterns and file names in the current git repo, and has a simple interface for filtering the search results to narrow down to what you were looking for (and also uses a regexp heuristic for jumping to definitions).<p><a href="https:&#x2F;&#x2F;github.com&#x2F;dandavison&#x2F;emacs-search-files" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;dandavison&#x2F;emacs-search-files</a>
webaholicalmost 9 years ago
What do people use to get something like this for C&#x2F;C++? Also is there any package for auto-completion in C&#x2F;C++?
评论 #11781777 未加载
评论 #11781434 未加载
评论 #11781160 未加载
评论 #11782156 未加载
评论 #11784370 未加载
评论 #11781776 未加载
评论 #11781051 未加载
评论 #11781061 未加载
soamvalmost 9 years ago
Nice! Just tried it out and it seems to work well.<p>Why does dumb-jump-go want me to save my files before jumping?
评论 #11780587 未加载
mordocaialmost 9 years ago
Nice package! Unfortunately is completely falling on its face for my ruby on rails project, but I&#x27;m sure it can be improved.
评论 #11781833 未加载
评论 #11780820 未加载
peatfreakalmost 9 years ago
Why is so much Emacs stuff hosted on GitHub these days? It seems antithetical to the spirit of the project as a whole.
评论 #11784699 未加载
评论 #11784172 未加载
dilapalmost 9 years ago
this looks neat.<p>i notice one of the supported languages is go -- if you&#x27;re doing much go, i recommend installing godef and using go-mode.el. no tags files or anything like that, and works perfectly well for jumping to definition.<p>(i also highly recommend gorename and guru.)
iKlsRalmost 9 years ago
Still learning VIM user here, do we have something like this?
评论 #11781859 未加载
评论 #11780824 未加载
评论 #11780539 未加载
评论 #11780878 未加载
评论 #11781659 未加载
评论 #11782023 未加载