Closed jone closed 11 years ago
@jone regarding the line numbering, can't the same be achieved using something like grep mode?
That was my initial intend too.
But just activating the compilation mode grep-mode
did not do the trick.
It might be something in the compilation stuff doing the linking, but I could not find it.
Did you already do something like that or know how to enable it?
@jone I can't remember exactly but I thought that the grep mode or it's parent mode handles all that jazz. I think you need to set the default-directory
to match the root of your paths.
If you have a few minutes, you should browse through the source of grep and compilation mode. I'm pretty sure they can do the trick.
@fred-o do we have something similar in emacs-eclim?
@senny I took a look at it but couldn't get anything working. It might be possible to create a compilation minor mode with appropriate regexps for parsing the paths, but I'm not sure whether this is the right way, since we are not running any commands at all in this case.
I'd need to dig into it a little more as soon as I have time. Since it is working well at the moment, could we just merge it as it is and add an issue that we (meaning I) will refactor it later?
A bit late, but I don't think emacs-eclim does anything special, it just formats things the way grep-mode expects it and uses that.
Adds some tools for inspecting a zope 3 component registry from within emacs.
Adds new bindings to
ergonomic
bundle whenplone
bundle is active:C-c f p
->cabbage-plone--pep8-package
C-c f a
->cabbage-plone-find-adapter-by-name
C-c f A
->cabbage-plone-find-adapter-by-providing-interface
C-c f u
->cabbage-plone-find-utility-by-name
C-c f U
->cabbage-plone-find-utility-by-providing-interface
Adds a new vendor
json
.@senny maybe
cabbage-plone--buttonize-buffer
could be factored out to the cabbage library. It links paths with line numbers (e.g. /path/to/my/file.py:57). Could that be useful for other things?