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

Create a major-mode for "log files" #6

Open
kaushalmodi opened this issue Jun 17, 2015 · 3 comments
Open

Create a major-mode for "log files" #6

kaushalmodi opened this issue Jun 17, 2015 · 3 comments

Comments

@kaushalmodi
Copy link
Owner

Couple of basic features I have in mind:

  • Navigate to next error/warning
  • Highlight error/warning/user entered string
  • jump directly to file+linenum corresponding to error/warning
  • expand/collapse errors/warnings
@kaushalmodi kaushalmodi changed the title Create a major-log for "log files" Create a major-mode for "log files" Dec 11, 2015
@shankarpdy
Copy link

Looks good.
Is this for any specific simulator - like ncsim ?
If there is a code, I can test this out.

@kaushalmodi
Copy link
Owner Author

Is this for any specific simulator - like ncsim ?

Yes.

I haven't yet started working on this as I got something workable with the help of in-buffer Hi-Lock patterns -- Search for Examples of Hi-Lock patterns here.

That solves:

Highlight error/warning

.. which was the main reason I want a major mode.

For now, incremental search (C-s) takes care of:

Navigate to next error/warning

@kaushalmodi
Copy link
Owner Author

Actually I remembered I have already committed the .dir-local.el file for log files here. You also need to allow setting of hi-lock-file-patterns via .dir-local.el as safe.

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

No branches or pull requests

2 participants