Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

emacs mode: allow the use of next error with stack traces #4628

Closed
vicuna opened this issue Oct 27, 2008 · 1 comment
Closed

emacs mode: allow the use of next error with stack traces #4628

vicuna opened this issue Oct 27, 2008 · 1 comment

Comments

@vicuna
Copy link

vicuna commented Oct 27, 2008

Original bug ID: 4628
Reporter: @dbuenzli
Status: closed (set by @damiendoligez on 2008-10-29T12:31:44Z)
Resolution: fixed
Priority: normal
Severity: feature
Version: 3.11.0+beta
Category: ~DO NOT USE (was: OCaml general)
Related to: #5044
Monitored by: @dbuenzli

Bug description

The following change to the emacs mode allows to use emacs' next error to jump to the various places of a backtrace. It doesn't however get to the character ranges, tried changing caml-error-chars-regexp without success (?).

Best,

Daniel

diff emacs/caml.el emacs/caml.el.old
794c794
< "^[A -\377]+ "\([^\"\n]+\)", [A-\377]+ \([0-9]+\)[-,:]"


"^[A-\377]+ "\([^\"\n]+\)", [A-\377]+ \([0-9]+\)[-,:]"

@vicuna
Copy link
Author

vicuna commented Oct 29, 2008

Comment author: @damiendoligez

I've implemented this in the 3.11 branch, with character ranges working too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant