[rspec-devel] [ rspec-Patches-6798 ] ensure two ':' in the first backtrace line for Emacs's 'next-error' command
noreply at rubyforge.org
noreply at rubyforge.org
Sat Dec 2 11:35:34 EST 2006
Patches item #6798, was opened at 2006-11-21 02:55
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=3151&aid=6798&group_id=797
Category: runner module
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 3
Submitted By: Kouhei Sutou (kou)
>Assigned to: Aslak Hellesøy (aslak_hellesoy)
Summary: ensure two ':' in the first backtrace line for Emacs's 'next-error' command
Initial Comment:
I'm running RSpec on Emacs's compilation mode.
In compilation mode, we can jump to next error by C-x `. And compilation mode recognize error location by the following format:
PATH:LINE_NO:[OPTIONAL_MESSAGE]
RSpec output backtrace like the following format:
PATH:LINE_NO[: OPTIONAL_MESSAGE]
We can jump to an error location when there is ':' after LINE_NO but RSpec doesn't output ':' after LINE_NO anytime.
Could you output ':' after LINE_NO to use C-x `? But I think RSpec doesn't need to output the ':' anytime. RSpec needs to output the ':' only when the first line in backtrace. Because we are interested in the location where the error is occurred but aren't interested in other location in backtrace.
----------------------------------------------------------------------
>Comment By: Aslak Hellesøy (aslak_hellesoy)
Date: 2006-12-02 11:35
Message:
Fixed in r1196. Good patch!
----------------------------------------------------------------------
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=3151&aid=6798&group_id=797
More information about the rspec-devel
mailing list