jimweirich / emacs-setup-esk

My Emacs Setup based on the Emacs Starter Kit (ESK)
45 stars 15 forks source link

visit-source improvements #3

Open rab opened 12 years ago

rab commented 12 years ago

Rails view errors are reported with: On line #20 of app/views/... so the regexp needs line first, then file.

With a prefix argument, prompt for Source location and default to the interprogram-paste-function so you can copy from output outside of Emacs and [C-u f2 RET] to quickly get to the given location.

rab commented 12 years ago

I tried (somewhat unsuccessfully) to amend my commit after I corrected a fairly significant oversight (the optional argument that is initialized by the prefix arg and the interactive "P" declaration). I couldn't see how to delete or withdraw a pull request so I ended up with what you see here.

Only the 42a2ed5bf597ebd3a2a099258d190c674145eed4 is really needed (the other is a commit of yours that I somehow replaced the commit message for).